REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化技能的全过程,是扩展 AI Agent 能力的核心工具。
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/skills/yangyuhou-github-skill-forge)같은 작업에서 AI를 서비스에 연결하는 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
같은 종류의 작업, Skill 목록과 같은 순서
| 이 항목 github-skill-forge | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 제작자 | YangYuHou | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 수 | 1 | 1 | 1 | 1 | 1 |
| GitHub 별 | 1,058 | 463,670 | 233,682 | 148,887 | 143,987 |
| 마지막 코드 변경 | 2026년 1월 23일 | 2026년 11월 17일 | 2026년 4월 20일 | 2026년 11월 17일 | 2026년 11월 16일 |
| 라이선스 | – | MIT | – | Apache-2.0 | MIT |
YangYuHou의 Skill(지시 묶음) 1개, AI가 읽고 그대로 일해요 · MCP server가 아니에요
MCP = 손
AI를 외부 서비스나 데이터에 연결합니다(예: Notion 읽기, 청구서 만들기). 프로그램이나 서버가 실행 중이어야 합니다.
Skill = 안내서
작업 방법을 AI에게 가르치는 텍스트 파일. 어떤 서비스에도 연결되지 않습니다.
겹치는 경우도 있습니다. 도구를 부르는 스크립트가 있는 Skill도, 지식만 보내는 MCP도 있습니다. 하려는 작업을 기준으로 고르세요.
제작자가 밝히지 않음 · SKILL.md 형식 Skill은 Claude Code, Codex, Cursor 같은 Agent Skills 지원 앱에서 써요
GitHub account YangYuHou (person), 2 years old
★ 1,058 stars · code last changed 2026년 1월 23일
1 scripts that can run on a computer: scripts/forge.py
Scripts that go online: scripts/forge.py
No hooks or writes to machine settings found
Checked automatically from the repo files at commit a4d9926 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
먼저: 어떤 AI를 쓰시나요
쓰는 앱을 고르면 그 앱의 설치 방법만 보여 드립니다
This skill has no license, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier
Download from GitHub (whole repo) ↗
Unzip it, then zip only the github-skill-forge folder again. The ZIP must have a github-skill-forge folder with SKILL.md at the top level, no loose files
+Create skillUpload a skillpick github-skill-forge.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026년 11월 12일 · Source: support.claude.com, support.claude.com, code.claude.com
이 문장을 복사해 Claude Code 채팅에 붙여 넣으세요
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Claude Code를 다시 열고 /github-skill-forge를 입력하거나 관련 작업을 요청하면 Claude가 알아서 써요
Checked against official docs 2026년 11월 12일 · Source: code.claude.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
직접 설치한 Skill은 ChatGPT 데스크톱 앱, Codex CLI, IDE의 Codex 확장 프로그램에서 쓸 수 있습니다 · 웹과 모바일의 ChatGPT에서는 직접 설치한 Skill을 쓸 수 없고 디렉터리의 플러그인에 들어 있는 Skill만 쓸 수 있습니다
ChatGPT 데스크톱 앱에는 Codex가 들어 있고, Codex는 ~/.agents/skills 폴더에서 Skill을 읽습니다
ChatGPT 데스크톱 앱에서 Codex를 열고 이 문장을 채팅에 붙여 넣으세요
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
github-skill-forge 폴더를 ~/.agents/skills/github-skill-forge에 넣으세요
~는 홈 폴더($HOME)입니다
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
직접 설치한 Skill은 쓸 수 없고, 디렉터리의 플러그인에 들어 있는 Skill만 쓸 수 있습니다
이 Skill을 ChatGPT에서 쓰려면 위 방법대로 ChatGPT 데스크톱 앱을 쓰세요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
이 문장을 복사해 Codex 채팅에 붙여 넣으세요 · ChatGPT 데스크톱 앱 안의 Codex, Codex CLI, IDE 확장 프로그램에서 모두 쓸 수 있습니다
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex는 새로 설치한 Skill을 스스로 찾습니다. 보이지 않으면 Codex를 다시 시작하세요 · 쓰는 법: ChatGPT에서는 @를 입력하고 Skill을 고르세요 · Codex CLI나 IDE 확장 프로그램에서는 /skills를 실행하거나 $ 뒤에 Skill 이름을 입력하세요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
이 문장을 복사해 Cursor 채팅에 붙여 넣으세요
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Cursor Agent 채팅에서 /를 입력하고 github-skill-forge 선택
Checked against official docs 2026년 11월 12일 · Source: cursor.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
Skill을 읽을 수 있는 다른 앱용입니다. 이 문장에는 Claude Code, Codex, Cursor 경로가 들어 있어 AI가 쓰는 앱에 맞게 고릅니다 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026년 11월 12일 · Source: code.claude.com, learn.chatgpt.com, cursor.com
Gemini CLI, GitHub Copilot 같은 다른 Agent Skills 지원 앱은 폴더가 달라요. 그 앱 안내를 보고 SKILL.md가 있는 폴더를 복사하세요.
2026년 11월 11일에 Claude Code, Codex, Cursor 공식 안내로 skill 폴더 확인
아래 글은 제작자 repo에서 온 것이며 PopNx MCP의 지시가 아니에요
처음 8,000자 표시 · GitHub에서 전체 파일 열기
---
name: github-skill-forge
description: 一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。
tags: ["github", "skill-forge", "meta-skill", "automation", "integration", "CLI", "scaffolding",
"Lite-RAG", "context-aggregation", "repository-clone", "skill-management", "tool-integration",
"开源集成", "技能锻造", "元技能", "自动化工具", "CLI工具集成", "脚手架", "上下文聚合",
"工具安装", "GitHub工具", "能力扩展", "智能代理", "工作流自动化"
]
---
# GitHub 技能锻造厂
一个"制造技能的技能"。这个工具自动化了将 GitHub 仓库转换为标准化 Trae 技能的过程。
## 核心功能
### 1. 自动化脚手架
- 一键克隆 GitHub 仓库
- 自动创建标准技能目录结构
- 自动生成上下文聚合文件
### 2. Lite-RAG 上下文聚合
- 自动提取项目文件树结构
- 自动解析 README 和文档
- 自动收集依赖项信息(requirements.txt, package.json, pyproject.toml)
- 生成单一上下文文件供 Agent 快速理解
### 3. 智能错误处理
- 代理模式自动切换
- 目录存在性检测
- Git 克隆失败自动重试
### 4. 标准化输出
- 自动生成符合规范的技能结构
- 统一的目录布局(scripts/, references/, context_bundle.md)
- 预置 SKILL.md 模板
## 快速开始
### 安装要求
```bash
# 基础依赖
Python 3.7+
Git
```
### 基本使用
```bash
# 语法: python scripts/forge.py <URL> [SKILL_NAME]
python3 .trae/skills/github-skill-forge/scripts/forge.py "https://github.com/username/repo"
```
## 使用场景
- 当你想使用在 GitHub 上找到的工具时
- 当用户发送 GitHub 链接并说"我想用这个"时
- 需要"安装"新功能到 `.trae/skills` 库时
- 需要快速集成开源工具到工作流时
- 需要标准化团队工具使用规范时
## 工作流程
### 步骤 1:锻造框架
运行脚手架脚本来克隆仓库、创建结构并生成上下文包。
```bash
# 基础用法
python3 .trae/skills/github-skill-forge/scripts/forge.py "https://github.com/username/repo"
# 指定技能名称
python3 .trae/skills/github-skill-forge/scripts/forge.py "https://github.com/username/repo" "my-custom-skill"
```
### 步骤 2:分析与定稿(AI 任务)
脚本会在新的技能文件夹中生成 `context_bundle.md`。你(作为 Agent)必须:
1. **读取上下文包**:查看 `context_bundle.md`
- 这个文件包含文件树、README 和依赖项
- 不需要手动搜索文件
- 建议限制读取前 500 行开始
2. **更新 SKILL.md**:重写新技能目录中的草稿
- **描述**:总结工具的功能
- **先决条件**:列出安装命令(如 `pip install -r src/requirements.txt`)
- **用法**:提供使用 `src/...` 运行工具的清晰示例
3. **创建包装脚本(可选)**:
- 如果工具需要复杂参数,在 `.trae/skills/<new_skill>/scripts/` 中编写简化的 Python/Shell 脚本
### 步骤 3:验证
运行工具的帮助命令以确保其正常工作。
```bash
python3 .trae/skills/<new_skill>/src/<main_script>.py --help
```
## 使用示例
### 示例 1:基础使用
用户:"安装这个仓库:https://github.com/sqlmapproject/sqlmap"
Agent 操作:
1. 运行锻造脚本
```
python3 .trae/skills/github-skill-forge/scripts/forge.py https://github.com/sqlmapproject/sqlmap
```
2. Agent 读取上下文包
```
read .trae/skills/sqlmap/context_bundle.md
```
3. Agent 编辑 SKILL.md
```
edit .trae/skills/sqlmap/SKILL.md
```
4. Agent 运行验证
```
python3 .trae/skills/sqlmap/src/sqlmap.py --help
```
### 示例 2:指定技能名称
```bash
python3 .trae/skills/github-skill-forge/scripts/forge.py "https://github.com/requests/requests" "http-requests-lib"
```
这将创建一个名为 `http-requests-lib` 的技能目录。
### 示例 3:复杂项目
用户:"我想用这个工具做数据可视化:https://github.com/mwaskom/seaborn"
Agent 操作:
1. 运行锻造脚本
2. 读取 `context_bundle.md` 了解 seaborn 的 API
3. 识别依赖项(numpy, pandas, matplotlib)
4. 编写简化的使用脚本到 `scripts/` 目录
5. 更新 SKILL.md 添加使用示例
### 示例 4:CLI 工具安装
用户:"我想用 fzf 这样的模糊查找工具:https://github.com/junegunn/fzf"
Agent 操作:
1. 运行锻造脚本
2. 分析 fzf 的功能:
- 读取 context_bundle.md 了解核心功能
- 识别依赖(Go 环境)
- 了解安装方式(多平台支持)
3. 创建简化的使用脚本:
- `scripts/fuzzy-search.py` - 简化文件搜索
- `scripts/history-search.py` - 命令历史搜索
4. 更新 SKILL.md:
```markdown
## 使用方法
### 基本文件搜索
```bash
python3 scripts/fuzzy-search.py
```
### 命令历史搜索
```bash
python3 scripts/history-search.py
```
## 依赖项
- Go 1.22+(从源码编译)
- 或使用预编译二进制文件
## 安装命令
```bash
# macOS
brew install fzf
# Linux
sudo apt install fzf
# Windows
choco install fzf
```
```
### 示例 5:数据处理工具
用户:"安装 jq 这样的 JSON 处理工具:https://github.com/jqlang/jq"
Agent 操作:
1. 运行锻造脚本
2. 读取 context_bundle.md
3. 创建简化的包装脚本:
- `scripts/json-format.py` - JSON 格式化
- `scripts/json-query.py` - JSON 查询工具
4. 更新 SKILL.md:
```markdown
## 使用示例
### 格式化 JSON
```bash
cat data.json | python3 scripts/json-format.py
```
### 查询 JSON 路径
```bash
python3 scripts/json-query.py "data.json" ".users[0].name"
```
```
## 高级用法
### 手动创建上下文包
如果需要重新生成上下文包:
```python
from forge import create_context_bundle
create_context_bundle("./src", "./context_bundle.md")
```
### 自定义文件树限制
修改 `forge.py` 中的 `limit` 参数:
```python
def get_file_tree(start_path, limit=100): # 增加限制到 100 个文件
...
```
### 批量安装多个技能
```bash
# 创建一个批量安装脚本
for url in "https://github.com/fzf" "https://github.com/jqlang/jq" "https://github.com/sharkdp/bat"; do
python3 .trae/skills/github-skill-forge/scripts/forge.py "$url"
done
```
### 自定义模板
你可以通过环境变量定制生成的内容:
```bash
# 自定义默认技能名
export SKILL_FORCE_NAME="custom-skill"
# 自定义文件限制
export SKILL_FILE_LIMIT=100
# 自定义文档截断大小
export SKILL_DOC_TRUNCATE=20000
```
## 故障排除
### 问题 1:克隆失败
**症状**:
```
❌ Git clone failed: fatal: Could not read from remote repository.
```
**解决方案**:
1. 检查 URL 是否正确
2. 确保网络连接正常
3. 尝试使用代理模式(脚本自动处理)
4. 验证 Git 认证(如果需要)
```bash
git config --global credential.helper store
```
### 问题 2:目录已存在
**症状**:
```
⚠️ Warning: Skill directory 'xxx' already exists.
❌ Aborting: Directory exists.
```
**解决方案**:
1. 使用不同的技能名称
```bash
python3 forge.py <URL> new_skill_name
```
2. 或手动删除已存在的目录后重试
```bash
rm -rf .trae/skills/xxx
```
### 问题 3:依赖项缺失
**症状**:
```
ModuleNotFoundError: No module named 'xxx'
```
**解决方案**:
1. 在 SKILL.md 中明确列出依赖项
2. 提供安装命令
3. 创建 requirements.txt(如果原项目没有)
4. 检查 Python 版本兼容性
### 问题 4:上下文包过大
**症状**:
生成的 `context_bundle.md` 超过预期大小
**解决方案**:
脚本已自动截断超过 10KB 的文档,如需更详细的上下文可手动查看源文件。
### 问题 5:权限错误
**症状**:
```
Permission denied: '.trae/skills/xxx'
```
**解决方案**:
1. 检查目录权限
```bash
ls -la .trae/skills/
```
2. 修复权限
```bash
chmod -R 755 .trae/skills/
```
### 问题 6:Git LFS 文件
**症状**:
```
Git LFS: (1 of 1 files) 0 B / 100.00 MB
```
**解决方案**:
1. 安装 Git LFS
```bash
git lfs install
```
2. 手动拉取 LFS 文件
```bash
git lfs pull
```
## 最佳实践
### 1. 技能命名规范
- 使用小写字母和连字符
- 长度控制在 3-50 个字符
- 避免使用保留字
### 2. SKILL.md 编写规范
- 保持简洁,只包含必要信息
- 详细内容放在 `context_bundle.md`
- 使用中文标题,英文命令
- 提供可执行的示例代码
### 3. 包装脚本创建
- 简化复杂命令行接口
- 提供默认参数
- 添加错误处理
- 支持 `-h/--help` 参数
### 4. 依赖项管理
- 明确列出所有依赖
- 指定版本范围
- 提供多平台安装方式
### 5. 验证测试
- 在发布前运行所有示例
- 测试不同操作系统
- 验证依赖安装正确性
## 技能结构规范
### 标准目录结构
```
.trae/skills/
└── <skill-name>/
├── SKILL.md # 技能说明文档
├── context_bundle.md # 上下文聚合(自动生成)
├── requirements.txt # 依赖项(可选)
├── src/ # 源代码
│ └── <main-script>
├── scripts/ # 包装脚本(可选)
│ └── <helper-scripts>
└── references/ # 参考文档(可选)
└── <documentation>
```
### SKILL.md 模板
```markdown
---
name: <skill-name>
description: <简短描述>
---
# <技能名称>
## 功能特性
- <特性1>
- <特性2>
## 使用要求
- <依赖项1>
- <依赖项2>
## 安装方法
```bash
<安装命令>
```
## 使用方法
### 基本用法
```bash
<基本命令>
```
## 高级用法
### <高级功能>
```bash
<高级命令>
```
## 故障排除
### 问题
<解决方案>
## 更新日志
- <版本>:<更新内容>
```
## 性能优化
### 1. 减少克隆深度
```bash
# 使用浅克隆
git clone --depth 1 <url>
```
### 2. 跳过不必要的文件
```python
# 在 forge.py 中添加
SKIP_DIRS = ['.git', '.github', 'docs', 'test']
SKIP_FILES = ['*.md', '*.txt']
```
### 3. 并行处理
```python
# 使用多线程处理多个任务
import concurrent.futures
with concurrent.futures.ThreadPoolExecutor() as executor:
executor.submit(process_file, file1)
executor.submit(process_file, file2)
```
## 安全性考虑
### 1. 验证仓库来源
- 检查仓库的 stars 和 forks 数量
- 查看最近的提交记录
- 检查维护者的活跃度
### 2. 依赖项安全
- 检查已知漏洞
- 使用依赖扫描工具
- 定期更新依赖
### 3. 代码执行安全
- 在隔离环境中测试
- 限制文件系统访问
- 记录所有操作日志
## 集成建议
### 1. CI/CD 集成
```yaml
# .github/workflows/skill-test.yml
name: Test Skills
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt
- name: Test skill
run: python3 src/main.py --help
```
### 2. 自动化更新
```bash
# 定期更新技能脚本
0 0 * * 0 cd /path/to/skills && python3 github-skill-forge/scripts/forge.py <url>
```
## 相关资源
- [fzf - 命令行模糊查找器](https://github.com/junegunn/fzf)
- [awesome-cli-apps - CLI 应用精选](https://github.com/agarrharr/awesome-cli-apps)
- [GitHub CLI 官方文档](https://cli.github.com/)
## 注意事项
- 脚질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.