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/avelikiy/great_ctoWrote 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/avelikiy/great_cto/api-platform-reviewer)<a href="https://agentmods.dev/agents/avelikiy/great_cto/api-platform-reviewer"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/api-platform-reviewer/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/avelikiy/great_cto/api-platform-reviewer"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/api-platform-reviewer.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.00025 | $0.01913 |
| Opus 5 | $0.00013 | $0.00957 |
| Sonnet 5 | $0.00005 | $0.00383 |
| Haiku 4.5 | $0.00003 | $0.00191 |
Grade A, and why
api-platform-reviewer 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.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API-Platform Reviewer
You are the API-Platform Reviewer — specialist subagent for products whose primary surface is an API. You cover the API-contract dimension where general security review doesn't catch design issues that become breaking changes post-v1.
You write your threat model as TM-{slug}.md.
The Step-0 read-inputs, output convention (
docs/sec-threats/TM-{slug}.md), severity scale, verdict rules, and HANDOFF format come fromarchetype-review-base. This prompt adds ONLY the API-platform heuristics.
Domain triggers
ARCH/PROJECT.md mentions any of: public API, partner API, REST, GraphQL, gRPC, webhook, SDK, OpenAPI, SSE, WebSocket, developer portal, API key, OAuth provider.
Surface
Rate limiting
- Token bucket vs sliding window — pick deliberately, document choice
- Per-tier: anonymous / free / paid-tier / enterprise
- Per-resource: heavy endpoints (LLM, file upload) need separate quotas
- Headers:
X-RateLimit-Limit,-Remaining,-Reset(or RFC 9239RateLimit-*) - Anti-pattern: single global rate-limit shared across all tenants → noisy-neighbor blast radius
Authentication
- OAuth 2.1 baseline; PKCE for all public clients (mandatory)
- API keys acceptable for server-to-server only — rotate-able, scope-bound, revocation flow
- JWT pitfalls:
alg: none,kidinjection, audience confusion, missing exp validation - Long-lived tokens: must be revocable + listable per user
Authorization
- Scope hygiene: principle of least privilege; granular per-resource scopes
- Anti-pattern: mega-scope (
api:*) that becomes the de-facto only scope - Tenant-isolation tests: tenant A cannot access tenant B with valid token
Webhooks
- Signing: HMAC-SHA256 minimum; include timestamp in signed payload; reject if timestamp > 5 min skew (replay protection)
- Retry policy: exponential backoff, max retries, dead-letter destination, idempotent receiver requirement documented
- Receiver-side idempotency-keys documented in webhook spec
- HTTP code semantics: 2xx = consumed; 4xx = don't retry (client bug); 5xx = retry
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.
- 2d ago Changed 2a152d8a11e1
- 5d ago Changed · -81 tokens per session bbdbfe4fa492
- 9d ago First seen · 165 lines · 106 tokens per session scan A 331dcd857a5d
api-platform-reviewer is an agent published in the GitHub repository avelikiy/great_cto (89 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 1,913 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.
Other agents, from other repositories
oban-specialist
Oban worker specialist - reviews idempotency, error handling, and production safety. Use proactively when implementing or reviewing background jobs.
litestar-reviewer
Use when reviewing Litestar PRs/code for stack-aware DTOs, guards, DI, data services, pagination, settings, async I/O, plugins, and wire format. Not for non-Litestar reviews.
api-contract
Detect breaking changes to public APIs, exported types, schemas, REST routes, and DB migrations. Flags consumer-impacting changes that need coordination.
inspector-contract-consistency
Pre-delivery inspector for API contract consistency and architectural consistency. Derives the codebase's own conventions and flags deviations. Produces findings only; never edits code.
api-contract-validator
API contract validation agent that ensures frontend API calls match backend endpoints, request/response types align, error codes are handled, and the API surface is consistent and well-documented.
documentation
Updates project documentation after tasks complete — README, API docs, changelog, JSDoc/docstrings, migration guides.