/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
$ npx -y skills add evolution-foundation/evo-nexus --skill create-command --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/create-command
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
create-command.SKILL.mdname: create-command
description: "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."
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)
{Instruction for what Claude should do}: $ARGUMENTS
If no arguments were provided, {fallback behavior}.Agent command
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
---
description: "{short description}"
---
Run these steps:
1. {step 1}
2. {step 2}
3. {step 3}
Context: $ARGUMENTSStep 3: Verify
ls -la .claude/commands/{name}.mdTell 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`:
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`:
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`:
---
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/`).
Read more
name: create-command description: "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."
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)
{Instruction for what Claude should do}: $ARGUMENTS
If no arguments were provided, {fallback behavior}.Agent command
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
---
description: "{short description}"
---
Run these steps:
1. {step 1}
2. {step 2}
3. {step 3}
Context: $ARGUMENTSStep 3: Verify
ls -la .claude/commands/{name}.mdTell 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`:
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`:
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`:
--- 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/`).
Other skills on evo-nexus.
- /ai-image-creator
Generate PNG images using AI (multiple models via OpenRouter including Gemini, FLUX.2, Riverflow, SeedDream, GPT-5 Image, proxied through Cloudflare AI Gateway BYOK). Also analyze/describe existing images using multimodal AI vision. Use when user asks to "generate an image",
Open skill - /create-agent
Create a new custom agent for the workspace. Guides the user through defining agent name, domain, personality, skills, model, and memory folder. Use when the user says 'create an agent', 'new agent', 'add an agent', 'I need a custom agent', or wants to create a specialized agent
Open skill - /create-goal
Create a Mission, Project, or Goal (Mission → Project → Goal → Task hierarchy) in EvoNexus. Guides the user through picking a mission, choosing or creating a project, defining a measurable goal with metric_type and target_value. Writes to the SQLite goals tables via POST
Open skill - /create-heartbeat
Create a new heartbeat (proactive agent scheduled with a decision prompt) for EvoNexus. Guides the user through picking an agent, setting interval, wake triggers, and the decision prompt that governs when the agent acts. Writes to config/heartbeats.yaml with pydantic validation.
Open skill - /create-integration
Create a new custom integration (API/service wrapper) for the workspace. Guides the user through defining the integration's slug, display name, description, category, and required env keys. Writes .claude/skills/custom-int-{slug}/SKILL.md via POST /api/integrations/custom. Use
Open skill - /create-routine
Create a new automated routine (ADW) for the scheduler. Guides the user through defining what the routine does, the type (AI or systematic), the schedule, and generates the Python script + Makefile target. Use when the user says 'create a routine', 'add a routine', 'automate
Open skill

