diff --git a/skills/skill-creator/SKILL.md b/skills/skill-creator/SKILL.md index 84b4bf27..5021a00b 100644 --- a/skills/skill-creator/SKILL.md +++ b/skills/skill-creator/SKILL.md @@ -93,14 +93,25 @@ Do NOT create auxiliary documentation files: **Critical Rule**: Only create files that the agent will actually execute (scripts) or that are too large for SKILL.md (references). Documentation, examples, and guides ALL belong in SKILL.md. -## Installing a Skill from URL +## Installing a Skill -1. Fetch the URL content (curl or web_fetch tool) +Install target directory: `/skills//` (the `` is from the "工作空间" section). + +### Step 1 — Obtain skill content + +| Source | Action | +|---|---| +| URL (single file) | Fetch content via curl or web_fetch | +| URL (zip/archive) | Download and extract to a temp directory | +| Local file (SKILL.md) | Read directly | +| Local archive (zip) | Extract to a temp directory | + +### Step 2 — Identify and install + +1. Locate the SKILL.md (may be at top level or inside a subdirectory) 2. Extract `name` from YAML frontmatter -3. Create directory `/skills//` and save content as `SKILL.md` -4. Check the saved SKILL.md for an installation/setup section — if it defines additional steps (e.g., downloading scripts, installing dependencies), execute them; otherwise installation is complete - -The `` is the working directory from the "工作空间" section. +3. Copy the **entire skill directory** (SKILL.md and all sibling files/folders such as `references/`, `scripts/`, `assets/`, etc.) into `/skills//` +4. If an install/setup file exists (e.g. INSTALL.md), follow its instructions — the final result must still end up in `/skills//` ## Skill Creation Process (from scratch)