ProfessorGPTProfessorGPT
Reference

SKILL.md Template: Copy-Paste, Generate and Download

A ready SKILL.md template with correct YAML frontmatter — copy the starter below, fill the live generator, or grab a domain-specific template. Everything here follows the open standard, so it works in Claude Code, Codex, and Gemini CLI.

6 min read Updated Oct 15, 2026 Beginner
§1Start here

The minimal SKILL.md template

Start from this copy-paste skeleton. Replace the placeholders and you have a valid skill in every agent that follows the open standard:

SKILL.md
---
name: my-skill
description: What this skill does and when the agent should use it.
---

# My skill

Step-by-step instructions the agent should follow:

1. ...
2. ...
3. ...

Save it as SKILL.md inside a folder with the same name as name — my-skill/SKILL.md — and put that folder in your agent's skills directory.

Fig. 1 — What the template fills in: the required file. The three folders beside it are optional.
§2The fields

SKILL.md frontmatter fields explained

The open standard defines two required fields and four optional ones:

FieldRequired?Rules and tips
nameYes1–64 characters: lowercase letters, numbers, and hyphens; no leading, trailing, or double hyphens; same as the folder name
descriptionYes1–1,024 characters. Say what the skill does and when to use it, with the words a user would type
licenseNoA license name such as MIT, or the name of a bundled license file
compatibilityNoUp to 500 characters on what the skill needs — a product, packages, network access. Most skills skip it
metadataNoFree-form key–value pairs. Put author and version here
allowed-toolsNoExperimental. Tools the skill may use without asking — a pre-approval, not a restriction

allowed-tools doesn't sandbox anything

In Claude Code, allowed-tools only pre-approves the listed tools for the turn that runs the skill; every other tool stays callable under your normal permission rules. Use it to save prompts, never as a security boundary.

Agent-specific extras. Agents add their own fields on top of the standard. Claude Code reads disable-model-invocation (manual-only skills), user-invocable, when_to_use, and paths, among others; Codex reads an optional agents/openai.yaml file inside the skill folder for a display name, icon, and invocation policy. Claude Code silently skips fields it doesn't recognize, and other agents simply don't use another agent's extras. For strict, validator-clean portability, the standard's home for anything extra is metadata.

ProfessorGPT catalog fields. If you publish to ProfessorGPT, add category (one of our categories, such as coding, devops, security, writing, or productivity) and tags (3–6 lowercase keywords, hyphenated). They decide where your skill appears in the catalog; without a category it lands in "other".

§3Ready to publish

A fuller, publishable SKILL.md

The same skeleton with the optional fields filled in — valid in any agent, and ready for the ProfessorGPT catalog:

SKILL.md
---
name: code-reviewer
description: Reviews a diff for bugs, security issues, and style. Use when the user asks to review code or a pull request.
license: MIT
metadata:
  author: your-handle
  version: "1.0.0"
category: coding
tags: [code-review, security, pull-requests]
---

# Code reviewer

1. Read the diff and note the intent of the change.
2. Flag correctness bugs first, then security, then style.
3. Give each finding a severity and a file:line reference.
4. Suggest a concrete fix for anything blocking.
§4Live generator

Generate and download your SKILL.md

Fill the fields below to build a valid SKILL.md live, then copy it or download the file:

Fill the fields — your SKILL.md updates live. Frontmatter follows the open standard (lowercase, kebab-case name; description states what + when).

Generated SKILL.md
---
name: my-skill
description: Describe what this skill does and when it should trigger.
---

# My Skill

Add step-by-step instructions the agent should follow.
§5Vertical starters

Domain-specific templates

Generic skeletons are everywhere; these vertical starters are what most people actually need. Each one says when not to fire, so it doesn't compete with your other skills.

Security review

SKILL.md
---
name: security-review
description: Audits a code change for injection, auth, secrets, and unsafe defaults. Use when reviewing a diff or PR for security. Not for general style reviews.
---

# Security review

1. Check inputs for injection: SQL, shell, path, template.
2. Verify authorization on every new endpoint and mutation.
3. Flag hardcoded secrets and unsafe default configs.
4. Report each finding with severity and a file:line reference.

Customer support reply

SKILL.md
---
name: support-reply
description: Drafts an on-brand support reply from a customer ticket. Use when answering a customer message. Not for internal notes.
---

# Support reply

1. Restate the customer's issue in one sentence.
2. Give the fix or next step in plain language.
3. Keep the tone warm, concise, and free of jargon.
4. End with a clear call to action.

E-commerce product description

SKILL.md
---
name: product-description-writer
description: Writes SEO-friendly e-commerce product descriptions from a spec sheet. Use when drafting or rewriting a product listing.
---

# Product description writer

1. Read the product's attributes, materials, and key benefits.
2. Write a one-line hook, then 2–3 benefit sentences, then a bulleted spec list.
3. Use the target keyword naturally in the first sentence; no keyword stuffing.
4. Keep the tone on-brand and end with a short call to action.

SaaS onboarding

SKILL.md
---
name: saas-onboarding-guide
description: Drafts a step-by-step onboarding message for a new SaaS user. Use when welcoming a signup or explaining first setup.
---

# SaaS onboarding guide

1. Identify the user's plan and primary use case.
2. Give the three highest-value first actions, in order.
3. Link each step to the relevant setting or doc.
4. Close with the tip that drives the "aha" moment and an offer to help.
§6Portability

Multi-model compatibility

Every template here is model-agnostic. The same folder installs into each agent's skills directory:

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. 2 — Copy the same folder into each agent's skills directory; personal folders shown.

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

§7Avoid these

Common frontmatter mistakes

The mistakes that break skills most often

  • name doesn't match the folder, or uses spaces, capitals, or underscores.
  • A vague description ("helps with code") — the agent can't tell when to use it. State what and when.
  • The opening --- isn't the first line of the file, or a colon has no space after it — the YAML won't parse.
  • The body runs past ~500 lines — move long references into a references/ folder and link to them.
§8No YAML at all

Prefer a wizard?

The Skill Builder walks you through the same fields with validation, or browse real skills to adapt one.

Before you save the template

  • Folder name and name are identical
  • description answers what and when
  • Optional fields only where they add something
  • author and version sit under metadata
  • Tested with one real request

Frequently asked questions

What does a SKILL.md template need?+
At minimum a YAML frontmatter block with a name (lowercase letters, numbers, and hyphens, matching the folder) and a description (what it does + when to use it), followed by Markdown instructions.
Is the same template valid for Claude, Codex, and Gemini?+
Yes — SKILL.md is an open standard. The file is identical; only the install folder differs per tool (~/.claude/skills, ~/.agents/skills, ~/.gemini/skills).
Do I need a version field?+
No. The open standard has no top-level version field — put version (and author) under metadata if you want to track them. ProfessorGPT doesn't require a version to publish; it uses category and tags to place your skill in the catalog.
Does allowed-tools restrict what a skill can do?+
No. allowed-tools pre-approves the listed tools so the agent can use them without asking; in Claude Code every other tool stays available under your normal permission rules. Treat it as convenience, not a security boundary.
How long should a SKILL.md be?+
Keep the body focused and under roughly 500 lines. For anything longer, move references into separate files in the skill folder and point to them from the instructions.
Can I download the generated SKILL.md?+
Yes. Fill the fields in the generator on this page and use Download to save a ready-to-install SKILL.md, or Copy to paste it directly.

Build your skill now

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