Skill creator

From gabrielmoreira/agent-skills-mirror · View interactive version

Skill creator is an AI agent skill from the GitHub repository gabrielmoreira/agent-skills-mirror. Create or improve OpenChatCut custom skills. Use whenever the user asks to create a skill, capture a workflow as a skill, write a SKILL.md, add a reusable workflow, 创建技能, 把流程做成技能, 写一个技能, or improve an existing custom skill. Pushy: treat any workflow the user repeats as a skill candidate, even if the

How to use this skill

Skill file

Skill Creator

Create or improve custom skills for OpenChatCut. A skill is a SKILL.md file

(plus optional references/ support docs) that teaches the agent a reusable

workflow. Custom skills live at ~/.openchatcut/skills/<slug>/SKILL.md and

are managed with the manage_skill tool.

Workflow

  1. Capture intent. If the current conversation already contains the

workflow (tools used, steps, corrections), extract it from the history

first. Confirm with the user before writing.

  1. Interview. Pin down:

extraction, fixed steps, generation pipelines) or subjective output

(writing style)? Suggest test prompts for the former.

  1. Write the SKILL.md (rules below).
  2. Create it with manage_skill action=create. The tool reports the

install path (~/.openchatcut/skills/<slug>/SKILL.md).

  1. Test. Run 2–3 realistic prompts in the current session and confirm

results with the user. Iterate with manage_skill action=update.

SKILL.md anatomy

<slug>/
├── SKILL.md (required — frontmatter + instructions)
└── references/ (optional — docs loaded on demand with load_skill file=)

digits, hyphens only). It becomes the load_skill name.

AND specific trigger contexts. Skills undertrigger easily, so be

explicit: list concrete user phrases. "When to use" goes here, not in

the body.

split detail into references/ files and point to them with clear

"read this when" guidance. For references over 300 lines, add a TOC.

Writing rules

parser accepts plain single-line, double-quoted, and | block scalars;

plain single-line is preferred.

MUST-laden lists. Use examples with concrete Input/Output pairs.

(manage_skill, load_skill, edit_item, …). Do not invent tools.

anything that surprises the user. Do not create skills that facilitate

unauthorized access or data exfiltration.

times. If a fix feels fiddly, generalize the instruction instead of

piling on constraints.

Progressive disclosure in OpenChatCut

bundled skill after activation.

Environment constraints

(path traversal defense — the file is written under

~/.openchatcut/skills/).

normalize before trusting anything parsed out of it.

only when the user selects it; agents also discover it via the index.

npx tsx server/skills-files.verify.ts locally if the environment has

the repo, or rely on the in-session test prompts.

Test prompts

Offer the user 2–3 realistic prompts (the kind of thing they would actually

type) and ask: "Do these look right, or do you want to add more?" Then run

them in the session with the skill activated, review the outputs together,

and update the skill from the feedback.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.