Skip to content
Agentmart
Submit a tool

external-coding-agents

Umbrella for delegating software work to external coding-agent CLIs: Claude Code, OpenAI Codex, and OpenCode.

Skill by percymcn

IndexedMIT
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/percymcn-external-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

Umbrella for delegating software work to external coding-agent CLIs: Claude Code, OpenAI Codex, and OpenCode. Use for autonomous implementation, refactoring, code review, PR work, parallel worktrees, long-running agent sessions, PTY/tmux orchestration, and CLI-specific pitfalls.

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/external-coding-agents

What's inside

Skill name
external-coding-agents
Description
Umbrella for delegating software work to external coding-agent CLIs: Claude Code, OpenAI Codex, and OpenCode. Use for autonomous implementation, refactoring, code review, PR work, parallel worktrees, long-running agent sessions, PTY/tmux orchestration, and CLI-specific pitfalls.
License
MIT
Instructions
105 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# External Coding Agents

Use this umbrella when Hermes should orchestrate an external coding agent CLI rather than doing all implementation directly. Always verify the requested CLI is installed/authenticated before relying on it, and report concrete outputs: changed files, tests run, PRs opened, and unresolved risks.

## Selection guide

- **Claude Code**: strongest for long autonomous work, rich CLI/session controls, print mode, structured JSON, tmux interactive sessions, and Claude-specific project memory.
- **Codex CLI**: use when the user explicitly requests Codex/OpenAI or wants Codex `exec`; requires a git repository and PTY for interactive runs.
- **OpenCode**: provider-agnostic open-source agent; use when explicitly requested or when provider/model flexibility is important.

Do not run multiple agents in the same working tree concurrently. Use git worktrees or temp clones for parallelism.

## Common preflight

```bash
pwd
git status --short
git rev-parse --show-toplevel 2>/dev/null || echo "not a git repo"
```

Then CLI-specific checks:

```bash
claude --version && claude auth status 2>/dev/null || true
codex --version 2>/dev/null || true
opencode --version 2>/dev/null && opencode auth list 2>/dev/null || true
```

## Claude Code patterns

Prefer print mode for bounded tasks because it skips TUI dialogs:

```bash
claude -p 'Add retry handling to API calls and update tests' --allowedTools 'Read,Edit,Bash' --max-turns 10
```

Use JSON output for automation, `--max-turns` and `--max-budget-usd` to cap loops/cost, and `--bare` for CI-style runs when API-key auth is available.

Use tmux for multi-turn interactive sessions:

```bash
tmux new-session -d -s claude-work -x 140 -y 40
tmux send-keys -t claude-work 'cd /path/to/project && claude' Enter
tmux capture-pane -t claude-work -p -S -60
```

Dialog gotchas: workspace trust usually accepts Enter; the `--dangerously-skip-permissions` warning defaults to "No" and requires Down then Enter. Kill tmux sessions when done.

## Codex CLI patterns

Codex needs a git repository. Use a temporary repo for scratch work.

```bash
codex exec 'Refactor the auth module and run tests'
codex exec --full-auto 'Fix issue #78 and commit when done'
```

Hermes terminal calls should use `pty=true` for Codex. For long bounded tasks, start in background with `notify_on_complete` or poll with `process` tools. `--full-auto` auto-approves sandboxed workspace changes; `--yolo` removes guardrails and should be reserved for explicitly trusted contexts.

## OpenCode patterns

Use `opencode run` for bounded one-shot tasks; it normally does not need PTY:

```bash
opencode run 'Review this config for security issues' -f config.yaml -f .env.example
opencode run 'Refactor auth module' --model openrouter/anthropic/claude-sonnet-4
```

Use interactive background mode for iterative sessions:

```bash
opencode
# then process(action="submit", ...) and process(action="poll"|"log", ...)
```

OpenCode TUI exits with Ctrl+C (`\x03`) or process kill. Do not type `/exit`; it opens an agent selector. If behavior differs across shells, inspect `which -a opencode` and pin an explicit binary path.

## Parallel work pattern

1. Create one worktree per independent task.
2. Launch one agent per worktree.
3. Monitor logs without interrupting.
4. Validate outputs yourself before merging or reporting success.
5. Remove worktrees and kill background sessions after completion.

```bash
git worktree add -b fix/issue-78 /tmp/issue-78 main
git worktree add -b fix/issue-99 /tmp/issue-99 main
```

## Review pattern

For PR/code review, prefer an isolated checkout or worktree. Have the external agent produce findings, then verify important claims yourself before posting comments or approving.

## Reporting requirements

When finished, summarize:

- Agent/CLI used and command mode.
- Files changed or reviewed.
- Tests/lints/checks actually run and their results.
- Commits/PRs created, if any.
- Known limitations or follow-up needed.

From percymcn/agent-cookbook, MIT.

More from percymcn/agent-cookbook

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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from percymcn

Cite this page

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