Tutorial
January 25, 2026
4 min read
Extend OpenClaw: Create custom CLI commands that integrate with OpenClaw's AI capabilities for personalized automation.
How Custom Commands Works
OpenClaw allows you to define custom commands that trigger specific actions or workflows. These can be simple aliases or complex multi-step operations.
Creating a Simple Command
openclaw commands create my-status --action="status --verbose"Creating Interactive Commands
openclaw commands create daily-standup \
--prompt="Generate a daily standup summary based on recent activity" \
--interactiveCommand with Parameters
openclaw commands create summarize \
--prompt="Summarize the {topic}" \
--params="topic"Listing Custom Commands
openclaw commands listRemoving Commands
openclaw commands remove my-statusBest Practices
- Use descriptive names for commands
- Include help text for complex commands
- Test commands interactively before aliasing
- Group related commands with prefixes (team:, dev:, ops:)
Build Advanced Skills
Skills GuideSource trail, checked September 11, 2026. Official skills docs and skills/creating docs are the current reference points. Check your installed version before running a command from this archive page.
Reference Trail
Sources and further reading
- Official skills docsdocs.openclaw.ai
- skills/creating docsdocs.openclaw.ai