AugmentClaude

Trace MCP

Search indexed code and recall project decisions with compact context.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/trace-mcp-nikolai-vysotskyi/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.

    What this command does
    1. Makes a new, empty temporary folder.
    2. Downloads the skill's folder, integrations/bb/skills/trace-mcp, from github.com/nikolai-vysotskyi/trace-mcp (branch master), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep.
    3. Copies that folder to ~/.claude/skills/trace-mcp-nikolai-vysotskyi/.
    4. Deletes the temporary folder.

    Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.

    How we check skills, and what we don't · Report this skill

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Use trace-mcp through bb to search indexed code and recall project decisions with compact context.

What this skill does

Use trace_get_index_health to check the index, then trace_search to find symbols before reading whole files. Use trace_get_symbol for an exact definition and trace_get_outline for file structure. Use trace_get_project_memo at the start of a task when prior decisions matter, trace_query_decisions for a focused recall query, and trace_remember_decision to record an explicit English-language decision with the current bb thread as its session ID. Automatic decision capture rejects non-English text; for a manually entered decision in another language use the panel or bb trace remember. For other capabilities, search the catalog with trace_tools and pass the selected tool name and arguments to trace_call.

The thread's Trace context panel shows index health, saved decisions, and the provider's context-window usage. The same data and explicit writes are available through bb trace status, bb trace decisions, bb trace remember, and bb trace index; pass --thread <id> outside a bb thread.

The plugin runs trace-mcp in the bb environment's repository on its host machine. A thread needs an environment with a path. On first use, indexing may take time. Tool results are capped; narrow or page a query when a result says it was shortened.

Related skills