用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Enriquefft/nixos --skill skill-scaffold命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | skill-scaffold |
| description | Scaffold new OpenClaw skills with correct directory structure, SKILL.md, and run.ts template. |
| user-invocable | false |
Use this skill when:
NEVER do any of these instead of using this skill:
/etc/nixos/openclaw/skills/./run.ts create --name "my-tool" --description "What this tool does"
./run.ts --help
/etc/nixos/openclaw/skills/<name>/
├── SKILL.md # Discovery doc (edit triggers and examples after scaffolding)
└── run.ts # Executable CLI template (implement your logic here)
SKILL.md — add "When to use" triggers, examples, output formatrun.ts — the template has parseArgs, help, JSON output readymodule.nix (the skill tells you the exact line to add)bun install if the skill needs external packages (add a package.json)sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /etc/nixos#nixos{ "action": "created", "name": "my-tool", "path": "/etc/nixos/openclaw/skills/my-tool", "files": ["SKILL.md", "run.ts"], "nextSteps": ["Edit SKILL.md with triggers and examples", "Implement logic in run.ts", "Add symlink to module.nix"] }
基于 SOC 职业分类