Borrowing it
Nothing to install: this file belongs to dosu-ai/decant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dosu-ai/decant/main/.claude/skills/api-route-change/SKILL.mdgit clone --depth 1 https://github.com/dosu-ai/decantWrote 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/dosu-ai/decant/api-route-change)<a href="https://agentmods.dev/skills/dosu-ai/decant/api-route-change"><img src="https://agentmods.dev/badge/skills/dosu-ai/decant/api-route-change/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/dosu-ai/decant/api-route-change"><img src="https://agentmods.dev/badge/skills/dosu-ai/decant/api-route-change.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00069 | $0.00442 |
| Opus 5.5 | $0.00028 | $0.00177 |
| Sonnet 5.5 | $0.00014 | $0.00088 |
| Haiku 4.5 | $0.00007 | $0.00044 |
Grade A, and why
api-route-change 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 28d 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.
What it actually says
Change a serve API route
AGENTS.md invariant 7: the serve routes are a documented local API. These four move together in one change:
- The handler and its entry in the route table (
src/server/routes.ts), plus the path manifest insrc/route-paths.ts. docs/api/openapi.yaml, the source contract./api/openapi.jsonis its runtime representation, so a missing or stale entry is a user-visible bug.docs/api/routes.md, the prose guide (access control, archive semantics, SSE events).- Contract tests in
test/api-contract.test.tsandtest/server-routes.test.ts(which pins the route table to the OpenAPI document), plus behavior tests in the relevanttest/server*.test.tsfile.
Checks before changing semantics
- Find every UI caller: grep
src/ui/for the path (views live insrc/ui/views/). A new default limit or a narrower response can silently truncate what a page renders. - Keep core modules print-free: the handler shapes HTTP, while queries and stats stay in their modules.
- Non-loopback serving needs explicit trusted peers. Host and Origin checks are defense in depth, not authentication; do not weaken either.
- No outbound network calls. The only runtime networking is the local server.
Manual smoke
Use a scratch archive and a loopback port:
DECANT_DB=/tmp/decant-api.db bun run src/cli.ts --no-sync serve --no-open --port 43111
Done means bun test, bunx tsc --noEmit, and bunx biome check . pass.
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.
- 28d ago First seen · 41 lines · 69 tokens per session scan A 2e2e5f26958b
api-route-change is a skill published in the GitHub repository dosu-ai/decant (72 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 442 once invoked, about $0.0003 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-30.
Other skills, from other repositories
opensrc
Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…
cache-warm-before-cache-only-fanout
Warm the authoritative cache path first, then fan out cache-only readers in parallel so derived loaders never race stale state.
deepstream-sop
Use this skill when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether operators perform assembly-line steps in order via event boundary detection (GEBD) plus VLM classification. Trigger even if the…
earth2studio-create-datasource
Create and validate Earth2Studio data source wrappers (DataSource, ForecastSource, DataFrameSource, ForecastFrameSource) from remote stores. Do NOT use for fetching data with existing sources, model inference, or installation tasks.
wikipedia
Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.
doca-socket-relay
Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…