Architecture at a glance
Component view β channels, gateway, agent runtime, tools, and providers. All in one self-hosted service on your machine.
Input Channels
- Telegram bot β voice, images, history,
/new - Discord bot β threads, attachments, interactive coding sessions
- Web dashboard β audit, cron, usage, templates, skills
- CLI β start, stop, onboard, tools, cron
Core Runtime
- Fastify gateway on
:18790with bearer auth - Agent runner with tool loop, history, and memory
- Unified provider router (Anthropic / Codex / OpenAI-compat)
- Cron scheduler + heartbeat keep-alive
Tools
- Read, Write, Glob, Bash, Fetch + Playwright browser
- Path-scoped to
allowedPathsβ no free filesystem access - MCP tools auto-discovered via mcporter
Safety Gate
- Exec approval classifies bash commands tier 0β3
- Tiers 2β3 pause and require human approval
- Approval requests route to the active channel
Coding Agents
code_with_agentspawns Claude, Codex, or Kimi CLI- Monorepo-aware validation scoped to changed packages
- Live stdout streaming + cost / token tracking
- Discord threads: bidirectional
claude --resumesessions
Local Storage
- Config at
~/.skimpyclaw/config.json(0600 perms) - JSONL logs: audit, usage, code-agents, interactive-sessions
- Skills at
~/.skimpyclaw/skills/<name>/SKILL.md - Agent templates at
~/.skimpyclaw/agents/<name>/
External APIs
- Anthropic (Claude Opus / Sonnet / Haiku) β OAuth or API key
- Codex backend via ChatGPT responses endpoint
- Any OpenAI-compatible provider (OpenRouter, Groq, Together)
- MCP servers auto-discovered via mcporter