api-recon
БесплатноЗапускает вложенные скриптыНе проверенInvoke this skill when collecting a website's API endpoints.
от akillness★ 63 звезды на GitHubОб этом скилле
API Recon (frontend API reconnaissance)
Under an authorized engagement, discover as completely as possible: backend APIs (paths, methods, parameters, response bodies), frontend routes, and UI feature trigger points (tabs, modals, table actions, etc.).
Boundaries and prohibitions (agents must read · violation means going out of bounds)
This skill only performs API / parameter-surface reconnaissance; it is not the vulnerability-hunting or exploitation phase.
Task boundaries
| Scope | Allowed | Prohibited |
|---|---|---|
| Target | Enumerate paths, methods, parameters, routes, UI trigger points | SQLi/XSS/privilege-escalation/brute-force/fuzz vulnerabilities, modified-packet attacks, destructive operations |
| Auth | Hook + stub/mock to bypass the client-side login gate | Asking the user for or guessing credentials; attempting real login form submissions |
| Runtime | Hook endpoints without credentials and use mock responses to get the SPA into its post-login shell | Flows that require a real backend session to continue |
Credential-free dynamic analysis (Phase 3 default)
- Use
preload.js/runtime_harvest.jsto intercept and stub bootstrap endpoints such as login, permissions, and menus; - Return mock bodies for business query endpoints that are structurally correct, carry a success business code, and may have empty data;
- Keep the frontend rendering post-login pages even without a backend or under 401s, thereby triggering more XHR/fetch/WebSocket traffic;
- Empty data, blank tables, and placeholder UI are all expected — do not switch to real login or vulnerability testing over them.
In one sentence: use mocks to pry open frontend routes and component mounting and record outbound requests only; what the backend returns does not matter — what matters is which other endpoints the frontend still calls.
Hard process prohibitions
| Prohibited | Do this instead |
|---|---|
grep/curl/Read the main entry index-*.js to extract API paths before Phase 1 completes |
Run OUTDIR/harvest_static.py |
Hand-writing harvest replacement scripts such as extract_apis.py |
Edit OUTDIR/harvest_static.py and rerun |
| Repeating the same grep/command after ≥2 failures | Switch strategy: read tool_logs, adjust harvest, consult reference |
Skipping gates A/B and running the originals straight from scripts/ |
Copy into OUTDIR and adapt to the target |
| Real usernames/passwords, OTP, OAuth and other authentication | stub/mock (see above) |
| Skipping stubs "to get real data" and running privilege-escalation/injection tests | Record outbound only; that is the recon boundary |
| Irreversible operations such as deletion, exporting sensitive data, or bulk writes | Same for clicks during coverage |
| Claiming all pages and endpoints are captured before runtime + dynamic enumeration complete | See "Definition of done" or note limitations |
| Claiming full parameter coverage before the parameter trigger matrix + diff are done | Phase 3b matrix + Phase 5 diff |
| Inferring required/optional from a single runtime sample | Multi-sample diff or validation rules / error-driven inference |
Two-layer model + run modes
| Layer | Output | Limits |
|---|---|---|
| Static (JS bundle) | Full endpoint paths, draft routes, payload-assembly field candidates | No HTTP methods; parameters need Phase 1b; misses runtime-assembled URLs |
| Runtime (live session) | Methods + bodies + responses + dynamic URLs + WS/SSE; multi-sample diff fills in parameters | Pages must actually render before requests fire; a single sample cannot settle required/optional |
| Run mode | Engine | Best for |
|---|---|---|
| depth | runtime_harvest.js (Puppeteer) |
API inventory, METHOD/params/response bodies, WS/SSE, reproducible batch runs |
| coverage | browser + preload.js |
Clicking tabs/modals/tables for deeper feature coverage |
| both | depth then coverage | Most complete, most time-consuming |
Parameter methodology (no universal script): paths via harvest/regex; parameters via anchor window expansion + UI binding chains + multi-sample diff + error-driven inference (grep recipes in reference.md section J).
Definition of done
Recon may only be declared complete when all of the following hold:
- Static: Phase 1 harvest produced
api_static.txt,routes.txt,js/ - Runtime: at least one of depth or coverage; coverage/both require working hooks + the dynamic enumeration loop
- Inside the shell: visiting business paths does not end up at
/login(watch out for hash routing) - Parameters: coverage/both completed the parameter trigger matrix +
param_samples.json; Phase 5 mergedparams_merged.json - Depth (if module pages are blank): Phase 4 permission-tree restoration and rerun until module-level APIs appear (not just locale/bootstrap)
- **Del
Установить api-recon в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл api-recon?
Invoke this skill when collecting a website's API endpoints.
Как установить скилл api-recon?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-recon запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic