Skills
The wiki ships with a set of Agent Skills that cover the full workflow, and they work in any agent that supports skills: Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf, Goose and more. No manual prompting, no copy-pasting.
Daily workflow
/brain-ingest— Drop a file intoraw-sources/. Your agent summarizes the source, creates awiki/sources/page, updates related topic pages, and flags contradictions./brain-remember— Say "remember this" in any session. Your agent saves the decisions and learnings from the conversation as awiki/sources/page and folds them into related pages./brain-search— Ask anything. Your agent runs hybrid search, reads the most relevant pages, and writes an answer with inline[[wiki/page]]citations./lint— Health-check the wiki. Surfaces orphan pages, broken links, unresolved contradictions, and data gaps.
Maintenance
/brain-refresh— Re-scan the vault and regenerate vector embeddings for new or changed files./brain-rebuild— Destructive. Redesigns the qmd schema, drops the old index, and rebuilds from scratch. Use only when the current structure no longer fits how you search.
Install or update skills
The skills follow the Agent Skills format, so they work in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf, Goose and more. /brain-ingest, /brain-remember, /brain-search, and /brain-refresh install globally during setup — once to ~/.agents/skills/, with symlinks from agent-specific folders like ~/.claude/skills/. /brain-rebuild and /lint live inside the vault at .claude/skills/ and are copied to .agents/skills/ and other agents' folders for the agents you pick.
To install for more agents later, or after upgrading the CLI:
npx claude-second-brain skills --agent codex,cursor,github-copilotSee Install skills for any agent for the full layout.
The skill copies inside an existing brain (.claude/skills/, .agents/skills/, …) and its CLAUDE.md don't change when you upgrade the CLI. Update them with csb upgrade, which keeps any skill you edited:
npx claude-second-brain upgradeTo pull in improvements from the latest template:
# Install or update all 6 wiki skills
npx skills add https://github.com/jessepinkman9900/claude-second-brain/tree/main/template/.claude/skills -a claude-code -y
# Or update a specific skill
npx skills add https://github.com/jessepinkman9900/claude-second-brain/tree/main/template/.claude/skills --skill brain-ingest -a claude-code -yOnce installed via npx skills, future updates are a single command:
npx skills update -a claude-code