understand

understand is a skill for Claude Code from Egonex-AI/Understand-Anything. It costs 21 tokens per session (14,189 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, 10 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 · 81,763 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, 10 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 14,189 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 5 Sept 2026
  • Snyk pass 5 Sept 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.14189
Opus 5 $0.00010 $0.07095
Sonnet 5 $0.00004 $0.02838
Haiku 4.5 $0.00002 $0.01419

Measured yesterday against content hash 1f6acd37e150, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 yesterday.

The scan reads SKILL.md. This mod also ships 13 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 · 932 lines

How it starts

The opening of the file, as written. The whole thing — 932 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 · 932 lines

Files

What ships with it

53 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. yesterday Changed · +27 lines 1f6acd37e150
  2. 4d ago Changed · +46 lines e1315b9d6007
  3. 9d 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 (81,763 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 14,189 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

skill-sanitizer

Pre-share leak scanner for Claude Code skills (or any folder). Scans BEFORE you publish for secrets (API keys, tokens, private keys, .env values, high-entropy strings), PII (emails/phones), local machine paths (C:\Users\ , /home/ , /Users/ , UNC, internal hostnames), and client/proper-noun names from a LOCAL private…

animaresearch/skills · 193 tokens

public-skill-launcher

Package an AI skill, prompt workflow, or internal operating habit into a public-ready release with a catchy hook, safe redaction, useful examples, demo tasks, README copy, and launch messaging. Use when preparing a skill for GitHub, social sharing, marketplace submission, documentation, or community feedback.

animaresearch/skills · 66 tokens

knowledge-gravity-lab

Analyze folders of Markdown/text research notes, Obsidian vaults, paper cards, invention notes, or memory exports as a practical knowledge map. Use when asked to find center topics, noisy or low-signal notes, possible contamination, overgrown topic groups, orphan notes, cleanup actions, or a useful public…

animaresearch/skills · 74 tokens

super-lab-lite

Lightweight multi-agent research orchestration using one coordinator, three domain leads, and three lightweight research agents. Use for medium-size research, market scans, competitor comparisons, prior-art style exploration, report planning, and any task that benefits from parallel domain decomposition without…

animaresearch/skills · 64 tokens

dirty-skill

A deliberately leaky demo skill used to show what skill-sanitizer catches before you publish. Do not ship this.

animaresearch/skills · 28 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens