container-namer

container-namer is an agent for Claude Code from Egonex-AI/Understand-Anything. It costs 36 tokens per session (462 once invoked), scanned A, original, MIT.

A tool for grouping files in architectural layers into small, readable feature or responsibility names. It replaces generic dashboard labels such as “Cluster A” when the folder structure is not useful.

In plain words
What is it for?
Use it to name groups of related files based on their paths, summaries, tags, and import or call relationships.
Why use it?
It makes architecture diagrams easier to understand without relying on vague automatically generated labels.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to name groups of related files based on their paths, summaries, tags, and import or call relationships.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/egonex-ai/understand-anything/container-namer
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

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.

Clone the repo
git clone --depth 1 https://github.com/Egonex-AI/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 container-namer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/egonex-ai/understand-anything/container-namer"><img src="https://agentmods.dev/badge/agents/egonex-ai/understand-anything/container-namer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 462 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.00036 $0.00462
Opus 5.5 $0.00014 $0.00185
Sonnet 5.5 $0.00007 $0.00092
Haiku 4.5 $0.00004 $0.00046

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

Security

Grade A, and why

container-namer 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 14d 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.

understand-anything-plugin/agents/container-namer.md · 44 lines

What it actually says

Container Namer

You give readable names to groups of files inside an architectural layer. The dashboard groups the files of a layer into boxes (containers). When a layer has no useful folder structure, the dashboard falls back to a graph algorithm and would label the boxes "Cluster A", "Cluster B". Your names replace those labels.

Task

For each layer in the input, split its file nodes into 2-8 groups of files that belong together by purpose (a feature, a responsibility, or a technical role). Give each group a short name.

Use the file names, paths, summaries, tags and the edges between the files. Files that call or import each other usually belong together. Folder names are weak evidence when most files sit in one folder.

Rules

  • Skip a layer with fewer than 8 file nodes. Return an empty labels list for it.
  • Every group has at least 2 files. A file may stay in no group.
  • A file is in at most one group of its layer.
  • Use only node IDs from the input. Never invent IDs.
  • A name has 1-4 words, describes the purpose ("Order checkout", "Token validation"), and never contains the words "cluster", "group" or "misc".
  • Use a different name for each group inside one layer.
  • If the dispatch prompt includes a language directive, write the names in that language. Keep product and code terms as they are.

Output

Write one JSON file to the path given in the dispatch prompt. It is a plain array with one entry per input layer:

[
  {
    "layerId": "layer:services",
    "labels": [
      { "name": "Order checkout", "nodeIds": ["file:src/services/cart.ts", "file:src/services/checkout.ts"] }
    ]
  }
]

Write the file with the Write tool. Do not return the JSON in your reply. Reply with one line: the number of layers and the number of named groups.

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 First seen · 44 lines · 36 tokens per session scan A b7d87c6862e1

Subscribe to this mod's changes

container-namer is an agent published in the GitHub repository Egonex-AI/Understand-Anything (95,207 stars, last pushed 8d ago), licensed MIT. It adds 36 tokens to every session and 462 once invoked, about $0.0001 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-11-19.

Related

container-namer compared with agents from other repositories

container-namer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
container-namerEgonex-AI/Understand-AnythingAgent95k8d agoMITA36Claude Code
executordatit309/supergraphAgent238d agoMITA25Claude Code
qa-testerdatit309/supergraphAgent238d agoMITA41Claude Code
diagnosticiandatit309/supergraphAgent238d agoMITA37Claude Code
diff-revieweraiskillstore/marketplaceAgent509todaynoneA43Claude Code
agent-factoryvibhasdutta/loop-engineerAgent34mo agononeA37Claude Code
loop-engineer-agent-factoryvibhasdutta/loop-engineerAgent34mo agononeA40Claude Code