skill-creator
@dkyazzentwatwa · 收录于 1 周前
Create or update agent skills with concise SKILL.md instructions, bundled resources, agent metadata, validation, and packaging. Use when building or refactoring skills.
适合你,如果你需要构建或重构 agent 技能
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add dkyazzentwatwa/chatgpt-skills/skill-creator/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dkyazzentwatwa/chatgpt-skills/skill-creator/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dkyazzentwatwa/chatgpt-skills/skill-creator安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
70GitHub stars
~356最小装载
~2.9K含声明引用
~5.1K文本包总量
镜像托管
怎么用
技能原文 SKILL.md
Skill Creator
Design or refactor skills so they are small, triggerable, and mechanically valid.
Workflow
- Define the exact user requests that should trigger the skill.
- Keep
SKILL.mdshort and put deep detail inreferences/. - Add only the scripts, assets, or references that make execution materially more reliable.
- Generate
agents/openai.yamland validate before packaging.
Scripts
scripts/init_skill.pyinitializes a new skill with optional resource folders andagents/openai.yaml.scripts/generate_openai_yaml.pywritesagents/openai.yamlfrom explicit interface values.scripts/quick_validate.pyenforces strict frontmatter, directory naming, agent metadata, and script dependency rules.scripts/package_skill.pyvalidates first, then zips the skill for distribution.
Rules
- Keep frontmatter to
nameanddescriptiononly. - Make
descriptiondo the trigger work: what the skill does and when to use it. - Match the folder name exactly to
name. - Prefer one focused workflow over a kitchen-sink skill.
- Remove placeholder files and generic boilerplate before publishing.
Typical Commands
python3 skill-creator/scripts/init_skill.py my-skill --path . python3 skill-creator/scripts/generate_openai_yaml.py my-skill \ --interface display_name="My Skill" \ --interface short_description="One-line summary" \ --interface default_prompt="Help me use this skill." python3 skill-creator/scripts/quick_validate.py my-skill python3 skill-creator/scripts/package_skill.py my-skill ./dist
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…