Debugging

From nano-step/nano-brain · View interactive version

Debugging is an AI agent skill from the GitHub repository nano-step/nano-brain. Use `mode=debugging` on `memory_search` or `memory_query` to search code, sessions, and config in a single call.

How to use this skill

Skill file

Debugging Skill

Use mode=debugging on memory_search or memory_query to search code, sessions, and config in a single call.

When to Use

Detect debugging intent from user queries like:

Workflow

  1. Search — call memory_search(query="<user query>", mode="debugging")
  2. Read source labels — each result has a source field: "code", "session", or "config"
  3. Prioritize by source:
  1. Dig deeper if needed:

Example

User: "stripe payment has wrong tax calculated"

Step 1: memory_search(query="stripe payment wrong tax", mode="debugging")
  → Returns results with source labels

Step 2: Check source=code results for tax calculation logic
Step 3: Check source=session for past debugging sessions about tax
Step 4: Check source=config for tax-related config values

Step 5: If needed:
  memory_graph(node="internal/tax/calculate.go::CalculateTax", direction="in")
  → Find all callers of the tax function

Source Interpretation

| Source | What it means | Look for |

|--------|--------------|----------|

| code | Indexed codebase files | Error handling, logic paths, function signatures |

| session | Harvested AI sessions | Past debugging attempts, decisions made |

| config | Memory/config documents | Thresholds, feature flags, environment values |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.