Agent 生成器
- 作者仓库星标 122
- 许可证 MIT
- 作者仓库 Happycapy-skills
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
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @happycapy-ai · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需手动接入
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- Docker
- 底层运行要求
- Node.js · Python >=3.11 · Docker
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Process: Search anthropics/skills for similar skills (semantic + LLM) Clone the closest match
Core Scripts
Main orchestrator - runs full workflow end-to-end
LLM-powered semantic search of anthropics/skills repository
Clone skill from GitHub (anthropics/skills)
Add new features using LLM fine-tuning
# 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
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Workflow → Core Scripts → createskill.py → semanticsearch.py → cloneskill.py → integratefeature.py
要点 -> adaptation · Process · Compress PDFs · Extract video frames · Use improved auto-fix with batching · Troubleshooting · Environment details
文件/命令 -> .skill · AIGATEWAYAPIKEY · references/bugfixes.md · references/happycapy-environment.md
内容 SHA-256 -> ba2921344daa
方法与流程
适用与边界
原文中的明确线索
.skill、AIGATEWAYAPIKEY、references/bugfixes.md、references/happycapy-environment.md