Skill Management

SkillSearch

The skill skill is a skill for managing local SKILL.md files, the reusable instruction files an agent keeps in user and project folders. It lets the agent list, add, edit, search, inspect, sync, validate, and remove those files, and it includes a setup wizard for walking through the work. Use it when a durable, codebase-specific workflow should be captured as a skill rather than left in a conversation.

Available today. Use it from your connected AI after setup.

Have an agent that can run /skill commands and read local files.

Then ask your AI: use the Skill Management skill

What your AI can do with it

  • List skills from user and project roots with name, description, triggers, and scope
  • Run an authoring wizard to create a new SKILL.md and report its path
  • Edit an existing skill's description, triggers, argument hint, body, or name
  • Search name, description, triggers, and body case-insensitively
  • Validate every skill in both roots and report pass or fail per path
  • Sync user and project skills, confirming each copy or overwrite

Getting started

  1. Have an agent that can run /skill commands and read local files.
  2. Confirm the user root at ${CODEX_HOME:-$HOME/.codex}/skills/ and the project root at .codex/skills/ exist, or let /skill setup create them.
  3. Run /skill setup to scan both roots and choose add, list, pattern scan, import, or done.
  4. Use /skill add [name] to run the authoring wizard, or /skill list to see what is already there.
  5. Run /skill validate to check every skill in both roots without rewriting files.

What this skill tells your AI

The instructions your AI receives, as published by yeachan-heo/oh-my-codex in skills/skill/SKILL.md and read by ahel’s review.

Manage local SKILL.md files with /skill commands. Shared execution, delegation, state, hook, team, cancellation, verification, and escalation invariants live in templates/AGENTS.md; follow that contract instead of repeating it here.

<Use_When>

  • The user asks to list, add, edit, remove, search, inspect, sync, set up, scan, or validate skills.
  • A durable, codebase-specific solution or workflow should be captured as a skill. </Use_When>

<Do_Not_Use_When>

  • Use /learner to extract a skill from a conversation and /note for a short note.
  • Do not use this prompt to change runtime code, catalogs, hooks, or installation logic. </Do_Not_Use_When>

Scopes and commands

Canonical roots are ${CODEX_HOME:-$HOME/.codex}/skills/ (user) and .codex/skills/ (project). A skill lives at <root>/<name>/SKILL.md.

CommandContract
/skill listScan both roots, parse frontmatter, and show name, description, triggers, scope, and quality/usage (N/A when unavailable).
/skill add [name]Run the authoring wizard, validate the name, choose scope, create SKILL.md, and report its path.
/skill edit <name>Find one scope, show metadata, then update description, triggers, argument hint, body, or rename and report the change.
/skill remove <name>Find the skill, show scope and metadata, confirm explicitly, then remove its directory.
/skill search <query>Case-insensitively search name, description, triggers, and body; rank name/trigger matches first and show context.
/skill info <name>Show parsed metadata, scope, path, and full body; suggest /skill search when absent.
/skill syncCompare user/project skills, show user-only/project-only/common entries, and confirm every copy or overwrite.
/skill setupEnsure both roots exist, scan them, then offer add, list, pattern scan, import, or done.
/skill scanRun setup's scan/inventory without its interactive menu.
/skill validateValidate every skill in both roots and report each path's pass/fail result; never rewrite files.

With an argument, use direct command mode; without one, use the guided setup menu.

Authoring contract

Ask for any missing values:

  1. name: lowercase letters/digits separated by single hyphens ([a-z0-9]+(?:-[a-z0-9]+)*).
  2. description: a concise, non-empty one-line purpose.
  3. triggers: comma-separated recognition terms.
  4. argument-hint: optional invocation arguments.
  5. scope: user or project.

Write this frontmatter at the start of every skill; optional metadata may add id, source, and quality without replacing required fields:

---
name: <name>
description: <one-line purpose>
triggers: [<trigger1>, <trigger2>]
argument-hint: "<args>"
# optional: id, source, quality
---

Use an actionable body. The minimum recommended shape is:

# <Skill title>

## Purpose
What durable, codebase-specific outcome does this skill provide?

## When to Activate
Recognition signals, scope, and explicit non-goals.

## Workflow
1. Inspect the named files or inputs.
2. Apply the precise approach and record important assumptions.
3. Verify observable behavior and report evidence.

## Examples / Gotchas
Concrete invocation, edge cases, and failure recovery.

Prefer hard-won, non-obvious knowledge over generic programming advice. Include exact paths, commands, error text, and expected evidence when they materially help.

Validation and errors

Before reporting success, check that the file exists, starts with --- frontmatter, has non-empty name and description, uses a valid name, and has a non-empty body. Reject malformed or unterminated YAML, multiline required scalar values, duplicate names in one scope, missing directories/files, permission failures, and invalid arguments. Report errors consistently:

✗ Error: <clear message>
→ Suggestion: <specific next step>

Exit contract

Every command ends with one concise result: ✓ plus the affected skill/path and next action, or ✗ plus the error and suggestion. Preserve files on cancel or validation-only runs. For add/edit/sync, report changed scope and metadata; for list/search/info/scan/validate, report counts or matched paths and any failures.

Signals

GitHub stars
33k
Forks
3k
Last commit
Oct 2026

Questions

What is skill skill?
It is a skill for managing local SKILL.md files. It lists, adds, edits, searches, inspects, syncs, validates, and removes skills stored in user and project folders.
What is skill claude skill?
It refers to the same skill-management capability: an agent skill that maintains a library of reusable SKILL.md instructions across user and project scopes.
Advanced
Item type
skill
Key
skill-3
Source
github.com/yeachan-heo/oh-my-codex