Skip to content
Agentmart
Submit a tool

ai-coding-agents

Delegate coding tasks to external AI coding agent CLIs — Claude Code, Codex CLI, and OpenCode.

Skill by lukemcqueen

IndexedMIT★ 4
Write a review

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/lukemcqueen-ai-coding-agents

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.

We use your email only for this newsletter. Privacy

About

Delegate coding tasks to external AI coding agent CLIs — Claude Code, Codex CLI, and OpenCode. Orchestration patterns, one-shot tasks, PR reviews, parallel work, and pitfalls for each agent.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ai-coding-agents

What's inside

Skill name
ai-coding-agents
Description
Delegate coding tasks to external AI coding agent CLIs — Claude Code, Codex CLI, and OpenCode. Orchestration patterns, one-shot tasks, PR reviews, parallel work, and pitfalls for each agent.
License
MIT
Instructions
105 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# AI Coding Agents — Hermes Orchestration Guide

Delegate coding tasks to external AI coding agent CLIs. This skill covers three agents:

- **Claude Code** (Anthropic) — `claude` CLI
- **Codex CLI** (OpenAI) — `codex` CLI
- **OpenCode** (provider-agnostic, open-source) — `opencode` CLI

All three share the same orchestration pattern from Hermes: run one-shot tasks via `terminal()`, handle interactive sessions via PTY/tmux, monitor with `process(action='poll')`, and review the diff before integrating.

## Common Orchestration Pattern

### 1. One-shot tasks (headless, preferred)

```bash
# Claude Code
claude -p "Add rate limiting to the login endpoint" --output-format text

# Codex (headless)
codex exec "Add rate limiting to the login endpoint"

# OpenCode
opencode run "Add rate limiting to the login endpoint"
```

One-shots are deterministic, testable, and fit in a terminal call. **Prefer
headless for anything with a clear definition of done.**

### 2. Interactive sessions (PTY)

For exploratory or long-running work, use `terminal(pty=true)`:

```bash
claude            # interactive TUI
codex             # interactive
opencode          # interactive TUI
```

Keep the session alive and submit follow-ups via `process(action='submit')`.

### 3. PR reviews

```bash
# Review the current diff
git diff origin/main...HEAD | claude -p "Review this diff for bugs and style issues"

# Or in-repo
gh pr diff 123 | codex exec "Review PR 123 for correctness and security issues"
```

### 4. Parallel work

Dispatch independent tasks to different agents in parallel background
processes, then collect and integrate:

```bash
terminal(background=true)  # claude -p "task A"
terminal(background=true)  # codex exec "task B"
# wait, collect, review both diffs, integrate
```

## Agent-Specific Notes

### Claude Code
- **Auth**: `claude login` (Anthropic account / API key)
- **Headless**: `claude -p "..."` — add `--output-format json` for structured results
- **Sandboxing**: `--permission-mode` controls what it may execute
- **Pitfall**: interactive sessions need a real TTY; `pty=true` or tmux

### Codex CLI
- **Auth**: `codex login` (ChatGPT account or API key)
- **Headless**: `codex exec "..."` (non-interactive)
- **Pitfall**: `codex exec` runs in a sandbox by default; pass `--dangerously-bypass-approvals-and-sandbox` only for trusted repos

### OpenCode
- **Auth**: `opencode auth login` (provider-agnostic — OpenAI, Anthropic, Ollama, etc.)
- **Headless**: `opencode run "..."` with `-m <model>` to pick the model
- **Pitfall**: model choice matters — a weak model produces weak code; pin the model for reproducible results

## Pitfalls (all agents)

- ❌ **Interactive CLI without PTY** — hangs forever waiting for input. Use `pty=true` or headless mode.
- ❌ **Unreviewed agent output** — never merge what you didn't review. Diff before commit.
- ❌ **Agent editing files outside scope** — give narrow prompts with explicit file paths; inspect `git diff` for scope creep.
- ❌ **Repeating work the agent already did** — check `git status` before starting; the agent may have left partial work.
- ❌ **Secrets in prompts** — never pass API keys or tokens in the task text.

## Verification Checklist

```bash
# After any agent task:
git status                # what changed
git diff --stat           # scope of changes
git diff | head -200      # review the actual diff
# Run the relevant tests before integrating
```

## Related
- `claude-code` — Claude Code deep-dive
- `codex` — Codex CLI deep-dive
- `opencode` — OpenCode deep-dive
- `hermes-agent` — the platform these run under
- `github-code-review` — reviewing agent PRs

From lukemcqueen/hermes-cortex, MIT.

More from lukemcqueen/hermes-cortex

Signals

Stars
4
Forks
1
Open issues
1
Last commit (this folder)
Aug 1, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lukemcqueen

Cite this page

ai-coding-agents skill. Agent Mart. https://agentmart.dev/skills/lukemcqueen-ai-coding-agents (last updated 2026-10-24)