understand

understand is a skill for Claude Code from Egonex-AI/Understand-Anything. It costs 21 tokens per session (16,602 once invoked), scanned C, original, MIT.

A tool that analyses a codebase and creates an interactive map of its architecture, files, components, and relationships.

In plain words
What is it for?
It is for exploring project structure, tracing relationships between code elements, and generating or updating the knowledge graph.
Why use it?
It gives developers a navigable overview of how the project is structured and how its parts depend on one another.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the understand-anything plugin — 9 skills, 12 agents, 2 hooks shipped together

Good fit It is for exploring project structure, tracing relationships between code elements, and generating or updating the knowledge graph.

Compare 6 skills from other repositories ↓
About the project

Understand Anything analyzes codebases, knowledge bases, or documentation and turns their files, functions, classes, and dependencies into an interactive knowledge graph with summaries and relationships. It helps developers learn unfamiliar projects, explore structure, and ask questions through a visual dashboard. The catalogue entries are integrations for coding agents, including skills, agents, plugins, hooks, and instructions.

Egonex-AI/Understand-Anything · 95,207 stars · on GitHub · understand-anything.com

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Egonex-AI/Understand-Anything
Claude Code
/plugin install understand-anything

Made for: Claude Code.

Or install understand-anything, the plugin that ships this one along with the rest of its 9 skills, 12 agents, 2 hooks.

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 understand

README.md
[![agentmods](https://agentmods.dev/badge/skills/egonex-ai/understand-anything/understand/github.svg)](https://agentmods.dev/skills/egonex-ai/understand-anything/understand)
Your own site
<a href="https://agentmods.dev/skills/egonex-ai/understand-anything/understand"><img src="https://agentmods.dev/badge/skills/egonex-ai/understand-anything/understand/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 understand

Your own site · 80×15
<a href="https://agentmods.dev/skills/egonex-ai/understand-anything/understand"><img src="https://agentmods.dev/badge/skills/egonex-ai/understand-anything/understand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 13 Nov 2026
  • Snyk fail 18 Nov 2026
How audits are shown
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.00021 $0.16602
Opus 5.5 $0.00008 $0.06641
Sonnet 5.5 $0.00004 $0.03320
Haiku 4.5 $0.00002 $0.01660

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

Security

Grade C, and why

understand scanned grade C with 1 finding 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 14d ago.

The scan reads SKILL.md. This mod also ships 15 executable files (build-fingerprints.mjs, compute-batches.mjs, extract-import-map.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

3.1. **Purge stale trash dirs.** Phase 7 cleanup `mv`s scratch dirs into `.trash-<timestamp>/` rather than `rm -rf`ing them directly (see issue #301), so that destructive-action gates on hardened hosts don't trip on just
understand-anything-plugin/skills/understand/SKILL.md · 1,025 lines

How it starts

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

/understand

Analyze the current codebase and produce a knowledge-graph.json file in the project's data directory (.ua/, or the legacy .understand-anything/ when it already exists). This file powers the interactive dashboard for exploring the project's architecture.

Options

  • $ARGUMENTS may contain:
    • --full — Force a full rebuild, ignoring any existing graph
    • --auto-update — Enable automatic graph updates on commit (writes autoUpdate: true to $UA_DIR/config.json)
    • --no-auto-update — Disable automatic graph updates (writes autoUpdate: false to $UA_DIR/config.json)
    • --review — Run full LLM graph-reviewer instead of inline deterministic validation
    • --language <lang> — Generate all textual content (summaries, descriptions, tags, titles, languageNotes, languageLesson) in the specified language. Accepts ISO 639-1 codes (zh, ja, ko, en, es, fr, de, etc.) or friendly names (chinese, japanese, korean, english, spanish, etc.). Locale variants supported: zh-TW, zh-HK, etc. Defaults to en (English). Stores preference in $UA_DIR/config.json for consistency across incremental updates.
    • --exclude <patterns> — Comma-separated glob patterns for additional files/directories to exclude from analysis (e.g., --exclude "tests/*,docs/*"). These patterns take highest priority over built-in defaults and .understandignore rules. Supports gitignore syntax including ! negation.
    • A directory path (e.g. /path/to/repo or ../other-project) — Analyze the given directory instead of the current working directory

Progress Reporting

Throughout execution, report progress to the user at each phase transition and during batch processing. This keeps users informed on large codebases where analysis can take a long time.

  • Phase transitions: At the start of each phase, print a status line:

    [Phase N/7] <phase name>...

    Example: [Phase 2/7] Analyzing files (12 batches)...

  • Batch progress: During Phase 2, report each batch with its index and total:

    Analyzing batch X/N (files: foo.ts, bar.ts, ...) (list up to 3 filenames, then ... if more)

Read the full file on GitHub · 1,025 lines

Files

What ships with it

56 files 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. 14d ago Changed · +29 lines 7c5e6a269e6b
  2. 19d ago Changed · +59 lines 2fea224d3bd7
  3. 26d ago Changed · +5 lines c85d555a17b7
  4. 1mo ago Changed 12a224cbe2df
  5. 2mo ago Changed df922d89fb45
  6. 2mo ago Changed · +27 lines 1f6acd37e150
  7. 2mo ago Changed · +46 lines e1315b9d6007
  8. 3mo ago First seen · 859 lines · 21 tokens per session scan C b09dcea9aa16

Subscribe to this mod's changes

understand is a skill published in the GitHub repository Egonex-AI/Understand-Anything (95,207 stars, last pushed 8d ago), licensed MIT. It adds 21 tokens to every session and 16,602 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

understand compared with skills from other repositories

understand next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
understandEgonex-AI/Understand-AnythingSkill95k8d agoMITC21Claude Code
skill-sanitizeranimaresearch/skillsSkill115mo agononeA193Claude Code, Codex
public-skill-launcheranimaresearch/skillsSkill115mo agononeA66Codex
knowledge-gravity-labanimaresearch/skillsSkill115mo agononeA74Codex
super-lab-liteanimaresearch/skillsSkill115mo agononeA64Claude Code, Codex
dirty-skillanimaresearch/skillsSkill115mo agononeA28Claude Code, Codex
baoyu-comicJimLiu/baoyu-skillsSkill28k13d agoMITA61Claude Code