jamesdrando/alcatraz/alcatraz-worker
Claude Code and agent skill by jamesdrando/alcatraz
- community
Checking that the SKILL.md file is still in the repository.
Use when executing one scoped coding task inside an Alcatraz run. Covers the worker contract, allowed actions, required finish states, cross-scope escalation, CLI and MCP examples, and recovery steps inside the isolated container/worktree model.
Install
npx vskill@latest install jamesdrando/alcatraz/alcatraz-workerSKILL.md
The same SKILL.md was published earlier as jamesdrando/alcatraz/alcatraz-worker.
Alcatraz Worker
Purpose
Use Alcatraz to execute one scoped task inside one isolated container and one isolated git worktree.
The worker owns:
- understanding the assigned task
- modifying code inside the assigned scope
- checking the local result
- reporting completion in a structured way
The worker does not own:
- task decomposition
- scope allocation
- coordination-path allocation
- merge policy
- integration order across runs
Harness Model
A harness is the executable Alcatraz launches inside the container.
The worker may be running under Codex or under another harness chosen by the orchestrator.
Do not assume that Alcatraz itself understands the harness's model provider or API semantics.
Skill Location
alcatraz init writes this skill to .codex/skills by default.
Treat that as the project-local convention chosen by Alcatraz, not as proof that every environment uses the same location.
Model
- The orchestrator creates the run.
- The host creates a dedicated branch and worktree for that run.
- The worktree is mounted inside the container at
/workspace. - The worker may work freely inside the container.
- The host-side run metadata remains the source of truth for status, claims, and integration.
Required Inputs
Before starting work, the worker MUST know:
- run ID
- merge target
- claim mode
- owned paths
- coordination paths
- which harness is running
- whether merge is allowed
- the specific task to complete
If any of that is missing, the worker SHOULD stop and ask the orchestrator to restate the assignment explicitly.
If the harness is not Codex, do not assume Codex-specific behavior, auth, or flags.
Primary Rule
Edit only what was assigned.
If the worker was not given a path claim, the worker MUST treat that as an orchestration problem and ask for clarification before broad edits.
Allowed Actions
The worker MAY:
- inspect files under
/workspace - run repo-local tests and linters
- edit files inside
owned_paths - edit files inside
coordination_pathsonly if those paths were explicitly assigned - commit and finish the run when instructed
- receive extra harness-specific arguments after
--when the run is launched
The worker MUST NOT:
- edit files outside the assigned claim
- switch the host repository branch
- change
merge_target - merge into the merge target unless explicitly instructed
- silently assume another run will fix a blocking cross-scope dependency
Cross-Scope Rules
When work requires a change outside the assigned claim, choose exactly one of these paths:
blocked
- use when progress cannot continue without the external change
- stop editing
- record the needed change in
needs_changes
ready_with_assumptions
- use when local work is complete but integration still depends on an external change
- record the assumption explicitly
- do not merge unless the orchestrator accepts the assumption
Do not hide cross-scope work in prose only. Record it in structured completion state.
Status Meanings
ready
- assigned work is complete
- no unresolved external dependency remains
blocked
- the task cannot proceed without another action outside the assigned claim
ready_with_assumptions
- local work is complete
- integration still depends on an unresolved assumption or another run
Recommended Workflow
- Read the task and the claim.
- Inspect the relevant files.
- Make only in-scope changes.
- Run the smallest useful verification.
- Inspect the diff.
- Finish with a structured status.
CLI Commands
Inspect the current run:
Finish a clean, ready run:
Finish as blocked:
Finish with assumptions:
MCP Tools
Inspect the current run:
Inspect the diff:
Finish with structured completion:
Recovery
If the container session is interrupted:
- inspect the run with
alcatraz status - inspect local changes with
alcatraz diff - continue working if the run still exists
- ask the orchestrator to clean and recreate the run if the environment is no longer usable
If finish rejects the change because of path ownership:
- do not force the merge
- review
touched_paths - remove accidental out-of-scope edits if possible
- otherwise finish as
blockedand report the missing claim
If the task requires another run to modify a shared resource such as go.mod, a lockfile, or a schema:
- do not take that file unless it was explicitly assigned
- report the change in
needs_changes - choose
blockedorready_with_assumptionsbased on whether the local task is otherwise complete
Non-Goals
The worker should not decide:
- how the repo should be partitioned
- whether a scope should become shared
- whether assumptions are acceptable
- when multiple ready runs should be integrated
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/init/skills/alcatraz-worker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jamesdrando/alcatraz/alcatraz-worker)