Record and read
Let agents read sessions
The skill every connected agent gets, what to ask it, and the optional MCP tool.
Your agents read sessions the way you do: glance, then open. Any agent can read any
session, so Codex can read what Claude Code did, and the other way round.
The skill
Section titled “The skill”wisdom connect and wisdom init give each agent a skill that teaches it to run these in its
shell:
wisdom glance # recorded sessions, newest firstwisdom glance latest # one session: its shape and every turnwisdom open t3 --capture latest # turn 3, wholeThe skill also teaches an agent to hand a bug or a follow-up to another session, in the
background, with wisdom handoff --emit.
Running connect or init again updates the skill to match your Wisdom version, and so does
starting an agent with wisdom track.
wisdom doctor tells you if it’s missing or old.
What to ask
Section titled “What to ask”Ask in plain words. The agent finds the session and the turn on its own.
- Which session changed
src/totals.ts, and was that on purpose? - Read the last Wisdom session. Did the tests pass before it said they did?
- What did the Claude Code session try before it settled on this fix?
- Which session wrote the last commit, and did it do what I asked?
For the last one, the skill uses wisdom glance --commit. It also tells
your agents not to run wisdom guide unless you ask, since that calls a model on your account.
Here an agent checks a change against the request behind it:
t3 in Add a one-line docstring to main() in jev_router/tool.py.
c4 Edit src/optim_jev/tools/jev_router/tool.py · ok · → p1reply I added a one-line docstring to main().
p1 src/optim_jev/tools/jev_router/tool.py · modify · +2 −1 · observed during c4 def main() -> None: - mode = sys.argv[1] if len(sys.argv) > 1 else "" + """Dispatch a JSON request from stdin to the handler named by argv[1].""" + mode =sys.argv[1] if len(sys.argv) > 1 else ""The request and the reply both say “docstring”, but the diff shows the line below changed too. The agent sees the change, the request behind it, and where they differ.

Long answers through a shell
Section titled “Long answers through a shell”An agent’s shell can cut output shorter than Wisdom’s own 80,000 characters: Claude Code saves
all of it to a file, and Codex takes out the middle. The skill teaches agents to notice, and to read
the rest in pages with --at and --from:
wisdom open t3 --capture 3f9c2a71 --at 412 --from 1 | head -n 300wisdom open t3 --capture 3f9c2a71 --at 412 --from 301 | head -n 300complete at the end describes Wisdom’s answer, not what the agent’s shell showed of it.
In a sandbox
Section titled “In a sandbox”A sandbox can let an agent read through a running service but not start a stopped one (Codex’s on
Windows does this). The hooks normally start it first. If it isn’t running, run wisdom daemon start
yourself, outside the sandbox.
An agent Wisdom doesn’t record
Section titled “An agent Wisdom doesn’t record”Copy the wisdom-ledger skill
in through that agent’s own skill mechanism. It only needs a shell in the project’s folder.
The MCP tool (optional)
Section titled “The MCP tool (optional)”Most agents don’t need it. It’s for an agent without a shell, or if you’d rather give a tool
than a command. One read-only tool, ledger, returns the same text as the CLI. It takes
glance, open, capture, commit, from and at. It can’t start an agent or edit code. wisdom track already passes it to Claude Code and Codex.
Starting it can start the background service.
To add it to another agent:
{ "mcpServers": { "wisdom": { "command": "wisdom", "args": ["mcp", "--data", "/path/to/your-project/.wisdom"] } }}{ "mcpServers": { "wisdom": { "command": "cmd", "args": ["/c", "wisdom", "mcp", "--data", "C:/path/to/your-project/.wisdom"] } }}