opencode

Automate coding tasks by orchestrating OpenCode CLI for implementation, refactoring, and code review.

2|Updated May 22, 2026
One-click install
npx skills add https://github.com/519lab/thoth-agent --skill opencode-519lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/519lab/thoth-agent/tree/main/skills/autonomous-ai-agents/opencode
Command: npx skills add https://github.com/519lab/thoth-agent --skill opencode-519lab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opencode-ai, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates coding tasks using OpenCode CLI, allowing users to delegate coding work to an AI agent.

Core Features & Use Cases

  • Automated Coding: Execute coding tasks like implementation, refactoring, and code review using OpenCode.
  • Interactive Sessions: Start interactive TUI sessions for iterative coding work.
  • Parallel Tasks: Execute multiple coding tasks in parallel within isolated workdirs.
  • PR Review: Built-in PR command for code review and analysis.
  • Session Management: Resume previous coding sessions and manage sessions efficiently.

Quick Start

Use the opencode skill to run 'Add retry logic to API calls and update tests' on your project directory.

Frequently Asked Questions about opencode

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

FAQPage Schema
How do I automate code review and refactoring for my project?

Automated code review and refactoring is handled by orchestrating the OpenCode CLI AI agent. You can delegate implementation, refactoring, and PR analysis tasks directly to the agent for iterative coding work.

Can I execute multiple coding tasks in parallel using an AI agent?

Yes, parallel coding tasks can be executed within isolated workdirs. This allows the AI coding agent to handle multiple implementation or refactoring processes simultaneously without conflicts.

How do I start an interactive coding session for iterative development?

You can start an interactive TUI session to perform iterative coding work. This allows you to guide the AI coding agent step-by-step through implementation and code review tasks.

Does this coding automation tool support resuming previous sessions?

Yes, session management is supported, allowing you to resume previous coding sessions. This ensures you can continue iterative coding tasks and PR analysis exactly where you left off.

What is the best way to analyze pull requests with an AI coding agent?

PR analysis is best handled using the built-in PR command. This feature automates code review and analysis directly through the OpenCode CLI agent.

Do I need the opencode-ai package to run coding automation tasks?

Yes, the opencode-ai package is a required dependency. It provides the underlying OpenCode CLI and TUI agent capabilities needed to execute implementation, refactoring, and code review tasks.