Files
clawdbot/docs/AGENTS.default.md
2025-12-20 02:08:04 +00:00

4.5 KiB
Raw Blame History

summary, read_when
summary read_when
Default Clawdis agent instructions and tool roster for the personal assistant setup
Starting a new Clawdis agent session
Enabling or auditing default tools

AGENTS.md — Clawdis Personal Assistant (default)

Clawdis uses a dedicated workspace directory for the agent. Default: ~/.clawdis/workspace.

  1. Create the workspace (if it doesnt already exist):
mkdir -p ~/.clawdis/workspace
  1. Copy the default workspace templates into the workspace:
cp docs/templates/AGENTS.md ~/.clawdis/workspace/AGENTS.md
cp docs/templates/SOUL.md ~/.clawdis/workspace/SOUL.md
cp docs/templates/TOOLS.md ~/.clawdis/workspace/TOOLS.md
  1. Optional: if you want the personal assistant tool roster, replace AGENTS.md with this file:
cp docs/AGENTS.default.md ~/.clawdis/workspace/AGENTS.md
  1. Optional: choose a different workspace by setting inbound.workspace (supports ~):
{
  inbound: {
    workspace: "~/clawd"
  }
}

Safety defaults

  • Dont dump directories or secrets into chat.
  • Dont run destructive commands unless explicitly asked.
  • Dont send partial/streaming replies to external messaging surfaces (only final replies).
  • Keep a short daily log at memory/YYYY-MM-DD.md (create memory/ if needed).
  • On session start, read today + yesterday if present.
  • Capture durable facts, preferences, and decisions; avoid secrets.

If you treat this workspace as Clawds “memory”, make it a git repo (ideally private) so AGENTS.md and your memory files are backed up.

cd ~/.clawdis/workspace
git init
git add AGENTS.md
git commit -m "Add Clawd workspace"
# Optional: add a private remote + push

What Clawdis Does

  • Runs WhatsApp gateway + Pi coding agent so the assistant can read/write chats, fetch context, and run tools via the host Mac.
  • macOS app manages permissions (screen recording, notifications, microphone) and exposes the clawdis CLI via its bundled binary.
  • Direct chats collapse into the shared main session by default; groups stay isolated as group:<jid>; heartbeats keep background tasks alive.

Core Tools (enable in Settings → Tools)

  • mcporter — MCP runtime/CLI to list, call, and sync Model Context Protocol servers.
  • Peekaboo — Fast macOS screenshots with optional AI vision analysis.
  • camsnap — Capture frames, clips, or motion alerts from RTSP/ONVIF security cams.
  • oracle — OpenAI-ready agent CLI with session replay and browser control.
  • qmd — Hybrid markdown search (BM25 + vectors + rerank) with an MCP server for agents.
  • eightctl — Control your sleep, from the terminal.
  • imsg — Send, read, stream iMessage & SMS.
  • wacli — WhatsApp CLI: sync, search, send.
  • gog — Google Suite CLI: Gmail, Calendar, Drive, Contacts.
  • spotify-player — Terminal Spotify client to search/queue/control playback.
  • sag — ElevenLabs speech with mac-style say UX; streams to speakers by default.
  • Sonos CLI — Control Sonos speakers (discover/status/playback/volume/grouping) from scripts.
  • blucli — Play, group, and automate BluOS players from scripts.
  • OpenHue CLI — Philips Hue lighting control for scenes and automations.
  • OpenAI Whisper — Local speech-to-text for quick dictation and voicemail transcripts.
  • Gemini CLI — Google Gemini models from the terminal for fast Q&A.
  • bird — X/Twitter CLI to tweet, reply, read threads, and search without a browser.
  • agent-tools — Utility toolkit for automations and MCP-friendly scripts.

MCP Servers (added via mcporter)

  • Gmail MCP (gmail) — Search, read, and send Gmail messages.
  • Google Calendar MCP (google-calendar) — List, create, and update events.

Usage Notes

  • Prefer the clawdis CLI for scripting; mac app handles permissions.
  • Run installs from the Tools tab; it hides the button if a tool is already present.
  • For MCPs, mcporter writes to the home-scope config; re-run installs if you rotate tokens.
  • Keep heartbeats enabled so the assistant can schedule reminders, monitor inboxes, and trigger camera captures.
  • For browser-driven verification, use clawdis browser (tabs/status/screenshot) with the clawd-managed Chrome profile.
  • For DOM inspection, use clawdis browser eval|query|dom|snapshot (and --json/--out when you need machine output).
  • For interactions, use clawdis browser click|type|hover|drag|select|upload|press|wait|navigate|back|evaluate|run.