← Back to Skills Marketplace
yuhang
by
guangliang2233
· GitHub ↗
· v1.0.0
· MIT-0
94
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yuhang
Description
一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yuhang - After installation, invoke the skill by name or use
/yuhang - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
111
Metadata
Frequently Asked Questions
What is yuhang?
一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。 It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install yuhang?
Run "/install yuhang" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is yuhang free?
Yes, yuhang is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does yuhang support?
yuhang is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created yuhang?
It is built and maintained by guangliang2233 (@guangliang2233); the current version is v1.0.0.
More Skills