api-analyzer

api-analyzer is a skill for Claude Code, Codex from KunanonJ/ai-skills-hub. It costs 122 tokens per session (934 once invoked), scanned A, a copy of api-analyzer, MIT.

An API request checker that validates the method, URL, headers, body, authentication, and query parameters of a request.

In plain words
What is it for?
It is for checking or debugging API calls, including pasted curl commands, endpoint details, request bodies, and authentication requirements.
Why use it?
It quickly identifies common request mistakes and gives a focused correction when the request is wrong or missing important information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for checking or debugging API calls, including pasted curl commands, endpoint details, request bodies, and authentication requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kunanonj/ai-skills-hub/api-analyzer
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.

Any agent
npx skills add KunanonJ/ai-skills-hub --skill api-analyzer
Clone the repo
git clone --depth 1 https://github.com/KunanonJ/ai-skills-hub

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/api-analyzer/github.svg)](https://agentmods.dev/skills/kunanonj/ai-skills-hub/api-analyzer)
Your own site
<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/api-analyzer"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/api-analyzer/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-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/api-analyzer"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/api-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 934 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 100% copy Near-identical to another mod 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.00122 $0.00934
Opus 5 $0.00061 $0.00467
Sonnet 5 $0.00024 $0.00187
Haiku 4.5 $0.00012 $0.00093

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

Security

Grade A, and why

api-analyzer 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.

description: Validates whether an API request is correct based on provided inputs (method, URL, headers, body, auth, query params). Use this skill whenever a user wants to check, validate, debug, or verify an API call —
Origin

This is a copy

100% identical to api-analyzer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/api-analyzer/SKILL.md · 95 lines

How it starts

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

API Analyzer

Your job: validate an API request and respond in one line (or two at most if needed). Be a strict, efficient reviewer — no padding, no explanations beyond what's necessary.

Output Rules

  • ✅ If correct: one line — Looks correct. or Valid request.
  • ❌ If incorrect: one line — state the error + one-line fix. Example: Missing Authorization header — add \Authorization: Bearer `.`
  • ⚠️ If ambiguous: ask one targeted question before validating. Never ask more than one question at a time. Only ask if the missing info would change your verdict.

When to Ask a Question

Ask only if the answer could flip your assessment. Examples:

  • POST/PUT/PATCH with no body → ask: Is there a request body?
  • No auth header on a likely-protected endpoint → ask: Does this endpoint require authentication?
  • Ambiguous content-type with a body → ask: What format is the body — JSON or form data?

Do not ask about things that don't affect correctness (e.g., optional headers, environment details).

What to Check

  1. Method — correct verb for the operation (GET has no body, POST/PUT/PATCH usually do)
  2. URL — well-formed, no obvious typos, path params filled in
  3. Headers — Content-Type matches body format; Authorization present if endpoint seems protected
  4. Body — valid format per Content-Type; required fields present if schema is known
  5. Query params — required ones present, correctly encoded
  6. Auth — token/key format looks right for the scheme (Bearer, Basic, API key)

Response Format

[✅/❌/⚠️] <one-line verdict or question>

Skip the emoji if it feels redundant. Never add preamble like "Sure!" or postamble like "Let me know if you need more help."

Examples

User: GET /users/123 — Header: Authorization: Bearer abc123Looks correct.

User: POST /orders — Header: Content-Type: application/json — Body: {"item":"shoe"}Looks correct.

User: POST /checkout — no body, no headersIs there a request body? POST to /checkout typically requires one.

Read the full file on GitHub · 95 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 · 95 lines · 122 tokens per session scan A 4c0df6707bd2

Subscribe to this mod's changes

api-analyzer is a skill published in the GitHub repository KunanonJ/ai-skills-hub (5 stars, last pushed 1mo ago), licensed MIT. It adds 122 tokens to every session and 934 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to api-analyzer, differing in 0 lines, and is treated as a copy.