opencode

Delegate coding, refactoring, and PR review tasks to the OpenCode CLI agent.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill opencode-vyre-studios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/VYRE-Studios/Windows-Agentic-Framework/tree/main/skills/autonomous-ai-agents/opencode
Command: npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill opencode-vyre-studios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegate complex coding work—implementation, refactoring, and PR review—to an external, provider-agnostic CLI agent so developers can offload routine or long-running engineering tasks while retaining repo-level control.

Core Features & Use Cases

  • One-shot automation: Use opencode run for bounded tasks like adding retry logic, fixing a bug, or running targeted reviews without interactive sessions.
  • Interactive long-running sessions: Launch the TUI in background mode for iterative development, monitoring, and progressive changes via session IDs and process actions.
  • PR review and isolation: Review pull requests safely in temporary clones or separate worktrees to avoid collisions and preserve main branches.
  • Operational controls: Binary path resolution, pty requirements for TUI, session polling/logging, and explicit exit/kill patterns for safe process management.

Quick Start

Run OpenCode to add retry logic to the API module, summarize changed files and test results, and report remaining risks.

Frequently Asked Questions about opencode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate coding tasks to an autonomous CLI agent?

You can delegate coding tasks to an autonomous CLI agent by using the opencode run command for one-shot automation or launching an interactive TUI background session, enabling the agent to implement code changes and analyze results autonomously.

How does autonomous PR review work in isolated git worktrees?

Autonomous PR review works by executing the CLI agent in temporary clones or separate git worktrees, allowing the agent to safely analyze pull requests and implement changes without colliding with your main branch.

Do I need a pty to run interactive TUI background sessions?

Yes, you need a pty to run interactive TUI background sessions because the CLI agent requires proper pty allocation to manage long-running iterative development, monitor progressive changes, and handle process actions safely.

What is the best way to run parallel coding tasks without branch collisions?

The best way to run parallel coding tasks without branch collisions is to configure isolated workdirs or separate git worktrees for each background session, ensuring safe parallel execution and preserving main branches.

Why does my opencode CLI agent fail to resolve the binary path?

Your opencode CLI agent fails to resolve the binary path when the CLI is not installed correctly or authenticated, which requires explicit binary path resolution to ensure the autonomous agent can execute properly.

Can I use one-shot commands for targeted code refactoring?

Yes, you can use one-shot opencode run commands for targeted code refactoring, allowing the CLI agent to autonomously implement bounded tasks like adding retry logic or fixing bugs without launching an interactive session.