feat(skills): opencode skill + fix: doctor cronjob availability#1174
Merged
Conversation
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
17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
1. feat(skills): add bundled opencode autonomous-agent skill
Cherry-picked from PR #880 by @arceus77-7, enhanced with hands-on testing.
Adds
opencodeskill underskills/autonomous-ai-agents/with:opencode runand interactive TUI workflowsopencode prcommand)/exitbug 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=1viasetdefaultinrun_doctor()so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI.Fixes #878
Testing
--modelflag verified, interactive TUI testedCo-authored-by: arceus77-7 261276524+arceus77-7@users.noreply.github.com
Co-authored-by: stablegenius49 stablegenius49@users.noreply.github.com