Skip to main content
skill CX Codex

api-recon-and-docs — Claude Code skill: what it does, how to install

A playbook skill for mapping REST, mobile, and GraphQL API surfaces. It finds hidden routes, OpenAPI schemas, and legacy version drift before testing.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add yaklang/hack-skills --skill api-recon-and-docs -a claude-code
Open on GitHub

What api-recon-and-docs does

The skill guides the agent through an API mapping checklist. It inspects standard specification paths such as /swagger.json, /openapi.json, and /.well-known/. It also extracts candidate endpoints directly from client-side JavaScript files using regular expressions.

During review, the skill looks for undocumented parameters, admin-only request samples, and deprecated routes like /legacy/ or /api/v1/. It flags schema clues like additionalProperties: true. This approach spots forgotten endpoints that bypass modern controls.

Next steps depend directly on the recon results. If object IDs appear across endpoints, the skill directs the agent toward BOLA checks. If JWT or OAuth claims surface, it hands off to authorization workflows.

What it helps with

  • discover reachable REST and GraphQL endpoints
  • locate exposed OpenAPI and Swagger specifications
  • extract undocumented parameters and deprecated routes
  • detect API version drift and mobile paths

Example prompts for the agent

  • Audit the API surface and find any exposed OpenAPI or Swagger schemas.
  • Extract undocumented parameters and legacy endpoints from our app bundle.
  • Enumerate GraphQL and mobile API routes on the target service.

How to install api-recon-and-docs

1Skills CLI (Vercel)

npx skills add yaklang/hack-skills --skill api-recon-and-docs -a claude-code

2Manually: put the files in place

~/.claude/skills/api-recon-and-docs/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/api-recon-and-docs/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about api-recon-and-docs

How to install api-recon-and-docs in Claude Code?

Run npx skills add yaklang/hack-skills --skill api-recon-and-docs -a claude-code in your terminal. The file is placed in ~/.claude/skills/api-recon-and-docs/SKILL.md.

What does api-recon-and-docs do?

It provides a checklist to discover endpoints, versions, and schemas across REST and GraphQL services. The skill highlights hidden fields and drift across legacy or mobile routes.

How does api-recon-and-docs route findings to other skills?

It maps discoveries to follow-up playbooks. Object IDs trigger BOLA audits, while token claims route directly to JWT and authorization testing.

Source text

SKILL.md · MIT
---
name: api-recon-and-docs
description: >-
  API reconnaissance and documentation review playbook. Use when discovering endpoints, schemas, versions, OpenAPI specs, hidden docs, and surface area for API testing.
---

# SKILL: API Recon and Docs — Endpoints, Schemas, and Version Surface

> **AI LOAD INSTRUCTION**: Use this skill first when the target is a REST, mobile, or GraphQL API and you need to enumerate endpoints, documentation, versions, and hidden surface area before exploitation.

## 1. PRIMARY GOALS

1. Discover all reachable API entrypoints.
2. Extract schemas, optional fields, and role differences.
3. Identify old versions, mobile paths, GraphQL endpoints, and undocumented parameters.

## 2. RECON CHECKLIST

### JavaScript and client mining

```bash
curl https://target/app.js | grep -oE '(/api|/rest|/graphql)[^"'\'' ]+' | sort -u
```

### Common documentation and schema paths

```text
/swagger.json
/openapi.json
/api-docs
/docs
/.well-known/
/graphql
/gql
```

### Version and product drift

```text
/api/v1/
/api/v2/
/api/mobile/v1/
/legacy/
```

## 3. WHAT TO EXTRACT FROM DOCS

- optional and undocumented fields
- admin-only request examples
- deprecated endpoints that may still be active
- schema hints like `additionalProperties: true`
- parameter names tied to filtering, sorting, IDs, roles, or tenancy

## 4. NEXT ROUTING

| Finding | Next Skill |
|---|---|
| object IDs everywhere | [api authorization and bola](../api-authorization-and-bola/SKILL.md) |
| JWT, OAuth, role claims | [api auth and jwt abuse](../api-auth-and-jwt-abuse/SKILL.md) |
| GraphQL or hidden fields | [graphql and hidden parameters](../graphql-and-hidden-parameters/SKILL.md) |
| strong auth boundary but suspicious business flow | [business logic vulnerabilities](../business-logic-vulnerabilities/SKILL.md) |

© yaklang · MIT · yaklang/hack-skills

Similar skills

Everything for Security →

From the same set93

xss-cross-site-scripting A skill that feeds your coding agent non-obvious XSS vectors: context-specific payloads, WAF and CSP bypass. CX Codex +1 3,900installs waf-bypass-techniques A skill offering WAF evasion methods for injection testing. It guides payload mutation through encoding, chunked requests, and parser discrepancies. CX Codex +1 3,800installs api-auth-and-jwt-abuse A playbook for probing bearer tokens, API keys and claim trust. Useful when an API leans on JWT or request headers for identity. CX Codex +1 3,800installs 401-403-bypass-techniques A playbook for access-denied responses: what to try when an admin panel or API endpoint answers 401 or 403. CX Codex +1 3,800installs idor-broken-object-authorization A testing playbook for IDOR, BOLA and BFLA: where object identifiers hide, how to run A-B tests, and how to chain a finding into privilege escalation. CX Codex +1 3,800installs jwt-oauth-token-attacks A skill for Claude and other AI editors that walks through attacks on JWT tokens and OAuth 2.0 flows. Useful when you need to check how an app trusts tokens and keys. CX Codex +1 3,800installs authbypass-authentication-flaws Testing playbook for authentication flaws. It guides assessments of login flows, password reset logic, account enumeration, brute-force protections, and MFA bypasses. CX Codex +1 3,800installs ssrf-server-side-request-forgery A skill for reviewing SSRF in features that fetch URLs, resolve hostnames, import remote content, or reach internal services. CX Codex +1 3,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor