Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /zenno:using-the-repo-graph still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
{ "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "node "${CLAUDE_PLUGIN_ROOT}/core/hooks/bootstrap-cli.js"" } ] }, { "hooks": [ { "type": "command", "command": "node "${CLAUDE_PLUGIN_ROOT}/core/hooks/lib/graph-staleness-nudge-cli.js"" } ] } ] } }
- [ ] **Step 6: Validate the updated hooks.json parses correctly**
Run: `node -e "JSON.parse(require('fs').readFileSync('core/hooks/hooks.json', 'utf8')); console.log('valid')"`
Expected: `valid`
- [ ] **Step 7: Commit**
```bash
git add core/hooks/lib/graph-staleness-nudge-cli.js core/hooks/lib/graph-staleness-nudge-cli.test.js core/hooks/hooks.json
git commit -m "feat: non-blocking SessionStart staleness nudge for repo graph"
Files:
core/skills/using-the-repo-graph/SKILL.mdInterfaces:
zenno/graph/tags (Task 2's output path) and generate-graph-cli.js (Task 5's entrypoint) by name.This task has no test cycle — skill content isn't unit-testable the way code is. Verification is manual review against Superpowers' own skill-writing conventions (imperative, second person, clear "when to use" / "when not to use" boundaries).
---
name: using-the-repo-graph
description: Use this at the start of any task in an existing codebase, before exploring the repo manually. Checks for a pre-generated, deterministic symbol index at zenno/graph/tags and reads it to get oriented instantly, instead of spending tool calls re-discovering file/symbol structure. Especially valuable when dispatched as a subagent, since the cost of re-exploration multiplies by however many agents are spawned in a session.
---
# Using the Repo Graph
Before exploring an unfamiliar codebase with `Glob`, `Grep`, or repeated `Read` calls to map out structure, check whether a pre-generated symbol index already exists.
## Steps
1. Check whether `zenno/graph/tags` exists in the current repo.
- If it doesn't exist: this repo either hasn't been graphed yet, or was too small to be worth graphing when Zenno last checked. Proceed with normal exploration — do not block on this.
- If it exists: continue to step 2.
2. Read `zenno/graph/tags`. It's a flat, plain-text symbol index — one line per symbol, in the format `<symbol-name>\t<file-path>\t<pattern-or-line>;"\t<kind>`. This tells you every function, class, enum, and other named symbol in the codebase, and exactly where each one is defined, without reading a single source file yet.
3. Use it to jump directly to relevant code instead of searching for it:
- Looking for where something is defined? Search the tags file for the symbol name first — it's a single grep-able file, faster than searching the whole repo.
- Getting oriented in a new area of the codebase? Skim the tags file entries for the relevant directory to see what's already there before writing anything new.
4. **Known limitation, state it plainly if it matters to the task:** this is a symbol index (name → file:line), not a full dependency or call graph. It tells you *where* something is defined, not *what calls it* or *what it depends on*. For call-graph-level questions, you still need to read the actual code — the tags file only shortens the search, it doesn't replace reading code that matters to the task.
5. If `zenno/graph/tags` looks stale relative to the current code (e.g. a symbol you expect isn't listed, or file paths look wrong), don't silently trust it — fall back to direct exploration for that specific question, and mention that the graph may need regenerating.
## When NOT to use this
- Brand-new or near-empty projects — there's nothing meaningful to graph, and `zenno/graph/tags` won't exist.
- Questions about runtime behavior, call relationships, or data flow — the graph only answers "where is X defined," not "what happens when X runs."
What SKILL.md sets; muted values are Claude Code's defaults
None: SKILL.md is the whole skill.
Other plugins' skills for the same job
npx claudepluginhub keypaa/zenno --plugin zenno8 skills in this plugin
/bounded-researchUse this for research-heavy tasks that would otherwise tempt an uncapped fan-out (e.g. Claude Code's native Dynamic Workflow, which can spawn dozens of agents across sequential waves). Dispatches exactly 3 parallel explorer agents on distinct sub-angles plus 1 synthesis agent, via native Agent Teams. Never spawns more, never adds a second synthesis wave. This is the direct, fixed-size replacement for open-ended research fan-out./plan-stress-testUse this as an optional escalation step after superpowers:writing-plans produces a plan, before any implementation begins, for plans with real security/scope/architecture stakes (not trivial or purely mechanical changes). Dispatches exactly 4 fixed-role reviewer agents via native Agent Teams to critique the plan from four distinct angles in parallel. Never spawns more or fewer than 4 — the fixed size is deliberate, not a suggestion the model can expand./reading-cost-reportsUse this when interpreting `zenno cost report` output, when a cap-near-miss journal entry needs explaining, or when deciding whether Agent Team caps need adjusting. Covers what the report numbers mean and what to do about them./running-zenno-doctorUse this when Zenno reports a problem at session start, when `zenno doctor` output needs interpreting, or when verifying a Zenno installation is healthy. Runs read-only health checks over the Shield guards, Agent Team caps, memory repo, and tool dependencies./using-config-export-importUse this when the user wants to back up, share, or restore Zenno's zenno/config.json — exporting a copy, or importing a config from another project/backup. Import always validates schema, diffs against the current config, and flags any security-relevant weakening before applying — never a silent overwrite./using-trace-exportUse this when the user asks to export session history for fine-tuning, training data, or dataset creation. Wraps Claude Code's own session transcript files (~/.claude/projects/<project>/*.jsonl) with a mandatory secret-redaction pass before anything is written to disk. On-demand only — never runs automatically.