# Troubleshooting

> What to do when the agent isn't available, a file changed on disk, or an install is refused.

## The agent isn't available

When Spellbook can't use an agent, the message box says why, and so does Settings → Agents. Each message says what to do:

- **Not installed**: install Claude Code or Codex, then restart Spellbook.
- **Out of date**: Spellbook needs Claude Code 2.1.293 or Codex 0.163.0, or later. Run `claude update` in Terminal, or update Codex, then restart Spellbook.
- **Signed out**: run `claude` (or `codex login`) in Terminal to sign in, then try again.
- **Can't start**: the message says what went wrong. Restart Spellbook to try again.

Spellbook looks for `claude` and `codex` on your login shell's `PATH` and in the usual install folders. Settings → Agents shows where it found each; if it's not the one you use in Terminal, check your `PATH`.

If you sign in through Bedrock, Vertex, an API key or a helper, see [Settings and sign-in](https://spellbook.getmurmur.dev/docs/settings.md): that should work as it does in Terminal.

## Evals won't run

Evals run on Claude Agent only, whichever agent you write with. If Claude Code isn't available, the Evals view says why. A result that couldn't be judged says what went wrong: a missing file in `evals/files/`, a session that failed, or a grader that didn't answer.

A check that fails says why under its label: the script's own output, "It didn't finish within 10 seconds", or why it wasn't run, such as a command that isn't `node`, `python3`, `bash` or `sh`, or a script outside the skill. If a run says the skill's checks need agreeing to first, choose **Run** again: the confirm lists them.

## Spellbook tools don't work

Your agent says what's wrong:

- **"Spellbook isn't open"**: open it, then ask again. Only `check_skill` works with Spellbook closed.
- **"Spellbook tools are off"**: turn them on in Settings → Agents.
- **"Spellbook tools aren't set up here"**: the app you're in was set up without Spellbook's launcher. Use **Install** in Settings → Agents, or add the launcher's path shown there.
- **"That skill isn't in Spellbook"**: it's not one of yours, or its installed copy wasn't installed by Spellbook. Ask the agent to use `draft_skill` to bring it in.
- **`which_skill` refused**: choose **Add and read** in Settings → Agents.

After installing, start a new session in Claude Code or Codex: an open one doesn't see new tools.

## Publish stops

- **`gh` isn't installed or signed in**: install the GitHub CLI and run `gh auth login` in Terminal.
- **The repository changed in a way that clashes** with what you're publishing: nothing was pushed. Look at the repository on GitHub, then **Review changes** again.

## A file changed on disk

If a skill's file changes outside Spellbook while you have edits that aren't saved, a bar above the editor asks: **Reload** takes the file on disk, and **Keep mine** keeps your edits, to save over it. Until you choose, Spellbook won't save that file, rename the skill or let the agent work on it.

If the message "Changes made outside the app won't show until you restart it" appears, Spellbook couldn't watch your skills folder. Restart it. If it keeps happening, check that you can open the folder in Settings → General.

## "Couldn't save"

The status bar says **Couldn't save** when a write failed, and a message says why. Usually the folder was moved, or the disk is full or read-only. Your text stays in the editor; fix the cause, then press `⌘S`.

## An install is refused or asks first

- **Already installed there, and not from Spellbook**: a skill with that name is in the target folder and Spellbook didn't put it there. **Overwrite** moves it to the Bin first.
- **Changed there**: the installed copy was edited where it's installed. **Overwrite** replaces those edits; **Use their version** takes them into your skill.
- **Renaming an installed skill** reinstalls it under the new name, except where the copy was edited there or the new name is taken; the message says which copies were left.

## The name didn't change

If you rename a skill's `SKILL.md` in another editor, Spellbook follows on the next open when it can. When the new name is taken, or the skill is installed, the header says **The name in SKILL.md is …** with **Rename the skill**, so nothing installed moves without you.

## Your settings were reset

If Spellbook's settings file is damaged, it puts it aside, starts from the defaults and says so once. Your skills aren't in that file, so they're untouched.

## Something else

Skills are plain folders in `~/Skills` (or wherever Settings → General says). You can always open them in another editor, or in the Finder from the library's right-click menu.
