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 skills/telus-labs/stagecraft/api-conventionsnpx skills add telus-labs/stagecraft --skill api-conventionsgit clone --depth 1 https://github.com/telus-labs/stagecraftWrote 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/telus-labs/stagecraft/api-conventions)<a href="https://agentmods.dev/skills/telus-labs/stagecraft/api-conventions"><img src="https://agentmods.dev/badge/skills/telus-labs/stagecraft/api-conventions.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.00051 | $0.01887 |
| Opus 5 | $0.00026 | $0.00944 |
| Sonnet 5 | $0.00010 | $0.00377 |
| Haiku 4.5 | $0.00005 | $0.00189 |
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 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Conventions
Load this skill when designing or implementing API endpoints. Each rule has a concrete example so reviewers can recognise the shape.
REST Conventions
-
Resources are plural nouns. Actions live on HTTP methods, not in the path.
GOOD: GET /users POST /users GET /users/42 DELETE /users/42 BAD: GET /getUser?id=42 POST /createUser GET /user/delete?id=42 # never, ever -
HTTP methods map to actions. Pick one row and stick to it.
Method Semantics Idempotent Has body? GETRead; no side effects yes no POSTCreate (or non-idempotent action) no yes PUTFull replace yes yes PATCHPartial update usually yes DELETERemove yes (here) no -
Nested resources express ownership. One level deep is plenty.
GOOD: GET /users/42/orders BAD: GET /users/42/orders/17/items/3/refunds # design smell — flatten to /refunds/{id}
Request / Response Shape
-
All responses are JSON with
Content-Type: application/json; charset=utf-8. -
Success responses include a
datakey:{ "data": { "id": "usr_42", "email": "[email protected]" } } -
Error responses use this exact shape (top-level
errorobject):{ "error": { "code": "RESOURCE_NOT_FOUND", "message": "User 42 not found" } }Codes are
SCREAMING_SNAKE_CASEstrings (machine-readable). Themessageis human-readable but does not include stack traces, paths, or query fragments. Seesecurity-checklist#error-handling. -
Timestamps are ISO 8601 UTC with the
Zsuffix:GOOD: "2026-03-26T12:00:00Z" GOOD: "2026-03-26T12:00:00.123Z" BAD: "2026-03-26 12:00:00" # not ISO 8601 BAD: "2026-03-26T12:00:00+00:00" # use Z for UTC, not +00:00 BAD: 1711454400 # Unix epoch — pick ISO and stick to it
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 · 166 lines · 51 tokens per session scan A fe92f2b3765b
api-conventions is a skill published in the GitHub repository telus-labs/stagecraft (6 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 1,887 once invoked, about $0.0003 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-31.
Other skills, from other repositories
intuitive-preflight
Turn a vague task, plan, issue, or "LGTM/go ahead" request into an approval-ready preflight contract before implementation starts. Use when the user wants prompt preflight, clearer scope, non-goals, context package, acceptance criteria, definition of done, verification, stop gates, the exact execution command, or…
crypto-report
Get cryptocurrency market data. Get Binance AI analysis report. Get blockchain news updates.
signal-config
Generates YAML signal configs for agent simulation experiments. Use when the user wants to define what signals to track, how to extract them from run artifacts, and how to aggregate them into experiment-level metrics. Trigger when users say: "generate a signal config", "create signals for my experiment", "I want to…
sub-agents
Execute external CLI AIs as isolated sub-agents for task delegation, parallel processing, and context separation. Use when delegating complex multi-step tasks, running parallel investigations, needing fresh context without current conversation history, or leveraging specialized agent definitions. Returns structured…
spec-kitty-mission-system
Understand how Spec Kitty missions work: the 4 built-in mission types, how they define workflows via step contracts and action indices, how missions and work packages relate, how templates are resolved through the 6-tier chain, and how doctrine artifacts (procedures, tactics, directives) compose mission behavior.…
goal-framing
Use when the user explicitly sets an Aegis goal with /aegis-goal, Aegis goal:, or asks to define goal, success evidence, stop condition, or task boundaries before work.