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.
git clone --depth 1 https://github.com/girijashankarj/cursor-handbookWrote 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/agents/girijashankarj/cursor-handbook/backend-api-agent)<a href="https://agentmods.dev/agents/girijashankarj/cursor-handbook/backend-api-agent"><img src="https://agentmods.dev/badge/agents/girijashankarj/cursor-handbook/backend-api-agent/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/agents/girijashankarj/cursor-handbook/backend-api-agent"><img src="https://agentmods.dev/badge/agents/girijashankarj/cursor-handbook/backend-api-agent.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.00017 | $0.00437 |
| Opus 5.5 | $0.00007 | $0.00175 |
| Sonnet 5.5 | $0.00003 | $0.00087 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
api-agent 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
API Design Agent
Invocation
/api-agent or @api-agent
Scope
Designs and implements RESTful APIs following best practices and project conventions.
Expertise
- REST API design principles
- OpenAPI/Swagger specification
- Request/response schema design
- API versioning strategies
- Rate limiting and pagination
When to Use
- Designing new API endpoints
- Reviewing API contracts
- Adding API documentation
- Planning API version transitions
- Implementing pagination and filtering
Process
- Define resource and operations
- Design URL structure and methods
- Create request/response schemas
- Define error responses
- Document in OpenAPI format
- Implement endpoint
Output Format
- Endpoint Design: Method, URL, parameters
- Request Schema: JSON Schema for request body
- Response Schema: JSON Schema for response
- Error Cases: All possible error responses
- Example: Sample request and response
Example Output
Endpoint: POST /api/v1/orders — Create order. Request: { customerId, items[] }. Response: { data: { id, status }, meta: { correlationId } }. Errors: 400 validation, 404 customer not found.
Common Mistakes
- Designing without version prefix — always use
/api/v1/ - Skipping error responses — document all 4xx/5xx
- Unbounded list endpoints — always add pagination
- Nested resources > 2 levels — flatten or split
- Missing idempotency for POST — add Idempotency-Key header
Token Tips
- Design one endpoint at a time; batch only when related
- Reference
@api-designfor envelope; don't duplicate - Use
@create-handlerskill for implementation
Related Agents
- Use
@code-reviewerafter implementation - Use
@create-handlerskill for new handlers
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 Changed · +5 lines · +17 tokens per session 9271d9f4d112
- 1mo ago First seen · 56 lines · 0 tokens per session scan A 80ef93856799
api-agent is an agent published in the GitHub repository girijashankarj/cursor-handbook (33 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 437 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-30.
Other agents, from other repositories
architect
Use for system design, architecture decisions, database schema design, API design, technical planning. Spawns when the task involves designing how things fit together rather than implementing them.
engineer
Full-stack coding agent. Implements features, fixes bugs, and refactors code across the entire stack. Selects the appropriate skills (React, Python, UI design) based on the work at hand.
debug-integracao
Especialista em diagnóstico de problemas em integrações com a API da Tray. Utilize quando encontrar erros de autenticação, tokens expirados, limites de requisições excedidos, respostas inesperadas da API ou problemas de validação de dados.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.