Skip to content

Getting started

Installation

Install Wisdom with npm, check it works, update or remove it.

Wisdom is one npm package. Install it once per machine, then connect each project you want to record.

  • Node.js 24 or newer. Wisdom uses the SQLite built into Node, so there’s no database to install. On an older Node, every wisdom command stops with Wisdom needs Node.js 24 or newer. This is v22.x. Check yours with node --version.
  • Claude Code, Codex (0.164.0 or newer) or Pi.
Terminal
npm install -g @oqura/wisdom
wisdom --version

The same commands work on macOS, Linux and Windows. If Windows PowerShell blocks scripts, use npm.cmd and wisdom.cmd in their place.

Terminal
wisdom doctor

Run it inside a project. It checks the background service, Usage and Commits, each agent’s hooks and version, wisdom.yaml, any events waiting to be recorded, and team mode when it’s on. It changes nothing, prints the command that fixes each problem it finds, and exits with code 1 when there is one.

Terminal
wisdom daemon stop # in each project
npm install -g @oqura/wisdom@latest
wisdom doctor

Then run wisdom connect again in each connected project (wisdom init in a tracked one). It refreshes the hooks, the reading skill and, in team mode, the git hooks. Your recorded sessions are kept across updates.

Wisdom’s repository moved to wisdomlayer/wisdom. The npm package is still @oqura/wisdom, so the install command is the same.

  1. In each connected project, remove Wisdom’s hooks and stop the service:

    Terminal
    wisdom disconnect
    wisdom daemon stop

    If you turned on commit guides or team mode, also remove Wisdom’s git hooks: wisdom guide off or wisdom team hooks off. disconnect leaves them in place.

  2. Remove the package:

    Terminal
    npm uninstall -g @oqura/wisdom
  3. Decide about your recordings. They stay in each project’s .wisdom/ folder, and your settings in wisdom.yaml, until you delete them. To delete a project’s recordings, and in a tracked project its agents’ logins, for good:

    Terminal
    rm -rf .wisdom # macOS, Linux
    Remove-Item -Recurse -Force .wisdom # Windows PowerShell

    Commit records stay in .git, under refs/wisdom/.

If you uninstalled before stopping a service, it keeps running until you end it. Its process ID is in .wisdom/daemon.json.

Wisdom never changes ~/.claude, ~/.codex or ~/.pi/agent (except for a copy you chose to delete), so your agents work exactly as before.

Next: Quick start.