Skip to content

feat(skills): opencode skill + fix: doctor cronjob availability#1174

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-447d1ebd
Mar 13, 2026
Merged

feat(skills): opencode skill + fix: doctor cronjob availability#1174
teknium1 merged 2 commits into
mainfrom
hermes/hermes-447d1ebd

Conversation

@teknium1

@teknium1 teknium1 commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Changes

1. feat(skills): add bundled opencode autonomous-agent skill

Cherry-picked from PR #880 by @arceus77-7, enhanced with hands-on testing.

Adds opencode skill under skills/autonomous-ai-agents/ with:

  • One-shot opencode run and interactive TUI workflows
  • PR review (including opencode pr command)
  • Parallel work, session/cost management
  • TUI keybindings, proper exit instructions
  • Fixed /exit bug from original PR (not a valid command)

2. fix: report cronjob tool as available in hermes doctor

Cherry-picked from PR #895 by @stablegenius49, rebased with conflict resolution.

Sets HERMES_INTERACTIVE=1 via setdefault in run_doctor() so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI.

Fixes #878

Testing

  • OpenCode v1.2.25: smoke test passed, --model flag verified, interactive TUI tested
  • Doctor tests: 8/8 passed (7 existing + 1 new regression test)
  • Skills hub tests: 43/43 passed

Co-authored-by: arceus77-7 261276524+arceus77-7@users.noreply.github.com
Co-authored-by: stablegenius49 stablegenius49@users.noreply.github.com

arceus77-7 and others added 2 commits March 13, 2026 08:05
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>
…ements

Based on hands-on testing of OpenCode v1.2.25:

Fixes:
- Remove /exit instruction (not a valid command, opens agent selector)
- Replace with Ctrl+C / process(action='kill') for proper exit
- Clarify that opencode run does NOT need pty=true

Additions:
- Install instructions (npm, brew)
- --file/-f flag for attaching context files
- --thinking flag for model reasoning display
- --variant flag for reasoning effort control
- --title, --attach flags
- opencode pr <number> built-in PR review command
- TUI keybindings reference (Tab, Ctrl+P, Ctrl+X shortcuts)
- Session resumption workflow (-c, -s)
- Session list and cost/stats management
- Enter-twice behavior note for TUI
- Expanded interactive session section with proper exit instructions
@teknium1 teknium1 merged commit 9f676d1 into main Mar 13, 2026
1 check failed
@teknium1 teknium1 changed the title feat(skills): add bundled opencode autonomous-agent skill feat(skills): opencode skill + fix: doctor cronjob availability Mar 13, 2026
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.

[Bug]: hermes doctor always reports the cronjob tool as "(system dependency not met)"

2 participants