Skill Creator

openclaw/openclaw/skills/skill-creator

作者 openclawd7d32dba09fa94c5e5c6620effb3538e46fe9ccf無授權條款394K 個星標收錄於 2026年11月20日更新於 2026年11月20日儲存庫今天更新

Author or review AgentSkills: create, repair, validate, or restructure SKILL.md files and bundled resources.

包含腳本AI 與代理程式
AI 產生的概覽

撰寫、修復、驗證與重構 AgentSkills,包含 SKILL.md、frontmatter 與隨附資源。

功能
以五步流程引導建立或修改 AgentSkill:確立契約與工作流程分支、選擇呼叫方式、組織 SKILL.md 及 references/scripts/assets 等資源、起草並保存、最後驗證。文件也說明必填與選用的 frontmatter 欄位。技能附帶驗證與打包腳本及其針對性測試。
適用情境
適用於建立新技能,或修復、驗證、重構既有的 SKILL.md 與其隨附資源。也適合在模型可探索與僅手動呼叫之間做選擇,或檢查 frontmatter 是否正確時使用。
執行需求
需要 Python 執行環境以執行隨附腳本(quick_validate.py、package_skill.py 及其測試)。需要存取正在撰寫的技能目錄;保存變更時提到使用工作區技能流程。

Skill Creator

Workflow

  1. Establish the contract.

    • Read the existing skill and its resources, or collect concrete requests for a new skill.
    • Separate actual workflow branches from synonyms for the same branch.
    • Done when: every branch has a concrete trigger, expected outcome, and persistence target.
  2. Choose invocation.

    • Model-discoverable: write a model-facing description; omit disable-model-invocation.
    • Manual-only: set disable-model-invocation: true; write a human-facing summary.
    • Direct tool command: add command-dispatch: tool, command-tool, and command-arg-mode only when the command bypasses the model.
    • Done when: frontmatter matches how the skill will actually be reached.
  3. Structure the skill.

    • Map shared ordered procedure to SKILL.md; end every step with a checkable completion criterion and finish with verification.
    • Keep routing conditions in description; start the body with execution.
    • Map branch-only detail to references/, repeatable helpers to scripts/, output resources to assets/, and optional UI metadata to agents/.
    • Done when: every planned resource has one purpose and a direct pointer from SKILL.md.
  4. Draft and persist.

    • Live workspace skill: use skill_workshop to create or revise a pending proposal; keep live files unchanged until apply.
    • Repository-owned skill source: use the repository's normal edit and review workflow.
    • Done when: the proposal or source diff implements every branch from step 1 and contains every resource from step 3.
  5. Validate.

    • Run python {baseDir}/scripts/quick_validate.py <skill-directory> and execute every touched helper's focused test.
    • Done when: frontmatter passes, resource pointers resolve, and every touched helper passes its focused test.

Frontmatter

Required: name, description.

OpenClaw also supports metadata, homepage, license, allowed-tools, user-invocable, disable-model-invocation, command-dispatch, command-tool, and command-arg-mode. Add optional fields only when they change runtime behavior or discovery.

來源與署名

來源:openclaw/openclaw位於skills/skill-creator提交d7d32db

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

在 README 中新增徽章

向讀者展示該技能已收錄於 SourceWeft,徽章連結到本頁。

「Listed on SourceWeft」徽章預覽
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-openclaw-openclaw-skill-creator-skills-skill-creator-60323bf02ac5c938.svg)](https://sourceweft.com/skills/gh-openclaw-openclaw-skill-creator-skills-skill-creator-60323bf02ac5c938?utm_source=readme&utm_medium=badge)

檢舉或申請下架