Understand-Anything: Instructions file for Claude Code

CLAUDE.md

Understand-Anything CLAUDE.md is an instructions file for Claude Code from Egonex-AI/Understand-Anything. It costs 1,645 tokens per session, scanned C, original, MIT.

A project instruction document for Understand Anything, an open-source tool that analyzes codebases and shows the results in interactive dashboards. It explains the project layout, required software, architecture, and dashboard design.

In plain words
What is it for?
Use it as a reference when setting up, developing, or navigating Understand Anything, including its analysis engine, React dashboard, skills, agents, and project requirements.
Why use it?
It gives Claude Code the background needed to work consistently in a project spread across a pnpm monorepo, which is one repository containing multiple related packages.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Claude Code; mentions OpenCode.

This is Egonex-AI/Understand-Anything's own configuration. It tells Claude Code how to work on Understand-Anything itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Understand-Anything configures →

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

Reuse

Borrowing it

Nothing to install: this file belongs to Egonex-AI/Understand-Anything. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Egonex-AI/Understand-Anything

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 Understand-Anything CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/egonex-ai/understand-anything/claude-md"><img src="https://agentmods.dev/badge/instructions/egonex-ai/understand-anything/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,645 This file is loaded in full into every session.
When invoked 1,645 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01645 $0.01645
Opus 5 $0.00822 $0.00822
Sonnet 5 $0.00329 $0.00329
Haiku 4.5 $0.00164 $0.00164

Measured 9d ago against content hash 850a08e0cf62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

Understand-Anything CLAUDE.md 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 9d 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.

Recursive force deletehighDestructive command

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

rm -rf ~/.claude/plugins/cache/understand-anything/understand-anything/<VERSION>
CLAUDE.md · 103 lines

How it starts

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

Understand Anything

Project Overview

An open-source tool combining LLM intelligence + static analysis to produce interactive dashboards for understanding codebases.

Prerequisites

  • Node.js >= 22 (developed on v24)
  • pnpm >= 10 (pinned via packageManager field in root package.json)

Architecture

  • Monorepo with pnpm workspaces
  • understand-anything-plugin/ — Claude Code plugin containing all source code:
    • packages/core — Shared analysis engine (types, persistence, tree-sitter, search, schema, tours, plugins)
    • packages/dashboard — React + TypeScript web dashboard (React Flow, Zustand, TailwindCSS v4)
    • src/ — Skill TypeScript source for /understand-chat, /understand-diff, /understand-explain, /understand-onboard
    • skills/ — Skill definitions (/understand, /understand-dashboard, etc.)
    • agents/ — Agent definitions (project-scanner, file-analyzer, architecture-analyzer, tour-builder, graph-reviewer)

Dashboard

  • Dark luxury theme: deep blacks (#0a0a0a), gold/amber accents (#d4a574), DM Serif Display typography
  • Graph-first layout: 75% graph + 360px right sidebar
  • No ChatPanel or Monaco Editor
  • Sidebar tabs: Info (ProjectOverview default → NodeInfo when node selected → LearnPanel in Learn persona, composing) and Files (FileExplorer tree built from the structural graph)
  • Code viewer: prism-react-renderer source viewer that slides up from the bottom on file node click; an expand button promotes it into a full-screen modal. Source content is fetched from the dev server's /file-content.json endpoint, gated by access token + a graph-derived path allowlist
  • Schema validation on graph load with error banner

Agent Pipeline

  • Agents write intermediate results to the data directory's intermediate/ subdirectory on disk (not returned to context) — .ua/intermediate/, or .understand-anything/intermediate/ when that legacy directory is present
  • Agent model field is omitted from frontmatter so each platform falls back to its configured default — inherit was a Claude Code-only keyword that opencode (and similar tools) treated as a literal model id and rejected with ProviderModelNotFoundError (see #167)
  • /understand auto-triggers /understand-dashboard after completion
  • Intermediate files cleaned up after graph assembly

Read the full file on GitHub · 103 lines

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. 9d ago First seen · 103 lines · 1,645 tokens per session scan C 850a08e0cf62

Subscribe to this mod's changes

Understand-Anything CLAUDE.md is an instructions file published in the GitHub repository Egonex-AI/Understand-Anything (81,763 stars, last pushed today), licensed MIT. It adds 1,645 tokens to every session, about $0.0082 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 instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens