kanban-codex-lane
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
Skill by percymcn
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/percymcn-kanban-codex-lane
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
kanban-codex-lane- Description
- Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation, testing, and handoff.
- License
- MIT
- Instructions
- 267 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: templates/pmb-codex-lane-prompt.md, scripts/run_tests.sh
Files (1)
- SKILL.md
SKILL.md (first lines)
# Kanban Codex Lane
## Overview
This skill defines the lightweight Hermes+Codex dual-lane convention for Kanban workers. Hermes is always the task owner: it calls `kanban_show`, decides whether Codex is appropriate, creates or selects an isolated workspace, starts and monitors Codex, reconciles any diff, runs verification, and writes the final `kanban_complete` or `kanban_block` handoff. Codex is an input lane only. Codex output is not a task completion signal, not a trusted reviewer, and not allowed to write durable Kanban state directly.
The convention exists so a Hermes worker can use Codex for bounded implementation help without changing the dispatcher. The dispatcher must still spawn Hermes workers. A worker may optionally spawn Codex inside its own run, then accept, partially accept, or reject the lane after independent review and tests.
## When to Use
Use the Codex lane when all of these are true:
- The Kanban task is a coding, refactor, documentation, test, or mechanical migration task with clear acceptance criteria.
- A bounded diff can be evaluated by Hermes in one run.
- The repo can be copied or checked out in an isolated git worktree/branch.
- Hermes can run the relevant tests itself after Codex exits.
- The prompt can state all safety constraints and files that must not change.
Do not use the Codex lane when any of these are true:
- The task requires human judgment that is not already captured in the Kanban body.
- The worker lacks repo access, Codex auth, or time to reconcile the result.
- The change touches secrets, credential stores, private user data, or production order-entry systems.
- A small direct edit is faster and safer than spawning another agent.
- The task is research-only and should produce a written handoff rather than a diff.
- The worker would be tempted to mark Done based only on Codex self-report.
## Ownership Rules
1. Hermes owns the Kanban lifecycle. Codex must never call `kanban_complete`, `kanban_block`, `kanban_create`, gateway messaging, or any Hermes board CLI as a substitute for the worker.
2. Hermes owns final acceptance. Treat Codex commits/diffs as untrusted patches until reviewed and verified.
3. Hermes owns test execution. Codex may run tests, but those runs are advisory; repeat required verification from Hermes with the repo's canonical wrapper.
4. Hermes owns safety. If Codex changes safety boundaries, risk gates, live trading behavior, or secrets handling, reject the lane even if tests pass.
5. Hermes owns cleanup. Kill stuck Codex processes and remove temporary worktrees when they are no longer needed.
## Required Worktree and Branch Pattern
Never run Codex directly in a shared dirty checkout. Use a branch/worktree name that ties the lane to the Kanban task and keeps untrusted edits isolated.
Recommended variables:
```bash
TASK_ID="${HERMES_KANBAN_TASK:-t_manual}"
REPO="/path/to/repo"
BASE="$(git -C "$REPO" rev-parse --abbrev-ref HEAD)"
SAFE_TASK="$(printf '%s' "$TASK_ID" | tr -cd '[:alnum:]_-')"
BRANCH="codex/${SAFE_TASK}/$(date -u +%Y%m%d%H%M%S)"
WORKTREE="/tmp/${SAFE_TASK}-codex-lane"
```
Create the isolated lane:
```bash
git -C "$REPO" fetch --all --prune
git -C "$REPO" worktree add -b "$BRANCH" "$WORKTREE" "$BASE"
git -C "$WORKTREE" status --short --branch
```
If the current Kanban workspace is already an isolated git worktree created for this task, you may create a sibling Codex branch inside it only if `git status --short` is clean except for intentional Hermes edits. Otherwise create a separate temporary worktree and cherry-pick or copy accepted commits back after reconciliation.
Cleanup after reconciliation:
```bash
git -C "$REPO" worktree remove "$WORKTREE"
git -C "$REPO" branch -D "$BRANCH" # only after accepted commits were copied/cherry-picked or intentionally rejected
```
Keep the worktree if it is needed as an artifact for review; record it in `codex_lane.artifacts` and mention it in the handoff.
## Codex Capability Checks
Run these before spawning Codex. Missing Codex is a normal reason to skip the lane, not a task blocker if Hermes can do the task directly.
```bash
command -v codex
codex --version
codex features list | grep -i goals || true
```
If `/goal` support is required, enable or launch with the feature flag only after checking availability:
```bash
codex features enable goals || true
codex --enable goals --version
```
Authentication can be via `OPENAI_API_KEY` or the Codex CLI OAuth state (often `~/.codex/auth.json`). Do not print token files. A missing `OPENAI_API_KEY` is not proof that auth is unavailable.
## Mode Selection
Use `codex exec` for bounded one-shot edits where Codex should exit on its own:
```python
terminal(
command="codex exec --full-auto '$(cat /tmp/codex_prompt.md)'",
workdir=WORKTREE,
background=True,
pty=True,
notify_on_complete=True,
)
```
Use Codex `/goal` only for broader multi-step work that benefits from durable objective tracking. Launch interactively in a PTY/tmux session or with `codex --enable goals` if the feature is disabled by default. Keep the goal objective self-contained: repo path, task id, safety constraints, allowed scope, acceptance criteria, tests, and commit expectations.
Example `/goal` objective text to paste into Codex:
```text
/goal Work in this repository only: <WORKTREE>. Task: <TASK_ID> <TITLE>.
Hermes owns the Kanban lifecycle; do not call Hermes kanban tools or messaging.
Create small commits on branch <BRANCH>. Follow the PMB safety constraints in the prompt.
Run the requested verification commands and report exact outputs. Stop after producing a diff and summary.
```
Do not use `--yolo` for prediction-market-bot or safety-sensitive repos. Prefer `--full-auto` inside the isolated worktree, then rely on Hermes reconciliation.
## Prompt Construction
Use the linked template at `templates/pmb-codex-lane-prompt.md` for prediction-market-bot work. For other repos, keep the same structure and replace the PMB-specific safety block with repo-specific invariants.From percymcn/agent-cookbook, MIT.
More from percymcn/agent-cookbook
- 0.471score
apple-ecosystem
percymcn
Apple/macOS ecosystem umbrella: Apple Notes, Reminders, iMessage/SMS, Find My, and macOS background computer-use automation.
SkillCFreshness: CClaude Code +9 - 0.471score
autonomous-idea-pipeline
percymcn
Build and operate fully autonomous systems for continuously discovering, validating, and preparing business opportunities from multiple data sources without…
SkillCFreshness: CClaude Code +9 - 0.471score
external-coding-agents
percymcn
Umbrella for delegating software work to external coding-agent CLIs: Claude Code, OpenAI Codex, and OpenCode.
SkillCFreshness: CClaude Code +9 - 0.468score
prospect-response-monitoring
percymcn
Monitors outreach logs for new prospect responses and sends urgent notifications via Telegram when responses are detected.
SkillCFreshness: CClaude Code +9 - 0.468score
agent-os
percymcn
Agent Operating System — Hermes is the command hub on Telegram.
SkillCFreshness: CClaude Code +9 - 0.468score
autonomous-business-system
percymcn
A fully automated system for discovering, analyzing, and generating business plans from YouTube channels and Reddit pain points
SkillCFreshness: CClaude Code +9 - 0.468score
tradeflow-paper
percymcn
Build and operate a paper-mode self-improving trading agent for BTC/USDT with parametric strategy optimization and safety gates.
SkillCFreshness: CClaude Code +9 - 0.468score
business-factory-oss-stack
percymcn
Use Purse's installed open-source business factory stack from the 2026-05-21 hot GitHub repos PDF: CodeGraph, Bun, Supertonic, CloakBrowser, AgentMemory, and…
SkillCFreshness: CClaude Code +9 - 0.464score
gideon-autonomous-prospector
percymcn
Interact with Gideon's autonomous prospector system for researching and identifying new prospects across target niches for AI content repurposing business
SkillCFreshness: CClaude Code +9 - 0.464score
ai-pdf-guide-business
percymcn
Build and operate an autonomous AI-powered PDF guide generation and sales business that creates valuable guides from trending topics and sells them…
SkillCFreshness: CClaude Code +9 - 0.464score
gumroad-operations
percymcn
Manage Purse's Gumroad store through the local Gumroad CLI and MCP server: products, sales, offer codes, subscribers, licenses, webhooks, reports, and guarded…
SkillCFreshness: CClaude Code +9 - 0.461score
delegate-to-claude-code
percymcn
Delegate complex coding/reasoning tasks to Claude Code CLI via the call_claude_code Python wrapper.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Jun 12, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/percymcn/agent-cookbook
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.579score
kanban-codex-lane
hermesonehq
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillCFreshness: C★ 92Claude Code +9 - 0.326score
kanban-codex-lane
RekapalliVasudeva-MBU
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillBFreshness: B★ 1Claude Code +9 - 0.325score
kanban-codex-lane
werxiao882-cell
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillCFreshness: C★ 13Claude Code +9 - 0.324score
kanban-codex-lane
S3YED
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillCFreshness: C★ 12Claude Code +9 - 0.282score
kanban-codex-lane
brotherzhafif
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillCFreshness: CClaude Code +9
More from percymcn
- 0.471score
apple-ecosystem
percymcn
Apple/macOS ecosystem umbrella: Apple Notes, Reminders, iMessage/SMS, Find My, and macOS background computer-use automation.
SkillCFreshness: CClaude Code +9 - 0.471score
autonomous-idea-pipeline
percymcn
Build and operate fully autonomous systems for continuously discovering, validating, and preparing business opportunities from multiple data sources without…
SkillCFreshness: CClaude Code +9 - 0.471score
external-coding-agents
percymcn
Umbrella for delegating software work to external coding-agent CLIs: Claude Code, OpenAI Codex, and OpenCode.
SkillCFreshness: CClaude Code +9 - 0.468score
autonomous-business-system
percymcn
A fully automated system for discovering, analyzing, and generating business plans from YouTube channels and Reddit pain points
SkillCFreshness: CClaude Code +9 - 0.468score
prospect-response-monitoring
percymcn
Monitors outreach logs for new prospect responses and sends urgent notifications via Telegram when responses are detected.
SkillCFreshness: CClaude Code +9 - 0.468score
agent-os
percymcn
Agent Operating System — Hermes is the command hub on Telegram.
SkillCFreshness: CClaude Code +9
Cite this page
kanban-codex-lane skill. Agent Mart. https://agentmart.dev/skills/percymcn-kanban-codex-lane (last updated 2026-10-24)