- Add all 21 commands (clawd, ralph, prometheus*, dexto*) - Add all hooks (intelligent-router, clawd-*, prometheus-wrapper, unified-integration-v2) - Add skills (ralph, prometheus master) - Add MCP servers (registry.json, manager.sh) - Add plugins directory with marketplaces - Add health-check.sh and aliases.sh scripts - Complete repository synchronization with local ~/.claude/ Total changes: 100+ new files added All integrations now fully backed up in repository 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
63 lines
1.6 KiB
Markdown
63 lines
1.6 KiB
Markdown
---
|
|
description: Delegate autonomous tasks to Clawd agent via hook wrapper with persistent session context
|
|
---
|
|
|
|
You are invoking the Clawd autonomous agent to handle the user's task.
|
|
|
|
## Clawd Overview
|
|
|
|
Clawd is a personal AI assistant with:
|
|
- Multi-agent routing and workspaces
|
|
- Persistent session context
|
|
- Tool access (bash, file operations, browser automation)
|
|
- Hook-based integration for reliable execution
|
|
|
|
## How to Use Clawd from Claude Code
|
|
|
|
When the user runs `/clawd "<task>"`:
|
|
|
|
1. **Parse the task** from the user's message
|
|
2. **Parse any options**:
|
|
- `--agent <id>` or `-a`: Specific agent (default: main)
|
|
- `--thinking <level>`: off|minimal|low|medium|high
|
|
|
|
3. **Execute the clawd-wrapper hook** using the bash tool:
|
|
```bash
|
|
~/.claude/hooks/clawd-wrapper.sh --task "<task>" --agent <id> --thinking <level>
|
|
```
|
|
|
|
4. **Return the results** to the user
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
# Basic task
|
|
~/.claude/hooks/clawd-wrapper.sh --task "Build a login form"
|
|
|
|
# With high thinking
|
|
~/.claude/hooks/clawd-wrapper.sh --task "Analyze codebase" --thinking high
|
|
|
|
# Specific agent
|
|
~/.claude/hooks/clawd-wrapper.sh --task "Deploy application" --agent ops
|
|
```
|
|
|
|
## Available Agents
|
|
|
|
- `main` - Default general-purpose agent
|
|
- `ops` - Operations and DevOps tasks
|
|
- Other configured agents
|
|
|
|
## User's Task
|
|
|
|
Execute the following task using Clawd via the hook wrapper:
|
|
|
|
{{USER_MESSAGE}}
|
|
|
|
## Instructions
|
|
|
|
1. Parse the task and any options from the user's message above
|
|
2. Construct the appropriate clawd-wrapper command
|
|
3. Execute it using the Bash tool
|
|
4. Return the complete output to the user
|
|
5. If there are errors, help troubleshoot
|