Generate a skill from API documentation URL.
Creates API integration skills by automatically scraping and converting documentation URLs into functional code modules.
npx claudepluginhub jezweb/claude-skillsGenerate a skill from API documentation URL.
/scrape-api <docs-url> [skill-name]
/scrape-api https://api.example.com/docs my-api/scrape-api https://api.example.com/docsUse the api-doc-scraper agent to scrape API documentation and generate a skill.
Extract from command:
docs_url: The documentation URLskill_name: Provided name or derive from URLIf no skill name provided, derive from URL:
https://rocketdotnet.readme.io/ → rocket-net-api
https://api.elevenlabs.io/docs → elevenlabs-api
https://developers.facebook.com/docs/whatsapp → whatsapp-api
Check the URL is accessible:
WebFetch(url: "[docs_url]", prompt: "Is this a valid API documentation page? What API is it for?")
If invalid or not API docs:
⚠️ This doesn't appear to be API documentation.
URL: [docs_url]
Found: [what was found instead]
Please provide a direct link to the API reference/documentation.
Task(
subagent_type: "api-doc-scraper",
prompt: """
Scrape API documentation and generate a skill.
docs_url: [docs_url]
skill_name: [skill_name]
output_dir: skills/[skill_name]/
Follow the full workflow:
1. Recon - understand docs structure
2. Extract - get all endpoints, auth, examples
3. Generate - create skill files
4. Report - summarize what was created
"""
)
After agent completes:
# Check skill was created
ls -la skills/[skill_name]/
# Generate plugin manifest
./scripts/generate-plugin-manifests.sh [skill_name]
═══════════════════════════════════════════════
API SKILL CREATED
═══════════════════════════════════════════════
Skill: [skill_name]
Source: [docs_url]
Files:
skills/[skill_name]/
├── SKILL.md
├── README.md
└── references/
├── endpoints.md
└── auth.md
Endpoints: [count]
Test with:
/plugin install ./skills/[skill_name]
Review and edit:
code skills/[skill_name]/SKILL.md
═══════════════════════════════════════════════
If scraping fails:
⚠️ Scraping failed
URL: [url]
Error: [error details]
The site may:
- Require JavaScript (trying Playwright fallback...)
- Block automated requests
- Require authentication
Would you like to:
1. Try with Playwright (browser automation)
2. Provide authentication details
3. Try a different docs URL
4. Create skill manually
Your choice [1-4]:
/scrape-api https://rocketdotnet.readme.io/
→ Creates skills/rocket-net-api/
/scrape-api https://developers.facebook.com/docs/whatsapp/api whatsapp-business
→ Creates skills/whatsapp-business/
/scrape-api https://api.slack.com/methods slack-api
→ Creates skills/slack-api/
Version: 1.0.0 Last Updated: 2026-02-03