Code Agent Orchestration
Installation
SKILL.md
Code Agent Orchestration
Use openclaw-code-agent to run Claude Code or Codex sessions as background coding jobs from chat.
Launch
- Do not pass
channelmanually. Routing comes fromagentChannels, the current chat context, andfallbackChannel. - Sessions are multi-turn. Continue existing work with
agent_respondoragent_launch(..., resume_session_id=...); do not start a fresh session for the same task. - Always set a short kebab-case
namewhen you care about later follow-up. - Set
workdirto the target repo. - Use
permission_mode: "plan"when the user wants a real review gate before implementation. - Use
permission_mode: "bypassPermissions"only for autonomous execution. defaultWorktreeStrategynow defaults tooff. Opt into a worktree strategy explicitly when you want branch isolation.- In
planmode, the plan belongs in normal session output. Do not ask the coding agent to write plan docs or transcript artifacts unless the user explicitly asked for a file.
Example: