ProfessorGPTProfessorGPT
Reference

SKILL.md Examples You Can Copy and Paste

Complete, real SKILL.md files you can copy and paste straight into your skills folder — with the full source visible and a note on why each one works. Every example runs in Claude Code, Codex, and Gemini CLI.

4 min read Updated Oct 15, 2026 Beginner
§1First principles

What a SKILL.md example actually is

A skill is a folder with a SKILL.md file: YAML frontmatter (name + description) and a Markdown body of instructions. It is not the "skills" section of a résumé — that's an unrelated meaning of the word. Every example below is a complete, working agent skill you can copy as-is.

§2Example 1

Example 1: Commit Message Writer

Writes clean, conventional commit messages from a staged diff.

SKILL.md
---
name: commit-message-writer
description: Writes a Conventional Commits message from the staged diff. Use when the user asks to write or improve a commit message.
---

# Commit message writer

1. Read the staged diff.
2. Pick the type: feat, fix, docs, refactor, test, or chore.
3. Write a summary line of at most 72 characters, in imperative mood.
4. Add a short body only if the change needs context, explaining why.

Why it works

The description contains the exact phrases people type — "commit message", "write", "improve" — so a request like "improve this commit message" matches on the first try.

§3Example 2

Example 2: Code Review Checklist

Reviews a diff in a fixed, repeatable order.

SKILL.md
---
name: code-review-checklist
description: Reviews a diff for correctness, security, and style in a fixed order. Use when the user asks to review code or a pull request.
---

# Code review checklist

1. Correctness: logic, edge cases, error handling.
2. Security: input validation, authorization, secrets.
3. Tests: are the changes covered?
4. Style: naming and consistency, last.
5. End with approve or request-changes and a one-line summary.

Why it works

A fixed order turns a vague request into a repeatable procedure — the agent can't skip security just because the diff looks small.

§4Example 3

Example 3: README Generator

Drafts a README from a project's files.

SKILL.md
---
name: readme-generator
description: Generates a README from the project structure and package metadata. Use when the user asks to write or update a README.
---

# README generator

1. Detect the stack from manifest files such as package.json or pyproject.toml.
2. Write sections: title, what it does, install, usage, license.
3. Include a runnable quick-start command.
4. Keep it scannable — short paragraphs and code blocks.
§5Example 4

Example 4: Deploy Checklist (manual-only)

Some skills should never fire on their own — anything with side effects, like a deploy. This one adds one Claude Code field to make it manual-only.

SKILL.md
---
name: deploy-checklist
description: Walks through the pre-deploy checks and the deploy itself for this project. Use only when the user explicitly runs the deploy checklist.
disable-model-invocation: true
---

# Deploy checklist

1. Confirm the branch is main and up to date with origin.
2. Run the test suite; stop if anything fails.
3. Check that pending database migrations are reviewed.
4. Deploy, then verify the health endpoint returns 200.

One field, agent-specific

disable-model-invocation: true is a Claude Code field: the skill runs only when you type /deploy-checklist. In Codex the equivalent is allow_implicit_invocation: false in the skill's agents/openai.yaml. Agents that don't know the field simply don't use it.

§6Portability

The same skill across Claude, Codex, and Gemini CLI

Every example above is model-agnostic. Install the same folder into:

SKILL.mdone file
  • Claude Code~/.claude/skills/<name>/
  • Codex~/.agents/skills/<name>/
  • Gemini CLI~/.gemini/skills/<name>/

…and other agents that read the open standard, such as GitHub Copilot, Cursor, and VS Code.

Fig. 1 — One SKILL.md, many agents: copy the folder into each agent's skills directory.
AgentInstall path
Claude Code~/.claude/skills/<name>/SKILL.md
Codex~/.agents/skills/<name>/SKILL.md
Gemini CLI~/.gemini/skills/<name>/SKILL.md
Antigravity CLI~/.gemini/antigravity-cli/skills/<name>/SKILL.md

See the Claude, Codex, and Gemini CLI guides for project folders and the exact steps.

§7Make it yours

Adapt an example into your own skill

1. Rename it

Change the folder and the name together — they must stay identical.

2. Rewrite the description

Use the words you type when you ask for this job, and add when not to use it if you have similar skills.

3. Edit the steps

Replace generic steps with your team's real rules: your commit types, your review order, your deploy commands.

4. Test it

Ask for the job naturally and check that the agent picks the skill. If it doesn't, the description is the thing to fix.

Want more starting points? Use the Skill Builder to generate one from your own inputs, or browse the full catalog of ready-made skills.

Before you install an example

  • You read the whole file, top to bottom
  • Folder name and name match
  • The description uses your own trigger words
  • Steps reflect your real rules, not the example's
  • Tested with one natural request

Frequently asked questions

Where can I find real SKILL.md examples?+
The four complete examples on this page (commit message writer, code review checklist, README generator, deploy checklist) are copy-paste ready. The public ProfessorGPT catalog has thousands more, each with its full source visible.
How do I install one of these examples?+
Create a folder named after the skill in your agent's skills directory (~/.claude/skills, ~/.agents/skills, or ~/.gemini/skills) and save the example inside it as SKILL.md.
Do these examples work in every agent?+
Yes — they use the open SKILL.md standard, so the same file works in Claude Code, Codex, Gemini CLI, and Antigravity. Only the install folder differs. The deploy checklist's manual-only field is Claude Code-specific; other agents don't use it.
How do I make a skill run only when I ask for it?+
In Claude Code, add disable-model-invocation: true to the frontmatter; the skill then runs only when you type its slash command. In Codex, set allow_implicit_invocation: false in the skill's agents/openai.yaml.
Can I edit an example?+
Absolutely. Change the name, description, and steps to fit your workflow, or generate a custom one with the free Skill Builder.

Build your skill now

Generate a standard SKILL.md in seconds — no YAML by hand.