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 IkarusMK/AIcortex --skill rest-api-conventionsgit clone --depth 1 https://github.com/IkarusMK/AIcortexWrote 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/ikarusmk/aicortex/rest-api-conventions)<a href="https://agentmods.dev/skills/ikarusmk/aicortex/rest-api-conventions"><img src="https://agentmods.dev/badge/skills/ikarusmk/aicortex/rest-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/ikarusmk/aicortex/rest-api-conventions"><img src="https://agentmods.dev/badge/skills/ikarusmk/aicortex/rest-api-conventions.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.00026 | $0.00392 |
| Opus 5.5 | $0.00010 | $0.00157 |
| Sonnet 5.5 | $0.00005 | $0.00078 |
| Haiku 4.5 | $0.00003 | $0.00039 |
Grade A, and why
rest-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 1mo 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
REST API Conventions
When to use
Designing or reviewing an HTTP/JSON API.
Resources & methods
- Nouns, plural:
/orders,/orders/{id}/items. No verbs in paths. GETread (safe, idempotent) ·POSTcreate ·PUT/PATCHreplace/update ·DELETEremove.POSTfor non-CRUD actions:/orders/{id}/refund.
Status codes
200 ok · 201 created (+ Location) · 204 no content · 400 bad input ·
401 unauthenticated · 403 forbidden · 404 not found · 409 conflict ·
422 validation · 429 rate-limited · 5xx server. Don't return 200 with an error body.
Lists
- Paginate everything that can grow:
?limit=&cursor=(cursor) or?page=&per_page=. - Filtering/sorting via query params:
?status=open&sort=-created_at. - Return pagination metadata (total / next cursor) consistently.
Errors (one shape everywhere)
{ "error": { "code": "validation_error", "message": "…", "details": [ … ] } }
Also
- Version at the edge:
/v1/…. Don't break v1 in place. - Be consistent: same field casing, same date format (ISO 8601 UTC), same error shape.
- Make writes idempotent where clients may retry (idempotency keys).
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.
- 1mo ago First seen · 37 lines · 26 tokens per session scan A 166ac54ecf06
rest-api-conventions is a skill published in the GitHub repository IkarusMK/AIcortex (10 stars, last pushed 16d ago), licensed Apache-2.0. It adds 26 tokens to every session and 392 once invoked, about $0.0001 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-08-31.
Other skills, from other repositories
MCP Server Builder
Step-by-step guidance for creating a new MCP server with FastMCP or the TypeScript SDK — tool definitions, resource handlers, error responses, and usage examples.
claude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude…
fastmcp-mcp-server
Build Model Context Protocol servers with FastMCP — tools, resources, transports (stdio + streamable-http), and testing.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
status
Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.