review-structure

review-structure is a skill for Claude Code, Codex from d-gangz/dgang-skills. It costs 66 tokens per session (3,060 once invoked), scanned A, original, MIT.

A review of a non-technical repository's folders and files focused on how easily an agent can find and use them. It produces a proposed plan for reorganizing the repository.

In plain words
What is it for?
Use it when checking folder organization, auditing a repository, making a repo more agent-friendly, or planning a cleanup. It examines root instructions, folder shape, file names, and how search tools discover them.
Why use it?
It identifies naming and layout problems that can make an agent miss important instructions or waste time searching for files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it when checking folder organization, auditing a repository, making a repo more agent-friendly, or planning a cleanup. It examines root instructions, folder shape, file names, and how search tools discover them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-gangz/dgang-skills/review-structure
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 d-gangz/dgang-skills --skill review-structure
Clone the repo
git clone --depth 1 https://github.com/d-gangz/dgang-skills

Made for: Claude Code, Codex.

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 review-structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-gangz/dgang-skills/review-structure/github.svg)](https://agentmods.dev/skills/d-gangz/dgang-skills/review-structure)
Your own site
<a href="https://agentmods.dev/skills/d-gangz/dgang-skills/review-structure"><img src="https://agentmods.dev/badge/skills/d-gangz/dgang-skills/review-structure/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 review-structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-gangz/dgang-skills/review-structure"><img src="https://agentmods.dev/badge/skills/d-gangz/dgang-skills/review-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,060 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.00066 $0.03060
Opus 5 $0.00033 $0.01530
Sonnet 5 $0.00013 $0.00612
Haiku 4.5 $0.00007 $0.00306

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

Security

Grade A, and why

review-structure 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 12d 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.

skills/review-structure/SKILL.md · 198 lines

How it starts

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

Review Structure

You are auditing the user's repo so that you (Claude) can navigate it cold and operate inside it effectively. The user is non-technical — they don't search this repo, you do. Every principle below comes from how your own search tools actually work.

How you search a repo

Internalize this before auditing — every principle downstream is a consequence of these mechanics.

  • Read — load a known file by path. First move on entry: read root CLAUDE.md or README.md.
  • Glob — pattern-match file paths. Case-sensitive, literal. e.g. **/CLAUDE.md, clients/*/profile.md.
  • Grep — search file contents, usually scoped with --glob.
  • Bash: ls / find — see directory shape, not content. e.g. find . -type d -maxdepth 2.
  • CLAUDE.md auto-loading:
    • Ancestor CLAUDE.md files (root + dirs above cwd) load at session start.
    • Subdirectory CLAUDE.md files load lazily, only when you Read/Edit a file in that subtree. They do not fire on Glob, Grep, or ls.

The corollary: a subdirectory CLAUDE.md cannot rescue bad names. Naming carries navigation; CLAUDE.md only carries non-obvious context once you've already decided to open a file.

Principles (the audit checklist)

  1. Self-describing names. A cold reader (you) should infer content from the path alone. data/ says nothing; sales/pipeline.csv says everything. Naming is your primary navigation aid because Glob/Grep see paths, not CLAUDE.md.
  2. Lowercase kebab-caseacme-corp/, not Acme Corp/ or AcmeCorp/. This is mechanical, not aesthetic: spaces break shell commands, casing breaks Glob patterns.
  3. Group by domain, not by file type. Folders are business areas (sales/, clients/, operations/), not file kinds (templates/, data/, scripts/). Domain grouping lets you ignore irrelevant subtrees entirely; file-type grouping forces you to load everything.
  4. Sibling folders mirror each other's shape. If every client folder has profile.md, contacts.md, updates.md, then Glob clients/*/profile.md pulls all profiles in one call. If shapes vary, you have to Read each folder to discover what's there.
  5. Shallow + wide over deep + narrow. Three levels (root → domain → leaf) is comfortable. Five-deep generic nesting (stuff/items/things/2024/q1/) gets lost.
  6. Glossary for user-specific vocabulary. Keep an agent-docs/glossary.md file (in an agent-docs/ directory at the repo root, alongside other progressive-disclosure docs like architecture.md, conventions.md, etc.) for terms specific to the user's world that Claude can't infer — internal client codenames, industry acronyms, custom workflow names ("V2 brief", "the rolodex"), team shorthand. The root CLAUDE.md must include this self-perpetuating rule:

Read the full file on GitHub · 198 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. 12d ago First seen · 198 lines · 66 tokens per session scan A f2e10584fe92

Subscribe to this mod's changes

review-structure is a skill published in the GitHub repository d-gangz/dgang-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 3,060 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens