[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-deepgram-coding-agent":3,"mdc--4zdlz0-key":32,"related-org-deepgram-coding-agent":2916,"related-repo-deepgram-coding-agent":3067},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":30,"mdContent":31},"coding-agent","run coding agents for programmatic control","Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"deepgram","Deepgram","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdeepgram.png",[12,16,19],{"name":13,"slug":14,"type":15},"Automation","automation","tag",{"name":17,"slug":18,"type":15},"Coding","coding",{"name":20,"slug":21,"type":15},"Agents","agents",23,"https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdglabs-deepclaw","2026-07-12T08:29:08.6658",null,9,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":25},[],"https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdglabs-deepclaw\u002Ftree\u002FHEAD\u002Fskills\u002Fcoding-agent","---\nname: coding-agent\ndescription: Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.\nmetadata:\n  {\n    \"openclaw\": { \"emoji\": \"🧩\", \"requires\": { \"anyBins\": [\"claude\", \"codex\", \"opencode\", \"pi\"] } },\n  }\n---\n\n# Coding Agent (bash-first)\n\nUse **bash** (with optional background mode) for all coding agent work. Simple and effective.\n\n## ⚠️ PTY Mode Required!\n\nCoding agents (Codex, Claude Code, Pi) are **interactive terminal applications** that need a pseudo-terminal (PTY) to work correctly. Without PTY, you'll get broken output, missing colors, or the agent may hang.\n\n**Always use `pty:true`** when running coding agents:\n\n```bash\n# ✅ Correct - with PTY\nbash pty:true command:\"codex exec 'Your prompt'\"\n\n# ❌ Wrong - no PTY, agent may break\nbash command:\"codex exec 'Your prompt'\"\n```\n\n### Bash Tool Parameters\n\n| Parameter    | Type    | Description                                                                 |\n| ------------ | ------- | --------------------------------------------------------------------------- |\n| `command`    | string  | The shell command to run                                                    |\n| `pty`        | boolean | **Use for coding agents!** Allocates a pseudo-terminal for interactive CLIs |\n| `workdir`    | string  | Working directory (agent sees only this folder's context)                   |\n| `background` | boolean | Run in background, returns sessionId for monitoring                         |\n| `timeout`    | number  | Timeout in seconds (kills process on expiry)                                |\n| `elevated`   | boolean | Run on host instead of sandbox (if allowed)                                 |\n\n### Process Tool Actions (for background sessions)\n\n| Action      | Description                                          |\n| ----------- | ---------------------------------------------------- |\n| `list`      | List all running\u002Frecent sessions                     |\n| `poll`      | Check if session is still running                    |\n| `log`       | Get session output (with optional offset\u002Flimit)      |\n| `write`     | Send raw data to stdin                               |\n| `submit`    | Send data + newline (like typing and pressing Enter) |\n| `send-keys` | Send key tokens or hex bytes                         |\n| `paste`     | Paste text (with optional bracketed mode)            |\n| `kill`      | Terminate the session                                |\n\n---\n\n## Quick Start: One-Shot Tasks\n\nFor quick prompts\u002Fchats, create a temp git repo and run:\n\n```bash\n# Quick chat (Codex needs a git repo!)\nSCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec \"Your prompt here\"\n\n# Or in a real project - with PTY!\nbash pty:true workdir:~\u002FProjects\u002Fmyproject command:\"codex exec 'Add error handling to the API calls'\"\n```\n\n**Why git init?** Codex refuses to run outside a trusted git directory. Creating a temp repo solves this for scratch work.\n\n---\n\n## The Pattern: workdir + background + pty\n\nFor longer tasks, use background mode with PTY:\n\n```bash\n# Start agent in target directory (with PTY!)\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec --full-auto 'Build a snake game'\"\n# Returns sessionId for tracking\n\n# Monitor progress\nprocess action:log sessionId:XXX\n\n# Check if done\nprocess action:poll sessionId:XXX\n\n# Send input (if agent asks a question)\nprocess action:write sessionId:XXX data:\"y\"\n\n# Submit with Enter (like typing \"yes\" and pressing Enter)\nprocess action:submit sessionId:XXX data:\"yes\"\n\n# Kill if needed\nprocess action:kill sessionId:XXX\n```\n\n**Why workdir matters:** Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅).\n\n---\n\n## Codex CLI\n\n**Model:** `gpt-5.2-codex` is the default (set in ~\u002F.codex\u002Fconfig.toml)\n\n### Flags\n\n| Flag            | Effect                                             |\n| --------------- | -------------------------------------------------- |\n| `exec \"prompt\"` | One-shot execution, exits when done                |\n| `--full-auto`   | Sandboxed but auto-approves in workspace           |\n| `--yolo`        | NO sandbox, NO approvals (fastest, most dangerous) |\n\n### Building\u002FCreating\n\n```bash\n# Quick one-shot (auto-approves) - remember PTY!\nbash pty:true workdir:~\u002Fproject command:\"codex exec --full-auto 'Build a dark mode toggle'\"\n\n# Background for longer work\nbash pty:true workdir:~\u002Fproject background:true command:\"codex --yolo 'Refactor the auth module'\"\n```\n\n### Reviewing PRs\n\n**⚠️ CRITICAL: Never review PRs in OpenClaw's own project folder!**\nClone to temp folder or use git worktree.\n\n```bash\n# Clone to temp for safe review\nREVIEW_DIR=$(mktemp -d)\ngit clone https:\u002F\u002Fgithub.com\u002Fuser\u002Frepo.git $REVIEW_DIR\ncd $REVIEW_DIR && gh pr checkout 130\nbash pty:true workdir:$REVIEW_DIR command:\"codex review --base origin\u002Fmain\"\n# Clean up after: trash $REVIEW_DIR\n\n# Or use git worktree (keeps main intact)\ngit worktree add \u002Ftmp\u002Fpr-130-review pr-130-branch\nbash pty:true workdir:\u002Ftmp\u002Fpr-130-review command:\"codex review --base main\"\n```\n\n### Batch PR Reviews (parallel army!)\n\n```bash\n# Fetch all PR refs first\ngit fetch origin '+refs\u002Fpull\u002F*\u002Fhead:refs\u002Fremotes\u002Forigin\u002Fpr\u002F*'\n\n# Deploy the army - one Codex per PR (all with PTY!)\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec 'Review PR #86. git diff origin\u002Fmain...origin\u002Fpr\u002F86'\"\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec 'Review PR #87. git diff origin\u002Fmain...origin\u002Fpr\u002F87'\"\n\n# Monitor all\nprocess action:list\n\n# Post results to GitHub\ngh pr comment \u003CPR#> --body \"\u003Creview content>\"\n```\n\n---\n\n## Claude Code\n\n```bash\n# With PTY for proper terminal output\nbash pty:true workdir:~\u002Fproject command:\"claude 'Your task'\"\n\n# Background\nbash pty:true workdir:~\u002Fproject background:true command:\"claude 'Your task'\"\n```\n\n---\n\n## OpenCode\n\n```bash\nbash pty:true workdir:~\u002Fproject command:\"opencode run 'Your task'\"\n```\n\n---\n\n## Pi Coding Agent\n\n```bash\n# Install: npm install -g @mariozechner\u002Fpi-coding-agent\nbash pty:true workdir:~\u002Fproject command:\"pi 'Your task'\"\n\n# Non-interactive mode (PTY still recommended)\nbash pty:true command:\"pi -p 'Summarize src\u002F'\"\n\n# Different provider\u002Fmodel\nbash pty:true command:\"pi --provider openai --model gpt-4o-mini -p 'Your task'\"\n```\n\n**Note:** Pi now has Anthropic prompt caching enabled (PR #584, merged Jan 2026)!\n\n---\n\n## Parallel Issue Fixing with git worktrees\n\nFor fixing multiple issues in parallel, use git worktrees:\n\n```bash\n# 1. Create worktrees for each issue\ngit worktree add -b fix\u002Fissue-78 \u002Ftmp\u002Fissue-78 main\ngit worktree add -b fix\u002Fissue-99 \u002Ftmp\u002Fissue-99 main\n\n# 2. Launch Codex in each (background + PTY!)\nbash pty:true workdir:\u002Ftmp\u002Fissue-78 background:true command:\"pnpm install && codex --yolo 'Fix issue #78: \u003Cdescription>. Commit and push.'\"\nbash pty:true workdir:\u002Ftmp\u002Fissue-99 background:true command:\"pnpm install && codex --yolo 'Fix issue #99: \u003Cdescription>. Commit and push.'\"\n\n# 3. Monitor progress\nprocess action:list\nprocess action:log sessionId:XXX\n\n# 4. Create PRs after fixes\ncd \u002Ftmp\u002Fissue-78 && git push -u origin fix\u002Fissue-78\ngh pr create --repo user\u002Frepo --head fix\u002Fissue-78 --title \"fix: ...\" --body \"...\"\n\n# 5. Cleanup\ngit worktree remove \u002Ftmp\u002Fissue-78\ngit worktree remove \u002Ftmp\u002Fissue-99\n```\n\n---\n\n## ⚠️ Rules\n\n1. **Always use pty:true** - coding agents need a terminal!\n2. **Respect tool choice** - if user asks for Codex, use Codex.\n   - Orchestrator mode: do NOT hand-code patches yourself.\n   - If an agent fails\u002Fhangs, respawn it or ask the user for direction, but don't silently take over.\n3. **Be patient** - don't kill sessions because they're \"slow\"\n4. **Monitor with process:log** - check progress without interfering\n5. **--full-auto for building** - auto-approves changes\n6. **vanilla for reviewing** - no special flags needed\n7. **Parallel is OK** - run many Codex processes at once for batch work\n8. **NEVER start Codex in ~\u002Fclawd\u002F** - it'll read your soul docs and get weird ideas about the org chart!\n9. **NEVER checkout branches in ~\u002FProjects\u002Fopenclaw\u002F** - that's the LIVE OpenClaw instance!\n\n---\n\n## Progress Updates (Critical)\n\nWhen you spawn coding agents in the background, keep the user in the loop.\n\n- Send 1 short message when you start (what's running + where).\n- Then only update again when something changes:\n  - a milestone completes (build finished, tests passed)\n  - the agent asks a question \u002F needs input\n  - you hit an error or need user action\n  - the agent finishes (include what changed + where)\n- If you kill a session, immediately say you killed it and why.\n\nThis prevents the user from seeing only \"Agent failed before reply\" and having no idea what happened.\n\n---\n\n## Auto-Notify on Completion\n\nFor long-running background tasks, append a wake trigger to your prompt so OpenClaw gets notified immediately when the agent finishes (instead of waiting for the next heartbeat):\n\n```\n... your task here.\n\nWhen completely finished, run this command to notify me:\nopenclaw gateway wake --text \"Done: [brief summary of what was built]\" --mode now\n```\n\n**Example:**\n\n```bash\nbash pty:true workdir:~\u002Fproject background:true command:\"codex --yolo exec 'Build a REST API for todos.\n\nWhen completely finished, run: openclaw gateway wake --text \\\"Done: Built todos REST API with CRUD endpoints\\\" --mode now'\"\n```\n\nThis triggers an immediate wake event — Skippy gets pinged in seconds, not 10 minutes.\n\n---\n\n## Learnings (Jan 2026)\n\n- **PTY is essential:** Coding agents are interactive terminal apps. Without `pty:true`, output breaks or agent hangs.\n- **Git repo required:** Codex won't run outside a git directory. Use `mktemp -d && git init` for scratch work.\n- **exec is your friend:** `codex exec \"prompt\"` runs and exits cleanly - perfect for one-shots.\n- **submit vs write:** Use `submit` to send input + Enter, `write` for raw data without newline.\n- **Sass works:** Codex responds well to playful prompts. Asked it to write a haiku about being second fiddle to a space lobster, got: _\"Second chair, I code \u002F Space lobster sets the tempo \u002F Keys glow, I follow\"_ 🦞\n",{"data":33,"body":43},{"name":4,"description":6,"metadata":34},{"openclaw":35},{"emoji":36,"requires":37},"🧩",{"anyBins":38},[39,40,41,42],"claude","codex","opencode","pi",{"type":44,"children":45},"root",[46,55,69,76,88,105,211,218,385,391,548,552,558,563,718,728,731,737,742,1016,1026,1029,1035,1053,1059,1132,1138,1248,1254,1264,1495,1501,1748,1751,1757,1866,1869,1874,1917,1920,1926,2071,2081,2084,2090,2095,2504,2507,2513,2622,2625,2631,2636,2677,2682,2685,2691,2696,2706,2714,2799,2804,2807,2813,2910],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"coding-agent-bash-first",[52],{"type":53,"value":54},"text","Coding Agent (bash-first)",{"type":47,"tag":56,"props":57,"children":58},"p",{},[59,61,67],{"type":53,"value":60},"Use ",{"type":47,"tag":62,"props":63,"children":64},"strong",{},[65],{"type":53,"value":66},"bash",{"type":53,"value":68}," (with optional background mode) for all coding agent work. Simple and effective.",{"type":47,"tag":70,"props":71,"children":73},"h2",{"id":72},"️-pty-mode-required",[74],{"type":53,"value":75},"⚠️ PTY Mode Required!",{"type":47,"tag":56,"props":77,"children":78},{},[79,81,86],{"type":53,"value":80},"Coding agents (Codex, Claude Code, Pi) are ",{"type":47,"tag":62,"props":82,"children":83},{},[84],{"type":53,"value":85},"interactive terminal applications",{"type":53,"value":87}," that need a pseudo-terminal (PTY) to work correctly. Without PTY, you'll get broken output, missing colors, or the agent may hang.",{"type":47,"tag":56,"props":89,"children":90},{},[91,103],{"type":47,"tag":62,"props":92,"children":93},{},[94,96],{"type":53,"value":95},"Always use ",{"type":47,"tag":97,"props":98,"children":100},"code",{"className":99},[],[101],{"type":53,"value":102},"pty:true",{"type":53,"value":104}," when running coding agents:",{"type":47,"tag":106,"props":107,"children":111},"pre",{"className":108,"code":109,"language":66,"meta":110,"style":110},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# ✅ Correct - with PTY\nbash pty:true command:\"codex exec 'Your prompt'\"\n\n# ❌ Wrong - no PTY, agent may break\nbash command:\"codex exec 'Your prompt'\"\n","",[112],{"type":47,"tag":97,"props":113,"children":114},{"__ignoreMap":110},[115,127,168,178,187],{"type":47,"tag":116,"props":117,"children":120},"span",{"class":118,"line":119},"line",1,[121],{"type":47,"tag":116,"props":122,"children":124},{"style":123},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[125],{"type":53,"value":126},"# ✅ Correct - with PTY\n",{"type":47,"tag":116,"props":128,"children":130},{"class":118,"line":129},2,[131,136,142,148,153,158,163],{"type":47,"tag":116,"props":132,"children":134},{"style":133},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[135],{"type":53,"value":66},{"type":47,"tag":116,"props":137,"children":139},{"style":138},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[140],{"type":53,"value":141}," pty:",{"type":47,"tag":116,"props":143,"children":145},{"style":144},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[146],{"type":53,"value":147},"true",{"type":47,"tag":116,"props":149,"children":150},{"style":138},[151],{"type":53,"value":152}," command:",{"type":47,"tag":116,"props":154,"children":155},{"style":144},[156],{"type":53,"value":157},"\"",{"type":47,"tag":116,"props":159,"children":160},{"style":138},[161],{"type":53,"value":162},"codex exec 'Your prompt'",{"type":47,"tag":116,"props":164,"children":165},{"style":144},[166],{"type":53,"value":167},"\"\n",{"type":47,"tag":116,"props":169,"children":171},{"class":118,"line":170},3,[172],{"type":47,"tag":116,"props":173,"children":175},{"emptyLinePlaceholder":174},true,[176],{"type":53,"value":177},"\n",{"type":47,"tag":116,"props":179,"children":181},{"class":118,"line":180},4,[182],{"type":47,"tag":116,"props":183,"children":184},{"style":123},[185],{"type":53,"value":186},"# ❌ Wrong - no PTY, agent may break\n",{"type":47,"tag":116,"props":188,"children":190},{"class":118,"line":189},5,[191,195,199,203,207],{"type":47,"tag":116,"props":192,"children":193},{"style":133},[194],{"type":53,"value":66},{"type":47,"tag":116,"props":196,"children":197},{"style":138},[198],{"type":53,"value":152},{"type":47,"tag":116,"props":200,"children":201},{"style":144},[202],{"type":53,"value":157},{"type":47,"tag":116,"props":204,"children":205},{"style":138},[206],{"type":53,"value":162},{"type":47,"tag":116,"props":208,"children":209},{"style":144},[210],{"type":53,"value":167},{"type":47,"tag":212,"props":213,"children":215},"h3",{"id":214},"bash-tool-parameters",[216],{"type":53,"value":217},"Bash Tool Parameters",{"type":47,"tag":219,"props":220,"children":221},"table",{},[222,246],{"type":47,"tag":223,"props":224,"children":225},"thead",{},[226],{"type":47,"tag":227,"props":228,"children":229},"tr",{},[230,236,241],{"type":47,"tag":231,"props":232,"children":233},"th",{},[234],{"type":53,"value":235},"Parameter",{"type":47,"tag":231,"props":237,"children":238},{},[239],{"type":53,"value":240},"Type",{"type":47,"tag":231,"props":242,"children":243},{},[244],{"type":53,"value":245},"Description",{"type":47,"tag":247,"props":248,"children":249},"tbody",{},[250,273,300,321,342,364],{"type":47,"tag":227,"props":251,"children":252},{},[253,263,268],{"type":47,"tag":254,"props":255,"children":256},"td",{},[257],{"type":47,"tag":97,"props":258,"children":260},{"className":259},[],[261],{"type":53,"value":262},"command",{"type":47,"tag":254,"props":264,"children":265},{},[266],{"type":53,"value":267},"string",{"type":47,"tag":254,"props":269,"children":270},{},[271],{"type":53,"value":272},"The shell command to run",{"type":47,"tag":227,"props":274,"children":275},{},[276,285,290],{"type":47,"tag":254,"props":277,"children":278},{},[279],{"type":47,"tag":97,"props":280,"children":282},{"className":281},[],[283],{"type":53,"value":284},"pty",{"type":47,"tag":254,"props":286,"children":287},{},[288],{"type":53,"value":289},"boolean",{"type":47,"tag":254,"props":291,"children":292},{},[293,298],{"type":47,"tag":62,"props":294,"children":295},{},[296],{"type":53,"value":297},"Use for coding agents!",{"type":53,"value":299}," Allocates a pseudo-terminal for interactive CLIs",{"type":47,"tag":227,"props":301,"children":302},{},[303,312,316],{"type":47,"tag":254,"props":304,"children":305},{},[306],{"type":47,"tag":97,"props":307,"children":309},{"className":308},[],[310],{"type":53,"value":311},"workdir",{"type":47,"tag":254,"props":313,"children":314},{},[315],{"type":53,"value":267},{"type":47,"tag":254,"props":317,"children":318},{},[319],{"type":53,"value":320},"Working directory (agent sees only this folder's context)",{"type":47,"tag":227,"props":322,"children":323},{},[324,333,337],{"type":47,"tag":254,"props":325,"children":326},{},[327],{"type":47,"tag":97,"props":328,"children":330},{"className":329},[],[331],{"type":53,"value":332},"background",{"type":47,"tag":254,"props":334,"children":335},{},[336],{"type":53,"value":289},{"type":47,"tag":254,"props":338,"children":339},{},[340],{"type":53,"value":341},"Run in background, returns sessionId for monitoring",{"type":47,"tag":227,"props":343,"children":344},{},[345,354,359],{"type":47,"tag":254,"props":346,"children":347},{},[348],{"type":47,"tag":97,"props":349,"children":351},{"className":350},[],[352],{"type":53,"value":353},"timeout",{"type":47,"tag":254,"props":355,"children":356},{},[357],{"type":53,"value":358},"number",{"type":47,"tag":254,"props":360,"children":361},{},[362],{"type":53,"value":363},"Timeout in seconds (kills process on expiry)",{"type":47,"tag":227,"props":365,"children":366},{},[367,376,380],{"type":47,"tag":254,"props":368,"children":369},{},[370],{"type":47,"tag":97,"props":371,"children":373},{"className":372},[],[374],{"type":53,"value":375},"elevated",{"type":47,"tag":254,"props":377,"children":378},{},[379],{"type":53,"value":289},{"type":47,"tag":254,"props":381,"children":382},{},[383],{"type":53,"value":384},"Run on host instead of sandbox (if allowed)",{"type":47,"tag":212,"props":386,"children":388},{"id":387},"process-tool-actions-for-background-sessions",[389],{"type":53,"value":390},"Process Tool Actions (for background sessions)",{"type":47,"tag":219,"props":392,"children":393},{},[394,409],{"type":47,"tag":223,"props":395,"children":396},{},[397],{"type":47,"tag":227,"props":398,"children":399},{},[400,405],{"type":47,"tag":231,"props":401,"children":402},{},[403],{"type":53,"value":404},"Action",{"type":47,"tag":231,"props":406,"children":407},{},[408],{"type":53,"value":245},{"type":47,"tag":247,"props":410,"children":411},{},[412,429,446,463,480,497,514,531],{"type":47,"tag":227,"props":413,"children":414},{},[415,424],{"type":47,"tag":254,"props":416,"children":417},{},[418],{"type":47,"tag":97,"props":419,"children":421},{"className":420},[],[422],{"type":53,"value":423},"list",{"type":47,"tag":254,"props":425,"children":426},{},[427],{"type":53,"value":428},"List all running\u002Frecent sessions",{"type":47,"tag":227,"props":430,"children":431},{},[432,441],{"type":47,"tag":254,"props":433,"children":434},{},[435],{"type":47,"tag":97,"props":436,"children":438},{"className":437},[],[439],{"type":53,"value":440},"poll",{"type":47,"tag":254,"props":442,"children":443},{},[444],{"type":53,"value":445},"Check if session is still running",{"type":47,"tag":227,"props":447,"children":448},{},[449,458],{"type":47,"tag":254,"props":450,"children":451},{},[452],{"type":47,"tag":97,"props":453,"children":455},{"className":454},[],[456],{"type":53,"value":457},"log",{"type":47,"tag":254,"props":459,"children":460},{},[461],{"type":53,"value":462},"Get session output (with optional offset\u002Flimit)",{"type":47,"tag":227,"props":464,"children":465},{},[466,475],{"type":47,"tag":254,"props":467,"children":468},{},[469],{"type":47,"tag":97,"props":470,"children":472},{"className":471},[],[473],{"type":53,"value":474},"write",{"type":47,"tag":254,"props":476,"children":477},{},[478],{"type":53,"value":479},"Send raw data to stdin",{"type":47,"tag":227,"props":481,"children":482},{},[483,492],{"type":47,"tag":254,"props":484,"children":485},{},[486],{"type":47,"tag":97,"props":487,"children":489},{"className":488},[],[490],{"type":53,"value":491},"submit",{"type":47,"tag":254,"props":493,"children":494},{},[495],{"type":53,"value":496},"Send data + newline (like typing and pressing Enter)",{"type":47,"tag":227,"props":498,"children":499},{},[500,509],{"type":47,"tag":254,"props":501,"children":502},{},[503],{"type":47,"tag":97,"props":504,"children":506},{"className":505},[],[507],{"type":53,"value":508},"send-keys",{"type":47,"tag":254,"props":510,"children":511},{},[512],{"type":53,"value":513},"Send key tokens or hex bytes",{"type":47,"tag":227,"props":515,"children":516},{},[517,526],{"type":47,"tag":254,"props":518,"children":519},{},[520],{"type":47,"tag":97,"props":521,"children":523},{"className":522},[],[524],{"type":53,"value":525},"paste",{"type":47,"tag":254,"props":527,"children":528},{},[529],{"type":53,"value":530},"Paste text (with optional bracketed mode)",{"type":47,"tag":227,"props":532,"children":533},{},[534,543],{"type":47,"tag":254,"props":535,"children":536},{},[537],{"type":47,"tag":97,"props":538,"children":540},{"className":539},[],[541],{"type":53,"value":542},"kill",{"type":47,"tag":254,"props":544,"children":545},{},[546],{"type":53,"value":547},"Terminate the session",{"type":47,"tag":549,"props":550,"children":551},"hr",{},[],{"type":47,"tag":70,"props":553,"children":555},{"id":554},"quick-start-one-shot-tasks",[556],{"type":53,"value":557},"Quick Start: One-Shot Tasks",{"type":47,"tag":56,"props":559,"children":560},{},[561],{"type":53,"value":562},"For quick prompts\u002Fchats, create a temp git repo and run:",{"type":47,"tag":106,"props":564,"children":566},{"className":108,"code":565,"language":66,"meta":110,"style":110},"# Quick chat (Codex needs a git repo!)\nSCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec \"Your prompt here\"\n\n# Or in a real project - with PTY!\nbash pty:true workdir:~\u002FProjects\u002Fmyproject command:\"codex exec 'Add error handling to the API calls'\"\n",[567],{"type":47,"tag":97,"props":568,"children":569},{"__ignoreMap":110},[570,578,666,673,681],{"type":47,"tag":116,"props":571,"children":572},{"class":118,"line":119},[573],{"type":47,"tag":116,"props":574,"children":575},{"style":123},[576],{"type":53,"value":577},"# Quick chat (Codex needs a git repo!)\n",{"type":47,"tag":116,"props":579,"children":580},{"class":118,"line":129},[581,587,592,597,602,607,612,618,623,628,633,638,642,647,652,657,662],{"type":47,"tag":116,"props":582,"children":584},{"style":583},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[585],{"type":53,"value":586},"SCRATCH",{"type":47,"tag":116,"props":588,"children":589},{"style":144},[590],{"type":53,"value":591},"=$(",{"type":47,"tag":116,"props":593,"children":594},{"style":133},[595],{"type":53,"value":596},"mktemp",{"type":47,"tag":116,"props":598,"children":599},{"style":138},[600],{"type":53,"value":601}," -d",{"type":47,"tag":116,"props":603,"children":604},{"style":144},[605],{"type":53,"value":606},")",{"type":47,"tag":116,"props":608,"children":609},{"style":144},[610],{"type":53,"value":611}," &&",{"type":47,"tag":116,"props":613,"children":615},{"style":614},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[616],{"type":53,"value":617}," cd",{"type":47,"tag":116,"props":619,"children":620},{"style":583},[621],{"type":53,"value":622}," $SCRATCH ",{"type":47,"tag":116,"props":624,"children":625},{"style":144},[626],{"type":53,"value":627},"&&",{"type":47,"tag":116,"props":629,"children":630},{"style":133},[631],{"type":53,"value":632}," git",{"type":47,"tag":116,"props":634,"children":635},{"style":138},[636],{"type":53,"value":637}," init",{"type":47,"tag":116,"props":639,"children":640},{"style":144},[641],{"type":53,"value":611},{"type":47,"tag":116,"props":643,"children":644},{"style":133},[645],{"type":53,"value":646}," codex",{"type":47,"tag":116,"props":648,"children":649},{"style":138},[650],{"type":53,"value":651}," exec",{"type":47,"tag":116,"props":653,"children":654},{"style":144},[655],{"type":53,"value":656}," \"",{"type":47,"tag":116,"props":658,"children":659},{"style":138},[660],{"type":53,"value":661},"Your prompt here",{"type":47,"tag":116,"props":663,"children":664},{"style":144},[665],{"type":53,"value":167},{"type":47,"tag":116,"props":667,"children":668},{"class":118,"line":170},[669],{"type":47,"tag":116,"props":670,"children":671},{"emptyLinePlaceholder":174},[672],{"type":53,"value":177},{"type":47,"tag":116,"props":674,"children":675},{"class":118,"line":180},[676],{"type":47,"tag":116,"props":677,"children":678},{"style":123},[679],{"type":53,"value":680},"# Or in a real project - with PTY!\n",{"type":47,"tag":116,"props":682,"children":683},{"class":118,"line":189},[684,688,692,696,701,705,709,714],{"type":47,"tag":116,"props":685,"children":686},{"style":133},[687],{"type":53,"value":66},{"type":47,"tag":116,"props":689,"children":690},{"style":138},[691],{"type":53,"value":141},{"type":47,"tag":116,"props":693,"children":694},{"style":144},[695],{"type":53,"value":147},{"type":47,"tag":116,"props":697,"children":698},{"style":138},[699],{"type":53,"value":700}," workdir:~\u002FProjects\u002Fmyproject",{"type":47,"tag":116,"props":702,"children":703},{"style":138},[704],{"type":53,"value":152},{"type":47,"tag":116,"props":706,"children":707},{"style":144},[708],{"type":53,"value":157},{"type":47,"tag":116,"props":710,"children":711},{"style":138},[712],{"type":53,"value":713},"codex exec 'Add error handling to the API calls'",{"type":47,"tag":116,"props":715,"children":716},{"style":144},[717],{"type":53,"value":167},{"type":47,"tag":56,"props":719,"children":720},{},[721,726],{"type":47,"tag":62,"props":722,"children":723},{},[724],{"type":53,"value":725},"Why git init?",{"type":53,"value":727}," Codex refuses to run outside a trusted git directory. Creating a temp repo solves this for scratch work.",{"type":47,"tag":549,"props":729,"children":730},{},[],{"type":47,"tag":70,"props":732,"children":734},{"id":733},"the-pattern-workdir-background-pty",[735],{"type":53,"value":736},"The Pattern: workdir + background + pty",{"type":47,"tag":56,"props":738,"children":739},{},[740],{"type":53,"value":741},"For longer tasks, use background mode with PTY:",{"type":47,"tag":106,"props":743,"children":745},{"className":108,"code":744,"language":66,"meta":110,"style":110},"# Start agent in target directory (with PTY!)\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec --full-auto 'Build a snake game'\"\n# Returns sessionId for tracking\n\n# Monitor progress\nprocess action:log sessionId:XXX\n\n# Check if done\nprocess action:poll sessionId:XXX\n\n# Send input (if agent asks a question)\nprocess action:write sessionId:XXX data:\"y\"\n\n# Submit with Enter (like typing \"yes\" and pressing Enter)\nprocess action:submit sessionId:XXX data:\"yes\"\n\n# Kill if needed\nprocess action:kill sessionId:XXX\n",[746],{"type":47,"tag":97,"props":747,"children":748},{"__ignoreMap":110},[749,757,803,811,818,826,845,853,862,878,886,895,931,939,948,982,990,999],{"type":47,"tag":116,"props":750,"children":751},{"class":118,"line":119},[752],{"type":47,"tag":116,"props":753,"children":754},{"style":123},[755],{"type":53,"value":756},"# Start agent in target directory (with PTY!)\n",{"type":47,"tag":116,"props":758,"children":759},{"class":118,"line":129},[760,764,768,772,777,782,786,790,794,799],{"type":47,"tag":116,"props":761,"children":762},{"style":133},[763],{"type":53,"value":66},{"type":47,"tag":116,"props":765,"children":766},{"style":138},[767],{"type":53,"value":141},{"type":47,"tag":116,"props":769,"children":770},{"style":144},[771],{"type":53,"value":147},{"type":47,"tag":116,"props":773,"children":774},{"style":138},[775],{"type":53,"value":776}," workdir:~\u002Fproject",{"type":47,"tag":116,"props":778,"children":779},{"style":138},[780],{"type":53,"value":781}," background:",{"type":47,"tag":116,"props":783,"children":784},{"style":144},[785],{"type":53,"value":147},{"type":47,"tag":116,"props":787,"children":788},{"style":138},[789],{"type":53,"value":152},{"type":47,"tag":116,"props":791,"children":792},{"style":144},[793],{"type":53,"value":157},{"type":47,"tag":116,"props":795,"children":796},{"style":138},[797],{"type":53,"value":798},"codex exec --full-auto 'Build a snake game'",{"type":47,"tag":116,"props":800,"children":801},{"style":144},[802],{"type":53,"value":167},{"type":47,"tag":116,"props":804,"children":805},{"class":118,"line":170},[806],{"type":47,"tag":116,"props":807,"children":808},{"style":123},[809],{"type":53,"value":810},"# Returns sessionId for tracking\n",{"type":47,"tag":116,"props":812,"children":813},{"class":118,"line":180},[814],{"type":47,"tag":116,"props":815,"children":816},{"emptyLinePlaceholder":174},[817],{"type":53,"value":177},{"type":47,"tag":116,"props":819,"children":820},{"class":118,"line":189},[821],{"type":47,"tag":116,"props":822,"children":823},{"style":123},[824],{"type":53,"value":825},"# Monitor progress\n",{"type":47,"tag":116,"props":827,"children":829},{"class":118,"line":828},6,[830,835,840],{"type":47,"tag":116,"props":831,"children":832},{"style":133},[833],{"type":53,"value":834},"process",{"type":47,"tag":116,"props":836,"children":837},{"style":138},[838],{"type":53,"value":839}," action:log",{"type":47,"tag":116,"props":841,"children":842},{"style":138},[843],{"type":53,"value":844}," sessionId:XXX\n",{"type":47,"tag":116,"props":846,"children":848},{"class":118,"line":847},7,[849],{"type":47,"tag":116,"props":850,"children":851},{"emptyLinePlaceholder":174},[852],{"type":53,"value":177},{"type":47,"tag":116,"props":854,"children":856},{"class":118,"line":855},8,[857],{"type":47,"tag":116,"props":858,"children":859},{"style":123},[860],{"type":53,"value":861},"# Check if done\n",{"type":47,"tag":116,"props":863,"children":864},{"class":118,"line":26},[865,869,874],{"type":47,"tag":116,"props":866,"children":867},{"style":133},[868],{"type":53,"value":834},{"type":47,"tag":116,"props":870,"children":871},{"style":138},[872],{"type":53,"value":873}," action:poll",{"type":47,"tag":116,"props":875,"children":876},{"style":138},[877],{"type":53,"value":844},{"type":47,"tag":116,"props":879,"children":881},{"class":118,"line":880},10,[882],{"type":47,"tag":116,"props":883,"children":884},{"emptyLinePlaceholder":174},[885],{"type":53,"value":177},{"type":47,"tag":116,"props":887,"children":889},{"class":118,"line":888},11,[890],{"type":47,"tag":116,"props":891,"children":892},{"style":123},[893],{"type":53,"value":894},"# Send input (if agent asks a question)\n",{"type":47,"tag":116,"props":896,"children":898},{"class":118,"line":897},12,[899,903,908,913,918,922,927],{"type":47,"tag":116,"props":900,"children":901},{"style":133},[902],{"type":53,"value":834},{"type":47,"tag":116,"props":904,"children":905},{"style":138},[906],{"type":53,"value":907}," action:write",{"type":47,"tag":116,"props":909,"children":910},{"style":138},[911],{"type":53,"value":912}," sessionId:XXX",{"type":47,"tag":116,"props":914,"children":915},{"style":138},[916],{"type":53,"value":917}," data:",{"type":47,"tag":116,"props":919,"children":920},{"style":144},[921],{"type":53,"value":157},{"type":47,"tag":116,"props":923,"children":924},{"style":138},[925],{"type":53,"value":926},"y",{"type":47,"tag":116,"props":928,"children":929},{"style":144},[930],{"type":53,"value":167},{"type":47,"tag":116,"props":932,"children":934},{"class":118,"line":933},13,[935],{"type":47,"tag":116,"props":936,"children":937},{"emptyLinePlaceholder":174},[938],{"type":53,"value":177},{"type":47,"tag":116,"props":940,"children":942},{"class":118,"line":941},14,[943],{"type":47,"tag":116,"props":944,"children":945},{"style":123},[946],{"type":53,"value":947},"# Submit with Enter (like typing \"yes\" and pressing Enter)\n",{"type":47,"tag":116,"props":949,"children":951},{"class":118,"line":950},15,[952,956,961,965,969,973,978],{"type":47,"tag":116,"props":953,"children":954},{"style":133},[955],{"type":53,"value":834},{"type":47,"tag":116,"props":957,"children":958},{"style":138},[959],{"type":53,"value":960}," action:submit",{"type":47,"tag":116,"props":962,"children":963},{"style":138},[964],{"type":53,"value":912},{"type":47,"tag":116,"props":966,"children":967},{"style":138},[968],{"type":53,"value":917},{"type":47,"tag":116,"props":970,"children":971},{"style":144},[972],{"type":53,"value":157},{"type":47,"tag":116,"props":974,"children":975},{"style":138},[976],{"type":53,"value":977},"yes",{"type":47,"tag":116,"props":979,"children":980},{"style":144},[981],{"type":53,"value":167},{"type":47,"tag":116,"props":983,"children":985},{"class":118,"line":984},16,[986],{"type":47,"tag":116,"props":987,"children":988},{"emptyLinePlaceholder":174},[989],{"type":53,"value":177},{"type":47,"tag":116,"props":991,"children":993},{"class":118,"line":992},17,[994],{"type":47,"tag":116,"props":995,"children":996},{"style":123},[997],{"type":53,"value":998},"# Kill if needed\n",{"type":47,"tag":116,"props":1000,"children":1002},{"class":118,"line":1001},18,[1003,1007,1012],{"type":47,"tag":116,"props":1004,"children":1005},{"style":133},[1006],{"type":53,"value":834},{"type":47,"tag":116,"props":1008,"children":1009},{"style":138},[1010],{"type":53,"value":1011}," action:kill",{"type":47,"tag":116,"props":1013,"children":1014},{"style":138},[1015],{"type":53,"value":844},{"type":47,"tag":56,"props":1017,"children":1018},{},[1019,1024],{"type":47,"tag":62,"props":1020,"children":1021},{},[1022],{"type":53,"value":1023},"Why workdir matters:",{"type":53,"value":1025}," Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅).",{"type":47,"tag":549,"props":1027,"children":1028},{},[],{"type":47,"tag":70,"props":1030,"children":1032},{"id":1031},"codex-cli",[1033],{"type":53,"value":1034},"Codex CLI",{"type":47,"tag":56,"props":1036,"children":1037},{},[1038,1043,1045,1051],{"type":47,"tag":62,"props":1039,"children":1040},{},[1041],{"type":53,"value":1042},"Model:",{"type":53,"value":1044}," ",{"type":47,"tag":97,"props":1046,"children":1048},{"className":1047},[],[1049],{"type":53,"value":1050},"gpt-5.2-codex",{"type":53,"value":1052}," is the default (set in ~\u002F.codex\u002Fconfig.toml)",{"type":47,"tag":212,"props":1054,"children":1056},{"id":1055},"flags",[1057],{"type":53,"value":1058},"Flags",{"type":47,"tag":219,"props":1060,"children":1061},{},[1062,1078],{"type":47,"tag":223,"props":1063,"children":1064},{},[1065],{"type":47,"tag":227,"props":1066,"children":1067},{},[1068,1073],{"type":47,"tag":231,"props":1069,"children":1070},{},[1071],{"type":53,"value":1072},"Flag",{"type":47,"tag":231,"props":1074,"children":1075},{},[1076],{"type":53,"value":1077},"Effect",{"type":47,"tag":247,"props":1079,"children":1080},{},[1081,1098,1115],{"type":47,"tag":227,"props":1082,"children":1083},{},[1084,1093],{"type":47,"tag":254,"props":1085,"children":1086},{},[1087],{"type":47,"tag":97,"props":1088,"children":1090},{"className":1089},[],[1091],{"type":53,"value":1092},"exec \"prompt\"",{"type":47,"tag":254,"props":1094,"children":1095},{},[1096],{"type":53,"value":1097},"One-shot execution, exits when done",{"type":47,"tag":227,"props":1099,"children":1100},{},[1101,1110],{"type":47,"tag":254,"props":1102,"children":1103},{},[1104],{"type":47,"tag":97,"props":1105,"children":1107},{"className":1106},[],[1108],{"type":53,"value":1109},"--full-auto",{"type":47,"tag":254,"props":1111,"children":1112},{},[1113],{"type":53,"value":1114},"Sandboxed but auto-approves in workspace",{"type":47,"tag":227,"props":1116,"children":1117},{},[1118,1127],{"type":47,"tag":254,"props":1119,"children":1120},{},[1121],{"type":47,"tag":97,"props":1122,"children":1124},{"className":1123},[],[1125],{"type":53,"value":1126},"--yolo",{"type":47,"tag":254,"props":1128,"children":1129},{},[1130],{"type":53,"value":1131},"NO sandbox, NO approvals (fastest, most dangerous)",{"type":47,"tag":212,"props":1133,"children":1135},{"id":1134},"buildingcreating",[1136],{"type":53,"value":1137},"Building\u002FCreating",{"type":47,"tag":106,"props":1139,"children":1141},{"className":108,"code":1140,"language":66,"meta":110,"style":110},"# Quick one-shot (auto-approves) - remember PTY!\nbash pty:true workdir:~\u002Fproject command:\"codex exec --full-auto 'Build a dark mode toggle'\"\n\n# Background for longer work\nbash pty:true workdir:~\u002Fproject background:true command:\"codex --yolo 'Refactor the auth module'\"\n",[1142],{"type":47,"tag":97,"props":1143,"children":1144},{"__ignoreMap":110},[1145,1153,1189,1196,1204],{"type":47,"tag":116,"props":1146,"children":1147},{"class":118,"line":119},[1148],{"type":47,"tag":116,"props":1149,"children":1150},{"style":123},[1151],{"type":53,"value":1152},"# Quick one-shot (auto-approves) - remember PTY!\n",{"type":47,"tag":116,"props":1154,"children":1155},{"class":118,"line":129},[1156,1160,1164,1168,1172,1176,1180,1185],{"type":47,"tag":116,"props":1157,"children":1158},{"style":133},[1159],{"type":53,"value":66},{"type":47,"tag":116,"props":1161,"children":1162},{"style":138},[1163],{"type":53,"value":141},{"type":47,"tag":116,"props":1165,"children":1166},{"style":144},[1167],{"type":53,"value":147},{"type":47,"tag":116,"props":1169,"children":1170},{"style":138},[1171],{"type":53,"value":776},{"type":47,"tag":116,"props":1173,"children":1174},{"style":138},[1175],{"type":53,"value":152},{"type":47,"tag":116,"props":1177,"children":1178},{"style":144},[1179],{"type":53,"value":157},{"type":47,"tag":116,"props":1181,"children":1182},{"style":138},[1183],{"type":53,"value":1184},"codex exec --full-auto 'Build a dark mode toggle'",{"type":47,"tag":116,"props":1186,"children":1187},{"style":144},[1188],{"type":53,"value":167},{"type":47,"tag":116,"props":1190,"children":1191},{"class":118,"line":170},[1192],{"type":47,"tag":116,"props":1193,"children":1194},{"emptyLinePlaceholder":174},[1195],{"type":53,"value":177},{"type":47,"tag":116,"props":1197,"children":1198},{"class":118,"line":180},[1199],{"type":47,"tag":116,"props":1200,"children":1201},{"style":123},[1202],{"type":53,"value":1203},"# Background for longer work\n",{"type":47,"tag":116,"props":1205,"children":1206},{"class":118,"line":189},[1207,1211,1215,1219,1223,1227,1231,1235,1239,1244],{"type":47,"tag":116,"props":1208,"children":1209},{"style":133},[1210],{"type":53,"value":66},{"type":47,"tag":116,"props":1212,"children":1213},{"style":138},[1214],{"type":53,"value":141},{"type":47,"tag":116,"props":1216,"children":1217},{"style":144},[1218],{"type":53,"value":147},{"type":47,"tag":116,"props":1220,"children":1221},{"style":138},[1222],{"type":53,"value":776},{"type":47,"tag":116,"props":1224,"children":1225},{"style":138},[1226],{"type":53,"value":781},{"type":47,"tag":116,"props":1228,"children":1229},{"style":144},[1230],{"type":53,"value":147},{"type":47,"tag":116,"props":1232,"children":1233},{"style":138},[1234],{"type":53,"value":152},{"type":47,"tag":116,"props":1236,"children":1237},{"style":144},[1238],{"type":53,"value":157},{"type":47,"tag":116,"props":1240,"children":1241},{"style":138},[1242],{"type":53,"value":1243},"codex --yolo 'Refactor the auth module'",{"type":47,"tag":116,"props":1245,"children":1246},{"style":144},[1247],{"type":53,"value":167},{"type":47,"tag":212,"props":1249,"children":1251},{"id":1250},"reviewing-prs",[1252],{"type":53,"value":1253},"Reviewing PRs",{"type":47,"tag":56,"props":1255,"children":1256},{},[1257,1262],{"type":47,"tag":62,"props":1258,"children":1259},{},[1260],{"type":53,"value":1261},"⚠️ CRITICAL: Never review PRs in OpenClaw's own project folder!",{"type":53,"value":1263},"\nClone to temp folder or use git worktree.",{"type":47,"tag":106,"props":1265,"children":1267},{"className":108,"code":1266,"language":66,"meta":110,"style":110},"# Clone to temp for safe review\nREVIEW_DIR=$(mktemp -d)\ngit clone https:\u002F\u002Fgithub.com\u002Fuser\u002Frepo.git $REVIEW_DIR\ncd $REVIEW_DIR && gh pr checkout 130\nbash pty:true workdir:$REVIEW_DIR command:\"codex review --base origin\u002Fmain\"\n# Clean up after: trash $REVIEW_DIR\n\n# Or use git worktree (keeps main intact)\ngit worktree add \u002Ftmp\u002Fpr-130-review pr-130-branch\nbash pty:true workdir:\u002Ftmp\u002Fpr-130-review command:\"codex review --base main\"\n",[1268],{"type":47,"tag":97,"props":1269,"children":1270},{"__ignoreMap":110},[1271,1279,1304,1327,1365,1408,1416,1423,1431,1458],{"type":47,"tag":116,"props":1272,"children":1273},{"class":118,"line":119},[1274],{"type":47,"tag":116,"props":1275,"children":1276},{"style":123},[1277],{"type":53,"value":1278},"# Clone to temp for safe review\n",{"type":47,"tag":116,"props":1280,"children":1281},{"class":118,"line":129},[1282,1287,1291,1295,1299],{"type":47,"tag":116,"props":1283,"children":1284},{"style":583},[1285],{"type":53,"value":1286},"REVIEW_DIR",{"type":47,"tag":116,"props":1288,"children":1289},{"style":144},[1290],{"type":53,"value":591},{"type":47,"tag":116,"props":1292,"children":1293},{"style":133},[1294],{"type":53,"value":596},{"type":47,"tag":116,"props":1296,"children":1297},{"style":138},[1298],{"type":53,"value":601},{"type":47,"tag":116,"props":1300,"children":1301},{"style":144},[1302],{"type":53,"value":1303},")\n",{"type":47,"tag":116,"props":1305,"children":1306},{"class":118,"line":170},[1307,1312,1317,1322],{"type":47,"tag":116,"props":1308,"children":1309},{"style":133},[1310],{"type":53,"value":1311},"git",{"type":47,"tag":116,"props":1313,"children":1314},{"style":138},[1315],{"type":53,"value":1316}," clone",{"type":47,"tag":116,"props":1318,"children":1319},{"style":138},[1320],{"type":53,"value":1321}," https:\u002F\u002Fgithub.com\u002Fuser\u002Frepo.git",{"type":47,"tag":116,"props":1323,"children":1324},{"style":583},[1325],{"type":53,"value":1326}," $REVIEW_DIR\n",{"type":47,"tag":116,"props":1328,"children":1329},{"class":118,"line":180},[1330,1335,1340,1344,1349,1354,1359],{"type":47,"tag":116,"props":1331,"children":1332},{"style":614},[1333],{"type":53,"value":1334},"cd",{"type":47,"tag":116,"props":1336,"children":1337},{"style":583},[1338],{"type":53,"value":1339}," $REVIEW_DIR ",{"type":47,"tag":116,"props":1341,"children":1342},{"style":144},[1343],{"type":53,"value":627},{"type":47,"tag":116,"props":1345,"children":1346},{"style":133},[1347],{"type":53,"value":1348}," gh",{"type":47,"tag":116,"props":1350,"children":1351},{"style":138},[1352],{"type":53,"value":1353}," pr",{"type":47,"tag":116,"props":1355,"children":1356},{"style":138},[1357],{"type":53,"value":1358}," checkout",{"type":47,"tag":116,"props":1360,"children":1362},{"style":1361},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1363],{"type":53,"value":1364}," 130\n",{"type":47,"tag":116,"props":1366,"children":1367},{"class":118,"line":189},[1368,1372,1376,1380,1385,1390,1395,1399,1404],{"type":47,"tag":116,"props":1369,"children":1370},{"style":133},[1371],{"type":53,"value":66},{"type":47,"tag":116,"props":1373,"children":1374},{"style":138},[1375],{"type":53,"value":141},{"type":47,"tag":116,"props":1377,"children":1378},{"style":144},[1379],{"type":53,"value":147},{"type":47,"tag":116,"props":1381,"children":1382},{"style":138},[1383],{"type":53,"value":1384}," workdir:",{"type":47,"tag":116,"props":1386,"children":1387},{"style":583},[1388],{"type":53,"value":1389},"$REVIEW_DIR ",{"type":47,"tag":116,"props":1391,"children":1392},{"style":138},[1393],{"type":53,"value":1394},"command:",{"type":47,"tag":116,"props":1396,"children":1397},{"style":144},[1398],{"type":53,"value":157},{"type":47,"tag":116,"props":1400,"children":1401},{"style":138},[1402],{"type":53,"value":1403},"codex review --base origin\u002Fmain",{"type":47,"tag":116,"props":1405,"children":1406},{"style":144},[1407],{"type":53,"value":167},{"type":47,"tag":116,"props":1409,"children":1410},{"class":118,"line":828},[1411],{"type":47,"tag":116,"props":1412,"children":1413},{"style":123},[1414],{"type":53,"value":1415},"# Clean up after: trash $REVIEW_DIR\n",{"type":47,"tag":116,"props":1417,"children":1418},{"class":118,"line":847},[1419],{"type":47,"tag":116,"props":1420,"children":1421},{"emptyLinePlaceholder":174},[1422],{"type":53,"value":177},{"type":47,"tag":116,"props":1424,"children":1425},{"class":118,"line":855},[1426],{"type":47,"tag":116,"props":1427,"children":1428},{"style":123},[1429],{"type":53,"value":1430},"# Or use git worktree (keeps main intact)\n",{"type":47,"tag":116,"props":1432,"children":1433},{"class":118,"line":26},[1434,1438,1443,1448,1453],{"type":47,"tag":116,"props":1435,"children":1436},{"style":133},[1437],{"type":53,"value":1311},{"type":47,"tag":116,"props":1439,"children":1440},{"style":138},[1441],{"type":53,"value":1442}," worktree",{"type":47,"tag":116,"props":1444,"children":1445},{"style":138},[1446],{"type":53,"value":1447}," add",{"type":47,"tag":116,"props":1449,"children":1450},{"style":138},[1451],{"type":53,"value":1452}," \u002Ftmp\u002Fpr-130-review",{"type":47,"tag":116,"props":1454,"children":1455},{"style":138},[1456],{"type":53,"value":1457}," pr-130-branch\n",{"type":47,"tag":116,"props":1459,"children":1460},{"class":118,"line":880},[1461,1465,1469,1473,1478,1482,1486,1491],{"type":47,"tag":116,"props":1462,"children":1463},{"style":133},[1464],{"type":53,"value":66},{"type":47,"tag":116,"props":1466,"children":1467},{"style":138},[1468],{"type":53,"value":141},{"type":47,"tag":116,"props":1470,"children":1471},{"style":144},[1472],{"type":53,"value":147},{"type":47,"tag":116,"props":1474,"children":1475},{"style":138},[1476],{"type":53,"value":1477}," workdir:\u002Ftmp\u002Fpr-130-review",{"type":47,"tag":116,"props":1479,"children":1480},{"style":138},[1481],{"type":53,"value":152},{"type":47,"tag":116,"props":1483,"children":1484},{"style":144},[1485],{"type":53,"value":157},{"type":47,"tag":116,"props":1487,"children":1488},{"style":138},[1489],{"type":53,"value":1490},"codex review --base main",{"type":47,"tag":116,"props":1492,"children":1493},{"style":144},[1494],{"type":53,"value":167},{"type":47,"tag":212,"props":1496,"children":1498},{"id":1497},"batch-pr-reviews-parallel-army",[1499],{"type":53,"value":1500},"Batch PR Reviews (parallel army!)",{"type":47,"tag":106,"props":1502,"children":1504},{"className":108,"code":1503,"language":66,"meta":110,"style":110},"# Fetch all PR refs first\ngit fetch origin '+refs\u002Fpull\u002F*\u002Fhead:refs\u002Fremotes\u002Forigin\u002Fpr\u002F*'\n\n# Deploy the army - one Codex per PR (all with PTY!)\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec 'Review PR #86. git diff origin\u002Fmain...origin\u002Fpr\u002F86'\"\nbash pty:true workdir:~\u002Fproject background:true command:\"codex exec 'Review PR #87. git diff origin\u002Fmain...origin\u002Fpr\u002F87'\"\n\n# Monitor all\nprocess action:list\n\n# Post results to GitHub\ngh pr comment \u003CPR#> --body \"\u003Creview content>\"\n",[1505],{"type":47,"tag":97,"props":1506,"children":1507},{"__ignoreMap":110},[1508,1516,1548,1555,1563,1607,1651,1658,1666,1678,1685,1693],{"type":47,"tag":116,"props":1509,"children":1510},{"class":118,"line":119},[1511],{"type":47,"tag":116,"props":1512,"children":1513},{"style":123},[1514],{"type":53,"value":1515},"# Fetch all PR refs first\n",{"type":47,"tag":116,"props":1517,"children":1518},{"class":118,"line":129},[1519,1523,1528,1533,1538,1543],{"type":47,"tag":116,"props":1520,"children":1521},{"style":133},[1522],{"type":53,"value":1311},{"type":47,"tag":116,"props":1524,"children":1525},{"style":138},[1526],{"type":53,"value":1527}," fetch",{"type":47,"tag":116,"props":1529,"children":1530},{"style":138},[1531],{"type":53,"value":1532}," origin",{"type":47,"tag":116,"props":1534,"children":1535},{"style":144},[1536],{"type":53,"value":1537}," '",{"type":47,"tag":116,"props":1539,"children":1540},{"style":138},[1541],{"type":53,"value":1542},"+refs\u002Fpull\u002F*\u002Fhead:refs\u002Fremotes\u002Forigin\u002Fpr\u002F*",{"type":47,"tag":116,"props":1544,"children":1545},{"style":144},[1546],{"type":53,"value":1547},"'\n",{"type":47,"tag":116,"props":1549,"children":1550},{"class":118,"line":170},[1551],{"type":47,"tag":116,"props":1552,"children":1553},{"emptyLinePlaceholder":174},[1554],{"type":53,"value":177},{"type":47,"tag":116,"props":1556,"children":1557},{"class":118,"line":180},[1558],{"type":47,"tag":116,"props":1559,"children":1560},{"style":123},[1561],{"type":53,"value":1562},"# Deploy the army - one Codex per PR (all with PTY!)\n",{"type":47,"tag":116,"props":1564,"children":1565},{"class":118,"line":189},[1566,1570,1574,1578,1582,1586,1590,1594,1598,1603],{"type":47,"tag":116,"props":1567,"children":1568},{"style":133},[1569],{"type":53,"value":66},{"type":47,"tag":116,"props":1571,"children":1572},{"style":138},[1573],{"type":53,"value":141},{"type":47,"tag":116,"props":1575,"children":1576},{"style":144},[1577],{"type":53,"value":147},{"type":47,"tag":116,"props":1579,"children":1580},{"style":138},[1581],{"type":53,"value":776},{"type":47,"tag":116,"props":1583,"children":1584},{"style":138},[1585],{"type":53,"value":781},{"type":47,"tag":116,"props":1587,"children":1588},{"style":144},[1589],{"type":53,"value":147},{"type":47,"tag":116,"props":1591,"children":1592},{"style":138},[1593],{"type":53,"value":152},{"type":47,"tag":116,"props":1595,"children":1596},{"style":144},[1597],{"type":53,"value":157},{"type":47,"tag":116,"props":1599,"children":1600},{"style":138},[1601],{"type":53,"value":1602},"codex exec 'Review PR #86. git diff origin\u002Fmain...origin\u002Fpr\u002F86'",{"type":47,"tag":116,"props":1604,"children":1605},{"style":144},[1606],{"type":53,"value":167},{"type":47,"tag":116,"props":1608,"children":1609},{"class":118,"line":828},[1610,1614,1618,1622,1626,1630,1634,1638,1642,1647],{"type":47,"tag":116,"props":1611,"children":1612},{"style":133},[1613],{"type":53,"value":66},{"type":47,"tag":116,"props":1615,"children":1616},{"style":138},[1617],{"type":53,"value":141},{"type":47,"tag":116,"props":1619,"children":1620},{"style":144},[1621],{"type":53,"value":147},{"type":47,"tag":116,"props":1623,"children":1624},{"style":138},[1625],{"type":53,"value":776},{"type":47,"tag":116,"props":1627,"children":1628},{"style":138},[1629],{"type":53,"value":781},{"type":47,"tag":116,"props":1631,"children":1632},{"style":144},[1633],{"type":53,"value":147},{"type":47,"tag":116,"props":1635,"children":1636},{"style":138},[1637],{"type":53,"value":152},{"type":47,"tag":116,"props":1639,"children":1640},{"style":144},[1641],{"type":53,"value":157},{"type":47,"tag":116,"props":1643,"children":1644},{"style":138},[1645],{"type":53,"value":1646},"codex exec 'Review PR #87. git diff origin\u002Fmain...origin\u002Fpr\u002F87'",{"type":47,"tag":116,"props":1648,"children":1649},{"style":144},[1650],{"type":53,"value":167},{"type":47,"tag":116,"props":1652,"children":1653},{"class":118,"line":847},[1654],{"type":47,"tag":116,"props":1655,"children":1656},{"emptyLinePlaceholder":174},[1657],{"type":53,"value":177},{"type":47,"tag":116,"props":1659,"children":1660},{"class":118,"line":855},[1661],{"type":47,"tag":116,"props":1662,"children":1663},{"style":123},[1664],{"type":53,"value":1665},"# Monitor all\n",{"type":47,"tag":116,"props":1667,"children":1668},{"class":118,"line":26},[1669,1673],{"type":47,"tag":116,"props":1670,"children":1671},{"style":133},[1672],{"type":53,"value":834},{"type":47,"tag":116,"props":1674,"children":1675},{"style":138},[1676],{"type":53,"value":1677}," action:list\n",{"type":47,"tag":116,"props":1679,"children":1680},{"class":118,"line":880},[1681],{"type":47,"tag":116,"props":1682,"children":1683},{"emptyLinePlaceholder":174},[1684],{"type":53,"value":177},{"type":47,"tag":116,"props":1686,"children":1687},{"class":118,"line":888},[1688],{"type":47,"tag":116,"props":1689,"children":1690},{"style":123},[1691],{"type":53,"value":1692},"# Post results to GitHub\n",{"type":47,"tag":116,"props":1694,"children":1695},{"class":118,"line":897},[1696,1701,1705,1710,1715,1720,1725,1730,1735,1739,1744],{"type":47,"tag":116,"props":1697,"children":1698},{"style":133},[1699],{"type":53,"value":1700},"gh",{"type":47,"tag":116,"props":1702,"children":1703},{"style":138},[1704],{"type":53,"value":1353},{"type":47,"tag":116,"props":1706,"children":1707},{"style":138},[1708],{"type":53,"value":1709}," comment",{"type":47,"tag":116,"props":1711,"children":1712},{"style":144},[1713],{"type":53,"value":1714}," \u003C",{"type":47,"tag":116,"props":1716,"children":1717},{"style":138},[1718],{"type":53,"value":1719},"PR",{"type":47,"tag":116,"props":1721,"children":1722},{"style":583},[1723],{"type":53,"value":1724},"#",{"type":47,"tag":116,"props":1726,"children":1727},{"style":144},[1728],{"type":53,"value":1729},">",{"type":47,"tag":116,"props":1731,"children":1732},{"style":138},[1733],{"type":53,"value":1734}," --body",{"type":47,"tag":116,"props":1736,"children":1737},{"style":144},[1738],{"type":53,"value":656},{"type":47,"tag":116,"props":1740,"children":1741},{"style":138},[1742],{"type":53,"value":1743},"\u003Creview content>",{"type":47,"tag":116,"props":1745,"children":1746},{"style":144},[1747],{"type":53,"value":167},{"type":47,"tag":549,"props":1749,"children":1750},{},[],{"type":47,"tag":70,"props":1752,"children":1754},{"id":1753},"claude-code",[1755],{"type":53,"value":1756},"Claude Code",{"type":47,"tag":106,"props":1758,"children":1760},{"className":108,"code":1759,"language":66,"meta":110,"style":110},"# With PTY for proper terminal output\nbash pty:true workdir:~\u002Fproject command:\"claude 'Your task'\"\n\n# Background\nbash pty:true workdir:~\u002Fproject background:true command:\"claude 'Your task'\"\n",[1761],{"type":47,"tag":97,"props":1762,"children":1763},{"__ignoreMap":110},[1764,1772,1808,1815,1823],{"type":47,"tag":116,"props":1765,"children":1766},{"class":118,"line":119},[1767],{"type":47,"tag":116,"props":1768,"children":1769},{"style":123},[1770],{"type":53,"value":1771},"# With PTY for proper terminal output\n",{"type":47,"tag":116,"props":1773,"children":1774},{"class":118,"line":129},[1775,1779,1783,1787,1791,1795,1799,1804],{"type":47,"tag":116,"props":1776,"children":1777},{"style":133},[1778],{"type":53,"value":66},{"type":47,"tag":116,"props":1780,"children":1781},{"style":138},[1782],{"type":53,"value":141},{"type":47,"tag":116,"props":1784,"children":1785},{"style":144},[1786],{"type":53,"value":147},{"type":47,"tag":116,"props":1788,"children":1789},{"style":138},[1790],{"type":53,"value":776},{"type":47,"tag":116,"props":1792,"children":1793},{"style":138},[1794],{"type":53,"value":152},{"type":47,"tag":116,"props":1796,"children":1797},{"style":144},[1798],{"type":53,"value":157},{"type":47,"tag":116,"props":1800,"children":1801},{"style":138},[1802],{"type":53,"value":1803},"claude 'Your task'",{"type":47,"tag":116,"props":1805,"children":1806},{"style":144},[1807],{"type":53,"value":167},{"type":47,"tag":116,"props":1809,"children":1810},{"class":118,"line":170},[1811],{"type":47,"tag":116,"props":1812,"children":1813},{"emptyLinePlaceholder":174},[1814],{"type":53,"value":177},{"type":47,"tag":116,"props":1816,"children":1817},{"class":118,"line":180},[1818],{"type":47,"tag":116,"props":1819,"children":1820},{"style":123},[1821],{"type":53,"value":1822},"# Background\n",{"type":47,"tag":116,"props":1824,"children":1825},{"class":118,"line":189},[1826,1830,1834,1838,1842,1846,1850,1854,1858,1862],{"type":47,"tag":116,"props":1827,"children":1828},{"style":133},[1829],{"type":53,"value":66},{"type":47,"tag":116,"props":1831,"children":1832},{"style":138},[1833],{"type":53,"value":141},{"type":47,"tag":116,"props":1835,"children":1836},{"style":144},[1837],{"type":53,"value":147},{"type":47,"tag":116,"props":1839,"children":1840},{"style":138},[1841],{"type":53,"value":776},{"type":47,"tag":116,"props":1843,"children":1844},{"style":138},[1845],{"type":53,"value":781},{"type":47,"tag":116,"props":1847,"children":1848},{"style":144},[1849],{"type":53,"value":147},{"type":47,"tag":116,"props":1851,"children":1852},{"style":138},[1853],{"type":53,"value":152},{"type":47,"tag":116,"props":1855,"children":1856},{"style":144},[1857],{"type":53,"value":157},{"type":47,"tag":116,"props":1859,"children":1860},{"style":138},[1861],{"type":53,"value":1803},{"type":47,"tag":116,"props":1863,"children":1864},{"style":144},[1865],{"type":53,"value":167},{"type":47,"tag":549,"props":1867,"children":1868},{},[],{"type":47,"tag":70,"props":1870,"children":1871},{"id":41},[1872],{"type":53,"value":1873},"OpenCode",{"type":47,"tag":106,"props":1875,"children":1877},{"className":108,"code":1876,"language":66,"meta":110,"style":110},"bash pty:true workdir:~\u002Fproject command:\"opencode run 'Your task'\"\n",[1878],{"type":47,"tag":97,"props":1879,"children":1880},{"__ignoreMap":110},[1881],{"type":47,"tag":116,"props":1882,"children":1883},{"class":118,"line":119},[1884,1888,1892,1896,1900,1904,1908,1913],{"type":47,"tag":116,"props":1885,"children":1886},{"style":133},[1887],{"type":53,"value":66},{"type":47,"tag":116,"props":1889,"children":1890},{"style":138},[1891],{"type":53,"value":141},{"type":47,"tag":116,"props":1893,"children":1894},{"style":144},[1895],{"type":53,"value":147},{"type":47,"tag":116,"props":1897,"children":1898},{"style":138},[1899],{"type":53,"value":776},{"type":47,"tag":116,"props":1901,"children":1902},{"style":138},[1903],{"type":53,"value":152},{"type":47,"tag":116,"props":1905,"children":1906},{"style":144},[1907],{"type":53,"value":157},{"type":47,"tag":116,"props":1909,"children":1910},{"style":138},[1911],{"type":53,"value":1912},"opencode run 'Your task'",{"type":47,"tag":116,"props":1914,"children":1915},{"style":144},[1916],{"type":53,"value":167},{"type":47,"tag":549,"props":1918,"children":1919},{},[],{"type":47,"tag":70,"props":1921,"children":1923},{"id":1922},"pi-coding-agent",[1924],{"type":53,"value":1925},"Pi Coding Agent",{"type":47,"tag":106,"props":1927,"children":1929},{"className":108,"code":1928,"language":66,"meta":110,"style":110},"# Install: npm install -g @mariozechner\u002Fpi-coding-agent\nbash pty:true workdir:~\u002Fproject command:\"pi 'Your task'\"\n\n# Non-interactive mode (PTY still recommended)\nbash pty:true command:\"pi -p 'Summarize src\u002F'\"\n\n# Different provider\u002Fmodel\nbash pty:true command:\"pi --provider openai --model gpt-4o-mini -p 'Your task'\"\n",[1930],{"type":47,"tag":97,"props":1931,"children":1932},{"__ignoreMap":110},[1933,1941,1977,1984,1992,2024,2031,2039],{"type":47,"tag":116,"props":1934,"children":1935},{"class":118,"line":119},[1936],{"type":47,"tag":116,"props":1937,"children":1938},{"style":123},[1939],{"type":53,"value":1940},"# Install: npm install -g @mariozechner\u002Fpi-coding-agent\n",{"type":47,"tag":116,"props":1942,"children":1943},{"class":118,"line":129},[1944,1948,1952,1956,1960,1964,1968,1973],{"type":47,"tag":116,"props":1945,"children":1946},{"style":133},[1947],{"type":53,"value":66},{"type":47,"tag":116,"props":1949,"children":1950},{"style":138},[1951],{"type":53,"value":141},{"type":47,"tag":116,"props":1953,"children":1954},{"style":144},[1955],{"type":53,"value":147},{"type":47,"tag":116,"props":1957,"children":1958},{"style":138},[1959],{"type":53,"value":776},{"type":47,"tag":116,"props":1961,"children":1962},{"style":138},[1963],{"type":53,"value":152},{"type":47,"tag":116,"props":1965,"children":1966},{"style":144},[1967],{"type":53,"value":157},{"type":47,"tag":116,"props":1969,"children":1970},{"style":138},[1971],{"type":53,"value":1972},"pi 'Your task'",{"type":47,"tag":116,"props":1974,"children":1975},{"style":144},[1976],{"type":53,"value":167},{"type":47,"tag":116,"props":1978,"children":1979},{"class":118,"line":170},[1980],{"type":47,"tag":116,"props":1981,"children":1982},{"emptyLinePlaceholder":174},[1983],{"type":53,"value":177},{"type":47,"tag":116,"props":1985,"children":1986},{"class":118,"line":180},[1987],{"type":47,"tag":116,"props":1988,"children":1989},{"style":123},[1990],{"type":53,"value":1991},"# Non-interactive mode (PTY still recommended)\n",{"type":47,"tag":116,"props":1993,"children":1994},{"class":118,"line":189},[1995,1999,2003,2007,2011,2015,2020],{"type":47,"tag":116,"props":1996,"children":1997},{"style":133},[1998],{"type":53,"value":66},{"type":47,"tag":116,"props":2000,"children":2001},{"style":138},[2002],{"type":53,"value":141},{"type":47,"tag":116,"props":2004,"children":2005},{"style":144},[2006],{"type":53,"value":147},{"type":47,"tag":116,"props":2008,"children":2009},{"style":138},[2010],{"type":53,"value":152},{"type":47,"tag":116,"props":2012,"children":2013},{"style":144},[2014],{"type":53,"value":157},{"type":47,"tag":116,"props":2016,"children":2017},{"style":138},[2018],{"type":53,"value":2019},"pi -p 'Summarize src\u002F'",{"type":47,"tag":116,"props":2021,"children":2022},{"style":144},[2023],{"type":53,"value":167},{"type":47,"tag":116,"props":2025,"children":2026},{"class":118,"line":828},[2027],{"type":47,"tag":116,"props":2028,"children":2029},{"emptyLinePlaceholder":174},[2030],{"type":53,"value":177},{"type":47,"tag":116,"props":2032,"children":2033},{"class":118,"line":847},[2034],{"type":47,"tag":116,"props":2035,"children":2036},{"style":123},[2037],{"type":53,"value":2038},"# Different provider\u002Fmodel\n",{"type":47,"tag":116,"props":2040,"children":2041},{"class":118,"line":855},[2042,2046,2050,2054,2058,2062,2067],{"type":47,"tag":116,"props":2043,"children":2044},{"style":133},[2045],{"type":53,"value":66},{"type":47,"tag":116,"props":2047,"children":2048},{"style":138},[2049],{"type":53,"value":141},{"type":47,"tag":116,"props":2051,"children":2052},{"style":144},[2053],{"type":53,"value":147},{"type":47,"tag":116,"props":2055,"children":2056},{"style":138},[2057],{"type":53,"value":152},{"type":47,"tag":116,"props":2059,"children":2060},{"style":144},[2061],{"type":53,"value":157},{"type":47,"tag":116,"props":2063,"children":2064},{"style":138},[2065],{"type":53,"value":2066},"pi --provider openai --model gpt-4o-mini -p 'Your task'",{"type":47,"tag":116,"props":2068,"children":2069},{"style":144},[2070],{"type":53,"value":167},{"type":47,"tag":56,"props":2072,"children":2073},{},[2074,2079],{"type":47,"tag":62,"props":2075,"children":2076},{},[2077],{"type":53,"value":2078},"Note:",{"type":53,"value":2080}," Pi now has Anthropic prompt caching enabled (PR #584, merged Jan 2026)!",{"type":47,"tag":549,"props":2082,"children":2083},{},[],{"type":47,"tag":70,"props":2085,"children":2087},{"id":2086},"parallel-issue-fixing-with-git-worktrees",[2088],{"type":53,"value":2089},"Parallel Issue Fixing with git worktrees",{"type":47,"tag":56,"props":2091,"children":2092},{},[2093],{"type":53,"value":2094},"For fixing multiple issues in parallel, use git worktrees:",{"type":47,"tag":106,"props":2096,"children":2098},{"className":108,"code":2097,"language":66,"meta":110,"style":110},"# 1. Create worktrees for each issue\ngit worktree add -b fix\u002Fissue-78 \u002Ftmp\u002Fissue-78 main\ngit worktree add -b fix\u002Fissue-99 \u002Ftmp\u002Fissue-99 main\n\n# 2. Launch Codex in each (background + PTY!)\nbash pty:true workdir:\u002Ftmp\u002Fissue-78 background:true command:\"pnpm install && codex --yolo 'Fix issue #78: \u003Cdescription>. Commit and push.'\"\nbash pty:true workdir:\u002Ftmp\u002Fissue-99 background:true command:\"pnpm install && codex --yolo 'Fix issue #99: \u003Cdescription>. Commit and push.'\"\n\n# 3. Monitor progress\nprocess action:list\nprocess action:log sessionId:XXX\n\n# 4. Create PRs after fixes\ncd \u002Ftmp\u002Fissue-78 && git push -u origin fix\u002Fissue-78\ngh pr create --repo user\u002Frepo --head fix\u002Fissue-78 --title \"fix: ...\" --body \"...\"\n\n# 5. Cleanup\ngit worktree remove \u002Ftmp\u002Fissue-78\ngit worktree remove \u002Ftmp\u002Fissue-99\n",[2099],{"type":47,"tag":97,"props":2100,"children":2101},{"__ignoreMap":110},[2102,2110,2145,2178,2185,2193,2238,2283,2290,2298,2309,2324,2331,2339,2377,2447,2454,2462,2483],{"type":47,"tag":116,"props":2103,"children":2104},{"class":118,"line":119},[2105],{"type":47,"tag":116,"props":2106,"children":2107},{"style":123},[2108],{"type":53,"value":2109},"# 1. Create worktrees for each issue\n",{"type":47,"tag":116,"props":2111,"children":2112},{"class":118,"line":129},[2113,2117,2121,2125,2130,2135,2140],{"type":47,"tag":116,"props":2114,"children":2115},{"style":133},[2116],{"type":53,"value":1311},{"type":47,"tag":116,"props":2118,"children":2119},{"style":138},[2120],{"type":53,"value":1442},{"type":47,"tag":116,"props":2122,"children":2123},{"style":138},[2124],{"type":53,"value":1447},{"type":47,"tag":116,"props":2126,"children":2127},{"style":138},[2128],{"type":53,"value":2129}," -b",{"type":47,"tag":116,"props":2131,"children":2132},{"style":138},[2133],{"type":53,"value":2134}," fix\u002Fissue-78",{"type":47,"tag":116,"props":2136,"children":2137},{"style":138},[2138],{"type":53,"value":2139}," \u002Ftmp\u002Fissue-78",{"type":47,"tag":116,"props":2141,"children":2142},{"style":138},[2143],{"type":53,"value":2144}," main\n",{"type":47,"tag":116,"props":2146,"children":2147},{"class":118,"line":170},[2148,2152,2156,2160,2164,2169,2174],{"type":47,"tag":116,"props":2149,"children":2150},{"style":133},[2151],{"type":53,"value":1311},{"type":47,"tag":116,"props":2153,"children":2154},{"style":138},[2155],{"type":53,"value":1442},{"type":47,"tag":116,"props":2157,"children":2158},{"style":138},[2159],{"type":53,"value":1447},{"type":47,"tag":116,"props":2161,"children":2162},{"style":138},[2163],{"type":53,"value":2129},{"type":47,"tag":116,"props":2165,"children":2166},{"style":138},[2167],{"type":53,"value":2168}," fix\u002Fissue-99",{"type":47,"tag":116,"props":2170,"children":2171},{"style":138},[2172],{"type":53,"value":2173}," \u002Ftmp\u002Fissue-99",{"type":47,"tag":116,"props":2175,"children":2176},{"style":138},[2177],{"type":53,"value":2144},{"type":47,"tag":116,"props":2179,"children":2180},{"class":118,"line":180},[2181],{"type":47,"tag":116,"props":2182,"children":2183},{"emptyLinePlaceholder":174},[2184],{"type":53,"value":177},{"type":47,"tag":116,"props":2186,"children":2187},{"class":118,"line":189},[2188],{"type":47,"tag":116,"props":2189,"children":2190},{"style":123},[2191],{"type":53,"value":2192},"# 2. Launch Codex in each (background + PTY!)\n",{"type":47,"tag":116,"props":2194,"children":2195},{"class":118,"line":828},[2196,2200,2204,2208,2213,2217,2221,2225,2229,2234],{"type":47,"tag":116,"props":2197,"children":2198},{"style":133},[2199],{"type":53,"value":66},{"type":47,"tag":116,"props":2201,"children":2202},{"style":138},[2203],{"type":53,"value":141},{"type":47,"tag":116,"props":2205,"children":2206},{"style":144},[2207],{"type":53,"value":147},{"type":47,"tag":116,"props":2209,"children":2210},{"style":138},[2211],{"type":53,"value":2212}," workdir:\u002Ftmp\u002Fissue-78",{"type":47,"tag":116,"props":2214,"children":2215},{"style":138},[2216],{"type":53,"value":781},{"type":47,"tag":116,"props":2218,"children":2219},{"style":144},[2220],{"type":53,"value":147},{"type":47,"tag":116,"props":2222,"children":2223},{"style":138},[2224],{"type":53,"value":152},{"type":47,"tag":116,"props":2226,"children":2227},{"style":144},[2228],{"type":53,"value":157},{"type":47,"tag":116,"props":2230,"children":2231},{"style":138},[2232],{"type":53,"value":2233},"pnpm install && codex --yolo 'Fix issue #78: \u003Cdescription>. Commit and push.'",{"type":47,"tag":116,"props":2235,"children":2236},{"style":144},[2237],{"type":53,"value":167},{"type":47,"tag":116,"props":2239,"children":2240},{"class":118,"line":847},[2241,2245,2249,2253,2258,2262,2266,2270,2274,2279],{"type":47,"tag":116,"props":2242,"children":2243},{"style":133},[2244],{"type":53,"value":66},{"type":47,"tag":116,"props":2246,"children":2247},{"style":138},[2248],{"type":53,"value":141},{"type":47,"tag":116,"props":2250,"children":2251},{"style":144},[2252],{"type":53,"value":147},{"type":47,"tag":116,"props":2254,"children":2255},{"style":138},[2256],{"type":53,"value":2257}," workdir:\u002Ftmp\u002Fissue-99",{"type":47,"tag":116,"props":2259,"children":2260},{"style":138},[2261],{"type":53,"value":781},{"type":47,"tag":116,"props":2263,"children":2264},{"style":144},[2265],{"type":53,"value":147},{"type":47,"tag":116,"props":2267,"children":2268},{"style":138},[2269],{"type":53,"value":152},{"type":47,"tag":116,"props":2271,"children":2272},{"style":144},[2273],{"type":53,"value":157},{"type":47,"tag":116,"props":2275,"children":2276},{"style":138},[2277],{"type":53,"value":2278},"pnpm install && codex --yolo 'Fix issue #99: \u003Cdescription>. Commit and push.'",{"type":47,"tag":116,"props":2280,"children":2281},{"style":144},[2282],{"type":53,"value":167},{"type":47,"tag":116,"props":2284,"children":2285},{"class":118,"line":855},[2286],{"type":47,"tag":116,"props":2287,"children":2288},{"emptyLinePlaceholder":174},[2289],{"type":53,"value":177},{"type":47,"tag":116,"props":2291,"children":2292},{"class":118,"line":26},[2293],{"type":47,"tag":116,"props":2294,"children":2295},{"style":123},[2296],{"type":53,"value":2297},"# 3. Monitor progress\n",{"type":47,"tag":116,"props":2299,"children":2300},{"class":118,"line":880},[2301,2305],{"type":47,"tag":116,"props":2302,"children":2303},{"style":133},[2304],{"type":53,"value":834},{"type":47,"tag":116,"props":2306,"children":2307},{"style":138},[2308],{"type":53,"value":1677},{"type":47,"tag":116,"props":2310,"children":2311},{"class":118,"line":888},[2312,2316,2320],{"type":47,"tag":116,"props":2313,"children":2314},{"style":133},[2315],{"type":53,"value":834},{"type":47,"tag":116,"props":2317,"children":2318},{"style":138},[2319],{"type":53,"value":839},{"type":47,"tag":116,"props":2321,"children":2322},{"style":138},[2323],{"type":53,"value":844},{"type":47,"tag":116,"props":2325,"children":2326},{"class":118,"line":897},[2327],{"type":47,"tag":116,"props":2328,"children":2329},{"emptyLinePlaceholder":174},[2330],{"type":53,"value":177},{"type":47,"tag":116,"props":2332,"children":2333},{"class":118,"line":933},[2334],{"type":47,"tag":116,"props":2335,"children":2336},{"style":123},[2337],{"type":53,"value":2338},"# 4. Create PRs after fixes\n",{"type":47,"tag":116,"props":2340,"children":2341},{"class":118,"line":941},[2342,2346,2350,2354,2358,2363,2368,2372],{"type":47,"tag":116,"props":2343,"children":2344},{"style":614},[2345],{"type":53,"value":1334},{"type":47,"tag":116,"props":2347,"children":2348},{"style":138},[2349],{"type":53,"value":2139},{"type":47,"tag":116,"props":2351,"children":2352},{"style":144},[2353],{"type":53,"value":611},{"type":47,"tag":116,"props":2355,"children":2356},{"style":133},[2357],{"type":53,"value":632},{"type":47,"tag":116,"props":2359,"children":2360},{"style":138},[2361],{"type":53,"value":2362}," push",{"type":47,"tag":116,"props":2364,"children":2365},{"style":138},[2366],{"type":53,"value":2367}," -u",{"type":47,"tag":116,"props":2369,"children":2370},{"style":138},[2371],{"type":53,"value":1532},{"type":47,"tag":116,"props":2373,"children":2374},{"style":138},[2375],{"type":53,"value":2376}," fix\u002Fissue-78\n",{"type":47,"tag":116,"props":2378,"children":2379},{"class":118,"line":950},[2380,2384,2388,2393,2398,2403,2408,2412,2417,2421,2426,2430,2434,2438,2443],{"type":47,"tag":116,"props":2381,"children":2382},{"style":133},[2383],{"type":53,"value":1700},{"type":47,"tag":116,"props":2385,"children":2386},{"style":138},[2387],{"type":53,"value":1353},{"type":47,"tag":116,"props":2389,"children":2390},{"style":138},[2391],{"type":53,"value":2392}," create",{"type":47,"tag":116,"props":2394,"children":2395},{"style":138},[2396],{"type":53,"value":2397}," --repo",{"type":47,"tag":116,"props":2399,"children":2400},{"style":138},[2401],{"type":53,"value":2402}," user\u002Frepo",{"type":47,"tag":116,"props":2404,"children":2405},{"style":138},[2406],{"type":53,"value":2407}," --head",{"type":47,"tag":116,"props":2409,"children":2410},{"style":138},[2411],{"type":53,"value":2134},{"type":47,"tag":116,"props":2413,"children":2414},{"style":138},[2415],{"type":53,"value":2416}," --title",{"type":47,"tag":116,"props":2418,"children":2419},{"style":144},[2420],{"type":53,"value":656},{"type":47,"tag":116,"props":2422,"children":2423},{"style":138},[2424],{"type":53,"value":2425},"fix: ...",{"type":47,"tag":116,"props":2427,"children":2428},{"style":144},[2429],{"type":53,"value":157},{"type":47,"tag":116,"props":2431,"children":2432},{"style":138},[2433],{"type":53,"value":1734},{"type":47,"tag":116,"props":2435,"children":2436},{"style":144},[2437],{"type":53,"value":656},{"type":47,"tag":116,"props":2439,"children":2440},{"style":138},[2441],{"type":53,"value":2442},"...",{"type":47,"tag":116,"props":2444,"children":2445},{"style":144},[2446],{"type":53,"value":167},{"type":47,"tag":116,"props":2448,"children":2449},{"class":118,"line":984},[2450],{"type":47,"tag":116,"props":2451,"children":2452},{"emptyLinePlaceholder":174},[2453],{"type":53,"value":177},{"type":47,"tag":116,"props":2455,"children":2456},{"class":118,"line":992},[2457],{"type":47,"tag":116,"props":2458,"children":2459},{"style":123},[2460],{"type":53,"value":2461},"# 5. Cleanup\n",{"type":47,"tag":116,"props":2463,"children":2464},{"class":118,"line":1001},[2465,2469,2473,2478],{"type":47,"tag":116,"props":2466,"children":2467},{"style":133},[2468],{"type":53,"value":1311},{"type":47,"tag":116,"props":2470,"children":2471},{"style":138},[2472],{"type":53,"value":1442},{"type":47,"tag":116,"props":2474,"children":2475},{"style":138},[2476],{"type":53,"value":2477}," remove",{"type":47,"tag":116,"props":2479,"children":2480},{"style":138},[2481],{"type":53,"value":2482}," \u002Ftmp\u002Fissue-78\n",{"type":47,"tag":116,"props":2484,"children":2486},{"class":118,"line":2485},19,[2487,2491,2495,2499],{"type":47,"tag":116,"props":2488,"children":2489},{"style":133},[2490],{"type":53,"value":1311},{"type":47,"tag":116,"props":2492,"children":2493},{"style":138},[2494],{"type":53,"value":1442},{"type":47,"tag":116,"props":2496,"children":2497},{"style":138},[2498],{"type":53,"value":2477},{"type":47,"tag":116,"props":2500,"children":2501},{"style":138},[2502],{"type":53,"value":2503}," \u002Ftmp\u002Fissue-99\n",{"type":47,"tag":549,"props":2505,"children":2506},{},[],{"type":47,"tag":70,"props":2508,"children":2510},{"id":2509},"️-rules",[2511],{"type":53,"value":2512},"⚠️ Rules",{"type":47,"tag":2514,"props":2515,"children":2516},"ol",{},[2517,2528,2552,2562,2572,2582,2592,2602,2612],{"type":47,"tag":2518,"props":2519,"children":2520},"li",{},[2521,2526],{"type":47,"tag":62,"props":2522,"children":2523},{},[2524],{"type":53,"value":2525},"Always use pty:true",{"type":53,"value":2527}," - coding agents need a terminal!",{"type":47,"tag":2518,"props":2529,"children":2530},{},[2531,2536,2538],{"type":47,"tag":62,"props":2532,"children":2533},{},[2534],{"type":53,"value":2535},"Respect tool choice",{"type":53,"value":2537}," - if user asks for Codex, use Codex.\n",{"type":47,"tag":2539,"props":2540,"children":2541},"ul",{},[2542,2547],{"type":47,"tag":2518,"props":2543,"children":2544},{},[2545],{"type":53,"value":2546},"Orchestrator mode: do NOT hand-code patches yourself.",{"type":47,"tag":2518,"props":2548,"children":2549},{},[2550],{"type":53,"value":2551},"If an agent fails\u002Fhangs, respawn it or ask the user for direction, but don't silently take over.",{"type":47,"tag":2518,"props":2553,"children":2554},{},[2555,2560],{"type":47,"tag":62,"props":2556,"children":2557},{},[2558],{"type":53,"value":2559},"Be patient",{"type":53,"value":2561}," - don't kill sessions because they're \"slow\"",{"type":47,"tag":2518,"props":2563,"children":2564},{},[2565,2570],{"type":47,"tag":62,"props":2566,"children":2567},{},[2568],{"type":53,"value":2569},"Monitor with process:log",{"type":53,"value":2571}," - check progress without interfering",{"type":47,"tag":2518,"props":2573,"children":2574},{},[2575,2580],{"type":47,"tag":62,"props":2576,"children":2577},{},[2578],{"type":53,"value":2579},"--full-auto for building",{"type":53,"value":2581}," - auto-approves changes",{"type":47,"tag":2518,"props":2583,"children":2584},{},[2585,2590],{"type":47,"tag":62,"props":2586,"children":2587},{},[2588],{"type":53,"value":2589},"vanilla for reviewing",{"type":53,"value":2591}," - no special flags needed",{"type":47,"tag":2518,"props":2593,"children":2594},{},[2595,2600],{"type":47,"tag":62,"props":2596,"children":2597},{},[2598],{"type":53,"value":2599},"Parallel is OK",{"type":53,"value":2601}," - run many Codex processes at once for batch work",{"type":47,"tag":2518,"props":2603,"children":2604},{},[2605,2610],{"type":47,"tag":62,"props":2606,"children":2607},{},[2608],{"type":53,"value":2609},"NEVER start Codex in ~\u002Fclawd\u002F",{"type":53,"value":2611}," - it'll read your soul docs and get weird ideas about the org chart!",{"type":47,"tag":2518,"props":2613,"children":2614},{},[2615,2620],{"type":47,"tag":62,"props":2616,"children":2617},{},[2618],{"type":53,"value":2619},"NEVER checkout branches in ~\u002FProjects\u002Fopenclaw\u002F",{"type":53,"value":2621}," - that's the LIVE OpenClaw instance!",{"type":47,"tag":549,"props":2623,"children":2624},{},[],{"type":47,"tag":70,"props":2626,"children":2628},{"id":2627},"progress-updates-critical",[2629],{"type":53,"value":2630},"Progress Updates (Critical)",{"type":47,"tag":56,"props":2632,"children":2633},{},[2634],{"type":53,"value":2635},"When you spawn coding agents in the background, keep the user in the loop.",{"type":47,"tag":2539,"props":2637,"children":2638},{},[2639,2644,2672],{"type":47,"tag":2518,"props":2640,"children":2641},{},[2642],{"type":53,"value":2643},"Send 1 short message when you start (what's running + where).",{"type":47,"tag":2518,"props":2645,"children":2646},{},[2647,2649],{"type":53,"value":2648},"Then only update again when something changes:\n",{"type":47,"tag":2539,"props":2650,"children":2651},{},[2652,2657,2662,2667],{"type":47,"tag":2518,"props":2653,"children":2654},{},[2655],{"type":53,"value":2656},"a milestone completes (build finished, tests passed)",{"type":47,"tag":2518,"props":2658,"children":2659},{},[2660],{"type":53,"value":2661},"the agent asks a question \u002F needs input",{"type":47,"tag":2518,"props":2663,"children":2664},{},[2665],{"type":53,"value":2666},"you hit an error or need user action",{"type":47,"tag":2518,"props":2668,"children":2669},{},[2670],{"type":53,"value":2671},"the agent finishes (include what changed + where)",{"type":47,"tag":2518,"props":2673,"children":2674},{},[2675],{"type":53,"value":2676},"If you kill a session, immediately say you killed it and why.",{"type":47,"tag":56,"props":2678,"children":2679},{},[2680],{"type":53,"value":2681},"This prevents the user from seeing only \"Agent failed before reply\" and having no idea what happened.",{"type":47,"tag":549,"props":2683,"children":2684},{},[],{"type":47,"tag":70,"props":2686,"children":2688},{"id":2687},"auto-notify-on-completion",[2689],{"type":53,"value":2690},"Auto-Notify on Completion",{"type":47,"tag":56,"props":2692,"children":2693},{},[2694],{"type":53,"value":2695},"For long-running background tasks, append a wake trigger to your prompt so OpenClaw gets notified immediately when the agent finishes (instead of waiting for the next heartbeat):",{"type":47,"tag":106,"props":2697,"children":2701},{"className":2698,"code":2700,"language":53},[2699],"language-text","... your task here.\n\nWhen completely finished, run this command to notify me:\nopenclaw gateway wake --text \"Done: [brief summary of what was built]\" --mode now\n",[2702],{"type":47,"tag":97,"props":2703,"children":2704},{"__ignoreMap":110},[2705],{"type":53,"value":2700},{"type":47,"tag":56,"props":2707,"children":2708},{},[2709],{"type":47,"tag":62,"props":2710,"children":2711},{},[2712],{"type":53,"value":2713},"Example:",{"type":47,"tag":106,"props":2715,"children":2717},{"className":108,"code":2716,"language":66,"meta":110,"style":110},"bash pty:true workdir:~\u002Fproject background:true command:\"codex --yolo exec 'Build a REST API for todos.\n\nWhen completely finished, run: openclaw gateway wake --text \\\"Done: Built todos REST API with CRUD endpoints\\\" --mode now'\"\n",[2718],{"type":47,"tag":97,"props":2719,"children":2720},{"__ignoreMap":110},[2721,2761,2768],{"type":47,"tag":116,"props":2722,"children":2723},{"class":118,"line":119},[2724,2728,2732,2736,2740,2744,2748,2752,2756],{"type":47,"tag":116,"props":2725,"children":2726},{"style":133},[2727],{"type":53,"value":66},{"type":47,"tag":116,"props":2729,"children":2730},{"style":138},[2731],{"type":53,"value":141},{"type":47,"tag":116,"props":2733,"children":2734},{"style":144},[2735],{"type":53,"value":147},{"type":47,"tag":116,"props":2737,"children":2738},{"style":138},[2739],{"type":53,"value":776},{"type":47,"tag":116,"props":2741,"children":2742},{"style":138},[2743],{"type":53,"value":781},{"type":47,"tag":116,"props":2745,"children":2746},{"style":144},[2747],{"type":53,"value":147},{"type":47,"tag":116,"props":2749,"children":2750},{"style":138},[2751],{"type":53,"value":152},{"type":47,"tag":116,"props":2753,"children":2754},{"style":144},[2755],{"type":53,"value":157},{"type":47,"tag":116,"props":2757,"children":2758},{"style":138},[2759],{"type":53,"value":2760},"codex --yolo exec 'Build a REST API for todos.\n",{"type":47,"tag":116,"props":2762,"children":2763},{"class":118,"line":129},[2764],{"type":47,"tag":116,"props":2765,"children":2766},{"emptyLinePlaceholder":174},[2767],{"type":53,"value":177},{"type":47,"tag":116,"props":2769,"children":2770},{"class":118,"line":170},[2771,2776,2781,2786,2790,2795],{"type":47,"tag":116,"props":2772,"children":2773},{"style":138},[2774],{"type":53,"value":2775},"When completely finished, run: openclaw gateway wake --text ",{"type":47,"tag":116,"props":2777,"children":2778},{"style":583},[2779],{"type":53,"value":2780},"\\\"",{"type":47,"tag":116,"props":2782,"children":2783},{"style":138},[2784],{"type":53,"value":2785},"Done: Built todos REST API with CRUD endpoints",{"type":47,"tag":116,"props":2787,"children":2788},{"style":583},[2789],{"type":53,"value":2780},{"type":47,"tag":116,"props":2791,"children":2792},{"style":138},[2793],{"type":53,"value":2794}," --mode now'",{"type":47,"tag":116,"props":2796,"children":2797},{"style":144},[2798],{"type":53,"value":167},{"type":47,"tag":56,"props":2800,"children":2801},{},[2802],{"type":53,"value":2803},"This triggers an immediate wake event — Skippy gets pinged in seconds, not 10 minutes.",{"type":47,"tag":549,"props":2805,"children":2806},{},[],{"type":47,"tag":70,"props":2808,"children":2810},{"id":2809},"learnings-jan-2026",[2811],{"type":53,"value":2812},"Learnings (Jan 2026)",{"type":47,"tag":2539,"props":2814,"children":2815},{},[2816,2833,2851,2868,2892],{"type":47,"tag":2518,"props":2817,"children":2818},{},[2819,2824,2826,2831],{"type":47,"tag":62,"props":2820,"children":2821},{},[2822],{"type":53,"value":2823},"PTY is essential:",{"type":53,"value":2825}," Coding agents are interactive terminal apps. Without ",{"type":47,"tag":97,"props":2827,"children":2829},{"className":2828},[],[2830],{"type":53,"value":102},{"type":53,"value":2832},", output breaks or agent hangs.",{"type":47,"tag":2518,"props":2834,"children":2835},{},[2836,2841,2843,2849],{"type":47,"tag":62,"props":2837,"children":2838},{},[2839],{"type":53,"value":2840},"Git repo required:",{"type":53,"value":2842}," Codex won't run outside a git directory. Use ",{"type":47,"tag":97,"props":2844,"children":2846},{"className":2845},[],[2847],{"type":53,"value":2848},"mktemp -d && git init",{"type":53,"value":2850}," for scratch work.",{"type":47,"tag":2518,"props":2852,"children":2853},{},[2854,2859,2860,2866],{"type":47,"tag":62,"props":2855,"children":2856},{},[2857],{"type":53,"value":2858},"exec is your friend:",{"type":53,"value":1044},{"type":47,"tag":97,"props":2861,"children":2863},{"className":2862},[],[2864],{"type":53,"value":2865},"codex exec \"prompt\"",{"type":53,"value":2867}," runs and exits cleanly - perfect for one-shots.",{"type":47,"tag":2518,"props":2869,"children":2870},{},[2871,2876,2878,2883,2885,2890],{"type":47,"tag":62,"props":2872,"children":2873},{},[2874],{"type":53,"value":2875},"submit vs write:",{"type":53,"value":2877}," Use ",{"type":47,"tag":97,"props":2879,"children":2881},{"className":2880},[],[2882],{"type":53,"value":491},{"type":53,"value":2884}," to send input + Enter, ",{"type":47,"tag":97,"props":2886,"children":2888},{"className":2887},[],[2889],{"type":53,"value":474},{"type":53,"value":2891}," for raw data without newline.",{"type":47,"tag":2518,"props":2893,"children":2894},{},[2895,2900,2902,2908],{"type":47,"tag":62,"props":2896,"children":2897},{},[2898],{"type":53,"value":2899},"Sass works:",{"type":53,"value":2901}," Codex responds well to playful prompts. Asked it to write a haiku about being second fiddle to a space lobster, got: ",{"type":47,"tag":2903,"props":2904,"children":2905},"em",{},[2906],{"type":53,"value":2907},"\"Second chair, I code \u002F Space lobster sets the tempo \u002F Keys glow, I follow\"",{"type":53,"value":2909}," 🦞",{"type":47,"tag":2911,"props":2912,"children":2913},"style",{},[2914],{"type":53,"value":2915},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2917,"total":3066},[2918,2934,2948,2962,2974,2986,2998,3009,3025,3039,3049,3055],{"slug":2919,"name":2919,"fn":2920,"description":2921,"org":2922,"tags":2923,"stars":2931,"repoUrl":2932,"updatedAt":2933},"deepclaw-voice","configure phone calls with Deepgram Voice","Set up phone calling to OpenClaw using Deepgram Voice Agent API",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2924,2927,2928],{"name":2925,"slug":2926,"type":15},"API Development","api-development",{"name":9,"slug":8,"type":15},{"name":2929,"slug":2930,"type":15},"Voice","voice",78,"https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdeepclaw","2026-07-12T08:29:25.371332",{"slug":2935,"name":2935,"fn":2936,"description":2937,"org":2938,"tags":2939,"stars":22,"repoUrl":23,"updatedAt":2947},"1password","manage secrets with 1Password CLI","Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading\u002Finjecting\u002Frunning secrets via op.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2940,2941,2944],{"name":13,"slug":14,"type":15},{"name":2942,"slug":2943,"type":15},"CLI","cli",{"name":2945,"slug":2946,"type":15},"Security","security","2026-07-12T08:28:49.991939",{"slug":2949,"name":2949,"fn":2950,"description":2951,"org":2952,"tags":2953,"stars":22,"repoUrl":23,"updatedAt":2961},"apple-notes","manage Apple Notes on macOS","Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2954,2955,2958],{"name":2942,"slug":2943,"type":15},{"name":2956,"slug":2957,"type":15},"Knowledge Management","knowledge-management",{"name":2959,"slug":2960,"type":15},"macOS","macos","2026-07-12T08:29:01.538106",{"slug":2963,"name":2963,"fn":2964,"description":2965,"org":2966,"tags":2967,"stars":22,"repoUrl":23,"updatedAt":2973},"apple-reminders","manage Apple Reminders via CLI","Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON\u002Fplain output.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2968,2969,2970],{"name":2942,"slug":2943,"type":15},{"name":2959,"slug":2960,"type":15},{"name":2971,"slug":2972,"type":15},"Task Management","task-management","2026-07-12T08:29:14.035414",{"slug":2975,"name":2975,"fn":2976,"description":2977,"org":2978,"tags":2979,"stars":22,"repoUrl":23,"updatedAt":2985},"bear-notes","manage Bear notes via CLI","Create, search, and manage Bear notes via grizzly CLI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2980,2981,2982],{"name":2942,"slug":2943,"type":15},{"name":2956,"slug":2957,"type":15},{"name":2983,"slug":2984,"type":15},"Notes","notes","2026-07-12T08:28:51.246011",{"slug":2987,"name":2987,"fn":2988,"description":2989,"org":2990,"tags":2991,"stars":22,"repoUrl":23,"updatedAt":2997},"blogwatcher","monitor blogs and RSS feeds","Monitor blogs and RSS\u002FAtom feeds for updates using the blogwatcher CLI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2992,2993,2994],{"name":13,"slug":14,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2995,"slug":2996,"type":15},"Monitoring","monitoring","2026-07-12T08:29:02.762321",{"slug":2999,"name":2999,"fn":3000,"description":3001,"org":3002,"tags":3003,"stars":22,"repoUrl":23,"updatedAt":3008},"blucli","control BluOS audio playback","BluOS CLI (blu) for discovery, playback, grouping, and volume.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3004,3007],{"name":3005,"slug":3006,"type":15},"Audio","audio",{"name":2942,"slug":2943,"type":15},"2026-07-12T08:28:21.009637",{"slug":3010,"name":3010,"fn":3011,"description":3012,"org":3013,"tags":3014,"stars":22,"repoUrl":23,"updatedAt":3024},"bluebubbles","send and manage iMessages","Use when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel=\"bluebubbles\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3015,3018,3021],{"name":3016,"slug":3017,"type":15},"Communications","communications",{"name":3019,"slug":3020,"type":15},"iMessage","imessage",{"name":3022,"slug":3023,"type":15},"Messaging","messaging","2026-07-12T08:28:57.517914",{"slug":3026,"name":3026,"fn":3027,"description":3028,"org":3029,"tags":3030,"stars":22,"repoUrl":23,"updatedAt":3038},"camsnap","capture frames and clips from cameras","Capture frames or clips from RTSP\u002FONVIF cameras.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3031,3032,3035],{"name":13,"slug":14,"type":15},{"name":3033,"slug":3034,"type":15},"Camera","camera",{"name":3036,"slug":3037,"type":15},"Media","media","2026-07-12T08:28:28.096134",{"slug":3040,"name":3040,"fn":3041,"description":3042,"org":3043,"tags":3044,"stars":22,"repoUrl":23,"updatedAt":3048},"clawhub","manage agent skills with ClawHub","Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new\u002Fupdated skill folders with the npm-installed clawhub CLI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3045,3046,3047],{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"name":2942,"slug":2943,"type":15},"2026-07-12T08:28:30.589001",{"slug":4,"name":4,"fn":5,"description":6,"org":3050,"tags":3051,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3052,3053,3054],{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":3056,"name":3056,"fn":3057,"description":3058,"org":3059,"tags":3060,"stars":22,"repoUrl":23,"updatedAt":3065},"eightctl","control Eight Sleep pod settings","Control Eight Sleep pods (status, temperature, alarms, schedules).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3061,3062],{"name":13,"slug":14,"type":15},{"name":3063,"slug":3064,"type":15},"Hardware","hardware","2026-07-12T08:28:39.322181",73,{"items":3068,"total":3110},[3069,3075,3081,3087,3093,3099,3104],{"slug":2935,"name":2935,"fn":2936,"description":2937,"org":3070,"tags":3071,"stars":22,"repoUrl":23,"updatedAt":2947},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3072,3073,3074],{"name":13,"slug":14,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2945,"slug":2946,"type":15},{"slug":2949,"name":2949,"fn":2950,"description":2951,"org":3076,"tags":3077,"stars":22,"repoUrl":23,"updatedAt":2961},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3078,3079,3080],{"name":2942,"slug":2943,"type":15},{"name":2956,"slug":2957,"type":15},{"name":2959,"slug":2960,"type":15},{"slug":2963,"name":2963,"fn":2964,"description":2965,"org":3082,"tags":3083,"stars":22,"repoUrl":23,"updatedAt":2973},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3084,3085,3086],{"name":2942,"slug":2943,"type":15},{"name":2959,"slug":2960,"type":15},{"name":2971,"slug":2972,"type":15},{"slug":2975,"name":2975,"fn":2976,"description":2977,"org":3088,"tags":3089,"stars":22,"repoUrl":23,"updatedAt":2985},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3090,3091,3092],{"name":2942,"slug":2943,"type":15},{"name":2956,"slug":2957,"type":15},{"name":2983,"slug":2984,"type":15},{"slug":2987,"name":2987,"fn":2988,"description":2989,"org":3094,"tags":3095,"stars":22,"repoUrl":23,"updatedAt":2997},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3096,3097,3098],{"name":13,"slug":14,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2995,"slug":2996,"type":15},{"slug":2999,"name":2999,"fn":3000,"description":3001,"org":3100,"tags":3101,"stars":22,"repoUrl":23,"updatedAt":3008},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3102,3103],{"name":3005,"slug":3006,"type":15},{"name":2942,"slug":2943,"type":15},{"slug":3010,"name":3010,"fn":3011,"description":3012,"org":3105,"tags":3106,"stars":22,"repoUrl":23,"updatedAt":3024},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3107,3108,3109],{"name":3016,"slug":3017,"type":15},{"name":3019,"slug":3020,"type":15},{"name":3022,"slug":3023,"type":15},54]