返回 Skill 列表
extension
分类: 开发与工程无需 API Key

"skills-builder"

从文档网站构建Claude Code技能。抓取Mintlify、ReadTheDocs/Sphinx、Docusaurus、GitBook和静态HTML站点。生成格式正确的SKILL.md和参考文件。使用场景:从文档创建技能,抓取文档,从URL生成参考资料。

person作者: jakexiaohubgithub

Skills Scraper

Build Claude Code skills directly from documentation websites.

Quick Start

pip install requests beautifulsoup4 lxml playwright
playwright install chromium

python scripts/build.py https://mintlify.com/docs mintlify-docs

Supported Platforms

| Platform | Description | Browser | | ------------- | ------------------------ | ------- | | mintlify | Mintlify-powered docs | Yes | | readthedocs | ReadTheDocs/Sphinx sites | No | | docusaurus | Docusaurus/React docs | Yes | | gitbook | GitBook-powered sites | Yes | | generic | Static HTML sites | No | | auto | Auto-detect (default) | - |

Usage

python scripts/build.py <url> <name> [options]

Options:

  • -o, --output - Output directory (default: ./skills)
  • -p, --platform - Platform (default: auto)
  • --max-pages N - Limit pages (0 = unlimited)
  • --max-depth N - Max crawl depth (default: 10)
  • --no-browser - Disable Playwright
  • --no-sitemap - Disable sitemap discovery
  • -v, --verbose - Verbose output

Examples

# Mintlify
python scripts/build.py https://resend.com/docs resend-api

# ReadTheDocs/Sphinx
python scripts/build.py https://flask.palletsprojects.com/en/stable/ flask-docs

# Docusaurus
python scripts/build.py https://reactnative.dev/docs/getting-started react-native

# GitBook
python scripts/build.py https://docs.cortex.io cortex-docs

# Static HTML
python scripts/build.py https://docs.python.org/3/ python-docs -p generic

Output Structure

skill-name/
├── SKILL.md           # Metadata + instructions
└── references/        # Documentation files
    ├── api.md
    ├── getting-started.md
    └── ...

Requirements

  • Python 3.10+
  • requests, beautifulsoup4, lxml
  • playwright (for JS-rendered sites)