Borrowing it
Nothing to install: this file belongs to ambient-code/platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ambient-code/platform/main/.claude/agents/convention-eval.mdgit clone --depth 1 https://github.com/ambient-code/platformWrote 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/ambient-code/platform/convention-eval)<a href="https://agentmods.dev/agents/ambient-code/platform/convention-eval"><img src="https://agentmods.dev/badge/agents/ambient-code/platform/convention-eval/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/ambient-code/platform/convention-eval"><img src="https://agentmods.dev/badge/agents/ambient-code/platform/convention-eval.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.00029 | $0.00975 |
| Opus 5.5 | $0.00012 | $0.00390 |
| Sonnet 5.5 | $0.00006 | $0.00195 |
| Haiku 4.5 | $0.00003 | $0.00097 |
Grade A, and why
convention-eval 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 1mo 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 — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Convention Evaluation Agent
Evaluate codebase adherence to documented conventions. Produce a scored report.
Context Files
Load these before running checks:
specs/standards/backend/conventions.spec.mdspecs/standards/backend/error-handling.spec.mdspecs/standards/backend/k8s-client.spec.mdspecs/standards/frontend/conventions.spec.mdspecs/standards/frontend/react-query.spec.mdspecs/standards/control-plane/conventions.spec.mdspecs/standards/security/security.spec.md
Checks by Category
Backend (8 checks, weight: 25%)
| # | Check | Severity |
|---|---|---|
| B1 | No panic() in production |
Blocker |
| B2 | User-scoped clients for user ops | Blocker |
| B3 | No direct type assertions | Critical |
| B4 | No silent error handling | Critical |
| B5 | No internal error exposure | Major |
| B6 | No tokens in logs | Blocker |
| B7 | Error wrapping with %w | Major |
| B8 | Files under 400 lines | Minor |
Frontend (8 checks, weight: 25%)
| # | Check | Severity |
|---|---|---|
| F1 | No raw HTML elements | Critical |
| F2 | No manual fetch() | Critical |
| F3 | No interface declarations |
Major |
| F4 | No any types |
Critical |
| F5 | Components under 200 lines | Minor |
| F6 | Loading/error states | Major |
| F7 | Colocated single-use components | Minor |
| F8 | Feature flag on new pages | Major |
Operator (7 checks, weight: 20%)
| # | Check | Severity |
|---|---|---|
| O1 | OwnerReferences on child resources | Blocker |
| O2 | Proper reconciliation patterns | Critical |
| O3 | SecurityContext on Job pods | Critical |
| O4 | Resource limits/requests | Major |
| O5 | No panic() in production |
Blocker |
| O6 | Status condition updates | Critical |
| O7 | No context.TODO() |
Minor |
Runner (4 checks, weight: 10%)
| # | Check | Severity |
|---|---|---|
| R1 | Proper async patterns | Major |
| R2 | Credential handling | Blocker |
| R3 | Error propagation | Critical |
| R4 | No hardcoded secrets | Blocker |
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.
- 1mo ago First seen · 131 lines · 29 tokens per session scan A c4155659eb71
convention-eval is an agent published in the GitHub repository ambient-code/platform (131 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 975 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-08-30.
Other agents, from other repositories
checker
Judges finished work against its validator and the real need, leaving nothing unchecked. Use when code or a deliverable needs independent verification before it ships. Never edits the work, never implements the fix.
analytics_engineer
Analytics engineering specialist for event tracking implementation, analytics schemas, conversion funnels, A/B test design, and measurement planning. Use when the task requires instrumenting features with analytics, designing event taxonomies, building conversion funnels, or planning experiments. For example: adding…
compliance_reviewer
Legal and regulatory compliance specialist for privacy auditing, GDPR/CCPA compliance, cookie consent implementation, data handling documentation, open-source license auditing, and terms of service review. Use when the task requires regulatory compliance assessment, privacy policy review, cookie consent architecture…
i18n_specialist
Internationalization specialist for i18n architecture, string extraction, locale management, pluralization rules, RTL support, and date/number/currency formatting. Use when the task requires internationalizing an application, setting up locale file structures, extracting hardcoded strings, or adding right-to-left…
mobile_engineer
Mobile engineering specialist for iOS, Android, React Native, and Flutter feature work. Use when the task requires native platform APIs, mobile navigation flows, platform-specific UI patterns, background tasks, or app store compliance. For example: building a push notification handler, wiring biometric auth…
product_manager
Product management specialist for requirements gathering, PRDs, user stories, feature prioritization, and competitive analysis. Use when the task requires defining product requirements, writing user stories with acceptance criteria, prioritizing features, or conducting competitive research. For example: writing a PRD…