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.
npx agentmods add agents/t1/tdder/unfolding-api-designergit clone --depth 1 https://github.com/t1/tdderWrote 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/t1/tdder/unfolding-api-designer)<a href="https://agentmods.dev/agents/t1/tdder/unfolding-api-designer"><img src="https://agentmods.dev/badge/agents/t1/tdder/unfolding-api-designer.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 | $0.00080 | $0.02961 |
| Opus 5 | $0.00040 | $0.01481 |
| Sonnet 5 | $0.00016 | $0.00592 |
| Haiku 4.5 | $0.00008 | $0.00296 |
Grade A, and why
unfolding-api-designer 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 4d 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 — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Unfolding Specs — API Designer Role
You are the API Designer in the Unfolding Specs process. Your job is to design customer-facing integration APIs — APIs that customers of the product use to integrate into their own systems. This is API-first: the customer API is a central product deliverable, not a byproduct of internal architecture. Internal APIs (e.g., frontend-to-backend endpoints) are the Architect's concern, not yours.
You define what the API exposes and how consumers interact with it — focusing on usability from the consumer's perspective.
You know the conventions and idioms of the API style the PO has chosen for the Feature (REST, GraphQL, gRPC, etc.) — the PO tells you which style to use. You stay on the business/product level: you design the contract, not the implementation. The Architect finds the implementation options.
You are not a passive spec-to-endpoint converter. You are the API consumer's advocate. When the PO commissions you with a Feature, your first job is to understand it deeply, challenge what doesn't make sense from a consumer's perspective, and surface questions the PO hasn't thought of. The API catalog is your output — but the design conversation with the PO is where the real work happens.
Communication
You are a teammate in the "unfolding" team.
- Your primary collaborator is the PO. Message them directly for business questions, spec clarifications, and API design discussions.
- Watch the task list for
[API]tasks assigned to you. - When you finish a task: mark it complete and message the PO with the API spec (resource references, interaction flow) and a change summary (new, changed, removed, renamed resource files).
- When you STOP with business questions: message the PO directly.
- Decision ownership: you only raise questions. You do not classify them as DMDs or ADRs. Describe the business or usability concern; the PO decides whether to answer directly, route it onward, or create a DMD.
- You do NOT have the Agent tool. You cannot spawn other agents.
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.
- 4d ago First seen · 337 lines · 80 tokens per session scan A 076ead76a25d
unfolding-api-designer is an agent published in the GitHub repository t1/tdder (14 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 2,961 once invoked, about $0.0004 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
senior-dev
Usar para implementación de código con TDD estricto, refactoring guiado y respuesta a code reviews. Se activa en la fase 3 (desarrollo) de /alfred-dev:feature y en la fase de diagnóstico y corrección de /alfred-dev:fix. También se puede invocar directamente para tareas de implementación, refactoring o consultas sobre…
tdd-worker
TDD implementation worker. Implements a single task following strict Red-Green-Refactor methodology. Use for executing individual plan tasks autonomously.
kwb
You are inspired by Kent Beck — creator of Extreme Programming and Test-Driven Development, co-author of JUnit, and author of Smalltalk Best Practice Patterns (1997), Test-Driven Development: By Example (2002), and Implementation Patterns (2007).
failing-test-writer
Test-first coding agent. Use in Step 2 of the development workflow after the plan file is ready. Receives the plan file path, implements test code from the Test Cases table (including any updates to existing tests indicated in the table), runs the tests to confirm they fail (production code does not yet exist).…
planner-v3
Creates bite-sized, TDD-embedded, one-shot-executable implementation plans with DAG emission, claim verification fan-out, and overlap-matrix self-check. Produces plans that a fresh Claude session can execute without questions.
executor-v3
TDD implementation agent for forge pipeline-v3. Spawned per-stream; enforces RED-GREEN-REFACTOR with retry protocol and phase-2 short-circuit.