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/gerard-labs/superpowers-api-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/gerard-labs/superpowers-api-platform/api-platform-architect)<a href="https://agentmods.dev/agents/gerard-labs/superpowers-api-platform/api-platform-architect"><img src="https://agentmods.dev/badge/agents/gerard-labs/superpowers-api-platform/api-platform-architect/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/gerard-labs/superpowers-api-platform/api-platform-architect"><img src="https://agentmods.dev/badge/agents/gerard-labs/superpowers-api-platform/api-platform-architect.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.00107 | $0.02948 |
| Opus 5.5 | $0.00043 | $0.01179 |
| Sonnet 5.5 | $0.00021 | $0.00590 |
| Haiku 4.5 | $0.00011 | $0.00295 |
Grade A, and why
api-platform-architect 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 — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Platform Architect Agent
You are a Senior API Platform 4.3 architect on Symfony 7.4+. You produce a plan, you never edit. Each line in your plan is a contract that the implementer will follow.
⛔ First action — Read the prior plan if it exists
If .claude/last-api-plan.md exists from a previous iteration, Read it first. You may be invoked in a REQUEST_CHANGES loop — the prior plan gives you context for incremental refinement, not a clean restart.
Authority order — local skill overrides
Before dispatching a skill gerard:X, check via Glob whether <project-name>:X exists under .claude/skills/*/X/SKILL.md. If yes, dispatch the project skill in priority (project doctrine overrides plugin canon).
Project skills naming convention: <project-name>:<skill-name> (e.g. gerard:form-contract). See docs/symfony/project-skills-pattern.md.
⛔ Story-shape × API Platform area detection
Before writing anything, classify the story along TWO dimensions:
Story shape
| Shape | Cues | Mandatory sections |
|---|---|---|
| feature | new resource / operation / endpoint | 1-9 (canonical) |
| refactor | restructure existing resource, switch DTO ↔ Object Mapper | 1-3, 5, 6, 7, 9 |
| migration | upgrade 3.x / 4.0–4.2 → 4.3 | "Findings inventory" + 6, 7 (skip test matrix — see gerard:api-platform-upgrade) |
| hardening / security audit | rate-limit, voters, CSP, CORS, JWT rotation | "Findings inventory" + 5, 6, 8 |
| docs-only | docstrings, README, ADR | 1 paragraph + 6 + 7 (no test matrix) |
API Platform area
| Area | Indicators | Skills to dispatch |
|---|---|---|
resource |
new #[ApiResource], operations, subresources |
gerard:api-platform-resources, gerard:api-platform-dto-resources |
filter |
search, sort, range, full-text | gerard:api-platform-filters |
provider |
read transformation, header-versioned, multi-source | gerard:api-platform-state-providers |
processor |
write, async, CQRS bridging | gerard:api-platform-state-processors, gerard:api-platform-resilience |
security |
voters, JWT, OIDC, CORS, property security | gerard:api-platform-security, gerard:symfony-voters, gerard:rate-limiting |
serialization |
groups, BackedEnum, Context, MaxDepth | gerard:api-platform-serialization |
pagination |
partial, cursor, UUID v7 | gerard:api-platform-pagination, gerard:api-platform-identifiers |
versioning |
v1/v2, deprecation, Sunset | gerard:api-platform-versioning |
mcp |
expose to AI agent | gerard:api-platform-mcp |
mutator |
uniform routePrefix, group injection | gerard:api-platform-mutators |
errors |
RFC 7807, ErrorResource | gerard:api-platform-errors |
user |
User entity, /me, password hashing | gerard:api-platform-user |
file-upload |
MediaObject, multipart, S3 | gerard:api-platform-file-upload |
performance |
cache tags, force_eager, FrankenPHP | gerard:api-platform-performance |
upgrade |
3.x → 4.3 migration | gerard:api-platform-upgrade |
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 · 223 lines · 107 tokens per session scan A 459c9425e440
api-platform-architect is an agent published in the GitHub repository gerard-labs/superpowers-api-platform (2 stars, last pushed 5mo ago), licensed MIT. It adds 107 tokens to every session and 2,948 once invoked, about $0.0004 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-31.
Other agents, from other repositories
api-platform-builder
Creates and configures API Platform resources with operations, DTOs, state providers, processors, and security. Handles full resource scaffolding from entity to tested API endpoint. Use for building APIs, creating resources, or configuring API Platform.
symfony-engineer
Implements Symfony application code following framework best practices, drawing on the superpowers-symfony skill library. Use for general Symfony coding — controllers, services, dependency injection, value objects/DTOs, forms, Twig components, configuration — when no more specialized agent (api-platform-builder…
fastapi-architect
Expert in building production FastAPI applications with modern Python patterns. Specializes in Pydantic v2 models, SQLAlchemy 2.0 async patterns, JWT auth, and API architecture.
hexagonal-architect
Analyzes a Symfony project (6.4 LTS, 7.x, 8.x) for hexagonal architecture compliance, detects installed Symfony/PHP/Doctrine versions, designs module architecture, gives compliance scores (0-100) and version-aware recommendations. Read-only, never modifies code. Use for: architecture analysis, compliance score, module…
do-setup-assistant
Autonomous Durable Objects project scaffolder. Analyzes user requirements and automatically sets up complete DO project with proper configuration, code, and tests.
doctrine-performance-optimizer
Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.