Convert To Slash — Development skill for Claude Code
Convert a sub-agent to a slash command (project).
How to install Convert To Slash
Installs to ~/.claude/commands/basher83-lunar-claude-convert-to-slash.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/basher83/lunar-claude/HEAD/.claude/commands/convert-to-slash.md -o ~/.claude/commands/basher83-lunar-claude-convert-to-slash.md Restart Claude Code, or start a new session, for it to be picked up.
What Convert To Slash does
argument-hint: [agent-file-path] description: Convert a sub-agent to a slash command (project) allowed-tools: Read, Write, AskUserQuestion
Convert Sub-Agent to Slash Command
You are tasked with converting a sub-agent definition back to a slash command. This conversion should happen when parallelization or context isolation is no longer needed.
Input
You will receive a file path to a sub-agent file via `$ARGUMENTS`.
Decision Criteria - MUST VALIDATE FIRST
Before converting,
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Package OfficeCLI Skill As AionUi Assistant — Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one 20.3k ★
- Research Codebase — You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning 10k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Convert To Agent
Convert a slash command to a sub-agent definition (project)
Convert Resume Into HTML
Claude Code slash command that converts a resume PDF/DOCX into a clean, A4-sized HTML page
Sub Agents
A simple Manager for adding Claude Code Sub Agents with hooks and custom slash commands.
Pdf2image
Convert PDF pages to images using Python pdf2image library. Usage: say "pdf转图片" or "convert pdf to image" to c
Convert Paths Absolute
This command converts all relative paths in .claude/settings.json command scripts to absolute paths using the
Convert Paths Relative
This command converts all absolute paths in .claude/settings.json command scripts to relative paths. It helps
Related Agents
Create Sub Agent
Slash command to create custom subagents for specialized tasks with proper configuration and system prompts
Arch Command Author
Writes slash-command files (commands/ / .md) for a new plugin given a COMMAND_PLAN. Invoke when the plugin nee
Frontend Designer
Use this agent when you need to convert design mockups, wireframes, or visual concepts into detailed technical