coding-api-design

coding-api-design is a skill for Claude Code, Codex from evoelsewhere/evoflux. It costs 104 tokens per session (1,015 once invoked), scanned A, original, Apache-2.0.

Use this skill to design or change a public API, event, schema, module boundary, or write path with an idempotency requirement — endpoint shape, status/error semantics, versioning, or a discriminated-union contract. It treats every observable field as a durable consumer contract and requires an explicit…

Skill for Claude CodeCodex

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 skills/evoelsewhere/evoflux/coding-api-design
Any agent
npx skills add evoelsewhere/evoflux --skill coding-api-design
Clone the repo
git clone --depth 1 https://github.com/evoelsewhere/evoflux

Made for: Claude Code, Codex.

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 coding-api-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/evoelsewhere/evoflux/coding-api-design.svg)](https://agentmods.dev/skills/evoelsewhere/evoflux/coding-api-design)
Your own site
<a href="https://agentmods.dev/skills/evoelsewhere/evoflux/coding-api-design"><img src="https://agentmods.dev/badge/skills/evoelsewhere/evoflux/coding-api-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,015 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.00104 $0.01015
Opus 5 $0.00052 $0.00508
Sonnet 5 $0.00021 $0.00203
Haiku 4.5 $0.00010 $0.00102

Measured today against content hash c3ee48a85187, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

coding-api-design 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 today.

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.

app/agent/builtin_skills/coding-api-design/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design an API or interface contract

Every observable field, status code, ordering guarantee, and error shape becomes part of the contract the moment a consumer depends on it (Hyrum's Law): design as if it will be relied upon exactly as built, not only as documented. Do not load bundled references when this skill activates.

Establish the boundary and its consumers

  1. Identify the producer, every current consumer, and which ones deploy independently of it. A consumer that cannot upgrade atomically with the producer makes this a compatibility change, not a free-form redesign.
  2. Separate what is already observable (and therefore load-bearing) from what is still a private implementation detail with room to change.
  3. Define the three outcomes for every operation — success, failure, and unknown (timeout, partial write, disconnected client) — and what a caller must do for the unknown case specifically, not only the first two.
  4. Read references/api-contract-checklist.md when choosing an HTTP status/error shape, a discriminated-union variant, an idempotency-key design, or a versioning strategy.

When the existing boundary is known only by route, event name, field, or error text, call code_context with action="search" once to find its declared symbol. Skip search when the exact type or handler is already known.

For an exact endpoint, schema, or type symbol, use code_context to find direct callers/references — every consumer that already depends on its current shape — before changing it. Start at depth 1; treat an unresolved cross-repository reference as an unknown consumer, not as evidence none exists. Once the boundary and its consumers are located, make the graph the next structural observation instead of continuing broad discovery.

Keep refresh=true for the first indexed query and after edits. Use refresh=false only for an immediate follow-up that intentionally reuses the same index version.

Read the full file on GitHub · 90 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 90 lines · 104 tokens per session scan A c3ee48a85187

Subscribe to this mod's changes

coding-api-design is a skill published in the GitHub repository evoelsewhere/evoflux (7 stars, last pushed today), licensed Apache-2.0. It adds 104 tokens to every session and 1,015 once invoked, about $0.0005 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-09-05.

Related

Other skills, from other repositories

rove

Use when controlling Rove tasks, parallel coding attempts, hosted agent sessions, task lifecycle, or the daemon-owned issue tracker from a shell. Also the ONLY channel for messaging another agent session on this machine — rove api send, never a peer/MCP side channel.

Sma1lboy/rove · 56 tokens

E2E Testing Nori Skillsets Subcommands

Use when you need to interactively test a nori-skillsets CLI subcommand end-to-end via tmux, with full filesystem isolation.

tilework-tech/nori-skillsets · 39 tokens

general-video

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a…

Sma1lboy/rove · 114 tokens

release

Autonomously cut a Rove (@sma1lboy/rove) release end-to-end — detect the semver bump from pending changesets (flagging an upstream minor you didn't intend), run the release gates, bump/tag/push via scripts/release.sh, then poll the GitHub Actions Release workflow with gh until npm publish completes, diagnosing CI…

Sma1lboy/rove · 155 tokens

hyperframes-cli

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, or remove-background, or when troubleshooting the…

Sma1lboy/rove · 101 tokens

changelog-generator

Draft Rove release notes as Changesets. Writes user-facing entries as .changeset/.md files for @sma1lboy/rove (consumed into packages/kobe/CHANGELOG.md at release time). Use when the user asks for "changelog", "release notes", "what changed", "add a changeset", or before cutting a version. Enforces Rove's no-soft-wrap…

Sma1lboy/rove · 101 tokens