LS

laiso/site2skill

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

78 stars 품질 63 트렌드 18MIT

site2skill는 문서 웹 사이트를 긁는 도구이며, Markdown로 변환하고 적절한 SKILL.md 항목 포인트로 Claude Agent Skill (ZIP 형식)로 패키지합니다.

개요

site2skill는 문서 웹 사이트를 긁는 도구이며, Markdown로 변환하고 적절한 SKILL.md 항목 포인트로 Claude Agent Skill (ZIP 형식)로 패키지합니다. Agent Skills are dynamically loaded 지식 모듈 that Claude uses on demand. Claude Code, Claude 앱 및 API를 통해 작동합니다. 이것은 파이썬 3.10 + 및 wget을 필요로하는 안정적인 파이썬 버전 (0.1.x)을 설치합니다. Rust에서 다시 쓰기는 베타로 사용할 수 있습니다. 그것은 ~4x 더 빠르다, 아무 wget 의존도 없다, 그리고 하나의 바이너리로 배. 안정적인 버전에는 --version 플래그가 없습니다. 그래서 버전 문자열을 볼 경우 Rust 베타에 있습니다. 1. : 내장 된 async HTTP 크롤러 (robots.txt 준수, 동시) 문서 사이트. 2. : 스크레이퍼와 htmd를 사용하여 HTML 페이지를 Markdown로 변환합니다. 3.: 절대 URL에 관계되는 연결을 해결합니다. 4.: 기술 구조와 크기 한계를 검사하십시오. 5. : SKILL.md 및 zips를 .skill 파일로 생성한다. 도구는 기술 디렉토리를 생성합니다.

개요(AI 번역)

** Claude Agent Skill에 문서 웹 사이트를 켭니다.**

site2skill는 문서 웹 사이트를 긁는 도구이며, Markdown로 변환하고 적절한 SKILL.md 항목 포인트로 Claude Agent Skill (ZIP format)으로 패키지합니다.

Agent Skills are dynamically loaded 지식 모듈 that Claude uses on demand. Claude Code, Claude 앱 및 API를 통해 작동합니다.

설치

PyPI에서 설치 (테이블)

이것은 파이썬 3.10 + 및 wget을 필요로하는 안정적인 파이썬 버전 (0.1.x)을 설치합니다.

Rust 베타 시도

Rust에서 다시 쓰기는 베타로 사용할 수 있습니다. 그것은 ~4x 더 빠르다, 아무 wget 의존도 없다, 그리고 하나의 바이너리로 배.

또는 핀 버전:

Rust 버전을 실행합니다:

안정적인 버전에는 --version 플래그가 없습니다. 그래서 버전 문자열을 볼 경우 Rust 베타에 있습니다.

안정으로 돌아가기:

설치하지 않고 실행

소스에서 빌드

사용법

CLI 옵션

어떻게 작동합니까?

1.Fetch: 내장 async HTTP 크롤러 (robots.txt 준수, 동시) 문서 사이트. 2.Convert: 스크레이퍼와 htmd를 사용하여 HTML 페이지를 Markdown으로 변환합니다. 3. ** 정상화 **: 절대 URL에 상대적 링크 해결. 4. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

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

Install from PyPI (stable)

pip install site2skill

This installs the stable Python version (0.1.x), which requires Python 3.10+ and wget.

Try the Rust beta

A rewrite in Rust is available as a beta. It’s ~4x faster, has no wget dependency, and ships as a single binary.

pip install --pre site2skill

Or pin the version:

pip install 'site2skill==0.2.0b2'

Verify you’re running the Rust version:

site2skill --version
# site2skill 0.2.0-beta.2

The stable version has no --version flag, so if you see a version string, you’re on the Rust beta.

To go back to stable:

pip install 'site2skill<0.2'

Run without Installation

# Beta (Rust)
uvx --pre site2skill  

# Stable (Python, from legacy branch)
uvx --from 'git+https://github.com/laiso/site2skill@legacy' site2skill  

Build from Source

git clone https://github.com/laiso/site2skill.git
cd site2skill
cargo build --release
./target/release/site2skill --help

Usage

# Basic usage
site2skill  

# 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   --target claude-desktop

CLI Options

site2skill   [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)
  --max-concurrency  Maximum number of HTTP requests to run at once (default: 10)
  --skip-fetch       Skip the download step (use existing files in temp dir)
  --clean            Clean up temporary directory after completion
  --version          Print version (Rust beta only)

How it works

  1. Fetch: Crawls the documentation site with a built-in async HTTP crawler (robots.txt compliant, concurrent).
  2. Convert: Converts HTML pages to Markdown using scraper and htmd.
  3. Normalize: Resolves relative links to absolute URLs.
  4. Validate: Checks the skill structure and size limits.
  5. Package: Generates SKILL.md and zips everything into a .skill file.

Output

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add laiso/site2skill
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →