技能创造者
- 作者仓库星标 122
- 许可证 MIT
- 作者仓库 Happycapy-skills
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @happycapy-ai · MIT
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需手动接入
- 是否需要外部接口密钥
- 需要 · Vendor-specific
- 兼容的系统
- Docker
- 运行环境要求
- Node.js · Python >=3.11 · Docker
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
python scripts/create_skill.py "I need to compress PDF files"
# Finds pdf skill → Clones → Adds compress function → Packages
# HappyCapy Skill Creator
Automate skill creation through **adaptation** rather than building from scratch.
## Workflow
```bash
python scripts/create_skill.py "Your requirement here" --name skill-name
```
**Process:**
1. Search anthropics/skills for similar skills (semantic + LLM)
2. Clone the closest match
3. Add requested features using LLM
4. Auto-fix HappyCapy compatibility (remove Docker, adapt dependencies)
5. Package as `.skill` file
## 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:**
```bash
python scripts/create_skill.py "I need to compress PDF files"
# Finds pdf skill → Clones → Adds compress function → Packages
```
**Extract video frames:**
```bash
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_KEY` environment variable (auto-configured in HappyCapy)
- Internet connection (to clone from anthropics/skills)
## Advanced
**Use improved auto-fix with batching:**
```python
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`
章节与文件索引
按说明文件中的顺序排列。
工作流程
创建技能.py
语义搜索.py
克隆技能.py
集成特征.py
文件/命令 -> .skill · AI_GATEWAY_API_KEY · references/bugfixes.md · references/happycapy-environment.md
内容校验值 -> ba2921344daa
当前原文的自动摘译,尚未人工审校。
工作流程
流程:在人类/技能中搜索相似技能(语义+LLM)克隆最接近的匹配使用LLM添加请求的功能自动修复HappyCapy兼容性(删除Docker,调整依赖项)
创建技能.py
主编排器 - 端到端运行完整的工作流程
语义搜索.py
LLM 支持的人类/技能存储库语义搜索
克隆技能.py
来自 GitHub 的克隆技能(anthropics/skills)
集成特征.py
使用 LLM 微调添加新功能