← 返回 Skills 市场
yuhang
作者
guangliang2233
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yuhang
功能描述
一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。
安全使用建议
This tool is coherent with its stated goal (cloning and scaffolding GitHub repos) but has multiple risky behaviors you should consider before installing or running it:
- Treat all cloned repositories as untrusted. Do not run their scripts or 'help' commands on your primary system; run verification in an isolated environment (container, VM) or inspect the code first.
- The forge script automatically loads .env files from its directory, parent, and the current working directory. Before running, ensure there are no sensitive .env files in those locations; prefer running in a clean/empty working directory.
- The script defaults to using third-party clone/API mirrors and a proxy. If you must use the tool, disable proxying or replace mirror lists with official hosts (api.github.com, github.com) to avoid leaking repo URLs/content to unknown domains.
- Review generated SKILL.md and any wrapper scripts the tool creates before allowing the agent to invoke them autonomously. Consider setting min_stars or enabling safety checks to reduce risk of scaffolding obscure/low-quality repos.
- If you require automated skill forging, run this tool in a sandboxed environment and audit the script (forge.py) entirely for any additional network calls or subprocess invocations not visible in the truncated snapshot.
If you want, I can: (1) highlight exact lines in scripts/forge.py that implement .env loading and mirror defaults, (2) suggest safe configuration edits to disable proxying and .env loading, or (3) produce a checklist for safely vetting a cloned repository before adding it as a skill.
功能分析
Type: OpenClaw Skill
Name: yuhang
Version: 1.0.0
The github-skill-forge bundle is a meta-tool designed to automate the conversion of arbitrary GitHub repositories into agent skills. While it serves a functional purpose, it exhibits several high-risk behaviors: it uses `subprocess.run` with `shell=True` to execute git commands, relies on multiple third-party mirrors (e.g., gitclone.com, ghproxy.net, kkgithub.com) for data retrieval, and provides instructions in `SKILL.md` that prompt the AI agent to execute unvetted code and install dependencies (e.g., `pip install`) from external sources. Although it includes a basic 'safety check' based on GitHub stars and attempts to protect the `GITHUB_TOKEN` by only sending it to official GitHub endpoints, the inherent design facilitates the execution of untrusted third-party code, creating a significant risk for remote code execution (RCE) and prompt injection.
能力评估
Purpose & Capability
The name/description align with the code and SKILL.md: it clones repositories, builds a skill scaffold, and generates context bundles — appropriate for a 'skill-forge'. However some default configuration entries (proxy/mirror hosts and automatic .env loading) are not strictly required to implement the stated purpose and broaden the tool's footprint.
Instruction Scope
SKILL.md explicitly instructs the agent to run the forge script to clone repos and then to run verification commands (e.g., `python3 .../src/sqlmap.py --help`) and edit generated SKILL.md. Executing repo code (even `--help`) and writing new scripts into .trae/skills means the agent may run arbitrary code from untrusted projects. The runtime instructions also suggest reading generated context files and editing SKILL.md — reasonable — but they give the agent discretion to run and validate upstream code, which is outside a narrow 'scaffold-only' scope and can lead to executing malicious code.
Install Mechanism
There is no install spec (instruction-only), which minimizes installation-time risk. The included scripts/forge.py will write to the agent's .trae/skills directory and perform network operations. That is expected for a forge tool, but because the script may fetch via non-standard mirrors/proxies (configured by default), network requests could be routed through third parties.
Credentials
The manifest declares no required environment variables, but the script proactively loads .env files from its directory, parent, and current working directory into os.environ. This can read sensitive host secrets unexpectedly. The SKILL.md documents environment variables for customization (SKILL_FORCE_NAME, SKILL_FILE_LIMIT, SKILL_DOC_TRUNCATE), which are reasonable, but automatic .env ingestion and proxy defaults (and an ability to toggle proxying) are disproportionate to the core task and can expose or leak sensitive values and metadata.
Persistence & Privilege
The skill is not always-enabled and does not request platform-wide privileges. It writes new skill directories under .trae/skills and may create scripts there — expected behavior for a scaffolding tool. That said, creating and then executing wrappers or running the upstream project's scripts increases the persistent attack surface on the host if generated code is not reviewed.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yuhang - 安装完成后,直接呼叫该 Skill 的名称或使用
/yuhang触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
111
元数据
常见问题
yuhang 是什么?
一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 yuhang?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuhang」即可一键安装,无需额外配置。
yuhang 是免费的吗?
是的,yuhang 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
yuhang 支持哪些平台?
yuhang 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 yuhang?
由 guangliang2233(@guangliang2233)开发并维护,当前版本 v1.0.0。
推荐 Skills