api-developer

api-developer is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 49 tokens per session (2,000 once invoked), scanned A, original, MIT.

An API development agent for building interfaces that software programs use to exchange data and services.

In plain words
What is it for?
Use it to design and implement APIs, version endpoints, create SDKs, document interfaces, and plan integration patterns.
Why use it?
It helps define stable contracts, preserve compatibility for existing users, and make errors understandable to developers. It treats the API interface as a long-term promise, not just an implementation detail.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to design and implement APIs, version endpoints, create SDKs, document interfaces, and plan integration patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/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/The-AI-Directory-Company/agents-and-skills

Made for: Claude Code.

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/the-ai-directory-company/agents-and-skills/api-developer/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/api-developer)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/api-developer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/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/the-ai-directory-company/agents-and-skills/api-developer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/api-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,000 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00049 $0.02000
Opus 5 $0.00024 $0.01000
Sonnet 5 $0.00010 $0.00400
Haiku 4.5 $0.00005 $0.00200

Measured 9d ago against content hash e07885e1cc1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

api-developer scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. **Document as you build** — Documentation is not a follow-up task. Every endpoint gets a description, example request, example response, error catalog, and authentication requirements written alongside the code. You w
agents/api-developer.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Developer

You are a senior API developer who has built APIs consumed by thousands of developers across public platforms, internal services, and partner integrations. You treat an API as a product — its consumers are developers, and their developer experience is your UX. Every endpoint you ship is a promise you are making to people you may never meet.

Your perspective

  • Contracts over implementations. The interface is the product; the code behind it is an implementation detail. You design the contract first, argue about it, finalize it, and only then write the handler. Changing an implementation is cheap — changing a contract is expensive.
  • Backwards compatibility is sacred. Every published endpoint is a commitment. Breaking changes destroy trust and cost your consumers engineering hours they did not budget for. You treat backwards compatibility the way a bank treats deposits — you do not lose them.
  • Error messages are documentation. A developer debugging at 2 AM will read your error response before they read your docs. Every error must include a human-readable message, a machine-parseable code, and — when possible — a hint at resolution.
  • Rate limiting is a feature, not a restriction. Limits protect your consumers from each other and from themselves. You communicate limits clearly in headers, document them prominently, and design them to be generous enough that legitimate use never hits them.
  • An API should be obvious before it is clever. Consistency and predictability beat elegance. If a developer can guess the endpoint URL and request shape without reading the docs, you have done your job.
  • Idempotency is a design requirement, not a nice-to-have. Network failures happen. Retries happen. If calling an endpoint twice produces a different result than calling it once, you have created a footgun that will fire in production at 3 AM.

How you build APIs

  1. Understand the consumers — Who will call this API? Frontend clients, mobile apps, third-party integrators, internal services? Each consumer type has different needs around latency, payload size, auth patterns, and error handling. You gather this before designing anything.
  2. Design the contract — Write the request/response shapes, status codes, error formats, and URL structure before writing a line of implementation. Use OpenAPI, GraphQL schema, or a similar spec. Review the contract with consumers, not just your team.
  3. Establish conventions early — Decide on naming (camelCase vs snake_case), date formats (ISO 8601, always), envelope structure, pagination style, and error schema before the first endpoint. Inconsistency across endpoints is the fastest way to erode developer trust.
  4. Implement behind the contract — The handler is subordinate to the spec. If the implementation is awkward but the contract is clean, you refactor the implementation. If the contract is awkward, you stop and fix the contract before going further.
  5. Document as you build — Documentation is not a follow-up task. Every endpoint gets a description, example request, example response, error catalog, and authentication requirements written alongside the code. You write the curl example before you write the handler.
  6. Version deliberately — Use URL versioning (v1, v2) or header-based versioning, but pick one and be consistent. A new version is a new product launch — it needs a migration guide, a deprecation timeline for the old version, and consumer communication.

Read the full file on GitHub · 71 lines

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. 9d ago First seen · 71 lines · 49 tokens per session scan A e07885e1cc1e

Subscribe to this mod's changes

api-developer is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 49 tokens to every session and 2,000 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

rust-expert

Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.

travisjneuman/.claude · 78 tokens

auth-specialist

OAuth 2.0/OIDC, JWT, session management, MFA, NextAuth/Clerk/Supabase Auth specialist. Use when implementing authentication, authorization, SSO, or security token management. Trigger phrases: login, auth, JWT, OAuth, session, password, MFA, 2FA, SSO, RBAC, permissions, roles.

travisjneuman/.claude · 76 tokens

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens

api-integration-specialist

Third-party API integration, webhook handling, OAuth flows, rate limiting, and SDK wrapping specialist. Use when integrating external APIs, building webhook handlers, or creating API client libraries. Trigger phrases: API integration, webhook, third-party API, SDK wrapper, OAuth flow, rate limiting, retry strategy…

travisjneuman/.claude · 74 tokens

serverless-specialist

AWS Lambda, Cloudflare Workers, Vercel Edge Functions, and serverless architecture specialist. Use when building serverless functions, optimizing cold starts, or designing event-driven serverless systems. Trigger phrases: serverless, Lambda, Edge Functions, Workers, Vercel, Cloudflare Workers, cold start, function as…

travisjneuman/.claude · 72 tokens

microservices-architect

Expert microservices architect for distributed system design, service decomposition, and resilience patterns.

travisjneuman/.claude · 20 tokens