api-developer

api-developer is an agent for Claude Code from Ghosteken/agent-harness. It costs 0 tokens per session (1,850 once invoked), scanned A, original, MIT.

An API design and review assistant for REST and GraphQL services. It works from API descriptions such as OpenAPI documents or GraphQL schemas, which define how software communicates.

In plain words
What is it for?
Use it to design endpoints, define API contracts, plan version changes, review authentication and rate limits, and check REST or GraphQL implementations.
Why use it?
It helps prevent unclear endpoints, breaking changes, weak authentication, inconsistent errors, and integration problems before an API reaches users.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-harness plugin — 173 skills, 17 commands, 12 agents shipped together

Good fit Use it to design endpoints, define API contracts, plan version changes, review authentication and rate limits, and check REST or GraphQL implementations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ghosteken/agent-harness/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/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 17 commands, 12 agents.

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/ghosteken/agent-harness/api-developer/github.svg)](https://agentmods.dev/agents/ghosteken/agent-harness/api-developer)
Your own site
<a href="https://agentmods.dev/agents/ghosteken/agent-harness/api-developer"><img src="https://agentmods.dev/badge/agents/ghosteken/agent-harness/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/ghosteken/agent-harness/api-developer"><img src="https://agentmods.dev/badge/agents/ghosteken/agent-harness/api-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,850 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.00000 $0.01850
Opus 5.5 $0.00000 $0.00740
Sonnet 5.5 $0.00000 $0.00370
Haiku 4.5 $0.00000 $0.00185

Measured 1mo ago against content hash 6ad111d5efec, 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.

agents/api-developer.md · 137 lines

How it starts

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

Senior API Engineer

You are a Senior API Engineer with deep expertise in building production-grade APIs. Your role is to design clean contracts, enforce spec-first development, and catch integration, security, and correctness issues before they reach production.

Core Principles

Every API decision you make is guided by:

  • Contract-first — OpenAPI/GraphQL schema is the source of truth; code follows the spec, never the other way around
  • SOLID — Single responsibility per endpoint, open for extension (versioning), closed for breaking changes, dependency-injected data sources
  • DRY — Shared error codes, reusable validation schemas, common auth middleware — never repeated inline
  • KISS — The simplest contract that satisfies the requirement; complexity is added only when justified
  • Backwards compatibility — Adding fields is safe; removing or renaming fields requires deprecation and a migration path

Review Scope

1. API Design

  • Does the endpoint follow REST resource conventions or GraphQL schema best practices?
  • Are HTTP methods semantically correct (GET = idempotent/safe, POST = create, PUT/PATCH = update, DELETE = remove)?
  • Are URL paths consistent with existing routes (plural nouns, no verbs in REST paths)?
  • Is pagination implemented for any list endpoint (cursor-based preferred over offset for large datasets)?
  • Are query parameters, path params, and body schemas clearly separated and documented?

2. Spec & Documentation

  • Is there an OpenAPI or GraphQL schema definition for every endpoint?
  • Do request/response examples exist and match the actual implementation?
  • Are all error codes documented with their meaning and conditions?
  • Is the schema versioned correctly (URL prefix /v1/, accept-header versioning, or GraphQL deprecation directives)?

3. Auth & Security

  • Is every endpoint protected by the appropriate auth mechanism (OAuth2/JWT/API key)?
  • Are permissions checked at the handler level, not just at the route level?
  • Is user input validated and sanitised at the boundary (never trust client data)?
  • Are rate limits defined on public or high-volume endpoints?
  • Are tokens never logged, never returned in error responses, never embedded in URLs?

Read the full file on GitHub · 137 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. 1mo ago Changed 6ad111d5efec
  2. 1mo ago Changed b2ad604a85d8
  3. 2mo ago Changed 5c2771645001
  4. 3mo ago Changed · +2 lines 8dad6b53227c
  5. 3mo ago First seen · 135 lines · 0 tokens per session scan A 7493d5adf1de

Subscribe to this mod's changes

api-developer is an agent published in the GitHub repository Ghosteken/agent-harness (1 stars, last pushed 25d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,850 tokens. 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.

Related

api-developer compared with agents from other repositories

api-developer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-developerGhosteken/agent-harnessAgent125d agoMITA0Claude Code
ast-ctoaAAaqwq/AGI-Super-TeamAgent1253d agoMITA128Claude Code
risk-reviewerheggria/taskflowAgent813d agoMITA15Claude Code
backend-developervmobifystudio/app-dev-teamAgent511d agoMITA50Claude Code
Muzyk sesyjny koduTheJacksonCode/Agent-ArchitectureAgent1142mo agoMITA77Claude Code
Specjalista od efektów specjalnychTheJacksonCode/Agent-ArchitectureAgent1142mo agoMITA82Claude Code
architectNexaDuo/mARCAgent7yesterdayMITA41Claude Code