From phntm
Create, review, or improve portable Agent Skills for Codex, Claude Code, OpenCode, skills.sh, and other SKILL.md-compatible agents. Use when building a new skill, updating an existing skill, designing trigger descriptions, adding scripts/references/assets, validating skill structure, or turning a repeated workflow into reusable agent instructions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/phntm:skill-createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to create portable skills that work across agents instead of locking the skill to one runtime. Start with the shared `SKILL.md` contract, then add platform-specific metadata only when the user explicitly needs that platform behavior.
Use this skill to create portable skills that work across agents instead of locking the skill to one runtime. Start with the shared SKILL.md contract, then add platform-specific metadata only when the user explicitly needs that platform behavior.
skills.sh compatibility notes, read references/platform-notes.md.When writing the skill description, the SKILL.md body, or any other prose
the host agent will read, also use the prompt-craft skill for prompting
principles: front-loading trigger words, output contracts, and anti-patterns.
SKILL.md is LLM-facing prose.
In this repo, create or update skills under skills/<skill-name>/. Do not create duplicate canonical copies under .agents/skills, .claude/skills, or .opencode/skills unless the user asks for a platform-local install test.
Use scripts/init_skill.py to scaffold a new skill when starting from scratch. It creates agents/openai.yaml by default for Codex UI metadata; use --no-codex-metadata when the user wants the portable minimum only.
SKILL.md for short procedural guidance.references/ for long docs, schemas, platform notes, or variant-specific guidance.scripts/ when repeated code, deterministic validation, or fragile file manipulation would otherwise be rewritten each run.assets/ for templates, images, boilerplate, data files, or files copied into outputs.SKILL.md focused on the core workflow and link to references for details.agents/openai.yaml for Codex UI metadata in this repo. Add Claude/OpenCode-specific fields only when needed and documented in platform notes.python3 scripts/validate_skill.py <skill-dir> from this skill directory or an equivalent validator.Use the portable minimum by default:
---
name: <kebab-case-name>
description: >
<What the skill does>. Use when <specific trigger contexts and user phrasing>.
---
name must match the folder name, use lowercase letters/digits/hyphens, avoid leading/trailing hyphens, avoid repeated hyphens, and stay under 64 characters.description is the trigger surface. Include both capability and when to use it. Name specific artifacts, file types, platforms, and user phrasing that should trigger the skill.SKILL.md with clear loading criteria.Before finalizing description, check:
name and description alone?Before declaring the skill done:
SKILL.md has valid frontmatter and a body that can stand alone.references/ file exists and is directly linked from SKILL.md.From this skill directory:
python3 scripts/init_skill.py <skill-name> --path ../../skills --resources references
python3 scripts/validate_skill.py ../../skills/<skill-name>
From the repo root:
DISABLE_TELEMETRY=1 npx --yes skills add . --list
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub phntm7/skills --plugin phntm