opencode

Delegate coding, reviewing, and refactoring tasks to the OpenCode CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/travelinman1013/leroys-agent --skill opencode-travelinman1013
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/travelinman1013/leroys-agent/tree/main/skills/autonomous-ai-agents/opencode
Command: npx skills add https://github.com/travelinman1013/leroys-agent --skill opencode-travelinman1013

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates coding tasks by delegating to the OpenCode CLI, reducing manual workload for writing, debugging, and reviewing code across projects.

Core Features & Use Cases

  • Autonomous coding sessions with the OpenCode CLI for implementation, refactoring, and PR reviews.
  • Flexible use: one-shot tasks or iterative, interactive sessions with persistent state and easy model/provider switching.
  • Use case: when you need a fast, repeatable coding pass across multiple files or a focused review of a PR.

Quick Start

Start an OpenCode session to implement or review code for your current project.

Frequently Asked Questions about opencode

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

FAQPage Schema
How do I automate coding tasks across multiple files in a repository?▼

You can automate coding tasks across repositories by delegating implementation and refactoring to an autonomous CLI. The OpenCode CLI handles these tasks through one-shot runs or interactive TUI sessions with persistent state.

Can I use an autonomous CLI to review pull requests?▼

Yes, you can use an autonomous CLI to perform focused PR reviews. The OpenCode CLI automates code reviewing by applying its coding agent to analyze changes and provide feedback across project workflows.

How do I run AI coding sessions interactively with model switching?▼

You can run interactive AI coding sessions with model switching by using the OpenCode CLI's TUI mode. It supports iterative sessions with persistent state and allows easy model and provider configuration through CLI flags.

What is the best way to integrate autonomous coding into CI workflows?▼

The best way to integrate autonomous coding into CI workflows is using one-shot runs via the OpenCode CLI. This allows fast, repeatable coding passes and automated reviews to execute directly within your pipeline.

Do I need specific dependencies to run OpenCode for code automation?▼

No specific dependencies are required to run OpenCode for code automation. The Skill operates independently without external component requirements, relying solely on the OpenCode CLI and your existing repositories.

When should I use one-shot runs instead of interactive TUI sessions for coding?▼

Use one-shot runs for fast, repeatable coding passes in CI workflows, and use interactive TUI sessions for iterative implementation and refactoring. One-shot executes single tasks while TUI maintains persistent state for ongoing development.