opencode-cli

Delegate multi-file coding and iterative debugging tasks to an AI agent via the OpenCode CLI.

850|114|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/wentorai/Research-Claw --skill opencode-cli-wentorai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-cli
Source: https://github.com/wentorai/Research-Claw/tree/main/skills/opencode-cli
Command: npx skills add https://github.com/wentorai/Research-Claw --skill opencode-cli-wentorai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

It removes the friction of coordinating complex, multi-file coding work by letting you delegate implementation and debugging to an AI coding agent from the terminal.

Core Features & Use Cases

  • Multi-provider AI coding with CLI automation: Handles coding tasks using multiple LLM providers, including selecting models for different workloads.
  • Multi-file context and iterative refinement: Lets you attach relevant files, continue sessions, and fork when iterating on changes.
  • Structured outputs for downstream use: Supports JSON output to make results easier to parse and integrate into Research-Claw workflows.

Quick Start

Run opencode to implement a feature by saying: "Refactor the auth module to use dependency injection".

Frequently Asked Questions about opencode-cli

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

FAQPage Schema
How do I delegate multi-file refactoring to an AI from the command line?

You can delegate multi-file refactoring to an AI by running the CLI with a prompt like "Refactor the auth module to use dependency injection." The agent handles the implementation and debugging directly from your terminal.

Can I continue or fork a prior coding session when iterating on changes?

Yes, you can continue or fork prior coding sessions. This allows iterative refinement on multi-file changes by attaching relevant files and resuming work across different LLM providers.

Does this CLI tool support JSON output for downstream automation?

Yes, the CLI supports non-interactive runs with optional JSON-formatted output. This structured format makes results easier to parse and integrate into automated Research-Claw workflows.

What do I need to run AI coding automation with multiple LLM providers?

You need an installed OpenCode CLI and appropriate provider configuration with API keys. Optional file attachments can be added for context to handle multi-file coding tasks.

What's the best way to fix type errors across multiple files using an AI CLI?

Use the CLI to delegate type-error fixing by providing the relevant files as context. The AI agent iteratively debugs and resolves errors across the multi-file scope from the terminal.

When should I not use an AI coding agent for feature implementation?

You should not use it when you lack installed CLI access or configured API keys for LLM providers. It requires an established terminal environment to execute multi-file coding and debugging tasks.