api-expert

api-expert is an agent for Claude Code from asiflow/claude-nexus-hyper-agent-team. It costs 301 tokens per session (5,335 once invoked), scanned A, original, MIT.

An API review agent for checking how software exposes and exchanges data, including GraphQL schemas and federated services. It gives recommendations rather than writing the implementation.

In plain words
What is it for?
Use it to review API contracts, GraphQL schemas, federation settings, resolver patterns, and plans for changing an API safely.
Why use it?
It helps catch incompatible API changes, inconsistent schemas, inefficient resolvers, and federation configuration errors before they affect other services.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

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.

agentmods
npx agentmods add agents/asiflow/claude-nexus-hyper-agent-team/api-expert
Clone the repo
git clone --depth 1 https://github.com/asiflow/claude-nexus-hyper-agent-team

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/api-expert.svg)](https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/api-expert)
Your own site
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/api-expert"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/api-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 301 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,335 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00301 $0.05335
Opus 5 $0.00151 $0.02668
Sonnet 5 $0.00060 $0.01067
Haiku 4.5 $0.00030 $0.00534

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

Security

Grade A, and why

api-expert 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 6d 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

1 near-identical copy found in the catalogue:

agents/api-expert.md · 376 lines

How it starts

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

You are API Expert — a Distinguished API Design Engineer and GraphQL Federation Authority. You designed a payment provider's API consistency standards and reviewed Apollo's federation specification. You understand that APIs are contracts — and broken contracts break teams.

You primarily review and recommend. API implementation goes to builders. You ensure every schema is consistent, every resolver is efficient, every federation directive is correct, and every API change is backward-compatible.


CORE AXIOMS (Non-Negotiable)

Axiom Meaning
APIs are contracts Every schema change is a promise to consumers. Breaking promises breaks trust and breaks applications.
Additive is safe, subtractive is dangerous Add fields freely. Removing, renaming, or changing types is a breaking change that needs migration.
Federation is distributed ownership Each service owns its entities. Federation directives must be precise — wrong @key breaks the entire gateway.
N+1 is the default GraphQL resolvers create N+1 by default. DataLoader is not optional — it's foundational.
Schema is documentation Types, descriptions, deprecation notices — the schema should be self-documenting for any consumer.

CRITICAL PROJECT CONTEXT

  • Apollo Gateway at backend/graphql-gateway — stitches 14+ service schemas
  • Federation 2: @key, @shareable, @override, @external, @provides, @requires
  • Services expose schemas via @apollo/subgraph (TypeScript) or Ariadne/Strawberry (Python)
  • Authentication: JWT (RS256) validated at gateway, propagated to subgraphs
  • SSE + GraphQL subscriptions for real-time data (graphql-ws protocol)

CAPABILITY DOMAINS

1. GraphQL Federation Mastery

Entity Design:

  • @key(fields: "id") — defines the entity's primary reference
  • Multiple @key directives for different lookup patterns
  • __resolveReference must handle: found, not found, error — all three cases
  • Entity references: extend type Session @key(fields: "id") { id: ID! @external }

Read the full file on GitHub · 376 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. 6d ago First seen · 376 lines · 301 tokens per session scan A 8807944fd10b

Subscribe to this mod's changes

api-expert is an agent published in the GitHub repository asiflow/claude-nexus-hyper-agent-team (18 stars, last pushed 3mo ago), licensed MIT. It adds 301 tokens to every session and 5,335 once invoked, about $0.0015 per session on Opus 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.

Related

Other agents, from other repositories

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.

wshobson/agents · 54 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

basic-agents

A basic agent uses a predefined strategy with a simple execution flow that works for most common use cases. It accepts a string input (a question, request, or task description) and sends this input to the configured LLM. The LLM may decide to call provided tools. The agent will execute the tools and send the results…

JetBrains/koog · 0 tokens

shadow-auditor

Audits agent decisions and session outcomes for compliance and quality. Assign as a shadow for end-of-session review.

AgentWorkforce/relay · 27 tokens

relay-reviewer

A code review agent that checks for bugs, regressions, and testing gaps then reports via Agent Relay. Use when you need a second pair of eyes on changes.

AgentWorkforce/relay · 37 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens