opencode

Delegate coding, refactoring, and PR reviews to an OpenCode-driven agent.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/ChangZhou-xj/zxj_skill --skill opencode-changzhou-xj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/ChangZhou-xj/zxj_skill/tree/main/autonomous-ai-agents/opencode
Command: npx skills add https://github.com/ChangZhou-xj/zxj_skill --skill opencode-changzhou-xj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegating coding tasks to an autonomous coding agent reduces manual toil for coding, refactoring, and code reviews.

Core Features & Use Cases

  • Autonomous coding worker with a TUI and CLI that can run long-running sessions, perform refactors, review PRs, and orchestrate tasks across repos.
  • Supports one-shot tasks via quick runs and iterative sessions with progress checks, attachments, and parallel work patterns.
  • Works across local projects, git repositories, and remote environments, enabling structured development workflows.

Quick Start

Start an OpenCode session in the background and run a task with opencode run 'Add a small feature and write tests' in 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 delegate coding tasks to an autonomous coding agent?

You can delegate coding tasks by running `opencode run 'task description'` in your project directory, which triggers an autonomous agent to perform coding, refactoring, and reviews.

What is an autonomous coding agent used for in developer workflows?

An autonomous coding agent is used in developer workflows to automate long-running coding sessions, perform refactoring, review PRs, and orchestrate tasks across local and remote repositories.

Can I run an interactive TUI session for iterative coding tasks?

Yes, interactive TUI sessions for iterative coding tasks are supported with pty handling, session resumption, model/provider selection, file attachments, and progress monitoring.

Does the OpenCode CLI work with remote git repositories?

Yes, the OpenCode CLI works across local projects, git repositories, and remote environments, enabling structured development workflows for long-running sessions and PR reviews.

What's the best way to automate a one-shot code refactor?

The best way to automate a one-shot code refactor is via `opencode run 'refactor task'`, which executes the coding task immediately without requiring an interactive session.

When should I not use an autonomous coding agent for development?

You should not use an autonomous coding agent for tasks needing manual oversight, as it is designed for long-running sessions, PR reviews, and iterative coding rather than fine-grained adjustments.