跳到正文
cccskills
免费在 GitHub 公开

create-skill

Create one new Muse skill with a self-contained SKILL.md and validate it. Build a project skill in the workspace, or prepare a personal skill draft with the command needed to install it.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create and validate a new Muse skill — project-local in the current workspace by default, or a personal skill staged for `muse skills install` into the managed personal root. Use ONLY when the user explicitly asks to create a Muse skill or invokes the create-skill skill. Do NOT use for ordinary skill usage, code changes, benchmark tasks, or third-party skill/plugin systems.

查看安装方法

适用场景

  • Create a skill for one Muse project
  • Prepare a personal skill for multiple projects
  • Turn requested procedures into a SKILL.md
  • Validate a new skill before use

包含的文件(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create Skill

Create one new Muse skill. Use this skill only for explicit Muse skill creation requests, not for ordinary skill usage, code changes, benchmark tasks, or third-party skill/plugin systems.

Two scopes exist (ADR 8975):

  • Project scope (the default): the skill lives in the current workspace at .agents/skills/<skill-id>/.
  • Personal scope (the user asked for a "personal", "user", or "cross-project" skill): the skill belongs in the managed personal root $CONFIG_DIR/skills/<skill-id> ($XDG_CONFIG_HOME/muse, else $HOME/.config/muse). You stage and validate the draft in the workspace, then hand the user one muse skills install command — the store performs the managed install (files + provenance), so skills update and skills uninstall keep working on it.

Never write to a foreign harness root (~/.codex/skills, ~/.claude/skills) or to $HOME/.agents/skills — those are import-only sources, never write targets. Never write directly into $CONFIG_DIR/skills either: the store owns that write, through the install command below.

Scope

  • Create exactly one directory: .agents/skills/<skill-id>/ (project scope) or the staging directory .agents/skill-drafts/<skill-id>/ (personal scope — deliberately OUTSIDE .agents/skills/, so the draft is not loaded as a project skill).
  • Create exactly one required file: <that directory>/SKILL.md.
  • Do not create a plugin, install a plugin, enable a skill, trust a plugin, execute the generated skill, fetch remote content, or write outside the current workspace.
  • Do not add scripts, assets, references, or extra files unless the user explicitly asks for them and the target remains inside the new skill directory.

Inputs

Before writing files, identify:

  • scope: project (default) or personal — personal only when the user asked for a personal/user/cross-project skill.
  • skill-id: a portable lowercase identifier for the directory and frontmatter name.
  • description: one clear sentence for the frontmatter.
  • body: concise instructions that make the generated skill useful on its own.

Ask a short clarification question if the user did not provide enough information to choose a safe skill-id and useful behavior.

Safety Checks

Reject the request before writing when:

  • the destination is not under .agents/skills/ (project scope) or .agents/skill-drafts/ (personal staging) in the current workspace;
  • the requested final destination is a foreign harness root (~/.codex/skills, ~/.claude/skills), $HOME/.agents/skills, or any absolute path outside the two sanctioned roots and the personal staging destination (the workspace .agents/skills/ tree, $CONFIG_DIR/skills/<skill-id>, and .agents/skill-drafts/<skill-id>) — explain the sanctioned path instead;
  • the ID is empty, ., .., contains / or \, starts with -, or contains anything except ASCII lowercase letters, digits, hyphen, or underscore;
  • the ID is a Windows reserved stem such as con, prn, aux, nul, com1, com2, com3, com4, com5, com6, com7, com8, com9, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, or lpt9;
  • the destination already exists, is a symlink, or any parent resolves outside the current workspace.

Creation Steps

Use normal file and shell tools with the current workspace as the base. <dir> below is .agents/skills/<skill-id> (project scope) or .agents/skill-drafts/<skill-id> (personal scope).

  1. Check that <dir> does not exist.

  2. Create its parent (.agents/skills or .agents/skill-drafts) if needed.

  3. Reserve the leaf directory with a no-replace operation. If another process wins the race, stop and report incomplete.

  4. Recheck that the reserved directory resolves inside the current workspace and is not a symlink.

  5. Write <dir>/SKILL.md.

  6. Run:

    muse skills validate <dir> --json
    
  7. Treat the draft as complete only when the validator succeeds, returns valid: true, and reports zero diagnostics or warnings.

  8. If validation fails, correct the same draft and revalidate. Stop after three correction rounds and report the remaining validator output as incomplete.

Generated SKILL.md

Use this shape:

---
name: <skill-id>
description: <one sentence>
---

# <Readable Skill Name>

<Instructions for when and how to use the skill.>

Keep the generated instructions direct and self-contained. Include only behavior the user asked for or that is necessary for the skill to work.

Completion Report

On success, report:

  • the canonical path to the created directory;

  • the validator command and clean result;

  • that no install, enable, trust, or execution step was run;

  • personal scope only: the one command that finishes the managed install into the personal root — run by the user, so the skills store records the install provenance itself:

    muse skills install .agents/skill-drafts/<skill-id>
    

    and that the staging directory can be deleted after the install succeeds.

On failure, report:

  • what operation failed;
  • the destination if it was reserved;
  • the remaining diagnostics or tool error;
  • which checks were not completed.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

3d-object

免费

Create a 3D object with three.js, inspect it from every angle in an interactive viewer, and download it as OBJ + MTL or GLB for use in other 3D applications.

中文简介正在准备中。当前显示英语简介。

  • Create a 3D object and inspect it from every angle
  • Export a model for further editing in Blender
  • Review an object's silhouette and materials
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Maintain a private task list with deadlines, next steps, waiting parties, and blockers. Update progress and dependencies, merge duplicate items, and archive closed tasks so ongoing commitments stay clear and easy to follow.

中文简介正在准备中。当前显示英语简介。

  • Record tasks and commitments with deadlines
  • Track pending replies and reasons work cannot proceed
  • Update task dependencies when prerequisites are completed
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Create animated HTML pages with smooth scene transitions and playback controls. An editable timeline lets users adjust scene lengths and speeds, with fixed landscape or portrait layouts prepared for video export.

中文简介正在准备中。当前显示英语简介。

  • Create an animated product walkthrough
  • Explain a message through moving text and graphics
  • Build a portrait animation for video export
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Review synced Apple Health records, including steps, heart rate, sleep, and workouts. Retrieve daily summaries or detailed samples for a chosen period, and check sync status and missing data before interpreting the results.

中文简介正在准备中。当前显示英语简介。

  • Review daily steps and heart rate over time
  • Check sleep stages, duration, and awakenings
  • Review workout duration, distance, and calories
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Create and edit Word documents and templates, reorganize text, replace images, and work with tracked changes or comments. Apply proper headings and lists, then render every page to check its appearance before delivery.

中文简介正在准备中。当前显示英语简介。

  • Create a structured Word document
  • Reorganize content in an existing document
  • Replace images or text in a document
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

查看 asgeirtj 的全部技能

报告此技能的问题