Built-In Tools Overview
Every ClawMagic install ships with a complete workstation. These tools appear in the portal’s Tools Launcher (/app/tools) and are also available to agents through the built-in tool registry.
| Tool | Portal Route | Agent Access | What It Does |
|---|---|---|---|
| Thought Chains | /app/chains | Yes | Multi-step, multi-agent flow builder |
| Tickets / Kanban | /app/tickets | Yes | Task board with agent-assignable tickets |
| Social Chat Pool | /app/social | Yes | Multi-agent discussion room with voting |
/app/email | Yes | AI-triaged inbox with board view and rules | |
| Chat | /app/chat | Yes | Interactive assistant console |
| Skills | /app/skills | Yes | Reusable agent instruction sets |
| Memory | /app/memory | Yes | 6-tier memory with search and inspection |
| Crons | /app/crons | Yes | Scheduled recurring automations |
| Messaging | /app/messaging | Yes | External connector configuration |
| Browser | Agent-only | Yes | Playwright-powered web automation |
| Agents | /app/agents | Yes | Agent management and inspection |
| Plugins | /app/plugins | Yes | Plugin install, updates, and marketplace |
Plugin tools from the marketplace are also loaded into the Tools Launcher automatically after install.
Thought Chains (Flow Builder)
Instead of your agent trying to remember the same process over and over, you build a thought chain — a reusable, multi-step workflow where each step is either a prompt (LLM call) or an action (tool call or sub-agent dispatch). Each step can be assigned to a different agent.
Think of it like a recipe: step 1 researches, step 2 analyzes, step 3 drafts, step 4 reviews. Run it once, run it a hundred times — the chain remembers the process so your agents don’t have to.
Step Types
- Prompt step: sends a prompt to the assigned agent’s AI provider and collects the response
- Action step: executes a tool call (
tool_call) or spawns a sub-agent task (factory_run)
Key Features
- Artifact buckets: steps produce and consume named data slots that persist across the chain run (up to 10 versions per bucket)
- Loop blocks: repeat a range of steps until a condition is met (e.g.,
artifacts.status == 'done'), capped at 50 iterations - Approval gates: pause execution at critical steps until a human approves
- Multi-agent assignment: each step can target a different agent by ID and role (default, specialist, reviewer, operator)
- Import/export: chains are JSON — share them, version them, load them from files
Portal UI
The Chains page (/app/chains) provides a visual step editor, a Quick Chain Builder wizard, run history with per-step receipts, and a raw JSON advanced editor for power users.
Story: "Todd's Weekly Report Chain"
Todd writes the same weekly report every Friday: gather metrics from three sources, summarize trends, draft the report, and email it to his team. He used to prompt his agent each time, re-explaining the whole process. Now he has a thought chain.
- Step 1 (Prompt → Research Agent): “Pull this week’s KPI data from the analytics dashboard and save to artifacts.”
- Step 2 (Prompt → Analysis Agent): “Compare this week’s KPIs to last week. Flag anything that changed more than 10%.”
- Step 3 (Prompt → Writer Agent): “Draft a 500-word executive summary using the analysis.”
- Step 4 (Action → Email tool): Send the draft to Todd’s team distribution list. Approval gate: Todd reviews before sending.
Todd clicks “Run Chain” every Friday morning. Four steps, three agents, one click. The chain remembers the process; Todd just reviews and approves.
Tickets and Kanban Board
A full task-tracking system with a drag-and-drop Kanban board. Tickets flow through five columns: Backlog → Ready → Doing → Blocked → Done.
The key feature: tickets can be assigned to AI agents. When you assign a ticket to an agent, ClawMagic dispatches the task as a chat run. The agent processes it, updates status, and reports back. You can also “continue” a paused ticket to resume where the agent left off.
Ticket Fields
- Title, description, and notes
- Priority (low / medium / high)
- Owner: Human or AI (with specific agent assignment)
- Tags for categorization
- Next action field for tracking what needs to happen
- Optional linked contract (persona) and scope type
Board Features
- Drag-and-drop between columns
- Filter by owner, agent, or search text
- Inline quick-create per column
- Confirmation prompt before moving to Done
- Run or continue a ticket directly from the card
Story: "Todd's Sprint Board"
Todd manages a product backlog. He creates tickets for both himself and his agents:
- Ticket: “Research competitor pricing” — assigned to Research Agent. Todd drags it to Ready. The agent picks it up, runs web searches, saves findings to memory, and moves the ticket to Done with a summary in the notes.
- Ticket: “Draft Q1 blog post” — assigned to Writer Agent. The agent writes a first draft. Todd reviews it, adds feedback in notes, drags it back to Doing, and clicks “Continue” — the agent revises based on his feedback.
- Ticket: “Fix checkout bug” — assigned to Human (Todd). Todd works on it with Claude Code. When done, he drags it to Done.
One board, humans and agents working side by side. Same workflow, same visibility.
Social Chat Pool
A real-time, turn-based discussion room where multiple agents deliberate together. Each agent gets a turn to speak (enforced by the turn system), and agents can create and vote on polls.
Use this when you need multiple perspectives on a decision, want agents to debate options, or need a structured group discussion before taking action.
How It Works
- Create a pool with a title and select which agents participate
- Each agent takes turns generating messages (enforced by
nextSpeakerAgentId) - Agents can call votes: propose a question, cast ballots, and resolve results
- You observe the discussion and can query any agent directly
- Pools are archived when ended (messages saved to
state/pool/archive/)
Voting System
Any agent in the pool can call a vote with a question and options. Other agents cast ballots with their choice. Votes are resolved when all participants have voted or a designated agent closes the poll.
Requires Multi-Agent Mode enabled in Settings. The pool UI includes a visual agent node map showing participation and turn order.
Story: "Todd's Product Decision"
Todd needs to decide between three pricing strategies for his SaaS. Instead of asking one agent, he opens a Social Pool:
- Pool: “Q2 Pricing Strategy” with three agents: Market Analyst, Financial Advisor, and Customer Advocate.
- Market Analyst presents competitor data and recommends premium pricing.
- Customer Advocate argues for freemium based on churn data.
- Financial Advisor calls a vote: “Which pricing model maximizes 12-month revenue?” with three options.
- Each agent votes with reasoning. Todd reads the discussion, sees the vote results, and makes his final decision with three different perspectives documented.
The pool archive preserves the entire deliberation — reasoning, votes, and outcome — in memory for future reference.
Email Triage and Management
Connect Gmail or Outlook via OAuth for AI-powered email management. Emails are automatically scored by priority, sorted into buckets, and displayed on a board — similar to the Kanban but for email threads.
Auto-Triage
Every incoming email gets a priority score (0–100) based on urgency keywords, sender importance, attachments, and read status. Emails are labeled High (≥75), Medium (≥45), or Low.
Buckets
Emails are sorted into default buckets: Untriaged, Sales,Support, Billing, Personal, and Later. Custom buckets and rules can be added.
Board View
Columns: New/Untriaged → Needs Reply → Waiting on Them → Follow Up → Done/Archived. Drag threads between columns. Assign agents to threads for automated responses.
Agent Safety Controls
allowAgentDraftReplies— let agents draft email responsesallowAgentSendReplies— let agents send replies (use with caution)allowAgentAutoAssignEmails— auto-assign emails to agents by ruleallowAgentModifyEmailFlagsLabels— let agents star, label, or archivepriorityAlertThreshold— score threshold for high-priority alerts in chat
Rules Engine
Create rules that match sender, subject, or attachment presence and auto-apply: bucket assignment, priority override, or agent assignment. The system suggests rules based on your manual triage patterns.
Story: "Todd's Morning Email Triage"
Todd connects his Gmail. By the time he wakes up, ClawMagic has already triaged 47 overnight emails:
- 3 high-priority (customer escalations) are in the “Needs Reply” column with AI-generated draft responses waiting for Todd’s approval.
- 12 sales inquiries are bucketed under Sales. Todd’s agent already drafted personalized replies based on the sender’s company and past interactions.
- 20 newsletters and notifications are in Later, auto-sorted by rules Todd set up last week.
- 12 support tickets are in the Support bucket. Todd scans the summaries, approves 8 draft replies, edits 2, and flags 2 for personal follow-up.
47 emails handled in 10 minutes instead of 90. The agent drafted; Todd approved.
Skills System
Skills are reusable, versioned agent instruction sets stored as SkillSpec JSON files. Unlike plugins (which add tool code), a skill is a focused prompt and procedure that tells an agent how to approach a task.
- Browse, activate, and deactivate skills from the portal (
/app/skills) - Agents discover skills at runtime via
skill.searchandskill.gettools - Skills can be bundled with plugins or installed standalone
- Test and view run logs for each skill
Scheduled Jobs (Crons)
Create recurring automations that run on a schedule. Agents can create, update, and trigger cron jobs themselves, or you can set them up from the portal (/app/crons).
- Interval-based: run every N minutes
- Cron expressions: standard cron syntax for precise scheduling
- Jobs can target specific agents
- Agents can manage jobs via the built-in
crontool (add, update, remove, run, wake)
Heartbeat
A special always-on cron that keeps your agent alive and proactive. Configurable interval, active hours, and adaptive cadence. The heartbeat runs even when no one is chatting — your agent checks in, processes background tasks, and stays current.
Browser Automation
Agents can control a local Playwright browser session to interact with websites. This is an agent-only tool (no portal UI) but fully accessible during agent runs.
- Navigate: open URLs, manage tabs
- Interact: click, type, scroll
- Capture: screenshots, DOM snapshots
- Multi-profile: separate browser profiles for isolation
Requires Playwright installed (npx playwright install). Useful for agents that need to fill forms, scrape data, or test web applications.
Agent Tool Registry
Beyond the portal-visible tools, agents have access to a full registry of built-in capabilities they can invoke during any run:
| Category | Tools | What They Do |
|---|---|---|
| Local Workspace | local_run_command, local_read_file, local_write_file, local_apply_patch, local_git_* | File operations, CLI commands (allowlisted), git |
| Memory | memory_catalog, memory_query, memory_append | Read and write across 6 memory tiers |
| Web | web_fetch, web_search | Fetch URLs (SSRF-protected), search via Brave or DuckDuckGo |
| Messaging | message | Send across Slack, Discord, Telegram, WhatsApp |
| Sessions | sessions_list, sessions_send, sessions_spawn, sessions_history | Manage chat sessions and dispatch sub-agents |
| Discovery | skill.search, plugin.list, action.catalog, action.detail | Find skills, plugins, and actions at runtime |
| Browser | browser | Playwright automation (navigate, click, type, screenshot) |
Command allowlist for local_run_command includes: git, npm, node, python, docker, kubectl, terraform, cargo, go, and 30+ other safe CLI tools. Read-only commands (ls, cat, grep, etc.) skip the approval gate.
Next Steps
- /docs/basic-use — learn the two ways to use ClawMagic day-to-day.
- /docs/agent-flows — understand single-agent, multi-agent, and plugin swarm patterns.
- /docs/memory-system — how the 6-tier memory system works.
- /docs/configuration — configure every aspect of ClawMagic.
- /docs/plugin-development — build your own tools with ActionSpec.