symbol

symbol is a command for Claude Code from madeinoz67/madeinoz-knowledge-system. It costs 27 tokens per session (499 once invoked), scanned A, original, MIT.

A code-navigation command that finds a named symbol, such as a function, class, or variable, and reports where it is defined, how it is used, and related documentation.

In plain words
What is it for?
Use it to inspect a symbol's signature and location, find what calls it, see what it calls, and locate its implementations or definitions.
Why use it?
It reduces the time spent searching a codebase and helps explain relationships between definitions, callers, and implementations using the actual source code.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to inspect a symbol's signature and location, find what calls it, see what it calls, and locate its implementations or definitions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/madeinoz67/madeinoz-knowledge-system/symbol
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/madeinoz67/madeinoz-knowledge-system

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for symbol

README.md
[![agentmods](https://agentmods.dev/badge/commands/madeinoz67/madeinoz-knowledge-system/symbol/github.svg)](https://agentmods.dev/commands/madeinoz67/madeinoz-knowledge-system/symbol)
Your own site
<a href="https://agentmods.dev/commands/madeinoz67/madeinoz-knowledge-system/symbol"><img src="https://agentmods.dev/badge/commands/madeinoz67/madeinoz-knowledge-system/symbol/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for symbol

Your own site · 80×15
<a href="https://agentmods.dev/commands/madeinoz67/madeinoz-knowledge-system/symbol"><img src="https://agentmods.dev/badge/commands/madeinoz67/madeinoz-knowledge-system/symbol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00499
Opus 5 $0.00014 $0.00249
Sonnet 5 $0.00005 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 10d ago against content hash 249cc2728762, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

symbol scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/codanna/symbol.md · 56 lines

What it actually says

Context

Symbol to analyze: $1

User's question: $2

Your task

Use the Bash tool to fetch symbol information, then answer the user's question.

Workflow:

  1. Execute: node .claude/scripts/codanna/context-provider.js symbol $1
  2. Analyze the symbol details returned (includes [symbol_id:123] for all symbols)
  3. For deeper exploration, the script supports: describe, callers, calls subcommands
  4. Trust the script output. If it's not enough, ask the user.
  5. Answer the question: "$2"

The meta-principle is: "When given a workflow, follow it. Uncertainty is a signal to verify, not improvise."

When answering:

  • Reference actual code locations (file:line_range)
  • Explain relationships (calls, called_by, implements, defines)
  • Use the signature and documentation from the symbol
  • Be specific about how the symbol is used in the codebase

Following relationships:

  • Use <symbol_name|symbol_id:ID> for follow-up queries
  • Commands: calls, callers, describe accept either format

Focus on what the code actually shows, not general programming principles.

Graph Visualization

When the symbol has rich relationships, suggest:

"This symbol has N callers/calls. Would you like a graph visualization?"

If the user explicitly asks for a graph, or accepts the suggestion:

  1. Execute: node .claude/scripts/codanna/visualize-graph.js <symbol_id:ID> [depth]
  2. Default depth is 2 (shows immediate + one level of transitive relationships)
  3. The script generates an HTML file and outputs the path
  4. Tell the user the file location so they can open it in their browser

When to suggest graphs:

  • Many relationships where text output is hard to follow
  • User asks "how is this connected" or "show me the relationships"
  • User wants to understand call flow or dependency topology

Do NOT suggest graphs for:

  • Simple symbols with 0-2 relationships
  • When user is asking about implementation details, not relationships
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 56 lines · 27 tokens per session scan A 249cc2728762

Subscribe to this mod's changes

symbol is a command published in the GitHub repository madeinoz67/madeinoz-knowledge-system (3 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 499 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.