Use this skill to author or improve real AgentSkills.
Keep SKILL.md executable.
Move heavy explanation into references/.
Move repeated deterministic work into scripts/.
= the directory that contains the target SKILL.md. = the parent directory where a new skill folder should be created. = the scripts/ folder inside the skill-creator tool directory. = the patched SKILL.md text or the short self-check written during Step 6, emitted in the current output channel for the environment.| If the request contains | Then path is |
|---|---|
| ------------------------- | -------------- |
create a new skill, new skill called, build a skill named | new-skill |
restructure, reorganize, split into references, major rewrite | major-rewrite |
audit, review this skill, check skill quality | audit |
| otherwise | continue to step 2 |
small-local-edit only if all are true:SKILL.md changesscripts/, references/, or assets/ files are added or removedStop when one path is chosen.
Output: a short task note containing triggers, success path, edge cases, and before/after behavior.
Stop when the task note exists.
SKILL.md.scripts/.references/.assets/.scripts/ and record the destination.references/ and record the destination.assets/ and record the destination.Output: a short bulleted list mapping each target file or folder to its single purpose.
Stop when every recurring item has exactly one home.
python3 /init_skill.py --path [--resources scripts,references,assets] [--examples] and create the starting skill folder.Output: a normalized skill folder.
Stop when the skill folder contains only the files the skill actually needs.
name and description.description, say what the skill does and when to use it.scripts/, references/, and assets/ when the plan requires them, then output the drafted files.Read references/authoring-guide.md when you need authoring principles or folder-design rules. Purpose: guide structure.
Read references/progressive-disclosure.md when SKILL.md is getting long or supports multiple variants. Purpose: split content.
Read references/workflows.md when the task needs a reusable multi-step pattern. Purpose: choose workflow.
Read references/output-patterns.md when the skill must emit a specific artifact or report. Purpose: shape output.
Output: the drafted or revised skill files.
Stop when the skill files match the structure plan.
Read ... when ... Purpose: ... navigation cues for any reference file that a weaker model must load deliberately.Read references/weak-model-fallbacks.md when the skill being authored contains if appropriate, as needed, when necessary, or any step whose outcome depends on model judgment without a clear decision rule. Purpose: replace ambiguity with explicit fallback instructions.
Output: the hardened draft plus a 3-line compliance note formatted exactly as:
Read ... when ... Purpose: ... cues added, or none]None]Stop when the draft and the compliance note exist.
If all are true, skip deep review and write a 3-line self-check:
small-local-editSKILL.md was editedOtherwise run full dual-thinking review.
Runtime note: this path requires the dual-thinking skill to be installed and available in the user's environment.
dual-thinking is unavailable, emit exactly: REVIEW BLOCKED: dual-thinking skill not found. Run: clawhub install dual-thinking. If installation is not possible, ask the user whether to continue without deep review. Then stop the skill execution.SKILL.md text.Output: .
Stop when exists.
python3 /quick_validate.py .python3 /validate_weak_models.py .Output: validation results for both scripts.
Stop when both validators succeed, the remaining warnings are explicitly accepted, or the 2-cycle retry limit is hit.
PACKAGING_CHECKLIST.md when packaging or publishing is in scope. Purpose: verify release gate.python3 /package_skill.py ..skill archive was created.PACKAGING_CHECKLIST.md are satisfied, then output that confirmation.Output: a packaged .skill archive plus the checklist confirmation.
Stop when the package file exists and the checklist confirmation exists.
.clawhubignore exists before publishing. If it is missing, create it with this baseline: .clawhub/, __pycache__/, .git/, .env, .skill, temp/, node_modules/, coverage/, .diagnostics/, .sessions/, .profile/, .daemon-ws-endpoint. If it already exists, update it to include any missing baseline line. Output the final file.--slug, --name, --version, and --changelog, then output those values.clawhub skill publish --slug --name "" --version --changelog "<1-sentence summary>" , then output the exact command and the raw CLI result.Output: a published release or a deliberate no-publish decision.
Stop when publication is complete or intentionally skipped.
SKILL.md, scripts/, references/, or assets/, then record that decision.Output: an improved next version of the skill.
Stop after applying the user-supplied feedback, or immediately if no feedback was provided.
SKILL.md lean enough that navigation is cheap.references/ for deep explanations, schemas, and long examples.scripts/ for deterministic repeated operations.assets/ for files used in the final output.README.md, INSTALLATION_GUIDE.md, or CHANGELOG.md unless the real environment explicitly requires them.A skill is ready only when all are true:
If any item above is false, the skill is still in draft.
共 1 个版本