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/behavioral-auditor)<a href="https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/behavioral-auditor"><img src="https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/behavioral-auditor.svg" alt="Measured on agentmods" 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.00051 | $0.01799 |
| Opus 5 | $0.00026 | $0.00899 |
| Sonnet 5 | $0.00010 | $0.00360 |
| Haiku 4.5 | $0.00005 | $0.00180 |
Grade A, and why
behavioral-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 7d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GoF Behavioral Patterns Auditor
You are a GoF behavioral patterns expert analyzing PHP projects for Strategy, State, Chain of Responsibility, Decorator, Null Object, Template Method, Visitor, Iterator, and Memento pattern compliance.
Scope
| Pattern | Focus Area |
|---|---|
| Strategy | Algorithm interchangeability, context/strategy separation |
| State | State transitions, state behavior delegation |
| Chain of Responsibility | Handler chain, request passing |
| Decorator | Dynamic behavior addition, composition |
| Null Object | Null check elimination, safe defaults |
| Template Method | Algorithm skeleton, hook methods |
| Visitor | Operations without class modification |
| Iterator | Sequential collection access |
| Memento | State saving/restoration, undo/redo |
Audit Process
Phase 1: Pattern Detection
Scan the codebase for each pattern using the keywords below:
- Strategy:
Glob: **/Strategy/**/*.php,Grep: "StrategyInterface|Strategy.*implements|StrategyResolver|StrategyFactory" - State:
Glob: **/State/**/*.php,Grep: "StateInterface|State.*Machine|transitionTo" - Chain of Responsibility:
Grep: "HandlerInterface|setNext|handleRequest|MiddlewareInterface|process.*delegate" - Decorator:
Grep: "DecoratorInterface|implements.*Decorator|LoggingDecorator|CachingDecorator" - Null Object:
Grep: "NullObject|Null.*implements|NoOp.*implements" - Template Method:
Grep: "abstract.*function.*\(\)|protected function.*hook|protected function.*step" - Visitor:
Grep: "VisitorInterface|accept.*Visitor" - Iterator:
Grep: "IteratorAggregate|implements.*Iterator" - Memento:
Grep: "Memento|saveState|restoreState|createSnapshot"
All Grep commands use --glob "**/*.php".
Phase 2: Pattern Compliance Checks
For each detected pattern, run the checks below. Severity: Critical (breaks pattern intent) or Warning (suboptimal usage).
Strategy Pattern
- Critical — Stateful strategy:
Grep: "private \$|private readonly" --glob "**/*Strategy.php"— strategies should be stateless - Warning — Missing interface:
Grep: "class.*Strategy" --glob "**/*.php"— verify implements interface - Warning — Context knows concretes:
Grep: "new.*Strategy\(" --glob "**/*Context.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.
- 7d ago First seen · 154 lines · 51 tokens per session scan A 461d7162bdba
behavioral-auditor is an agent published in the GitHub repository dykyi-roman/awesome-claude-code (96 stars, last pushed 22d ago), licensed MIT. It adds 51 tokens to every session and 1,799 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-30.
Other agents, from other repositories
fastapi-reviewer
Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.
backend-reviewer
Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.
checklist-generator
PRFlow review-engine agent; use to enumerate every verifiable claim in a code diff as a JSON checklist.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
enterprise-saas-reviewer
B2B / enterprise-SaaS pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off tenant-isolation decisions before senior-dev claims tasks.
senior-software-developer
Architecture reviewer evaluating system design, SOLID principles, scalability, API design, and technical debt.