Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Cubicle is a local harness and management tool for AI coding agents. It provides a central place to manage shared logic, configuration, and tools for different agent families (like Claude, Antigravity, and Codex), ensuring a consistent and observable developer experience.
The goal of Cubicle is to eliminate duplication across different agent setups and provide a single interface for extending agent capabilities.
Cubicle-managed supervisor and worker runs store their events in PostgreSQL. Legacy direct CLI wrappers use a separate local SQLite telemetry database.
BeforeTool, PreToolUse) to a consistent standard.~/.cubicle/data/telemetry.db for legacy direct launches.For the full installation, configuration, and first-task walkthrough, see docs/SETUP.md.
Ensure you have Python 3.11+ installed on your system.
Install the Cubicle CLI globally (in editable mode for development):
git clone https://github.com/jwplatta/agent-cubicle.git
cd agent-cubicle
pip install -e .
Point your AI agents to the Cubicle telemetry harness:
# Setup for Antigravity
cubicle init-hooks --agent agy
# Setup for Claude
cubicle init-hooks --agent claude
# Setup for Codex
cubicle init-hooks --agent codex
This command installs stable hook scripts to ~/.cubicle/hooks/ and automatically registers them in your agent's global settings (e.g., ~/.claude/settings.json).
Run cubicle init to create the local backlog, context, logs, runs, artifacts, and
versioned supervisor resources under ~/.cubicle. Existing configuration is preserved.
cubicle supervisor starts Codex by default; set supervisor.backend in
~/.cubicle/config.yaml or pass --backend claude, --backend agy, or
--backend codex to select a CLI. Codex is given a local Cubicle MCP server;
Claude receives a per-session MCP configuration, and Antigravity registers the
Cubicle MCP server in its global MCP configuration without replacing other servers.
Cubicle's initial MCP tools create and inspect shared Markdown backlog items and
PostgreSQL task graphs, and can start experimental host worker runs. Configure
CUBICLE_DATABASE_URL in the environment or ~/.cubicle/.env and run
cubicle db-init once. Use a URL such as
postgresql+psycopg://USER:PASSWORD@localhost:5432/cubicle; never commit credentials.
Use a dedicated database role when available. The schema initializer refuses existing
unversioned Cubicle tables and migrates supported earlier Cubicle schema versions.
The host stdio server is cubicle mcp --enable-workers. Worker dispatch deliberately
uses the agent CLI's unattended permission-bypass mode; the node scope is an instruction,
not an enforced filesystem boundary. Worker output is stored under ~/.cubicle/runs and
reconciled after process completion. Hook records are spooled and retried, and startup
checks incomplete runs without relaunching them. Unknown outcomes require investigation.
Graph snapshots and verified merged-branch cleanup are available; reliable termination
of independently detached descendants is not implemented.
To ask the supervisor to review long-running nodes, set
limits.max_run_seconds to a positive number in ~/.cubicle/config.yaml.
The signal is checked when the supervisor polls a run; it does not stop a worker.
Claude nodes default to 30 agent turns; set limits.claude_max_turns or pass a
different max_turns when starting a node. Specify model there when needed.
An interactive cubicle supervisor --backend agy captures quota readings from the
Antigravity status line. Antigravity worker dispatch pauses when a reported quota
bucket reaches limits.agy_max_used_percent (default 80), or its reading is older
than five minutes. The status line may need a model request before it has quota data.
The check is account-wide, conservative across reported buckets, and applies before
dispatch; it cannot reserve capacity or stop other applications from using the quota.
Codex worker dispatch checks its current account windows through the Codex app server
and pauses at limits.codex_max_used_percent (default 80), or if the reading is
unavailable. Active-run polls flag a quota threshold or unavailable reading for the
supervisor to investigate. These checks do not reserve quota or automatically stop
running workers. Claude subscription-window gating is deferred.
New worker output and hook payloads are redacted before spooling and database ingestion
using pygarble's local secret detector plus known shared-environment secrets. Detection
jwplatta-agent-cubicle@cascade-ai-ml-agents-misc-1 is listed by joshuarweaver/cascade-ai-ml-agents-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin jwplatta-agent-cubiclePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.