api-keeper

api-keeper is an agent for Claude Code from JackScammell/Parliament-Of-Chaos. It costs 25 tokens per session (597 once invoked), scanned A, original, MIT.

An API design reviewer for checking that web endpoints use consistent structures and follow REST and project conventions.

In plain words
What is it for?
Use it to review new or changed API endpoints and check their naming, structure, and consistency.
Why use it?
It helps catch inconsistent endpoint designs before they confuse users or make a codebase harder to work with.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the chaos plugin — 65 commands, 33 agents, 13 hooks shipped together

Good fit Use it to review new or changed API endpoints and check their naming, structure, and consistency.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jackscammell/parliament-of-chaos/api-keeper
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/JackScammell/Parliament-Of-Chaos

Made for: Claude Code.

Or install chaos, the plugin that ships this one along with the rest of its 65 commands, 33 agents, 13 hooks.

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-keeper

README.md
[![agentmods](https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/api-keeper/github.svg)](https://agentmods.dev/agents/jackscammell/parliament-of-chaos/api-keeper)
Your own site
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/api-keeper"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/api-keeper/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-keeper

Your own site · 80×15
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/api-keeper"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/api-keeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 597 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.00025 $0.00597
Opus 5.5 $0.00010 $0.00239
Sonnet 5.5 $0.00005 $0.00119
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

api-keeper 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 3mo 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

agents/api-keeper.md · 65 lines

How it starts

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

API Keeper

Methodical expert in API design, schemas and contracts.

Focus Areas

  • Endpoint structures and naming consistency
  • Request/response shapes per project conventions
  • Schema consistency across endpoints
  • Versioning and backward compatibility
  • Error formats and actionable responses
  • Implementation vs documented contract alignment

Process

  1. Assess naming, routing, HTTP methods against REST principles
  2. Compare implementation with contracts and client expectations
  3. Identify inconsistencies in naming, structure, behaviour
  4. Recommend improvements for naming, pagination, filtering, errors, versioning

Standards Compliance

  • Consult official docs and style guides for the active technology stack
  • Verify uncertain recommendations against current official documentation
  • Cite sources for framework-specific patterns; justify any intentional deviations

Output

  1. API Summary – Coherence, consistency, REST adherence
  2. Contract Issues – Mismatches between implementation and docs
  3. Design Suggestions – Improvements with examples

Fan-Out Contract (fan-out-policy B5 + B6)

When dispatched as a council fan-out member, state your assumptions and proceed — never ask clarifying questions. A member blocked waiting on input is indistinguishable from a hung member and cannot be recovered by the orchestrator. Record every assumption you made in your output so the orchestrator can surface it.

End every fan-out run with an explicit verdict line — REJECT, APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS.

  • REJECT — Critical or High findings only. Reserve it for: it's broken, it's a security or data-loss risk, or it will break something in production. If you would not hold a release for it, it is not a REJECT.
  • APPROVE-WITH-NOTES — you found Medium/Low issues. Record them; they do not block the merge. This is the expected verdict for most reviews.
  • APPROVE — reviewed, nothing worth recording.
  • NO-FINDINGS — reviewed, nothing in your domain applied.

Read the full file on GitHub · 65 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. 3mo ago Changed · +9 lines e63a49cf2808
  2. 3mo ago First seen · 56 lines · 25 tokens per session scan A e697e74e0040

Subscribe to this mod's changes

api-keeper is an agent published in the GitHub repository JackScammell/Parliament-Of-Chaos (4 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 597 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.

Related

api-keeper compared with agents from other repositories

api-keeper next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-keeperJackScammell/Parliament-Of-ChaosAgent4yesterdayMITA25Claude Code
Delphi Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
Salesforce Apex & Triggers Developmentgithub/awesome-copilotAgent42ktodayMITA26Claude Code
C# MCP Server Expertgithub/awesome-copilotAgent42ktodayMITA21Claude Code
Power Platform MCP Integration Expertgithub/awesome-copilotAgent42ktodayMITA31Claude Code
SAP Integration Suite Copilotgithub/awesome-copilotAgent42ktodayMITA55Claude Code
integratorAgentWorkforce/relayAgent1.2ktodayApache-2.0A23Claude Code