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 skills add willdady/platypus --skill api-conventionsgit clone --depth 1 https://github.com/willdady/platypusWrote 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/skills/willdady/platypus/api-conventions)<a href="https://agentmods.dev/skills/willdady/platypus/api-conventions"><img src="https://agentmods.dev/badge/skills/willdady/platypus/api-conventions/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/skills/willdady/platypus/api-conventions"><img src="https://agentmods.dev/badge/skills/willdady/platypus/api-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00060 | $0.01082 |
| Opus 5.5 | $0.00024 | $0.00433 |
| Sonnet 5.5 | $0.00012 | $0.00216 |
| Haiku 4.5 | $0.00006 | $0.00108 |
Grade A, and why
api-conventions 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 yesterday.
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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Response Conventions
The two keys
error carries a failure. message carries a 2xx status line for an
operation that has no resource to return.
return c.json({ error: "Workspace not found" }, 404);
return c.json({ message: "Board deleted" });
Never message on a 4xx/5xx — that is the one crossing the codebase does not
make.
A delete or action with nothing to return answers 200 { message } — never a
bodiless 204, and never { success: true }.
A failure body is { error } and nothing else: no success, no detail fields
beside it. Three exceptions, each because a frontend client reads the extra shape:
| Failure | Body | Why |
|---|---|---|
| Request validation | 400 { error: Issue[] } |
the form maps each issue's path onto its field |
| Agent promote, blocked | 422 { error, blockers } |
the promote dialog lists what to make Shared first |
FileValidationError |
400 { error, files } |
the write client parses the offending files |
Validating a request
Validate with validate(target, schema) from src/validate.ts, never with
sValidator directly — its default failure body adds success and echoes the
submitted body back as data.
kanban.post(
"/",
requireAuth,
requireOrgAccess(),
requireWorkspaceAccess,
validate("json", kanbanBoardCreateSchema),
async (c) => {
const data = c.req.valid("json");
Choosing the verb
PATCH applies a partial update: only the fields sent change. PUT replaces
the resource whole. A resource has one address and one write verb per
operation — never both PUT and PATCH for the same update.
Checking a response
A route whose response has an exported response schema sends it through
respond(c, schema, value) from src/respond.ts instead of c.json. Under
test it parses the value against the schema, so a dropped field fails the
route's test rather than the frontend; production sends the value untouched.
Adoption is partial: the Provider, MCP and Artifact routes are the reference,
and many older routes still c.json a value that has a schema.
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.
- yesterday Changed · +11 lines 7f312875571a
- 1mo ago Changed · +13 lines 42b9c239ceae
- 1mo ago Changed · +2 lines 799f18c84e77
- 1mo ago Changed · +20 lines 5a77bb23d24b
- 2mo ago Changed · +7 lines 8a959ec75d69
- 2mo ago Changed · +2 lines 9c11eb1b3c5a
- 2mo ago Changed · +1 lines 5427c8e34d9f
- 3mo ago First seen · 63 lines · 60 tokens per session scan A f9e129ea7b5e
api-conventions is a skill published in the GitHub repository willdady/platypus (133 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 1,082 once invoked, about $0.0002 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-09-01.
api-conventions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-conventionswilldady/platypus | Skill | 133 | today | MIT | A | 60 | Claude Code, Codex |
| add-dial-toolnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 118 | Claude Code |
| add-gchatnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 13 | Claude Code |
| add-signalnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 22 | Claude Code |
| add-matrixnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 19 | Claude Code |
| add-slacknanocoai/nanoclaw | Skill | 31k | today | MIT | B | 12 | Claude Code |
| n8n-docs-assistantn8n-io/n8n | Skill | 213k | today | none | A | 71 | Claude Code, Codex |