Skip to content

feat(skills): add bundled opencode autonomous-agent skill#880

Closed
arceus77-7 wants to merge 2 commits into
NousResearch:mainfrom
arceus77-7:feat/opencode-skill
Closed

feat(skills): add bundled opencode autonomous-agent skill#880
arceus77-7 wants to merge 2 commits into
NousResearch:mainfrom
arceus77-7:feat/opencode-skill

Conversation

@arceus77-7

@arceus77-7 arceus77-7 commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a new bundled skill: opencode under skills/autonomous-ai-agents/.

This gives Hermes a first-class autonomous-agent workflow for OpenCode, similar to existing claude-code and codex skills.

Related Issue

N/A (skill addition)

Type of Change

  • ✨ New feature (non-breaking change that adds functionality)
  • 🎯 New skill (bundled or hub)

Changes Made

  • Added file:
    • skills/autonomous-ai-agents/opencode/SKILL.md
  • Skill includes:
    • one-shot opencode run workflow
    • interactive/background session workflow via terminal + process
    • parallel work patterns
    • troubleshooting + smoke verification

How to Test

  1. Ensure OpenCode CLI is installed and authenticated:
    • opencode --version
    • opencode auth list
  2. Run Hermes with skills enabled and ask it to use opencode.
  3. Smoke test:
    • opencode run 'Respond with exactly: OPENCODE_SMOKE_OK'
  4. Confirm output includes OPENCODE_SMOKE_OK.

Checklist

Code

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits (fix(scope):, feat(scope):, etc.)
  • I searched for existing PRs to make sure this isn't a duplicate
  • My PR contains only changes related to this fix/feature (no unrelated commits)
  • I've tested on my platform: macOS
  • N/A for this skill-only PR: no Python runtime/codepath changes, so no new unit tests required

Documentation & Housekeeping

  • N/A for this skill-only PR: README/docs/docstrings updates
  • N/A for this skill-only PR: cli-config.yaml.example
  • N/A for this skill-only PR: CONTRIBUTING.md or AGENTS.md
  • I've considered cross-platform impact (Windows, macOS) per the compatibility guide
  • N/A for this skill-only PR: tool descriptions/schemas

For New Skills

  • This skill is broadly useful to most users (if bundled)
  • SKILL.md follows the standard format
  • No external dependencies that aren't already available (OpenCode CLI is required by design)
  • I've tested the skill end-to-end

Screenshots / Logs

  • Local OpenCode smoke test output included: OPENCODE_SMOKE_OK
  • Targeted pytest run (not full suite): ./venv/bin/pytest tests/tools/test_skills_hub.py -q -> 43 passed
  • Explicit check: no existing skill-specific tests found for bundled claude-code/codex SKILL.md files in tests/

teknium1 pushed a commit that referenced this pull request Mar 13, 2026
Cherry-picked from PR #880 by arceus77-7, rebased onto current main.

Adds a new bundled skill: opencode under skills/autonomous-ai-agents/.
Gives Hermes a first-class autonomous-agent workflow for OpenCode,
similar to existing claude-code and codex skills.

Includes:
- One-shot opencode run workflow
- Interactive/background session workflow via terminal + process
- Parallel work patterns
- PR review workflow
- Troubleshooting + smoke verification

Tested: opencode installed (v1.2.25), smoke test passed (OPENCODE_SMOKE_OK),
--model flag verified, auth list works with env vars.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
teknium1 added a commit that referenced this pull request Mar 13, 2026
Cherry-picked from PR #880 by @arceus77-7, rebased onto current main with corrections.

Adds opencode skill under skills/autonomous-ai-agents/ with:
- One-shot opencode run workflow
- Interactive/background TUI session workflow
- PR review workflow (including opencode pr command)
- Parallel work patterns
- TUI keybindings reference
- Session/cost management
- Smoke verification

Tested with OpenCode v1.2.25. Fixed /exit bug (not a valid command),
added missing flags (--file, --thinking, --variant), expanded docs.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
@teknium1

Copy link
Copy Markdown
Contributor

Your opencode skill was merged via PR #1174! Cherry-picked with your authorship preserved and enhanced based on hands-on testing with OpenCode v1.2.25:

Fixes:

  • /exit is not a valid OpenCode command (opens agent selector) — replaced with Ctrl+C / process(action="kill")
  • opencode run doesn't need pty=true

Additions:

  • Missing flags: --file, --thinking, --variant, --title, --attach
  • Built-in opencode pr <number> PR review command
  • TUI keybindings reference (Tab, Ctrl+P, Ctrl+X shortcuts)
  • Session resumption and cost management
  • Expanded interactive session section with proper exit instructions

Thanks for the contribution! 🎉

angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
Cherry-picked from PR NousResearch#880 by @arceus77-7, rebased onto current main with corrections.

Adds opencode skill under skills/autonomous-ai-agents/ with:
- One-shot opencode run workflow
- Interactive/background TUI session workflow
- PR review workflow (including opencode pr command)
- Parallel work patterns
- TUI keybindings reference
- Session/cost management
- Smoke verification

Tested with OpenCode v1.2.25. Fixed /exit bug (not a valid command),
added missing flags (--file, --thinking, --variant), expanded docs.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
Cherry-picked from PR NousResearch#880 by @arceus77-7, rebased onto current main with corrections.

Adds opencode skill under skills/autonomous-ai-agents/ with:
- One-shot opencode run workflow
- Interactive/background TUI session workflow
- PR review workflow (including opencode pr command)
- Parallel work patterns
- TUI keybindings reference
- Session/cost management
- Smoke verification

Tested with OpenCode v1.2.25. Fixed /exit bug (not a valid command),
added missing flags (--file, --thinking, --variant), expanded docs.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
Cherry-picked from PR NousResearch#880 by @arceus77-7, rebased onto current main with corrections.

Adds opencode skill under skills/autonomous-ai-agents/ with:
- One-shot opencode run workflow
- Interactive/background TUI session workflow
- PR review workflow (including opencode pr command)
- Parallel work patterns
- TUI keybindings reference
- Session/cost management
- Smoke verification

Tested with OpenCode v1.2.25. Fixed /exit bug (not a valid command),
added missing flags (--file, --thinking, --variant), expanded docs.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
Cherry-picked from PR NousResearch#880 by @arceus77-7, rebased onto current main with corrections.

Adds opencode skill under skills/autonomous-ai-agents/ with:
- One-shot opencode run workflow
- Interactive/background TUI session workflow
- PR review workflow (including opencode pr command)
- Parallel work patterns
- TUI keybindings reference
- Session/cost management
- Smoke verification

Tested with OpenCode v1.2.25. Fixed /exit bug (not a valid command),
added missing flags (--file, --thinking, --variant), expanded docs.

Co-authored-by: arceus77-7 <261276524+arceus77-7@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants