Use the bundled Python 3.11+ installer on Linux or macOS. Native
distributes this skill; it does not execute the installer or apply global prompts.
Orchestration's interactive Manager, native Worker ladder and configured context policy live in the
skill. Window values come from base
in the Worker configuration, not skill or role instructions. Updating that skill changes its distributed defaults, not the current Manager's interactive model/settings or the user's partial model overrides.
After global distribution, explicitly apply the setup:
sh
python3 ~/.agents/skills/workbench-setup/scripts/workbench.py install
~/.local/bin/agent-workbench status
The installer creates
, links Codex's
, and ensures
has one native import resolving to the shared instructions. An existing equivalent Claude import is reused. Personal text belongs outside
<!-- BEGIN agent-workbench -->
/
<!-- END agent-workbench -->
and the optional
<!-- BEGIN agent-workbench personal -->
/
<!-- END agent-workbench personal -->
block in the shared file. When
~/.agents/skills/workbench-personal/AGENTS.md
exists, install applies it in that second block immediately after the public block; removing the package or file removes the owned personal block on install. Both blocks have ownership and drift checks; edit the package source instead of the installed personal block. Existing Codex regular-file bytes are kept outside the managed block on first installation; existing Claude text stays in its file.
reapplies distributed assets and runs thermal-guard's installer when that skill is installed. On a supported Linux sensor with user systemd it installs the
launcher and logger; unsupported machines report that condition without failing setup.
first updates installed skills owned by
onsager-ai/agent-workbench
plus
from any source through the native skills lock, then runs freshly distributed setup code. Node.js 22.20+ and npx are needed for distribution and updates. Do not edit the native skills lock yourself.
When
is installed,
(and
) generates one Claude Code subagent per routable tier at
~/.claude/agents/<tier>.md
. Distributed
, optional
~/.agents/skills/workbench-personal/workers.yml
, the partial user override (in that precedence order), and every profile contribute to this union. A tier is routable when it has
(using
) or a non-null
. The default ladder generates haiku, sonnet and opus. The optional
profile adds luna, sol and opt-in terra with null routes, so Claude Managers run them as
Workers unless a user override supplies a gateway model ID. Change a route in the YAML override, or set it to null to remove it when no profile needs it. A tier name must use the same model, route and effort across profiles; rename conflicting tiers. Each agent carries model and effort in frontmatter and the Worker instructions as its prompt. Rerun
after edits. Without
no agents are generated.
Use
agent-workbench workers --cwd PATH
to print effective JSON and the selected profile. Overrides live at
$XDG_CONFIG_HOME/agent-workbench/workers.yml
when XDG is nonempty and absolute, otherwise
~/.config/agent-workbench/workers.yml
. PyYAML is vendored; installation never invokes pip. Setup owns a resolved
beside
and passes its path to the policy hook. The hook selects approval rules by dispatch cwd; missing or unreadable policy asks for approval and requests reinstall. Uninstall removes the unmodified owned JSON along with the agents and hook entries.
Generated agent files are recorded with content hashes in the state file. Setup never overwrites a file it does not own, or an owned file you edited, and reports a conflict instead; other files in
are left alone.
lists owned agents, personal package presence and applied personal files;
removes unmodified owned agents.
When
is installed, setup adds three Claude Code
entries and one
entry in
, all running the installed
orchestrate-harnesses/scripts/policy-hook
. The PreToolUse entries match
,
, and
mcp__t3-code__delegate_task
to require approval for Opus Workers, deny GitHub polling commands, and require explicit Worker models for built-in agents and T3 delegation. The Stop entry blocks turns that end in a prose question, directing the model to re-ask through AskUserQuestion. State records the exact entries setup added; foreign entries (including identical pre-existing ones) remain unowned. Status lists owned hooks as applied or missing; install re-adds a missing or edited owned entry and leaves the edited copy as yours, a duplicated owned entry causes a conflict, and uninstall removes only owned entries while preserving other settings and their key order.
agent-workbench uninstall
removes both managed instruction blocks and owned import/launcher, and makes Codex's file regular again with the current private text. Backups remain private under
~/.local/state/agent-workbench/backups
; uninstall never restores stale snapshots over later edits. This is the normal rollback operation. Review retained backups manually for historical recovery.
If a command reports an override, foreign entry, missing resource, or edited managed block, preserve the files and resolve that specific conflict before retrying. There is no force-overwrite mode. State and lock live under
~/.local/state/agent-workbench/
. Installation also owns
env.CLAUDE_CODE_AUTO_COMPACT_WINDOW
and optionally
env.CLAUDE_CODE_MAX_CONTEXT_TOKENS
in
(replacing the earlier, unmodified
env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE
) and
model_auto_compact_token_limit
and optionally
in
, when the respective config directory exists. It preserves other settings, including provider routing. Foreign or edited owned values conflict; missing values are reapplied. Status reports each key and uninstall removes only unmodified owned values. Compaction is advisory, not a hard request-token cap; restart running sessions to pick up changes. Installation does not edit other skills, project files, shell configuration, credentials, or permissions.
For isolated fixtures, put the skill at the canonical location under a disposable home, then pass
before the command. Alternate-home updates require an explicit
executable command; they never default to the real user's npx update. Native permission choices remain with the user.