← 返回
开发者工具 中文

Nima Skill Creator

Create, refactor, and improve Codex-compatible skills with gated requirement discovery, reusable resource planning, executable scaffolding scripts, and valid...
创建、重构和改进与Codex兼容的技能,包含门控需求发现、可复用资源规划、可执行脚手架脚本及有效...
nimachu
开发者工具 clawhub v0.1.1 2 版本 99853.4 Key: 无需
★ 0
Stars
📥 681
下载
💾 52
安装
2
版本
#latest

概述

Nima Skill Creator

Treat skill creation as workflow design, not just file formatting.

Start Here

  1. Ground the skill in 2-4 concrete user requests before writing structure.
  2. Choose the simplest fitting pattern from design-patterns.md.
  3. Create only the resources that remove repeated work: scripts/, references/, assets/, and optionally agents/openai.yaml.
  4. Keep SKILL.md procedural and concise. Move deep detail into references/.
  5. Validate before packaging.

Do not create the skill body until the trigger examples, outputs, and reusable resources are clear.

Phase 1: Discovery Gate

Run this phase first. Do not jump into implementation until the gaps below are resolved.

Capture:

  • What inputs the future skill must handle.
  • What outputs it must reliably produce.
  • What a user would actually say to trigger it.
  • Whether the skill is new or an update to an existing folder.

Ask in Chinese when the user is exploring requirements. Keep it short and concrete. Use the prompts in interaction-guide.md if the request is underspecified.

Before moving on, summarize:

  • Primary job of the skill.
  • Trigger phrases or task shapes.
  • Constraints or quality bar.
  • Target directory.

Phase 2: Pattern Selection

Choose one primary pattern, then add a secondary pattern only if it removes ambiguity.

  • Use design-patterns.md to map the request to tool-wrapper, generator, reviewer, inversion, or pipeline.
  • Use inversion when the agent must collect structured context before acting.
  • Use generator when output shape must stay consistent.
  • Use reviewer when evaluation criteria should live in a checklist.
  • Use pipeline when steps must happen in order with explicit checkpoints.
  • Use tool-wrapper when the main value is on-demand domain guidance.

For most skill-creation requests, combine:

  • inversion for discovery
  • generator for scaffolding
  • reviewer for validation
  • pipeline for the overall sequence

Phase 3: Resource Planning

Translate the examples into reusable artifacts.

  • Put deterministic automation in scripts/.
  • Put long-lived, load-on-demand guidance in references/.
  • Put templates or starter files in assets/.

Use best-practices.md to tighten naming, frontmatter, and progressive disclosure. Use workflows.md to shape staged skills with gates.

Avoid:

  • Auxiliary docs like README.md, PROJECT.md, or status reports inside the skill folder.
  • Repeating the same guidance in both SKILL.md and references/.
  • Deep reference chains.

Phase 4: Implementation

When creating a new skill, initialize it with the provided scripts instead of hand-building the folder.

Create a new skill

python3 scripts/init_skill.py my-skill --path "${CODEX_HOME:-$HOME/.codex}/skills" --resources scripts,references

Optional:

python3 scripts/init_skill.py my-skill --path /path/to/skills --resources scripts,references,assets --examples --interface display_name="My Skill" --interface short_description="Create or update My Skill tasks"

Validate a skill

python3 scripts/validate_skill.py /path/to/skill

Package a skill

python3 scripts/package_skill.py /path/to/skill

Phase 5: Review Gate

Before calling the skill done, verify:

  • Frontmatter has only name and description.
  • description explains both function and trigger scenarios.
  • SKILL.md tells the agent what to do, not what the project is.
  • Every optional directory exists for a reason.
  • Scripts are real, runnable programs.
  • References are one hop away from SKILL.md.

If the skill still feels vague, run another discovery pass instead of adding filler.

Output Shape

When responding to a user about a skill you are creating or improving, prefer this order:

  1. Discovery summary
  2. Chosen pattern and why
  3. Planned resources
  4. Files created or changed
  5. Validation result

Use output-patterns.md when you need a compact deliverable format.

版本历史

共 2 个版本

  • v0.1.1 当前
    2026-03-29 17:36 安全 安全
  • v0.1.0
    2026-03-26 22:19

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Super Ocr

nimachu
生产级OCR,智能引擎选择。Tesseract轻量快速,PaddleOCR高精度且中文优化。适用于文本提取。
★ 1 📥 877
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,532