Agent skill

create-command

Create a new slash command for Claude Code. Guides the user through defining the command name, what it does, and generates the markdown file in .claude/commands/. Use when the user says 'create a command', 'new command', 'add a slash command', 'I want a shortcut for', or wants to create a reusable slash command.

Stars 211
Forks 54

Install this agent skill to your Project

npx add-skill https://github.com/EvolutionAPI/evo-nexus/tree/main/.claude/skills/create-command

SKILL.md

Create Slash Command

Guide the user through creating a new slash command for Claude Code.

What You're Building

A slash command is a .md file in .claude/commands/ that acts as a shortcut. When the user types /command-name in Claude Code, the file contents are injected as the prompt.

Commands are simpler than skills — they're one-liners or short instructions, not multi-step workflows.

Step 1: Understand the Command

Ask the user:

  1. What should this command do? (e.g., "check deploy status", "run linting", "summarize this file")
  2. What name? Short, memorable. The file will be {name}.md and invoked as /{name}
  3. Does it take arguments? If yes, use $ARGUMENTS placeholder
  4. Should it invoke an agent? If it's domain-specific, point to the right agent

Step 2: Generate the Command File

Create .claude/commands/{name}.md:

Simple command (no agent)

markdown
{Instruction for what Claude should do}: $ARGUMENTS

If no arguments were provided, {fallback behavior}.

Agent command

markdown
Use the @{agent-name} agent to help the user with the following: $ARGUMENTS

If no arguments were provided, ask the user how you can help ({list of things this command handles}).

Command with specific steps

markdown
---
description: "{short description}"
---

Run these steps:

1. {step 1}
2. {step 2}
3. {step 3}

Context: $ARGUMENTS

Step 3: Verify

bash
ls -la .claude/commands/{name}.md

Tell the user:

  • Command created: /{name}
  • Invoke in Claude Code: /{name} or /{name} some arguments
  • To edit: .claude/commands/{name}.md
  • To delete: remove the file

Examples

Quick status check

.claude/commands/deploy.md:

markdown
Check the deployment status of the current branch. Run `gh run list --limit 5` and summarize: which workflows passed, which failed, and if there are any in progress.

Agent shortcut

.claude/commands/tickets.md:

markdown
Use the @atlas-project agent to review open tickets: $ARGUMENTS

If no arguments were provided, show a summary of open issues by priority.

Multi-step workflow

.claude/commands/pr-check.md:

markdown
---
description: "Pre-PR checklist"
---

Run these steps before opening a PR:

1. Run `git diff --stat main` to see what changed
2. Check for any TODO or FIXME comments in changed files
3. Run the test suite
4. Summarize: files changed, tests passing, any concerns

Custom prefix (gitignored)

For personal commands that shouldn't be committed: .claude/commands/custom-{name}.md

Commands with custom- prefix are gitignored — personal to your workspace.

Naming Convention

Pattern Example Use case
{verb} /deploy, /lint Action commands
{noun} /tickets, /costs View/query commands
{agent} /clawdia, /flux Agent shortcuts
custom-{name} /custom-mycheck Personal, gitignored

Rules:

  • Lowercase, hyphen-separated
  • Keep names short (1-2 words)
  • Avoid names that conflict with existing commands
  • Use custom- prefix for personal commands (gitignored)

Existing Commands

Command What it does
/clawdia Ops agent
/flux Finance agent
/atlas Projects agent
/pulse Community agent
/pixel Social media agent
/sage Strategy agent
/nex Sales agent
/mentor Courses agent
/kai Personal agent
/status Workspace status check
/review Review recent changes

Command vs Skill

Command Skill
Complexity Simple (1-10 lines) Complex (multi-step workflows)
Location .claude/commands/ .claude/skills/
Trigger Only via /name Auto-triggered by description match
Arguments $ARGUMENTS placeholder N/A (triggered by context)
Use case Shortcuts, quick actions Domain workflows, reports, integrations

If what the user wants is a multi-step workflow with detailed instructions, suggest creating a skill instead (use the create-routine or just create a skill manually in .claude/skills/).

Expand your agent's capabilities with these related and highly-rated skills.

EvolutionAPI/evo-nexus

data-create-viz

Cria visualizações de dados de qualidade profissional com Python no tema Evolution (fundo escuro, acento

211 54
Explore
EvolutionAPI/evo-nexus

cs-customer-escalation

Empacota uma escalação para Devs, Produto ou Davidson com contexto completo. Use quando um bug precisa de atenção além do suporte normal, vários clientes reportam o mesmo problema, um cliente está ameaçando cancelar, ou um problema ficou sem resolução além do SLA. / Package an escalation for engineering, product, or leadership with full context. Use when a bug needs engineering attention beyond normal support, multiple customers report the same issue, a customer is threatening to churn, or an issue has sat unresolved past its SLA.

211 54
Explore
EvolutionAPI/evo-nexus

mkt-draft-content

Draft blog posts, social media, email newsletters, landing pages, press releases, and case studies with channel-specific formatting and SEO recommendations. Use when writing any marketing content, when you need headline or subject line options, or when adapting a message for a specific platform, audience, and brand voice.

211 54
Explore
EvolutionAPI/evo-nexus

gog-tasks

Create, manage, and prioritize tasks and todo items. Convert emails to tasks, set priorities (P0-P3) and categories (Work/Personal/Errands/Admin), review daily priorities, track blocked and overdue tasks. Use when user mentions tasks, todos, action items, or wants to convert emails to tasks. Requires confirmation before creating or deleting tasks.

211 54
Explore
EvolutionAPI/evo-nexus

discord-get-messages

Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.

211 54
Explore
EvolutionAPI/evo-nexus

cs-customer-research

Pesquisa multi-fonte sobre pergunta ou tópico de cliente com atribuição de fontes. Use quando um cliente pergunta algo que precisa ser verificado, investigando se um bug foi reportado antes, verificando o que foi dito anteriormente a uma conta específica, ou coletando contexto antes de redigir uma resposta. / Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.

211 54
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results