site2skill
Turn any documentation website into a Claude Agent Skill.
site2skill is a tool that scrapes a documentation website, converts it to Markdown, and packages it as a Claude Agent Skill (ZIP format) with a proper SKILL.md entry point.
Agent Skills are dynamically loaded knowledge modules that Claude uses on demand. They work across Claude Code, Claude apps, and the API.
Installation
Requirements:
- Python 3.10+
- wget: Must be installed and available in your PATH.
- macOS:
brew install wget - Linux:
apt install wget - Windows: Use WSL, or install via
choco install wget/scoop install wget
- macOS:
Install from PyPI
# Standard installation with pip
pip install site2skill
# Or with uv
uv tool install site2skill
Run without Installation
# Run directly with uvx
uvx site2skill <URL> <SKILL_NAME>
Install from GitHub (Latest)
pip install git+https://github.com/laiso/site2skill.git
uvx --from git+https://github.com/laiso/site2skill site2skill <URL> <SKILL_NAME>
Usage
# Basic usage
site2skill <URL> <SKILL_NAME>
# Example: Create a skill for PAY.JP
site2skill https://docs.pay.jp/v1/ payjp
# Example: Create a skill for uv documentation
site2skill https://docs.astral.sh/uv/ uv-docs
# Target specific agent (sets default output directory)
site2skill <URL> <SKILL_NAME> --target claude-desktop
CLI Options
site2skill <URL> <SKILL_NAME> [options]
Options:
--target Target agent (claude|claude-desktop|cursor|gemini|codex). Sets default output directory
--output, -o Base output directory for skill structure (overrides target default)
--skill-output Output directory for .skill file (default: .)
--temp-dir Temporary directory for processing (default: build)
--skip-fetch Skip the download step (use existing files in temp dir)
--clean Clean up temporary directory after completion
How it works
- Fetch: Downloads the documentation site recursively using
wget. - Convert: Converts HTML pages to Markdown using
beautifulsoup4andmarkdownify. - Normalize: Cleans up links and formatting.
- Validate: Checks the skill structure and size limits.
- Package: Generates
SKILL.mdand zips everything into a.skillfile.
Output
The tool generates a skill directory in .claude/skills/<skill_name>/ containing:
<skill_name>/
├── SKILL.md # Entry point with usage instructions
├── references/ # Markdown documentation files (preferred)
└── scripts/
└── search_docs.py # Search tool for documentation
Additionally, a <skill_name>.skill file (ZIP archive) is created in the current directory.
Legacy note: older skills may use docs/ instead of references/. The search tool and validator
now support both, preferring references/ when present.
Search Tool
Each generated skill includes a search script:
python scripts/search_docs.py "<query>"
python scripts/search_docs.py "<query>" --json --max-results 5
License
MIT
Metadata
Release files for site2skill 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| site2skill-0.1.1.tar.gz | 16.8 kB | Without provenance | Details for site2skill-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| site2skill-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for site2skill-0.1.1-py3-none-any.whl |
Total release size: 39.2 kB
Release files / site2skill-0.1.1.tar.gz
| Download URL | site2skill-0.1.1.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32b4457ace657b01d963a2084a6489066dab6801d48ebb89cec6491e0e141f04
|
|
BLAKE2b-256 checksum How to use checksums |
2711e6a71a126038f9fa45df6878c1f5ec9626c05482fd58f4cd3bed7a2b30ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / site2skill-0.1.1-py3-none-any.whl
| Download URL | site2skill-0.1.1-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3114fc9e3a95456c874e7928b5ca768b2197a027c05112068f96b31aa31c764d
|
|
BLAKE2b-256 checksum How to use checksums |
d2c1df406bed5503f5c0b8988e28cdbaa3323e8bb5234e400d24501476f39866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for site2skill 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.