
create-skill
Use to create/scaffold/init a new agent skill under .agents/skills in the working directory where invoked.
- Installs
- 140
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/paulrberg/agent-skills --skill create-skill- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads create-skill automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Create Skill
Bootstrap a skill with a small observable contract, then symlink it into .claude/skills/ so Claude Code can discover
it. Keep invariant workflow guidance in SKILL.md; move deterministic mechanics and conditional detail into scripts and
references.
Model Optimization
Optimize every new skill and its content for GPT-5.6 and Claude Fable 5. The summaries below are reminders, not substitutes for the live guides. Read both guides before designing or writing a complex, long-running, multi-tool, or orchestration-heavy skill because their recommendations may evolve.
- GPT-5.6 prompting guidance: Prefer lean, outcome-first prompts that specify the goal, success and stopping criteria, constraints, evidence, permission boundaries, tool routing, output shape, and validation. Remove redundant scaffolding and evaluate changes on representative tasks.
- Claude Fable 5 prompting guidance: Use concise instructions that explain intent and boundaries; avoid over-prescription and scope creep; tune effort deliberately; ground progress claims in tool evidence; and make long-run verification and scaffolding explicit when needed.
Arguments
- skill-name (required): kebab-case name (e.g.,
my-skill). Stop if missing or invalid.
Reject --global, explicit destination paths, and other scope overrides. The invocation working directory is the only
supported scope.
Resolved Paths
Set <scope> to the working directory where the skill was invoked. Create the source at
<scope>/.agents/skills/<name>/ and the Claude Code symlink at <scope>/.claude/skills/<name>. Do not redirect the
scope to the repository root when invoked from a nested project or workspace. Never create or modify a skill under
~/.agents, ~/.claude, ~/.codex, or another global installation directory.
The symlink target is always the relative path ../../.agents/skills/<name>.
Skill Layout
<name>/
├── SKILL.md # Required: frontmatter + lean workflow (aim for <500 lines)
├── agents/
│ └── openai.yaml # Required: Codex metadata; disables implicit invocation
├── scripts/ # Optional: helper code (prefer TypeScript via bun run; Python via uv)
├── references/ # Optional: long-form docs loaded on demand
└── assets/ # Optional: templates / fonts / images used in OUTPUT (never loaded into context)
Agents load skills via progressive disclosure, in three stages:
- Discovery — only
name+descriptionare visible at startup. Front-load triggers indescription. - Activation — the full
SKILL.mdbody is read once a task matches. - Execution —
scripts/run without being read into context;references/are read only whenSKILL.mdexplicitly links to them.
Keep SKILL.md focused on workflow. Push bulk into scripts/ (deterministic logic) or references/ (documentation).
Authoring Contract
Before choosing a layout, separate the content into:
- Invariants that every valid execution must preserve.
- Preferred defaults that explicit user intent or repository evidence may override.
- Conditional examples and references loaded only when their branch is active.
Define the outcome, authority boundaries, stopping conditions, and completion evidence. Do not prescribe an identical execution path when several safe paths satisfy the same contract. For user-facing workflows, also define which kickoff, progress, decision, blocker, and completion events deserve a message and the smallest useful shape for each.
When to Split Content
Use scripts/ when
- The same code would be rewritten on every invocation (e.g., PDF rotate, JSON transform, curl wrapper).
- Determinism matters more than flexibility (parsing, validation, codegen, idempotent setup).
- A shell pipeline grows past ~5 lines or needs real error handling.
- A long heredoc keeps appearing inside
SKILL.md.
Scripts are token-efficient: the agent invokes them without reading them. Document the CLI signature in SKILL.md and
leave the implementation in scripts/.
Prefer scripts/*.ts run with bun run scripts/<name>.ts, unless there is a good reason TypeScript is the wrong fit
for the helper. Python is also a good choice for data, text, and file processing; run Python helpers through
uv run scripts/<name>.py, not raw python or python3.
Use references/ when
- A topic exceeds ~100 lines of prose, examples, or schemas.
- Content is conditionally relevant (variant-, framework-, or domain-specific) — splitting keeps irrelevant context out.
- Detailed API surfaces, DB schemas, policies, or large templates would otherwise dominate
SKILL.md. - A long explanation is needed only on one branch.
Rules of thumb:
- One level deep — link
references/placeholder.mddirectly fromSKILL.md, never reference-to-reference. - Files >100 lines: include a table of contents at the top.
- Files >10k words: document grep patterns in
SKILL.mdso the agent can locate sections without reading the whole file. - No duplication — each fact lives in
SKILL.mdor a reference, never both. Keep skills self-contained rather than sharing references across independently installed skills. - For every reference, write one line in
SKILL.mdthat says when to read it.
Reference organization patterns
Pattern A — High-level guide + topical references
SKILL.md
references/
├── forms.md
├── api.md
└── examples.md
SKILL.md teaches the happy path; references hold deep-dive material.
Pattern B — Domain or variant split
SKILL.md # workflow + selection logic
references/
├── aws.md
├── gcp.md
└── azure.md
The agent reads only the variant the user picked — irrelevant providers never enter context.
Pattern C — Conditional details
Inline the basic case in SKILL.md, link advanced files for edge cases (tracked-changes.md, ooxml.md, etc.).
Do NOT add to a skill
README.md,INSTALLATION.md,CHANGELOG.md,QUICK_REFERENCE.md— extraneous.- Notes about how the skill was authored, test logs, scratch files.
- Anything the agent will not use at runtime.
Workflow
1. Fetch Agent Skills Docs
Always fetch the latest spec before authoring frontmatter or content:
Use WebFetch to confirm the current frontmatter schema, naming rules, and progressive-disclosure conventions. Do not
guess — the spec evolves.
2. Validate
- Reject names that are not kebab-case or collide with an existing skill at the resolved path.
- Confirm
<scope>is the invocation working directory and is not a home-level or global skill directory. - Stop if
<scope>/.agents/skills/<name>/or<scope>/.claude/skills/<name>already exists.
3. Read the Authoring Guide and Define the Contract and Layout
Read references/writing-great-skills.md before choosing the contract or layout. It defines the predictability levers and the prose-versus-code-or-schema decision.
Then define the observable outcome, invariants, preferred defaults, authority, routing, stop conditions, and completion evidence. Decide what belongs where:
- Will the workflow invoke helper code? → Prefer
scripts/<name>.tsrun withbun run; usescripts/<name>.pythroughuv runwhen Python is a better fit. - Machine-consumed schema with a real validator? → Bundle both and document the validation route.
- Reference-only schema documentation, long examples, variant guides, or domain knowledge? →
references/<topic>.md - Templates or files the skill writes into the user's output? →
assets/ - None of the above? → ship just
SKILL.md.
Sketch the directory tree first, then create only the subdirectories the layout actually needs.
4. Create the Skill
mkdir -p "<scope>/.agents/skills/<name>/agents"
# Add only the subdirectories the layout calls for:
# mkdir -p "<scope>/.agents/skills/<name>/scripts"
# mkdir -p "<scope>/.agents/skills/<name>/references"
Write <scope>/.agents/skills/<name>/SKILL.md with:
- Frontmatter sorted alphabetically, with
descriptionlast. Thedescriptionis the only field seen at discovery time — front-load trigger phrases there, not in the body. - A short
# Title. - A one-line summary of what the skill does.
disable-model-invocationanduser-invocablefields set for Claude behavior. Omit only when intentionally relying on Claude defaults:disable-model-invocation: false,user-invocable: true.## Arguments(if any) and a lean imperative workflow. Use fixed steps only when order matters; otherwise state the contract and let repository evidence guide execution.- Explicit links to every
references/file the workflow may need, each with a one-line note describing when to read it. - CLI signatures for any bundled scripts, including the runtime command (
bun run scripts/<name>.tsoruv run scripts/<name>.py), so the agent can call them without reading them.
Aim for SKILL.md under 500 lines. If a section grows past ~50 lines and is not core workflow, move it to references/
and link it.
Write <scope>/.agents/skills/<name>/agents/openai.yaml with:
policy:
allow_implicit_invocation: true
Set allow_implicit_invocation to the inverse of SKILL.md disable-model-invocation. If later adding Codex UI
metadata or MCP/tool dependencies, merge them into the same file and keep the policy.
5. Create the Claude Code Symlink
Always create a relative symlink so Claude Code picks the skill up from its own discovery path:
mkdir -p "<scope>/.claude/skills"
ln -s "../../.agents/skills/<name>" "<scope>/.claude/skills/<name>"
6. Verify
- Patch tooling creates files at mode 0644. Before the first verification run,
chmod 755every executable underscripts/andtests/(a scaffolded test failing its first run withPermission denied (os error 13)is this cause). test -f "<scope>/.agents/skills/<name>/SKILL.md"test -f "<scope>/.agents/skills/<name>/agents/openai.yaml"readlink "<scope>/.claude/skills/<name>"resolves to the source directory.test -xeveryscripts/*andtests/*executable so a missedchmodfails loudly instead of surfacing later as a permission error.- Finish with
### 🧩 Skill created: <name>, a tree of created paths, and### ✅ Verifiedwith the exact checks. Link both absolute source and symlink paths. - Offer to commit the new skill. When the host project's standing instructions require prompt commits, commit without further prompting.
Notes
- Frontmatter rule: sort fields alphabetically, but always place
descriptionlast. - Codex parses
SKILL.mdfrontmatter as YAML before loading a skill. Avoid unquoted colon-space tokens in scalar values such asTriggers: "foo"insidedescription; either omit the label or quote the whole value. - "When to use" information belongs in
description(discovery-time), not in the body (activation-time only). - Use imperative / infinitive form throughout
SKILL.md. - All paths inside
SKILL.md(e.g.,references/placeholder.md,scripts/example.sh) are relative to the skill directory. - Every new skill must include
agents/openai.yamlwithpolicy.allow_implicit_invocationderived fromSKILL.md, never the other way around. - Prefer TypeScript helper scripts run with
bun run; use Python throughuv run, never rawpythonorpython3. - Bash scripts inside the skill must be compatible with Bash 3.2 (
/bin/bash), since Codex uses the built-in Bash by default. - Keep helper stdout, commands, paths, frontmatter, and generated skill content undecorated unless that skill's own output contract requires otherwise.
FAQ
What does the create-skill skill do?
Use to create/scaffold/init a new agent skill under .agents/skills in the working directory where invoked.
How do I install create-skill?
Run npx skills add https://github.com/paulrberg/agent-skills --skill create-skill in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/create-skill/ (personal) or .claude/skills/create-skill/ (project).
Which AI agents can use create-skill?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is create-skill safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains create-skill?
It is published by paulrberg in paulrberg/agent-skills. It has 140 recorded installs.
More from paulrberg/agent-skills
effect-ts
paulrberg/agent-skills
Use for nontrivial Effect 4 work including services/layers, typed errors, Schema/JsonSchema, Config, runtime/concurrency, @effect/vitest, effect/ai and @effect/ai-, effect/sql and @effect/sql-, Effect Atom (@effect/atom-), or @prb/effect-next.
tailwind-css
paulrberg/agent-skills
Use for Tailwind v4 styling: add/fix classes, configure or migrate Tailwind, use tailwind-variants, or tw-animate-css.
cli-gh
paulrberg/agent-skills
Use for GitHub CLI automation: repository reads, workflow runs, search, codespaces, releases, configuration, or gh command syntax. Use yeet for contribution writes to PRs, issues, comments, or discussions.
code-polish
paulrberg/agent-skills
Polish changed code when the user explicitly asks, or when an active workflow requests post-implementation simplification and risk-profiled review over a fixed file scope.
yeet
paulrberg/agent-skills
Use for GitHub PR/issue/discussion workflows: create/update PRs, issues, or discussions and post issue or discussion comments; triggers include yeet.
bump-release
paulrberg/agent-skills
Cut a release: bump versions, write changelogs, commit, tag.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available