Skip to content

Reference

CLI

Every command and option of the wisdom CLI.

Every command finds .wisdom/ from the current folder upward, the way git finds .git. On Windows PowerShell with scripts blocked, type wisdom.cmd. Your own defaults for a project live in wisdom.yaml; a flag always wins over it.

<session> is a session ID, its first 8 or more characters, or latest. <position> is t3 (a turn), t3/c2 (a tool call), a1 (a subagent), a1/c2, or outside.

Command What it does
wisdom connect Record plain claude, codex and pi started here, with your own login, and write wisdom.yaml. Run again to repair.
wisdom disconnect Take out exactly what connect added. Recordings are kept.
wisdom init Set up .wisdom/ and a home for each agent, for wisdom track, and write wisdom.yaml. Run again to repair.
wisdom doctor Check that everything works, and print the fix for each problem. Exits with 1 when there is one.
Command What it does
wisdom track claude|codex|pi Start an agent with its home in this project, recording.
wisdom resume <session-id> Continue a recorded session, still recording. Full ID only.
wisdom handoff <claude|codex|pi|session-id> ["what it should know"] Continue in a new or existing session that reads another session first.
wisdom handoff … --emit The same in the background, reading only, while you keep working. Its reply is printed when it’s done.
Command What it does
wisdom glance List recorded sessions, newest first.
wisdom glance <session> One session’s shape and every turn.
wisdom open <position> --capture <session> One turn, tool call or subagent, whole.
wisdom glance --commit <commit> Which recorded steps made each piece of a commit (a hash, a branch or HEAD).
wisdom usage Print the address of Usage, the live view of your sessions. wisdom dashboard does the same.
wisdom commits Print the address of Commits, starting the service if needed: main and your branches, each commit and the sessions behind it, live.

See Read a commit.

Command What it does
wisdom guide <commit> Have a model write that commit’s guide now, and keep it in the commit’s record.
wisdom guide on|off Whether a model writes a guide after each of your commits. Off by default; on by default in team mode.

See Set up team mode.

Command What it does
wisdom team init Write wisdom-team.yaml. Commit it to turn team mode on.
wisdom team hooks on|off Install or remove Wisdom’s four git hooks. connect and init install them in a team-mode repository.
wisdom team trust Show the commands wisdom-team.yaml runs on this machine (check, guides.command), and allow them.
wisdom team push Send your commit links, sessions and records now, without a git push.
wisdom team fetch Bring here, read-only, the records and links of the commits your branches reach and the sessions they name, and apply the deletion list.
wisdom team sync on|off Whether git fetch and git pull also bring the team’s commit links and records.
wisdom team relink --range <base>..<head> Link commits that GitHub or a rewrite gave a new sha to the records of the commits they came from. The CI job after a merge runs it.
wisdom team relink --commit-map FILE The same after git filter-repo, from its own list of commits.
wisdom team delete <session> Remove a pushed session for everyone. Your own recording is kept.
wisdom team prune Remove pushed sessions older than retentionDays.
wisdom check --range <base>..<head> For CI: check each commit’s guide, and that its sessions are on the remote. Exits with 1 when a commit needs attention.

See Team dashboard.

Command What it does
wisdom commits deploy Set up Commits for the whole team: Vercel, a GitHub sign-in app, the CI file. Run again to fix the setup.
wisdom commits build For CI: the team’s Commits from the remote, ready to deploy.
wisdom commits prune For CI: remove its older Vercel deployments.
Command What it does
wisdom share <session>... Write one file to send a teammate, after a secret check.
wisdom import <file> Read a teammate’s file here, read-only.
wisdom export <session> Write a session as Markdown, after a secret check.
wisdom clone <session> Carry a session on as a new one, in the same agent.
Command What it does
wisdom daemon start|stop|status Control the background service.
wisdom daemon run Run it in the foreground.
wisdom mcp Serve the optional read-only MCP tool, ledger.
wisdom --version Print the version.
Option Used with What it does
--cwd DIR any Use the project at DIR.
--capture <session> open The session to open a position in.
--json doctor Print the checks as JSON.
--data DIR any Use the data folder DIR directly. Also WISDOM_DATA_DIR.
--from N glance, open Continue a long answer from line N.
--at VERSION glance, open Read at a fixed version.
--commit <commit> glance Read a git commit instead of a session.
--range <base>..<head> check, team relink The commits to check or link, as git names a range.
--commit-map FILE team relink After git filter-repo: link each rewritten commit from its .git/filter-repo/commit-map.
--remote NAME team, check, commits build Use this remote instead of the one in wisdom-team.yaml.
--public commits deploy, commits build No GitHub sign-in in front of the team dashboard, on purpose.
--main BRANCH, --out DIR commits build The default branch, and where the build goes (default .wisdom-commits/).
--from <session-id> handoff The session to read. Default: the one running the command. Otherwise the newest from another agent for a new session, or the newest other one for an existing session.
--emit handoff Hand off in the background, reading only.
--port N daemon, and commands that start it Start the service on exactly this port.
--no-dashboard daemon Don’t start Usage and Commits.
--claude-bin FILE, --codex-bin FILE, --pi-entry FILE init, connect, track, resume, handoff, clone Use another installation of the agent.
--setup-hooks track codex Review Wisdom’s hooks in /hooks, first time only.
--trust-all-hooks track codex; resume, handoff and clone into Codex Skip the review for every hook in that run. Only in repositories you trust.
-- ARGUMENTS track, handoff track: pass the rest to the agent. handoff: add it to the first prompt (quoting the words works in every shell).
--out FILE share, export Where to save. Default .wisdom/shared-out/. export --out - prints it.
--redact, --keep-secrets share, export Redact or keep what the secret check finds, without asking.