unfolding-api-designer

unfolding-api-designer is an agent for coding agents from t1/tdder. It costs 80 tokens per session (2,961 once invoked), scanned A, original, Apache-2.0.

An API design role in the Unfolding Specs process. It defines how customers' software will use a product through endpoints, data formats, and error rules.

In plain words
What is it for?
Use it to question feature assumptions and design customer-facing REST, GraphQL, gRPC, or other API contracts.
Why use it?
It helps catch confusing or incomplete interfaces before implementation begins by representing the needs of the developers who will consume the API.

Agent

Part of the tdder plugin — 14 skills, 2 commands, 7 agents, 1 hook shipped together

Install

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.

agentmods
npx agentmods add agents/t1/tdder/unfolding-api-designer
Clone the repo
git clone --depth 1 https://github.com/t1/tdder

Or install tdder, the plugin that ships this one along with the rest of its 14 skills, 2 commands, 7 agents, 1 hook.

Wrote 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.

agentmods badge for unfolding-api-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/t1/tdder/unfolding-api-designer.svg)](https://agentmods.dev/agents/t1/tdder/unfolding-api-designer)
Your own site
<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>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 076ead76a25d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

agents/unfolding-api-designer.md · 337 lines

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.

Read the full file on GitHub · 337 lines

Changes

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.

  1. 4d ago First seen · 337 lines · 80 tokens per session scan A 076ead76a25d

Subscribe to this mod's changes

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.

Related

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…

686f6c61/alfred-dev · 263 tokens

tdd-worker

TDD implementation worker. Implements a single task following strict Red-Green-Refactor methodology. Use for executing individual plan tasks autonomously.

markshust/hcf · 32 tokens

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).

punt-labs/prfaq · 62 tokens

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).…

nowsprinting/unity-coding-skills · 85 tokens

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.

malakhov-dmitrii/forge · 48 tokens

executor-v3

TDD implementation agent for forge pipeline-v3. Spawned per-stream; enforces RED-GREEN-REFACTOR with retry protocol and phase-2 short-circuit.

malakhov-dmitrii/forge · 39 tokens