codebase-understanding

codebase-understanding is a skill for Claude Code from dyCuong03/unity-agent-team. It costs 54 tokens per session (652 once invoked), scanned A, original, MIT.

A codebase-navigation guide that uses a code-review graph—a map of architecture, symbols, calls, and dependencies—before opening source files.

In plain words
What is it for?
Use it to locate entry points, understand unfamiliar features, trace callers and dependencies, investigate bugs, and estimate what a change may affect.
Why use it?
It reduces blind file reading and guessing when tracing architecture, execution flow, bugs, refactors, or the impact of a change.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

Good fit Use it to locate entry points, understand unfamiliar features, trace callers and dependencies, investigate bugs, and estimate what a change may affect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dycuong03/unity-agent-team/codebase-understanding
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.

Any agent
npx skills add dyCuong03/unity-agent-team --skill codebase-understanding
Clone the repo
git clone --depth 1 https://github.com/dyCuong03/unity-agent-team

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 codebase-understanding

README.md
[![agentmods](https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/codebase-understanding/github.svg)](https://agentmods.dev/skills/dycuong03/unity-agent-team/codebase-understanding)
Your own site
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/codebase-understanding"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/codebase-understanding/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 codebase-understanding

Your own site · 80×15
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/codebase-understanding"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/codebase-understanding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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.00054 $0.00652
Opus 5.5 $0.00022 $0.00261
Sonnet 5.5 $0.00011 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 1mo ago against content hash 7f32a8424d0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codebase-understanding 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 1mo 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/skills/codebase-understanding/SKILL.md · 80 lines

What it actually says

Codebase Understanding — CRG-First

Core Rule

Query code-review-graph before reading any file. Never guess from filenames. Never grep blindly.

When to Use Each Agent

Task Agent First CRG Call
Understand system architecture architecture-agent get_architecture_overview
Read an unfamiliar feature codebase-reader get_minimal_context
Investigate a bug bug-investigation trace_execution_flow
Plan a refactor refactor-agent get_impact_radius
Implement a new feature feature-dev-agent find similar feature

CRG Tool Reference

Tool Use Case
get_architecture_overview Full system map before any analysis
trace_execution_flow Follow what runs in what order
get_minimal_context Orient around an unfamiliar symbol
find_entry_points Where does this feature start?
list_related_symbols What symbols participate in this feature?
trace_callers_callees Who calls this? What does it call?
get_impact_radius What breaks if I change this?
trace_dependencies What does this depend on?
identify_shared_symbols What is used by many callers?
identify_extension_points Where does new code attach?

File Read Limit

Maximum 8 files per investigation, each justified by graph evidence.

Fallback (no CRG)

State "Running without CRG evidence" once. Use targeted Grep on known symbols. Read only files directly implicated. State your reasoning for each file opened.

Output Template

## Summary
<one paragraph>

## Execution Flow
<numbered steps>

## Relevant Systems
<list with ownership>

## Root Cause / Behavior
<precise statement>

## Impact Radius
<what would change if this is modified>

## Recommended Next Step
<single concrete action>
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. 1mo ago First seen · 80 lines · 54 tokens per session scan A 7f32a8424d0a

Subscribe to this mod's changes

codebase-understanding is a skill published in the GitHub repository dyCuong03/unity-agent-team (8 stars, last pushed 4mo ago), licensed MIT. It adds 54 tokens to every session and 652 once invoked, about $0.0002 per session on Opus 5.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-10-02.

Related

codebase-understanding compared with skills from other repositories

codebase-understanding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codebase-understandingdyCuong03/unity-agent-teamSkill84mo agoMITA54Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k2d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill9742d agoMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex