happycapy-skill-creator
Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository. Handles environment constraints (Python 3.11, Node.js 24, no Docker). Use when user wants to create or adapt skills for specific tasks.
- License 许可
- MIT
- 最近更新
- 2026-06-24
- Stars
- ★ 67
- Forks
- 24
01 前言 Front Matter
- name
- happycapy-skill-creator
- description
- Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository. Handles environment constraints (Python 3.11, Node.js 24, no Docker). Use when user wants to create or adapt skills for specific tasks.
02 资源文件 20
- 其他pyproject.toml2.2 KB
- 参考文档README.md4.5 KB
- 参考文档references/bugfixes.md5.5 KB
- 参考文档references/happycapy-environment.md2.9 KB
- 参考文档requirements.txt236 B
- 脚本scripts/ai_gateway.py6.1 KB
- 脚本scripts/auto_fix_improved.py7.7 KB
- 脚本scripts/auto_fix.py5.5 KB
- 脚本scripts/check_compatibility.py5.8 KB
- 脚本scripts/clone_skill.py3.3 KB
- 脚本scripts/create_skill.py7.4 KB
- 脚本scripts/find_skills_integration.py4.0 KB
- 脚本scripts/integrate_feature.py6.9 KB
- 脚本scripts/package_skill.py1.2 KB
- 脚本scripts/search_implementation.py1.0 KB
- 脚本scripts/semantic_search.py6.1 KB
- 脚本scripts/test_skill.py1.2 KB
- 脚本tests/test_docker_compatibility.py1.8 KB
- 脚本tests/test_semantic_search.py2.4 KB
- 脚本tests/test_timeout_handling.py1.7 KB
03 SKILL.md 正文
HappyCapy Skill Creator
Automate skill creation through adaptation rather than building from scratch.
Workflow
python scripts/create_skill.py "Your requirement here" --name skill-name
Process:
- Search anthropics/skills for similar skills (semantic + LLM)
- Clone the closest match
- Add requested features using LLM
- Auto-fix HappyCapy compatibility (remove Docker, adapt dependencies)
- Package as
.skillfile
Core Scripts
create_skill.py
Main orchestrator - runs full workflow end-to-end
semantic_search.py
LLM-powered semantic search of anthropics/skills repository
clone_skill.py
Clone skill from GitHub (anthropics/skills)
integrate_feature.py
Add new features using LLM fine-tuning
check_compatibility.py
Scan for HappyCapy incompatibilities (Docker, unsupported runtimes, memory issues)
auto_fix.py
Auto-fix compatibility issues with LLM rewrites
package_skill.py
Create distributable .skill file (zip format)
Examples
Compress PDFs:
python scripts/create_skill.py "I need to compress PDF files"
# Finds pdf skill → Clones → Adds compress function → Packages
Extract video frames:
python scripts/create_skill.py "Extract frames from videos every second"
# Finds video-frames skill → Clones → Adds interval parameter → Packages
Environment Constraints
HappyCapy provides:
- ✅ Python 3.11, Node.js 24
- ✅ pandoc, ImageMagick, jq
- ✅ 4GB RAM, 2 CPU cores
HappyCapy does NOT support:
- ❌ Docker, Java, Ruby, Go
The tool automatically fixes incompatibilities.
Requirements
- Python 3.11+
AI_GATEWAY_API_KEYenvironment variable (auto-configured in HappyCapy)- Internet connection (to clone from anthropics/skills)
Advanced
Use improved auto-fix with batching:
from scripts.auto_fix_improved import fix_compatibility_issues
fix_compatibility_issues(
skill_path=path,
issues=issues,
batch_size=5, # Process 5 issues per batch
max_retries=2 # Retry failed fixes up to 2 times
)
Troubleshooting: See references/bugfixes.md for known issues and solutions
Environment details: See references/happycapy-environment.md