Create a skill in both Claude Code and Codex with appropriate format and structure
Creates a skill in both Claude Code and Codex with appropriate format and structure.
/plugin marketplace add DuncanJurman/entropy-plugins/plugin install meta-unify@entropy-marketplaceYou are helping the user create a new skill for both Claude Code and Codex.
Parse $ARGUMENTS for skill details:
Check for these flags in $ARGUMENTS:
--claude-only: Only create for Claude Code--codex-only: Only create for Codex--project: Use project scope instead of user scope (default: user scope)If the user provided sufficient context, proceed to Step 2.
If missing required information, ask conversationally:
"I'll help you create a skill. Tell me:
- What should this skill be called? (lowercase, use hyphens)
- What does this skill do? When should it be used?
- What specific behavior or instructions should it follow?"
Based on the skill description, recommend appropriate structure:
Detect keywords and suggest directories:
references/ directoryscripts/ directoryassets/ directoryPresent recommendation:
"Based on your description, I recommend this structure:
SKILL.md- Core instructions for [skill purpose]references/- [reason if applicable]This skill doesn't appear to need [scripts/assets]. Does this structure look right?"
Wait for user confirmation before proceeding.
User Scope (default):
~/.claude/skills/SKILL_NAME/~/.codex/skills/SKILL_NAME/Project Scope (--project flag):
.claude/skills/SKILL_NAME/.codex/skills/SKILL_NAME/For Claude Code:
---
name: SKILL_NAME
description: DESCRIPTION (max 1024 chars) - What it does and when to use it
user-invocable: true
---
[Body instructions go here]
[Keep under 500 lines - use references/ for supplementary documentation]
Optional Claude-specific fields (include if relevant):
allowed-tools: Tool1, Tool2 - Restrict which tools the skill can usemodel: claude-sonnet-4 - Override the modelcontext: fork - Run in a forked sub-agentFor Codex:
---
name: SKILL_NAME
description: DESCRIPTION (max 500 chars) - What it does and when to use it
metadata:
short-description: Brief user-facing description
---
[Body instructions go here]
[Keep small and modular - use references/ for documentation]
Important differences:
allowed-tools, context, model) are NOT included in Codex versionCreate only the directories that were confirmed:
# Always create
mkdir -p SKILL_PATH/
# Only if confirmed
mkdir -p SKILL_PATH/references/
mkdir -p SKILL_PATH/scripts/
mkdir -p SKILL_PATH/assets/
references/ created, add a starter reference file with relevant documentationscripts/ created, add a placeholder script with appropriate shebangassets/ created, add a README explaining what assets to addReport success:
"Created skill 'SKILL_NAME':
Claude: ~/.claude/skills/SKILL_NAME/
- SKILL.md (1024 char description limit) [- references/ if created]
Codex: ~/.codex/skills/SKILL_NAME/
- SKILL.md (500 char description limit) [- references/ if created]
The skill will be available after restarting Claude Code and Codex."
User input: "Create a code-review skill that analyzes PRs for security issues"
User input: "Create a deploy skill that runs our deployment scripts"
For complete format specifications, invoke the meta-unify-core skill to access: