← ClaudeAtlas

claude-command-converterlisted

Convert Claude Code commands (.claude/commands/*.md) to standard Agent Skills (skills/*/SKILL.md). Use when migrating slash commands to portable skill format, creating skills from existing commands, or standardizing command definitions across AI runtimes.
dceoy/ai-coding-agent-skills · ★ 3 · AI & Automation · score 64
Install: claude install-skill dceoy/ai-coding-agent-skills
# Claude Command Converter Convert Claude Code commands to standard Agent Skills format for portability across AI coding assistants. ## When to Use - Migrating existing `.claude/commands/*.md` files to `skills/*/SKILL.md` format. - Creating portable skills from Claude Code-specific commands. - Standardizing command definitions for use with Claude Code, Codex CLI, Cursor CLI, and other runtimes. ## Inputs - Source command file path (e.g., `.claude/commands/my-command.md`). - Optional: target skill name (defaults to command filename without extension). If input is missing, ask for the source command file path. ## Format Differences ### Claude Code Command Format Location: `.claude/commands/<command-name>.md` ```yaml --- description: Short description of the command handoffs: - label: Next Action agent: other.command prompt: Trigger prompt send: true --- ## User Input \`\`\`text $ARGUMENTS \`\`\` [Command instructions...] ``` ### Standard Agent Skill Format Location: `skills/<skill-name>/SKILL.md` ```yaml --- name: skill-name description: Complete description including what the skill does and when to use it. --- # Skill Title ## When to Use - Scenario 1 - Scenario 2 ## Inputs - Required input 1 - Optional input 2 ## Workflow 1. Step 1 2. Step 2 ... ## Outputs - Output file 1 - Output file 2 ``` ## Conversion Workflow 1. **Read the source command** from `.claude/commands/`. 2. **Extract metadata**: - `description` from YAML frontmatter.