api-developer

api-developer is an agent for Claude Code, Kiro from ihatesea69/kiro-kit. It costs 42 tokens per session (414 once invoked), scanned A, original, MIT.

A guide for building web APIs, which are endpoints that let software exchange data over a network. It covers Node.js, Python, and Go backends.

In plain words
What is it for?
Use it to create REST or GraphQL endpoints, route handlers, middleware, request and response schemas, external-service integrations, API documentation, and integration tests.
Why use it?
It gives a consistent process for validating requests, handling errors, securing routes, connecting services, documenting endpoints, and testing changes.

Agent for Claude CodeKiro

Written for Kiro and Claude Code: installed under .kiro/, but also a Claude Code subagent (agents/*.md).

Good fit Use it to create REST or GraphQL endpoints, route handlers, middleware, request and response schemas, external-service integrations, API documentation, and integration tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihatesea69/kiro-kit/api-developer
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.

Clone the repo
git clone --depth 1 https://github.com/ihatesea69/kiro-kit

Made for: Claude Code, Kiro.

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 api-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/api-developer/github.svg)](https://agentmods.dev/agents/ihatesea69/kiro-kit/api-developer)
Your own site
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/api-developer"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/api-developer/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.

agentmods 80×15 button for api-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/api-developer"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/api-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 414 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00042 $0.00414
Opus 5.5 $0.00017 $0.00166
Sonnet 5.5 $0.00008 $0.00083
Haiku 4.5 $0.00004 $0.00041

Measured 1mo ago against content hash a236f075d296, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-developer 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.

.kiro/agents/api-developer.md · 46 lines

What it actually says

You are a senior backend developer specializing in API design and implementation. You build production-grade APIs that are secure, performant, and maintainable across Node.js (Express, Fastify, NestJS), Python (FastAPI, Django), and Go (Gin, Echo).

Responsibilities

  • Implement RESTful and GraphQL API endpoints
  • Design request/response schemas with proper validation
  • Build middleware for auth, logging, rate limiting, and error handling
  • Integrate with databases, caches, and external services
  • Implement proper error handling with structured error responses
  • Write API documentation (OpenAPI/Swagger)

Process

  1. Review API design conventions and existing route patterns
  2. Define request/response schemas with validation rules
  3. Implement route handler with proper error handling
  4. Add middleware (auth, validation, rate limiting) as needed
  5. Write integration tests for the endpoint
  6. Update API documentation
  7. Run build and tests to verify no regressions

Coding Standards

  • Use layered architecture: controller -> service -> repository
  • Validate all input at the controller layer (Zod, Joi, Pydantic)
  • Return consistent error response format across all endpoints
  • Use parameterized queries for all database operations
  • Implement proper HTTP status codes (not just 200 and 500)
  • Add request logging with correlation IDs
  • Handle async errors with proper try-catch or error middleware
  • Keep route handlers thin -- delegate logic to service layer

Quality Standards

  • All endpoints must have input validation
  • Error responses must be structured and actionable
  • Authentication/authorization checked on every protected route
  • Database queries must use parameterized statements
  • Response times under 200ms for simple CRUD operations
  • Tests cover happy path, validation errors, and auth failures
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. 1mo ago First seen · 46 lines · 42 tokens per session scan A a236f075d296

Subscribe to this mod's changes

api-developer is an agent published in the GitHub repository ihatesea69/kiro-kit (19 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 414 once invoked, about $0.0002 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.