Loading...
Loading...
Automated factory that converts GitHub repositories into standardized AI Skills. This tool is used when users provide a GitHub URL and want to "package", "wrap", or "create a Skill". It supports automatic retrieval of repository metadata, generation of standard directory structures, and injection of extended metadata required for lifecycle management.
npx skill4agent add echoleesong/claude-skills-plugin skill-factorygit ls-remote/skill-factory <github_url>scripts/fetch_github_info.pypython scripts/fetch_github_info.py <github_url>{
"name": "repo-name",
"owner": "owner",
"url": "https://github.com/owner/repo",
"latest_hash": "abc123...",
"default_branch": "main",
"description": "Repository description",
"readme": "README content..."
}scripts/create_skill.pypython scripts/create_skill.py <json_file_or_string> <output_dir>skill-name/
├── SKILL.md # Main Skill file (with extended metadata)
├── scripts/
│ └── wrapper.py # Placeholder script
├── references/
│ └── .gitkeep
└── assets/
└── .gitkeep---
name: skill-name
description: Detailed description including trigger conditions
# Lifecycle management fields (required)
source_url: https://github.com/owner/repo
source_hash: abc123def456...
version: 0.1.0
created_at: 2026-01-23
updated_at: 2026-01-23
evolution_enabled: true
# Optional fields
entry_point: scripts/wrapper.py
dependencies:
- dependency1
- dependency2
---| Script | Function |
|---|---|
| Retrieve GitHub repository metadata (lightweight, no clone required) |
| Create standardized Skill directory structure |
| Full import of GitHub repository as local Skill (supports parallel download) |
--no-source# Basic usage
python scripts/import_github_skill.py <github_url> <output_dir>
# Custom name
python scripts/import_github_skill.py <github_url> <output_dir> --name my-skill
# Do not retain source information (as a new local Skill)
python scripts/import_github_skill.py <github_url> <output_dir> --no-source
# Combination usage
python scripts/import_github_skill.py https://github.com/user/repo ./skills --name my-skill --no-source# Import and rename
python scripts/import_github_skill.py https://github.com/PenglongHuang/chinese-novelist-skill ./skills --name chinese-novelist --no-sourcesource_hashUser: /skill-factory https://github.com/yt-dlp/yt-dlp
Agent:
1. Run fetch_github_info.py to retrieve repository information
2. Analyze README to understand yt-dlp is a video download tool
3. Run create_skill.py to create directory
4. Refine SKILL.md and add common command examples
5. Implement wrapper.py to encapsulate download functionalityUser: Package https://github.com/kkroening/ffmpeg-python into a Skill
Agent:
1. Retrieve repository information
2. Analyze README to understand this is Python bindings for FFmpeg
3. Create Skill directory
4. Refine documentation and add common conversion examples
5. Implement wrapper.py to encapsulate common operations