# Write a skill

> Write a skill is an open-source agent skill for developer tools. Guides an agent through drafting new SKILL.md folders with structure and descriptions. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/javimosch/supercli/tree/master/.agents/skills/write-a-skill
- **Repository:** https://github.com/javimosch/supercli
- **GitHub stars:** 58
- **License:** MIT
- **Skill name:** write-a-skill
- **Collection:** https://github.com/javimosch/supercli
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-05

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/javimosch/supercli/tree/HEAD/.agents/skills/write-a-skill)
- [License: MIT](https://github.com/javimosch/supercli/tree/HEAD/.agents/skills/write-a-skill)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.
- [Writing skills](https://ai-powered.com/skills/writing-skills-xiaolai): Writing skills is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-base44): Skill creator is an open-source agent skill for developer tools.
- [Write skill](https://ai-powered.com/skills/write-skill): Write skill is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-jdforsythe): Skill creator is an open-source agent skill for developer tools.
- [Skill writer](https://ai-powered.com/skills/skill-writer-ivy00johns): Skill writer is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Template skill](https://ai-powered.com/skills/template-skill): Template skill is an agent skill for developer tools.

---
Source: https://ai-powered.com/skills/write-a-skill
