kanban-codex-lane

Runs Codex CLI as an isolated git worktree implementation lane under Hermes Kanban task ownership.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill kanban-codex-lane-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kanban-codex-lane
Source: https://github.com/CHENHUI-X/toolbox/tree/main/custom-skills/autonomous-ai-agents/kanban-codex-lane
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill kanban-codex-lane-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It lets a Hermes Kanban worker delegate bounded coding tasks to Codex CLI without giving up control of task lifecycle, review, testing, or board state, preventing untrusted agent output from being treated as task completion. ## Core Features & Use Cases - Isolated Worktree Lanes: Creates task-scoped git branches and worktrees so Codex edits never touch a shared dirty checkout. - Ownership and Safety Rules: Enforces that Hermes alone calls kanban_complete/kanban_block, reruns canonical tests, and rejects diffs that weaken PMB safety constraints such as risk gates or paper-only trading. - Structured Handoff Metadata: Defines a codex_lane metadata schema recording mode, result, accepted commits, tests run, and rejection reasons. - Use Case: A Kanban task asks for a small refactor in prediction-market-bot; the worker spawns codex exec in a temporary worktree, reviews the diff, reruns the repo test wrapper itself, cherry-picks accepted commits, and completes the task with full lane metadata. ## Quick Start Ask the Hermes Kanban worker to run the current task through a Codex lane in an isolated worktree and reconcile the diff before completing the task.

Frequently Asked Questions about kanban-codex-lane

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Codex CLI on a Kanban task safely?

Create a task-scoped git worktree and branch, launch codex exec --full-auto inside it with a prompt containing scope and safety constraints, then review the diff and rerun tests yourself before accepting. Codex output is treated as an untrusted patch, never as completion.

When should I use codex exec versus Codex /goal mode?

Use codex exec for bounded one-shot edits where Codex exits on its own. Reserve /goal for broader multi-step work needing durable objective tracking, launched in a PTY or with the goals feature flag after checking availability.

Can Codex mark a Kanban task complete or update the board?

No. Hermes owns the Kanban lifecycle exclusively; Codex must never call kanban_complete, kanban_block, kanban_create, or messaging gateways. Hermes reviews the lane and writes all board state itself.

When should I not use a Codex lane for a task?

Skip the lane when the task needs human judgment, touches secrets or production order entry, lacks repo access or Codex auth, or when a small direct edit is faster and safer. Record the skip with used: false and a rejected_reason in the metadata.

What safety constraints apply to prediction-market-bot Codex lanes?

Prompts must state that live-SIM is paper-only, market orders are forbidden, risk gates and kill switches must not be weakened, fills and PnL must not be faked, and secrets must never be read or written. Lanes violating these are rejected even if tests pass.