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 vivek-viswanat/dev-arsenal --skill rest-api-architectgit clone --depth 1 https://github.com/vivek-viswanat/dev-arsenalWrote 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/vivek-viswanat/dev-arsenal/rest-api-architect)<a href="https://agentmods.dev/skills/vivek-viswanat/dev-arsenal/rest-api-architect"><img src="https://agentmods.dev/badge/skills/vivek-viswanat/dev-arsenal/rest-api-architect/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/vivek-viswanat/dev-arsenal/rest-api-architect"><img src="https://agentmods.dev/badge/skills/vivek-viswanat/dev-arsenal/rest-api-architect.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.00021 | $0.00482 |
| Opus 5 | $0.00010 | $0.00241 |
| Sonnet 5 | $0.00004 | $0.00096 |
| Haiku 4.5 | $0.00002 | $0.00048 |
Grade A, and why
rest-api-architect 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 8d 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
Context
Use this skill when:
- Designing new API endpoints or resources.
- Reviewing existing OpenAPI (
swagger.yaml/json) files. - Generating boilerplate code from an API contract.
Design Principles
1. Resource-First Naming
- Nouns Only: Use
/users, not/getUsers. Actions are defined by HTTP methods. - Plurality: Use plural nouns for collections (
/orders) and IDs for instances (/orders/{id}). - Case: All paths MUST be
kebab-caseand lowercase.
2. Semantic HTTP Methods
GET: Idempotent retrieval. No side effects.POST: Create a new resource or trigger a non-idempotent action.PUT: Full replacement of a resource (Idempotent).PATCH: Partial update (Preferred over PUT for performance).DELETE: Remove a resource.
3. Standardization (OpenAPI 3.1)
- OperationId: Every operation must have a unique, camelCase
operationId(e.g.,listUsers). - Descriptions: Every parameter, property, and response must have a
descriptionfield for AI discoverability. - Status Codes: -
201 Createdfor successful POSTs.422 Unprocessable Entityfor validation errors (Standard in 2026).429 Too Many Requestsfor rate-limiting.
- Error Format: Follow RFC 9457 (Problem Details for HTTP APIs).
4. Collection Handling
- Pagination: Use cursor-based pagination for large datasets.
- Filtering: Use query parameters (e.g.,
/products?category=tech). - Sorting: Use a standardized
sortparameter (e.g.,?sort=-created_at).
Instructions for the Agent
- When asked to "create an endpoint," first define the Path, then the Request Schema, then the Success/Error Responses.
- Always use
$refto keep schemas modular and reusable incomponents/schemas. - Ensure all Date/Time fields use
format: date-time(ISO 8601).
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.
- 8d ago First seen · 42 lines · 21 tokens per session scan A f8d27ac265fb
rest-api-architect is a skill published in the GitHub repository vivek-viswanat/dev-arsenal (4 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 482 once invoked, about $0.0001 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
muapi-platform
Setup and utility scripts for muapi.ai — configure API keys, test connectivity, and poll for async generation results.
agentsop-http-tool-wrapping
Decision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call. The load-bearing premise: the tool surface is an LM-friendly subset of the API surface — one tool per user intent, not one per endpoint. Activates when a coder agent must expose an external HTTP API to a model (function calling…
agentsop-streaming-output
Enhancement-overlay decision protocol for STREAMING the output of long-running LLM / agent runs from the backend, not just wiring a typing animation in the UI. Activates when a coder agent must stream final tokens to a chat client, surface intermediate agent steps (which tool, which node, partial reasoning), emit…
inkbox-agent-self-signup
Use when guiding or implementing the Inkbox agent self-signup flow, including verification, resend-verification, signup restrictions, and optional signup fields like agent handles or mailbox local parts.
binance-spot-openapi-skill
Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.
discord-openapi-skill
Operate Discord HTTP API through UXC with Discord OpenAPI schema. Bot token recommended for full API access including messages and server management. OAuth2 user authentication available for limited profile operations only.