Extract and save the current session workflow as a reusable slash command. Use when a user says "create command", "save this as command", or wants to automate a workflow.
Extract and save the current session workflow as a reusable slash command file. Commands are user-invoked shortcuts that expand to full prompts.
# Interactive mode - guided creation
/create-command
# Auto mode - create from name
/create-command git/sync-upstream
# Update existing command
/create-command git/commit-push --update
| Location | Path | Scope |
|----------|------|-------|
| Personal | ~/.claude/commands/category/name.md | All projects |
| Project | .claude/commands/category/name.md | This project |
--update: Update existing commandUse AskUserQuestion with these prompts:
Question 1 - Purpose:
Question 2 - Scope:
Question 3 - Tools (multiSelect: true):
When extracting from recent session:
Write to appropriate location:
# Personal
~/.claude/commands/category/name.md
# Project
.claude/commands/category/name.md
---
argument-hint: [expected arguments]
description: Brief action-oriented description
allowed-tools: [Bash, Read, Write]
---
Brief description of command purpose.
## Implementation Steps
1. **Step One**: What to do first
2. **Step Two**: Next action
3. **Step Three**: Verification
## Usage Examples
- `/category/name arg1` - Example scenario
- `/category/name --flag` - Another scenario
## Notes
- Prerequisites
- Related commands
When using --update flag:
Format: category/name
Auto-detection (interactive mode):
git/workflownode/workflowdocker/workflowtest/workflowjira/workflowDescription:
Implementation Steps:
Allowed Tools:
| Feature | Command | Skill | Subagent |
|---------|---------|-------|----------|
| Invocation | User-only (/name) | User or Claude | User or Claude |
| Context | Main conversation | Main conversation | Isolated |
| Best For | Quick automation | Domain expertise | Complex workflows |
| Format | Single .md file | Folder with SKILL.md | Single .md file |
Use commands for:
After creation:
Command created: /category/name
Location: ~/.claude/commands/category/name.md
Tools: [list of allowed-tools]
Usage: /category/name [arguments]
After update:
Command updated: /category/name
Location: ~/.claude/commands/category/name.md
Changes:
- [Summary of what changed]
# Interactive creation
/create-command
# Create from recent git workflow
/create-command git/sync-upstream
# Update existing command
/create-command git/commit-push --update
# Create project-specific command
/create-command test/e2e-debug
--update to refine based on real usageSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer