clawbox
CLAUDE.md17 starsChanged 4 months agoMITView on GitHub
ClawBox is a cross-platform desktop application (Tauri v2) for managing AI coding agents: it detects/installs agents (Claude Code, Codex, OpenClaw, etc.), configures model providers, and syncs provider/MCP/skills/memory settings down to each agent's own config files. Note: agent↔provider binding is per-agent (no global "star"/sync-all); the agent page selector has no unbind option — once bound, an agent stays managed by ClawBox. Build artifacts land in src-tauri/target/release/bundle/.
The file
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
ClawBox is a cross-platform desktop application (Tauri v2) for managing AI coding agents: it detects/installs agents (Claude Code, Codex, OpenClaw, etc.), configures model providers, and syncs provider/MCP/skills/memory settings down to each agent's own config files.
Architecture
Backend (Rust, src-tauri/)
- Entry:
src-tauri/src/main.rs→lib.rs(run()registers all Tauri commands viainvoke_handler) src/commands/— Tauri command handlers exposed to the frontend:config.rs— model provider / app config CRUDsync.rs— sync orchestration (per-agent provider binding, overview)cc_switch.rs— cc-switch importinstall.rs,agents.rs,aggregate.rs,provider_test.rs
src/sync/— per-agent config adapters (providers.rs,codex.rs,skills.rs,memory.rs,json_file.rs,cli.rs)src/agents/,src/backends/— agent detection and backend definitionssrc/path_env.rs— PATH bootstrapping (must run before threads spawn)
Frontend (Svelte 5 + TypeScript + Vite, repo root)
- Entry:
src/main.ts→src/App.svelte - Pages in
src/routes/:agents/,providers/,mcp/,capabilities/,about/ src/lib/api/— typed wrappers around Tauriinvokecallssrc/lib/stores/— Svelte stores (e.g.config.tsfor providers)src/lib/i18n/—en.json/zh.jsonlocales (svelte-i18n)- Styling: TailwindCSS 4 + Skeleton
Note: agent↔provider binding is per-agent (no global "star"/sync-all); the agent page selector has no unbind option — once bound, an agent stays managed by ClawBox.
Commands
npm run dev # frontend dev server (vite, port 1420)
npm run tauri dev # full app in dev mode
npm run tauri build # release build + bundles (.app / .dmg on macOS)
npm run check # svelte-check type checking
cd src-tauri && cargo test # Rust testsBuild artifacts land in src-tauri/target/release/bundle/.
Key Files
src-tauri/tauri.conf.json— app config (identifiercom.clawbox.desktop, window, CSP)src-tauri/src/sync/providers.rs— per-agent provider adapters (largest module)src/routes/agents/+page.svelte— agent list, install/upgrade, provider binding UIsrc/lib/i18n/{en,zh}.json— all user-facing copy; keep both in sync
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

