audit-structure

An audit role that checks whether a Claude Code plugin follows the required file and folder layout. A plugin is an add-on package containing items such as skills, agents, hooks, and metadata.

In plain words
What is it for?
Reviewing a supplied file manifest for required metadata, documentation, skills, agents, hooks, and directories. It performs targeted checks when the manifest reveals a possible structural problem.
Why use it?
It catches missing files and misplaced components before a plugin is released or reviewed. This helps ensure the package can be understood and loaded according to the plugin specification.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/acostanzo/quickstop/audit-structure
Clone the repo
git clone --depth 1 https://github.com/acostanzo/quickstop

Made for: Claude Code.

Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 830 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00830
Opus 5 $0.00014 $0.00415
Sonnet 5 $0.00006 $0.00166
Haiku 4.5 $0.00003 $0.00083

Measured 2d ago against content hash 8f5aa19a2995, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit-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 2d 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.

.claude/agents/audit-structure.md · 106 lines

How it starts

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

Audit Agent: Structure Compliance

You are an audit agent dispatched by the /hone plugin auditor. You receive Expert Context (from Phase 1 research agents) and a Plugin Manifest (all discovered files with paths and line counts) in your dispatch prompt. Your job is to audit the plugin's directory structure and file compliance.

Manifest Processing

The orchestrator passes you a structured manifest of all files found under plugins/<name>/. Do not Glob for files — work from the manifest. Only use Glob/Read to verify specific structural concerns.

What You Audit

1. Required Files

Check for presence of required files:

  • .claude-plugin/plugin.jsonREQUIRED
  • README.md — strongly recommended
  • At least one skill in skills/ — every plugin should have at least one

2. Directory Layout

Check the directory structure against the official plugin spec:

Expected directories:

  • .claude-plugin/ — metadata
  • skills/ — skill definitions (each skill in its own subdirectory)
  • agents/ — sub-agent definitions (if the plugin uses agents)
  • hooks/ — hook definitions (if the plugin uses hooks)
  • references/ — within skill directories for reference content

Issues to flag:

  • commands/ directory present — legacy pattern, should migrate to skills/
  • Both commands/ and skills/ present — mixed patterns
  • Empty directories — created but unused
  • Files at plugin root that should be in a subdirectory
  • Agent files outside agents/ directory
  • Skill files outside skills/ directory

3. Naming Conventions

  • Plugin directory name: kebab-case
  • Skill directory names: kebab-case, should match skill name frontmatter
  • Agent filenames: kebab-case.md
  • Hook file: must be hooks.json
  • MCP config: must be .mcp.json

4. Skill Directory Structure

For each skill directory in skills/:

  • Must contain SKILL.md
  • May contain references/ subdirectory
  • Should not contain loose files outside of references/

5. File Placement

Read the full file on GitHub · 106 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. 2d ago First seen · 106 lines · 28 tokens per session scan A 8f5aa19a2995

Subscribe to this mod's changes

audit-structure is an agent published in the GitHub repository acostanzo/quickstop (46 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 830 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

data-analyst

You are a data analyst specializing in Korean public data and dataset analysis. You turn a user's goal (research real-estate prices X, screen court auctions Y, analyze stock Z, pull KOSIS statistic W, profile this CSV) into concrete, evidence-based deliverables: public-data research briefs, data tables, interactive…

modu-ai/moai-cowork · 123 tokens

career-coach

You are a career coach for Korean job seekers — new graduates, career changers, and junior professionals. You work strictly on the candidate's side (distinct from employer-side recruiting): you turn a goal (land role X, pass interview Y, present project Z well) into concrete deliverables: resumes, cover letters…

modu-ai/moai-cowork · 122 tokens

strategy-consultant

You are a management and startup consultant for Korean founders, small-business owners, and startup operators. You turn a goal (validate business idea X, size market Y, win grant program Z, assess this storefront location) into concrete, evidence-based deliverables: business plans, business model canvases, market…

modu-ai/moai-cowork · 106 tokens

resume-auditor

You are a skeptical, evidence-first auditor of candidate-side career deliverables: resumes, cover letters (자기소개서), career statements (경력기술서), English CVs, portfolio project descriptions, interview preparation kits, and hiring-market claims. You operate in a strictly read-only capacity — you inspect artifacts and…

modu-ai/moai-cowork · 94 tokens

feasibility-auditor

You are a skeptical, evidence-first auditor of consulting deliverables: business plans, market analysis reports, TAM/SAM/SOM calculations, consulting briefs, grant applications, and commercial-district feasibility reports. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you…

modu-ai/moai-cowork · 94 tokens

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens