Skip to content
Skill

Write a skill

Guides an agent through drafting new SKILL.md folders with structure and descriptions

Write a skill is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
58
Last commit
License
MIT
Listing updated

Similar skills

About Write a skill

This skill walks the agent through creating a new agent skill from scratch. It starts by gathering requirements from the user about the task domain, the use cases to cover, whether executable scripts are needed, and any reference materials to bundle. It then drafts a SKILL.md with concise instructions, optional reference files for content that grows past about 500 lines, and utility scripts for deterministic operations.

The skill supplies a folder layout, a SKILL.md template with frontmatter, and guidance on writing the trigger description that agents use to choose a skill. It recommends keeping the main file short, splitting content into separate files when it grows, and keeping references one level deep. A review checklist covers triggers, consistent terminology, concrete examples and avoiding time-sensitive details.

It expects no scripts or external tools. The agent works from the conversation with the user and writes plain files into the skill folder.

When your agent uses it

Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/write-a-skill to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/write-a-skill &&
cp -R "$tmp/.agents/skills/write-a-skill" ~/.claude/skills/write-a-skill &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/write-a-skill inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/write-a-skill to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/write-a-skill &&
cp -R "$tmp/.agents/skills/write-a-skill" ~/.agents/skills/write-a-skill &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/write-a-skill inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/write-a-skill to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/write-a-skill &&
cp -R "$tmp/.agents/skills/write-a-skill" ~/.cursor/skills/write-a-skill &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/write-a-skill inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/javimosch/supercli.git --path .agents/skills/write-a-skill

Or copy the folder to ~/.gemini/skills/write-a-skill yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/write-a-skill:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/write-a-skill &&
cp -R "$tmp/.agents/skills/write-a-skill" ~/.copilot/skills/write-a-skill &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/write-a-skill inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/javimosch/supercli.git

Then copy supercli/.agents/skills/write-a-skill into your agent's skills folder as write-a-skill. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Requirements gathering
Lists the questions to ask the user about domain, use cases, scripts and reference material before drafting.
Skill folder layout
Shows the recommended structure of a skill folder with SKILL.md, optional reference files and a scripts directory.
SKILL.md template
Provides a starter frontmatter and section outline for a new main instruction file.
Trigger description guidance
Explains how to write a short description that states the capability and when to use it.
File splitting rules
Describes when to move content into separate files and when to add utility scripts.
Review checklist
Offers a final checklist covering triggers, length, terminology and examples.

Good for

  • Create a new skill for reviewing pull requests
  • Turn my team's deployment notes into an agent skill
  • Draft a SKILL.md for a PDF form-filling workflow
  • Check whether an existing skill description includes clear triggers
  • Split a long skill file into reference documents

Write a skill FAQ

What does Write a skill need to run?

It needs no scripts or extra tools. The skill is instructions that guide the agent while it writes a new skill folder.

When does the agent load Write a skill?

When the user wants to create, write or build a new skill, according to its description.

What does Write a skill produce?

A new skill folder with a SKILL.md and, when needed, reference files and utility scripts.

How do I install Write a skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/write-a-skill to use it in all your projects, or to .claude/skills/write-a-skill in one project.

Does Write a skill run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Write a skill?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Write a skill?

The closest alternatives to Write a skill are Skill creator, Writing skills, Skill creator, Write skill and Skill creator.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from javimosch/supercli

  1. Makes the agent reply in terse, token-saving fragments without losing technical accuracy

    • Open source
    • 58 GitHub stars
    • AI models and LLM tooling
  2. Guides agents to index large codebases and long outputs through the context-mode MCP

    • Open source
    • 58 GitHub stars
    • Developer tools
  3. Walks the agent through a structured six-phase loop for diagnosing hard bugs

    • Open source
    • 58 GitHub stars
    • Developer tools
  4. Makes the agent interview you one question at a time to stress-test a plan

    • Open source
    • 58 GitHub stars
    • Productivity
  5. Stress-tests a plan against your project's domain language and documented decisions

    • Open source
    • 58 GitHub stars
    • Developer tools
  6. Condenses the current conversation into a handoff document for a fresh agent

    • Open source
    • 58 GitHub stars
    • Developer tools