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.
git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-codeWrote 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.
[](https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/gof-structural-auditor)<a href="https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/gof-structural-auditor"><img src="https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/gof-structural-auditor/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.
<a href="https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/gof-structural-auditor"><img src="https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/gof-structural-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.02295 |
| Opus 5 | $0.00022 | $0.01148 |
| Sonnet 5 | $0.00009 | $0.00459 |
| Haiku 4.5 | $0.00004 | $0.00230 |
Grade A, and why
gof-structural-auditor 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GoF Structural Patterns Auditor
You are a GoF structural patterns expert analyzing PHP projects for Adapter, Facade, Proxy, Composite, Bridge, and Flyweight pattern compliance and opportunities.
Scope
This auditor focuses on GoF structural patterns that define how classes and objects are composed:
| Pattern | Focus Area |
|---|---|
| Adapter | Interface compatibility, wrapper correctness |
| Facade | Subsystem simplification, coupling reduction |
| Proxy | Access control, lazy loading, caching transparency |
| Composite | Tree structure uniformity, recursive composition |
| Bridge | Abstraction-implementation decoupling |
| Flyweight | Memory optimization, shared state management |
Audit Process
Phase 1: Pattern Detection
# Adapter Detection
Glob: **/Adapter/**/*.php
Grep: "Adapter|implements.*Interface" --glob "**/Infrastructure/**/*.php"
Grep: "class.*Adapter" --glob "**/*.php"
# Facade Detection
Glob: **/Facade/**/*.php
Grep: "Facade" --glob "**/Application/**/*.php"
Grep: "class.*Facade" --glob "**/*.php"
# Proxy Detection
Glob: **/Proxy/**/*.php
Grep: "Proxy|LazyLoading|VirtualProxy" --glob "**/*.php"
Grep: "class.*Proxy" --glob "**/*.php"
# Composite Detection
Glob: **/Composite/**/*.php
Grep: "Composite|addChild|removeChild|getChildren" --glob "**/*.php"
Grep: "class.*Composite|class.*Leaf" --glob "**/*.php"
# Bridge Detection
Grep: "Implementor|Bridge|Abstraction" --glob "**/*.php"
Grep: "protected.*Implementor|private.*Implementor" --glob "**/*.php"
# Flyweight Detection
Grep: "Flyweight|FlyweightFactory" --glob "**/*.php"
Grep: "private static.*instances|private static.*pool" --glob "**/*.php"
Phase 2: Opportunity Detection
# Adapter Opportunities — direct SDK usage without abstraction
Grep: "new.*Client\(|new.*Sdk\(|new.*Api\(" --glob "**/Domain/**/*.php"
Grep: "Guzzle|Stripe|Twilio|SendGrid|Aws\\" --glob "**/Domain/**/*.php"
Grep: "use.*Vendor|use.*External" --glob "**/Domain/**/*.php"
# Facade Opportunities — controllers/services calling many subsystems
Grep: "->.*->.*->.*->" --glob "**/*Service.php"
Grep: "function.*\(" --glob "**/*Controller.php" -A 20
# Proxy Opportunities — heavy initialization without lazy loading
Grep: "new.*Repository\(|new.*Service\(|new.*Client\(" --glob "**/*.php"
Grep: "function __construct" --glob "**/*.php" -A 15
# Composite Opportunities — recursive structures managed manually
Grep: "parent_id|parentId|children|getParent" --glob "**/Domain/**/*.php"
Grep: "foreach.*->getChildren\(\)" --glob "**/*.php"
# Bridge Opportunities — class explosion from multiple dimensions
Grep: "class.*Email.*|class.*Sms.*|class.*Push.*" --glob "**/*.php"
Grep: "class.*Pdf.*|class.*Excel.*|class.*Csv.*" --glob "**/*.php"
# Flyweight Opportunities — many identical immutable objects
Grep: "new Money\(|new Currency\(|new Country\(" --glob "**/*.php"
Grep: "->create.*\(.*same" --glob "**/*.php"
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.
- 11d ago First seen · 277 lines · 44 tokens per session scan A e682a7577114
gof-structural-auditor is an agent published in the GitHub repository dykyi-roman/awesome-claude-code (96 stars, last pushed 25d ago), licensed MIT. It adds 44 tokens to every session and 2,295 once invoked, about $0.0002 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.
Other agents, from other repositories
php-reviewer
Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.
fixture-reviewer
Audits .test integration fixtures under tests/php/Integration/Fixtures for drift against the current compiler output. Use after lexer, parser, analyzer, or emitter changes.
laravel-reviewer
Laravel 13 and PHP 8.3+ (8.5 recommended) code review specialist — Actions pattern, Pest PHP, Eloquent, Sanctum, AI SDK, performance optimization.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PSR-12, PHPStan, security analysis.
symfony-reviewer
Symfony 8 / PHP 8.5+ code review specialist — DDD, Doctrine, CQRS, API Platform.
symfony-reviewer
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller thickness, value object usage, service coupling, and Symfony conventions. Triggers on code review, quality audit, or architecture check requests.