dora

Instructions for using the dora command-line tool to explore a codebase through its indexed code structure. It helps locate definitions and uses of symbols, dependencies, and architectural relationships.

In plain words
What is it for?
Use it to find where code is defined or used, inspect dependencies, map packages, and assess the likely impact of a change.
Why use it?
It reduces the time spent searching through files when you need to understand how a codebase is organized or what a change might affect. The guidance separates structural exploration from reading and editing source files.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/butttons/dora/docs
Any agent
npx skills add butttons/dora --skill docs
Clone the repo
git clone --depth 1 https://github.com/butttons/dora

Made for: Claude Code, Codex.

Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00024 $0.02866
Opus 5 $0.00012 $0.01433
Sonnet 5 $0.00005 $0.00573
Haiku 4.5 $0.00002 $0.00287

Measured 2d ago against content hash 554091d7432f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dora 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 2d 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.

src/templates/docs/SKILL.md · 345 lines

How it starts

The opening of the file, as written. The whole thing — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Philosophy

IMPORTANT: Use dora FIRST for ALL code exploration tasks.

dora understands code structure, dependencies, symbols, and architectural relationships through its indexed database. It provides instant answers about:

  • Where symbols are defined and used
  • What depends on what (and why)
  • Architectural patterns and code health
  • Impact analysis for changes

When to use dora vs other tools:

  • dora: Code exploration, symbol search, dependency analysis, architecture understanding
  • Read: Reading actual source code after finding it with dora
  • Grep: Only for non-code files, comments, or when dora doesn't have what you need
  • Edit/Write: Making changes after understanding with dora
  • Bash: Running tests, builds, git commands

Workflow pattern:

  1. Use dora to understand structure and find relevant code
  2. Use Read to examine the actual source
  3. Use Edit/Write to make changes
  4. Use Bash to test/verify

Commands

Overview

  • dora status - Check index health, file/symbol counts, last indexed time
  • dora map - Show packages, file count, symbol count

Files & Symbols

  • dora ls [directory] [--limit N] [--sort field] - List files in directory with metadata (symbols, deps, rdeps). Default limit: 100
  • dora file <path> - Show file's symbols, dependencies, and dependents. Note: includes local symbols (parameters).
  • dora symbol <query> [--kind type] [--limit N] - Find symbols by name across codebase
  • dora refs <symbol> [--kind type] [--limit N] - Find all references to a symbol
  • dora exports <path> - List exported symbols from a file. Note: includes function parameters.
  • dora imports <path> - Show what a file imports

Dependencies

  • dora deps <path> [--depth N] - Show file dependencies (what this imports). Default depth: 1
  • dora rdeps <path> [--depth N] - Show reverse dependencies (what imports this). Default depth: 1
  • dora adventure <from> <to> - Find shortest dependency path between two files

Read the full file on GitHub · 345 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 345 lines · 24 tokens per session scan A 554091d7432f

Subscribe to this mod's changes

dora is a skill published in the GitHub repository butttons/dora (108 stars, last pushed 5mo ago), licensed MIT. It adds 24 tokens to every session and 2,866 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-30.

Related

Other skills, from other repositories

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

orchestrate

Tree-aware multi-agent GitHub-issue pool. Conductor manages task-tree from task-splitting-evaluation, executing depth-first per branch while parallelizing roots/orphans. Each worker agent owns its subtree lifecycle. Conductor tracks state (pending/started/in-progress/completed/halted) in GitHub +…

MercurieVV/ScalaSemantic · 101 tokens

bonsai-ninja

Use bonsai-ninja as compiler-backed structural evidence when mapping a codebase, finding symbols, tracing behavior, inspecting dataflow, debugging across files, reviewing change impact, exporting graph facts, or running SAST.

gromhacks/bonsai-ninja · 48 tokens

task-splitting-evaluation

Recursive pre-implementation GitHub task splitting and evaluation flow. Use when the user wants Claude agents to evaluate unhandled tasks, skip already-processed tasks, mark easy leaves with detailed executor-ready comments, split broad tasks into GitHub subtasks, and keep recursing until every leaf is well described…

MercurieVV/ScalaSemantic · 73 tokens

mastermind-task-planning

Choose the lightest Mastermind workflow that fits the risk, then create an evidence-grounded verified or strict task contract for delegated implementation. Direct work deliberately uses no task spec.

xcrft/mastermind · 41 tokens

mastermind-task-executor

Execute an approved Mastermind task contract within Scope, prove its Acceptance Criteria, and write the canonical file-backed executor report. Use when the user hands off a .mastermind/tasks/ - /spec.md or explicitly asks to execute an approved Mastermind task.

xcrft/mastermind · 62 tokens