crawl-apis

crawl-apis is a skill for Claude Code from ea-toolkit/architecture-catalog. It costs 41 tokens per session (1,229 once invoked), scanned A, original, MIT.

A codebase scanner that finds API definitions, such as OpenAPI files, web routes, and GraphQL schemas. APIs are interfaces that let software systems exchange data.

In plain words
What is it for?
It is for scanning a project and proposing entries for API contracts and individual API endpoints, with an optional direct write.
Why use it?
It avoids manually searching for every API and prepares proposed catalogue records for review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; positional $N argument.

Good fit It is for scanning a project and proposing entries for API contracts and individual API endpoints, with an optional direct write.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ea-toolkit/architecture-catalog/crawl-apis
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 ea-toolkit/architecture-catalog --skill crawl-apis
Clone the repo
git clone --depth 1 https://github.com/ea-toolkit/architecture-catalog

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 crawl-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/ea-toolkit/architecture-catalog/crawl-apis/github.svg)](https://agentmods.dev/skills/ea-toolkit/architecture-catalog/crawl-apis)
Your own site
<a href="https://agentmods.dev/skills/ea-toolkit/architecture-catalog/crawl-apis"><img src="https://agentmods.dev/badge/skills/ea-toolkit/architecture-catalog/crawl-apis/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 crawl-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/ea-toolkit/architecture-catalog/crawl-apis"><img src="https://agentmods.dev/badge/skills/ea-toolkit/architecture-catalog/crawl-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 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.00041 $0.01229
Opus 5.5 $0.00016 $0.00492
Sonnet 5.5 $0.00008 $0.00246
Haiku 4.5 $0.00004 $0.00123

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

Security

Grade A, and why

crawl-apis 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.

.claude/skills/crawl-apis/SKILL.md · 136 lines

How it starts

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

Crawl APIs — Discover and Register API Definitions

Scan a codebase directory for API definitions and propose registry entries.

Arguments

  • $1 — Path to scan (required). Absolute or relative path to the codebase to crawl.
  • --domain <name> — Domain to assign discovered APIs to (optional, will ask if omitted).
  • --write — Write proposed entries to registry immediately (default: preview only).

If no path is provided, ask the user which directory to scan.

Workflow

1. Discover Type-to-Folder Mapping

Read models/registry-mapping.yaml to find:

  • The folder path for api_contract entries
  • The folder path for api_endpoint entries
  • The _template.md in each folder for frontmatter structure

Never hardcode paths. Always derive from the YAML.

2. Scan for API Definitions

Search the target directory for API-related files. Use these detection patterns:

OpenAPI / Swagger specs:

# Find OpenAPI/Swagger YAML and JSON files
  • Glob: **/{openapi,swagger}*.{yaml,yml,json}, **/api-spec*.{yaml,yml,json}
  • Content match: files containing openapi: or swagger: at the top level

REST route definitions (Node.js/Express/Fastify/Hono):

  • Grep for patterns: router\.(get|post|put|delete|patch), app\.(get|post|put|delete|patch), @Get|@Post|@Put|@Delete (NestJS decorators)
  • Look in: **/routes/**, **/controllers/**, **/handlers/**, **/api/**

GraphQL schemas:

  • Glob: **/*.graphql, **/*.gql
  • Content match: files containing type Query, type Mutation, schema {

gRPC / Protobuf:

  • Glob: **/*.proto
  • Content match: service <Name> blocks

Python (FastAPI/Flask/Django REST):

  • Grep for: @app.route, @router.get|post|put|delete, @api_view, class.*ViewSet

3. Extract API Information

For each discovered API, extract:

Field Source
name OpenAPI info.title, route prefix, GraphQL type name, proto service name
description OpenAPI info.description, JSDoc/docstring if available
protocol REST, GraphQL, gRPC, async (inferred from file type)
endpoints Individual route paths / operations / queries+mutations
status draft (always — human reviews and promotes)

Read the full file on GitHub · 136 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 First seen · 136 lines · 41 tokens per session scan A 90b367ad04f7

Subscribe to this mod's changes

crawl-apis is a skill published in the GitHub repository ea-toolkit/architecture-catalog (41 stars, last pushed 7mo ago), licensed MIT. It adds 41 tokens to every session and 1,229 once invoked, about $0.0002 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-30.

Related

crawl-apis compared with skills from other repositories

crawl-apis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crawl-apisea-toolkit/architecture-catalogSkill417mo agoMITA41Claude Code
creating-pluginsemdash-cms/emdashSkill15ktodayMITA50Claude Code, Codex
writing-emdash-docsemdash-cms/emdashSkill15ktodayMITA85Codex
astro-strapi-starterVirtusLab-Open-Source/astro-strapi-starterSkill231mo agoMITA90Claude Code, Codex
astro-strapi-loaderVirtusLab-Open-Source/astro-strapi-starterSkill231mo agoMITA57Claude Code, Codex
declare-typesone-ie/oneSkill135todaynoneA49Claude Code, Codex
sdkone-ie/oneSkill135todaynoneA34Claude Code