一键导入
ai-coding-agents
AI coding agents: Claude Code (Anthropic), Codex (OpenAI), and OpenCode (provider-agnostic) — orchestration via Hermes terminal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
AI coding agents: Claude Code (Anthropic), Codex (OpenAI), and OpenCode (provider-agnostic) — orchestration via Hermes terminal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
macOS-specific automation: iMessage/SMS messaging and desktop control (screenshots, clicks, keyboard input).
Messaging platform integrations: email (IMAP/SMTP via Himalaya), X/Twitter (xurl CLI), and Yuanbao groups (@mentions, DMs).
Control creative software programmatically: ComfyUI (AI image/video generation via REST/WebSocket API) and TouchDesigner (real-time visual programming via MCP).
Systematic engineering disciplines: debugging (root cause investigation), TDD (test-first development), and exploratory QA (web app testing).
Creative coding: p5.js sketches, Manim animations, Pretext text layouts.
Create, read, edit .pptx decks, slides, notes, templates.
| name | ai-coding-agents |
| description | AI coding agents: Claude Code (Anthropic), Codex (OpenAI), and OpenCode (provider-agnostic) — orchestration via Hermes terminal. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["Coding-Agent","Claude","Codex","OpenCode","autonomous","refactoring"]}} |
Unified skill for delegating coding tasks to autonomous AI coding agents. Three agents: Claude Code (Anthropic), Codex (OpenAI), OpenCode (provider-agnostic).
All three agents follow the same Hermes orchestration pattern:
agent exec/run "prompt" — runs and exitsbackground=true, pty=true, monitor with process toolsInstall: npm install -g @anthropic-ai/claude-code
Print Mode (PREFERRED for most tasks):
terminal(command="claude -p 'Add error handling to all API calls in src/' --allowedTools 'Read,Edit' --max-turns 10", workdir="/project", timeout=120)
--output-format json, --json-schema, --max-turns, --max-budget-usd--bare for CI (fastest startup, skips plugins/hooks/MCP)Interactive PTY (multi-turn):
terminal(command="tmux new-session -d -s claude-work && tmux send-keys -t claude-work 'claude' Enter", pty=true)
tmux send-keys Enter (default = "Yes, I trust")tmux send-keys Down && Enter (default = "No, exit" — WRONG)| Flag | Effect |
|---|---|
-p, --print | Non-interactive one-shot |
--max-turns N | Limit agentic loops (print mode only) |
--max-budget-usd N | Cap API spend |
--model sonnet/opus/haiku | Model selection |
--effort low/medium/high/max | Reasoning depth |
--dangerously-skip-permissions | Auto-approve all tool use |
--bare | Skip hooks, plugins, MCP (CI mode) |
--worktree name | Isolated git worktree |
--tmux | Create tmux session for worktree |
Claude auto-loads CLAUDE.md from project root. Use for persisting project context:
For many rules, use .claude/rules/*.md directory instead of one massive CLAUDE.md.
Configure in .claude/settings.json:
{
"hooks": {
"PostToolUse": [{"matcher": "Write(*.py)", "hooks": [{"type": "command", "command": "ruff check --fix $CLAUDE_FILE_PATHS"}]}],
"PreToolUse": [{"matcher": "Bash", "hooks": [{"type": "command", "command": "if echo \"$CLAUDE_TOOL_INPUT\" | grep -q 'rm -rf'; then exit 2; fi"}]}]
}
}
claude mcp add -s user github -- npx @modelcontextprotocol/server-github
claude mcp add -s local postgres -- npx @anthropic-ai/server-postgres --connection-string postgresql://localhost/mydb
-p for single tasks--dangerously-skip-permissions dialog defaults to "No, exit" — must send Down then Enter--max-turns is print-mode only/compact proactivelyInstall: npm install -g @openai/codex
terminal(command="codex exec 'Add dark mode toggle to settings'", workdir="~/project", pty=true)
terminal(command="codex exec --full-auto 'Refactor auth module'", workdir="~/project", background=true, pty=true)
# Monitor: process(action="poll", session_id="...")
| Flag | Effect |
|---|---|
exec "prompt" | One-shot execution |
--full-auto | Auto-approve changes in workspace |
--yolo | No sandbox, no approvals (fastest, most dangerous) |
pty=true — Codex is interactivemktemp -d && git init for scratchexec for one-shots, --full-auto for buildingInstall: npm i -g opencode-ai@latest or brew install anomalyco/tap/opencode
terminal(command="opencode run 'Add retry logic to API calls and update tests'", workdir="~/project")
terminal(command="opencode", workdir="~/project", background=true, pty=true)
process(action="submit", session_id="<id>", data="Implement OAuth refresh flow")
# Exit: process(action="write", data="\x03") or process(action="kill")
| Flag | Use |
|---|---|
run 'prompt' | One-shot, no PTY needed |
--continue / -c | Continue last session |
--session <id> | Resume specific session |
--model provider/model | Force specific model |
--format json | Machine-readable output |
--file <path> / -f | Attach files |
--thinking | Show thinking blocks |
pr <number> | Built-in PR review command |
opencode run for one-shot — no PTY needed\x03), NOT /exit (opens agent selector)references/opencode-default-models.md for the priority order--max-budget-usd (Claude) or opencode stats (OpenCode)