Skip to the page
Spellbookby MurmurDownload for Mac

Spellbook tools

Let Claude Code, Codex and other agents hand Spellbook what they learn while they work.

You learn what a skill should say while you work, usually in a Claude Code or Codex session somewhere else. Spellbook tools let that agent hand it over: a new skill, a better version of one you have, a time a skill missed, a test case, or a word on whether it helped. Nothing it sends is installed, published or added to your evals until you say so in Spellbook.

Turn them on

They're off until you turn them on, in Settings → Agents under Spellbook tools.

  1. Turn on Spellbook tools.
  2. Choose what other apps may do. Add to Spellbook, the default, lets them hand things over. Add and read also lets them list your skills, to find one that fits a task.
  3. Press Install beside Claude Code or Codex. For Claude Code, Spellbook runs Claude Code's own claude mcp add; for Codex it adds a section to Codex's config.toml and leaves the rest as it was. Remove takes it out again.

For any other app that takes an MCP server, copy the launcher's path from the same place and add it as a command. Start a new session in the app afterwards, so it picks the tools up.

Spellbook has to be open for the tools to reach it, except check_skill, which works with Spellbook closed. They talk to Spellbook over a connection on your Mac that only your account can open, and nothing leaves the Mac.

What an agent can do

You don't call these yourself: ask your agent in plain words, such as "hand Spellbook a skill for how we write release notes", and it picks the tool.

ToolWhat happens in Spellbook
draft_skillA new skill opens in the editor, with a message saying who drafted it. It never writes over a skill that's there: a taken name gets a number. What the agent learned and why is kept outside the skill's folder and given to your agent as context.
suggest_changeNew content for one or more of a skill's files, with a reason. It shows as the usual change to keep or revert, with the reason above it.
report_skill_missA time a skill was used when it shouldn't have been, wasn't used when it should, or did the wrong thing. It goes to the skill's inbox.
add_eval_caseA proposed test case, with why. It goes to the skill's inbox.
skill_feedbackWhether a skill helped. Spellbook counts them.
which_skillYour skills that fit a task, including drafts that aren't installed, with how each did in its latest evals. Only with Add and read.
check_skillSpellbook's lint on any SKILL.md, the same as the editor's.

A skill can be named by its name, or by the path of an installed copy, such as ~/.claude/skills/commit-style, when Spellbook installed it from one of yours. A skill Spellbook doesn't know is refused, with draft_skill as the way to bring it in.

The inbox

Misses and proposed cases wait in the skill's inbox. When a skill has any, the count shows beside Share, such as 2 in inbox, and a message says when a new one arrives. Choose the count to open it.

Each item says what happened, which app sent it and when. Then:

  • Make a case opens it as an eval case to change before it's added to the skill's evals. A miss where the skill shouldn't have been used becomes a case that shouldn't trigger; one where it wasn't used, or did the wrong thing, keeps what should have happened as an expectation.
  • Dismiss clears it.
  • Ask for fixes sends the open misses to your agent, which changes the skill to stop them happening, as a change to keep or revert.

A miss holds what you really asked, which may be private. The inbox is kept beside Spellbook's settings, not in the skill's folder, so it's never installed, zipped or published. Take out anything private when you make it a case, since evals can be published.

Feedback

When other agents keep finding a skill helpful, its sigil gets a small dot at the top of its ring, and the sigil's label says how often. It never moves the skill up a stage: only its evals do that.

The same page is in the app, under Help (⌘?). As Markdown