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)

举报或申请下架