📄 SKILL.md

← Vault

name: opencode

description: Delegate coding tasks to OpenCode CLI agent for feature implementation, refactoring, PR review, and long-running autonomous sessions. Requires the opencode CLI installed and authenticated.

version: 1.2.0

author: Hermes Agent

license: MIT

metadata:

hermes:

tags: [Coding-Agent, OpenCode, Autonomous, Refactoring, Code-Review]

related_skills: [claude-code, codex, hermes-agent]


OpenCode CLI

Use OpenCode as an autonomous coding worker orchestrated by Hermes terminal/process tools. OpenCode is a provider-agnostic, open-source AI coding agent with a TUI and CLI.

When to Use

Rules

1. Prefer opencode run for one-shot automation — it's simpler and doesn't need pty.

2. Use interactive background mode only when iteration is needed.

3. Always scope OpenCode sessions to a single repo/workdir.

4. For long tasks, provide progress updates from process logs.

5. Report concrete outcomes (files changed, tests, remaining risks).

6. Exit interactive sessions with Ctrl+C or kill, never /exit.