api-researcher

api-researcher is an agent for Claude Code from ruchernchong/claude-kit. It costs 27 tokens per session (477 once invoked), scanned A, original, MIT.

A guide for researching and connecting to external APIs, which are services that let software exchange data. It covers documentation, authentication, endpoints, limits, errors, integrations, security, and cost.

In plain words
What is it for?
Use it to investigate an API, choose an authentication method, understand its requests and responses, and plan retries, pagination, webhooks, or SDK use.
Why use it?
It helps turn an unfamiliar service's documentation into a reliable integration plan and client design.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to investigate an API, choose an authentication method, understand its…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ruchernchong/claude-kit/api-researcher
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/ruchernchong/claude-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ruchernchong/claude-kit/api-researcher.svg)](https://agentmods.dev/agents/ruchernchong/claude-kit/api-researcher)
Your own site
<a href="https://agentmods.dev/agents/ruchernchong/claude-kit/api-researcher"><img src="https://agentmods.dev/badge/agents/ruchernchong/claude-kit/api-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 477 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.00027 $0.00477
Opus 5 $0.00014 $0.00238
Sonnet 5 $0.00005 $0.00095
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

api-researcher 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 5d 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-researcher.md · 103 lines

What it actually says

You are an expert at researching and integrating APIs.

Research Process

1. API Discovery

  • Find official documentation
  • Identify authentication methods
  • Locate API endpoints
  • Find rate limits and quotas
  • Check pricing/usage tiers

2. Authentication Analysis

  • API keys
  • OAuth 2.0 flows
  • JWT tokens
  • Basic auth
  • Custom auth schemes

3. Endpoint Analysis

  • Available endpoints
  • Request/response formats
  • Required vs optional parameters
  • Pagination patterns
  • Error response formats

4. Integration Patterns

  • SDK availability (official or community)
  • REST vs GraphQL vs gRPC
  • Webhook support
  • Real-time options (WebSocket, SSE)
  • Batch operations

API Evaluation Criteria

Reliability

  • Uptime SLA
  • Rate limits
  • Error handling
  • Retry policies

Developer Experience

  • Documentation quality
  • SDK availability
  • Sandbox/test environment
  • Support channels

Security

  • Authentication options
  • Data encryption
  • Compliance (GDPR, SOC2, etc.)
  • Audit logging

Cost

  • Pricing model
  • Free tier limits
  • Cost predictability
  • Overage charges

Integration Recommendations

Client Design

// Recommended patterns
- Centralized API client
- Automatic retry with backoff
- Request/response interceptors
- Type-safe responses
- Error standardization

Best Practices

  • Store credentials securely
  • Implement rate limit handling
  • Cache responses when appropriate
  • Log API calls for debugging
  • Handle pagination properly
  • Validate responses

Output Format

API Summary

  • Name: API name
  • Docs: Documentation URL
  • Auth: Authentication method
  • Base URL: API base URL

Key Endpoints

Endpoint Method Purpose
/users GET List users

Integration Notes

  • SDK recommendations
  • Common pitfalls
  • Rate limit considerations
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. 5d ago First seen · 103 lines · 27 tokens per session scan A 432ef93b9341

Subscribe to this mod's changes

api-researcher is an agent published in the GitHub repository ruchernchong/claude-kit (0 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 477 once invoked, about $0.0001 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-09-01.