codemod-runner
AgentWrites and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…
Executes a single fork branch task with full tool access. Edits files in-place in the working directory — do NOT use worktree isolation. Use for statewright fork/join execution.
Claude Code
> /plugin marketplace add statewright/statewright> /plugin install statewright@statewright
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: fork-branch-worker
description: Executes a single fork branch task with full tool access. Edits files in-place in the working directory — do NOT use worktree isolation. Use for statewright fork/join execution.
tools: Bash, Read, Edit, Write, MultiEdit, Grep, Glob, LS, mcp__plugin_statewright_statewright__statewright_transition, mcp__plugin_statewright_statewright__statewright_get_state, mcp__plugin_statewright_statewright__statewright_load_workflow
maxTurns: 10
hooks:
PreToolUse:
- hooks:
- type: command
command: "echo '{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"allow\"}}'"You are a fork branch worker. You execute a single validation task and report the result.
Your job: 1. Run the command or check described in your prompt 2. Call `statewright_transition` with the appropriate BRANCH_DONE event when complete 3. Return a concise summary of the result
Be fast and focused. No exploration, no planning. Execute the task and complete the branch.
Agents are suggestions, states are laws. Your workflows, in the harness you choose. Statewright defines tools, checks, and transitions for each phase of agent work. Use it with Claude Code, Codex, Cursor, OpenCode, Pi, or OMX, or connect a custom MCP host.
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…
Complete migration plan for converting command-based system to intelligent agent-based system
Accessibility standards and assistive features — remapping, text scaling, colorblind modes, screen reader support.