agent-browser
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test web pages. Use…
Add new capabilities or modify ClaudeClaw behavior. Use when user wants to add channels (Telegram, Slack, email input), change triggers, add integrations, modify the router, or make any other customizations. This is an interactive skill that asks questions to understand what the
$ npx -y skills add sbusso/claudeclaw --skill customize --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/customizeContext preview
The summary Claude sees to decide when to auto-load this skill.
Add new capabilities or modify ClaudeClaw behavior. Use when user wants to add channels (Telegram, Slack, email input), change triggers, add integrations, modify the router, or make any other customizations. This is an interactive skill that asks questions to understand what the
name: customize description: Add new capabilities or modify ClaudeClaw behavior. Use when user wants to add channels (Telegram, Slack, email input), change triggers, add integrations, modify the router, or make any other customizations. This is an interactive skill that asks questions to understand what the user wants.
This skill helps users add capabilities or modify behavior. Use AskUserQuestion to understand what they want before making changes.
Check if `.claude-plugin/plugin.json` exists in cwd:
cat .claude-plugin/plugin.json 2>/dev/null | grep '"name": "claudeclaw"' && echo "DEVELOPER_MODE" || echo "PLUGIN_MODE"
If plugin mode, offer the user a choice via AskUserQuestion:
If "Fork to developer mode" is chosen, run the migration flow below. Otherwise, proceed with the normal workflow (limited to invoking existing skills like `/add-slack`, `/add-telegram`).
1. AskUserQuestion: "To customize ClaudeClaw fully, you need your own fork. First, fork sbusso/claudeclaw on GitHub. What's your GitHub username?" 2. AskUserQuestion: "Where should I clone the repo?" (default: `~/Code/claudeclaw`) > **Service name:** Derived from the directory name: `com.claudeclaw.<dirname>` (macOS) / `claudeclaw-<dirname>` (Linux). For example, if cwd is `my-assistant`, the service is `com.claudeclaw.my-assistant`. Determine the correct service name before running service commands below.
3. Stop running service (service name derived from current directory name):
4. Clone: `git clone https://github.com/<username>/claudeclaw.git <clone-path>` 5. Copy state from current data directory: `cp -r store groups .env <clone-path>/` 6. AskUserQuestion: "Copy logs too?" If yes: `cp -r logs <clone-path>/` 7. Clear stale sessions: `sqlite3 <clone-path>/store/messages.db "DELETE FROM sessions"` 8. Install and build: `cd <clone-path> && npm install && npm run build` 9. Set up upstream: `cd <clone-path> && git remote add upstream https://github.com/sbusso/claudeclaw.git` 10. Run service setup: `cd <clone-path> && npx tsx setup/index.ts --step service` 11. Print: "Migration complete! Run `cd <clone-path> && claude` to use developer mode. Remove `--plugin-dir` from your Claude Code invocation."
1. **Understand the request** - Ask clarifying questions 3. **Plan the changes** - Identify files to modify. If a skill exists for the request (e.g., `/add-telegram` for adding Telegram), invoke it instead of implementing manually. 4. **Implement** - Make changes directly to the code 5. **Test guidance** - Tell user how to verify
| File | Purpose | |------|---------| | `src/service.ts` | Service entry: loads channels/extensions, starts message loop | | `src/index.ts` | Plugin entry: non-blocking, loaded by Claude Code | | `src/orchestrator/message-loop.ts` | Core loop: poll, trigger, queue, dispatch agents | | `src/orchestrator/config.ts` | STATE_ROOT, paths, trigger pattern, runtime selection | | `src/orchestrator/channel-registry.ts` | Channel self-registration | | `src/orchestrator/extensions.ts` | Extension system (IPC, DB schema, startup hooks) | | `src/orchestrator/types.ts` | TypeScript interfaces (Channel, RegisteredGroup, AgentConfig) | | `src/orchestrator/db.ts` | Database initialization and queries | | `groups/CLAUDE.md` | Global memory/persona |
Questions to ask:
Implementation pattern: 1. Create `src/channels/{name}.ts` implementing the `Channel` interface from `src/orchestrator/types.ts` (see `src/channels/whatsapp.ts` for reference) 2. Add the channel instance to `main()` in `src/index.ts` and wire callbacks (`onMessage`, `onChatMetadata`) 3. Messages are stored via the `onMessage` callback; routing is automatic via `ownsJid()`
Questions to ask:
Implementation: 1. Add MCP server config to the container settings (see `src/orchestrator/container-runner.ts` for how MCP servers are mounted) 2. Document available tools in `groups/CLAUDE.md`
Questions to ask:
Simple changes → edit `src/orchestrator/config.ts` Persona changes → edit `groups/CLAUDE.md` Per-group behavior → edit specific group's `CLAUDE.md`
Questions to ask:
Implementation: 1. Commands are handled by the agent naturally — add instructions to `groups/CLAUDE.md` or the group's `CLAUDE.md` 2. For trigger-level routing changes, modify `processGroupMessages()` in `src/index.ts`
Questions to ask:
Implementation: 1. Create appropriate service files 2. Update paths in config 3. Provide setup instructions
Always tell the user:
# Rebuild and restart npm run build # macOS: launchctl unload ~/Library/LaunchAgents/com.claudeclaw.plist launchctl load ~/Library/LaunchAgents/com.claudeclaw.plist # Linux: # sy
Repo: sbusso/claudeclaw
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test web pages. Use…
Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact slash command. Main-group or…
Add Gmail integration to ClaudeClaw. Can be configured as a tool (agent reads/sends emails when triggered from WhatsApp) or as a full channel (emails can…
Add image vision to ClaudeClaw agents. Resizes and processes WhatsApp image attachments, then sends them to Claude as multimodal content blocks.
Add Ollama MCP server so the container agent can call local models for cheaper/faster tasks like summarization, translation, or general queries.