Co-Pilot / 辅助式
更新于 a month ago

codex-skills

Mmosif16
0.0k
mosif16/codex-skills
72
Agent 评分

💡 摘要

一个命令行工具,将任务路由到存储在markdown文件中的技能剧本。

🎯 适合人群

希望自动化任务的开发者协调基于技能工作流程的项目经理创建剧本的技术写作者设计基于技能学习模块的教育工作者

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

codex-skills

Small CLI that routes tasks to skill playbooks stored as SKILL.md files. The binary ships with two bundled skills (brand-guidelines, frontend-design) and can load any additional skills you add to a skills directory.

Install

  • From this repo: cargo install --path . --force
  • Confirm: codex-skills list

Build the binary

  • Release: cargo build --release
  • Debug (faster compile): cargo build
  • Binary output: target/release/codex-skills (or target/debug/codex-skills)
  • Run locally: ./target/release/codex-skills list

Quickstart (correct flag order)

The global options (like --skills-dir) must appear before the subcommand.

# use default ./skills folder codex-skills init --force codex-skills instructions codex-skills list codex-skills pick "your task description" --top 3 --show codex-skills show "<skill-name>" # use a custom skills directory codex-skills --skills-dir /path/to/skills init --force codex-skills --skills-dir /path/to/skills list

You can also set SKILLS_DIR=/path/to/skills instead of passing --skills-dir.

Adding a new skill

  1. Create a folder under skills/ with a slugged name (e.g., skills/my-new-skill).
  2. Add a SKILL.md file with YAML frontmatter followed by the playbook body:
--- name: My New Skill description: One-sentence summary of what this skill covers. tags: - keyword1 - keyword2 --- Write the detailed playbook here. Include step-by-step guidance the agent should follow.
  1. Keep the file name SKILL.md (case-insensitive variants skill.md also load).
  2. Test loading: codex-skills list and codex-skills show "My New Skill".

Notes:

  • The CLI searches recursively under the skills directory for SKILL.md files.
  • init --force writes the bundled example skills; it won’t overwrite your additions unless they share the same paths.
  • When embedding new default skills into the binary, place them in skills/ and rebuild (cargo install --path . --force).

Troubleshooting

  • “unexpected argument '--skills-dir'”: move the flag before the subcommand (see Quickstart).
  • “No skills found in skills”: ensure your SKILL.md files exist and are readable; run codex-skills list from the directory containing skills/ or point --skills-dir to it.
五维分析
清晰度8/10
创新性6/10
实用性7/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 通过markdown文件灵活管理技能
  • 易于添加新技能
  • 支持自定义技能目录

缺点

  • 需要熟悉命令行工具
  • 内置技能有限
  • 依赖于markdown格式的技能

相关技能

cc-wf-studio

A
toolCo-Pilot / 辅助式
80/ 100

“一个可视化工作流编辑器,可能会让编码感觉像是一场俄罗斯方块游戏。”

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 mosif16.