opencode-cli

Automates AI coding workflows via the OpenCode CLI with sessions and custom commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenCode CLI empowers developers to run AI coding workflows locally, configure commands, and integrate OpenCode into automation pipelines.

Core Features & Use Cases

  • TUI and Non-Interactive Modes: Switch between interactive terminal UI and scripted command execution.
  • Prompt & Session Management: Run prompts, manage sessions, and fork or continue workflows across models and agents.
  • Custom Commands & Models: Define and invoke custom commands with specific models, permissions, and workflows.

Quick Start

Install the OpenCode CLI and run a simple non-interactive command.

Frequently Asked Questions about opencode-cli

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

FAQPage Schema
How do I automate AI coding workflows using a CLI?

Automating AI coding workflows via CLI involves running prompts and managing sessions in non-interactive mode. This approach allows scripted command execution and integration into automation pipelines.

How do I manage and continue AI coding sessions across different models?

Managing AI coding sessions involves forking or continuing existing workflows across different models and agents, ensuring continuous session tracking and workflow management.

Can I define custom commands with specific models and permissions?

Yes, defining and invoking custom commands with specific models, permissions, and workflows is supported, allowing explicit command execution tailored to permission-aware configurations.

What is the difference between TUI and non-interactive modes for AI coding?

TUI mode offers an interactive terminal UI for manual workflows, whereas non-interactive mode enables scripted command execution for automation pipelines, both supporting prompt execution and session management.

Does the OpenCode CLI support integration into automation pipelines?

Yes, the OpenCode CLI supports integration into automation pipelines via its non-interactive mode, allowing developers to run prompts and configure commands within automated workflows.

Why do I need permission-aware configurations for custom commands?

Permission-aware configurations ensure custom commands execute with appropriate access levels, allowing specific models and workflows to run securely within defined permission boundaries.