The ultimate all-in-one guide to mastering OpenCode. From installation, Zen model router setup, TUI mastery, commands, skills, agents, workflows, automation, and integrations, to MCP servers, plugins, packed with step-by-step tutorials, real-world examples, and expert strategies to make this the global go-to repo for OpenCode mastery.
This repository contains detailed guides and documentation for OpenCode, an open-source terminal-based AI coding assistant supporting multiple AI providers with pay-as-you-go access.
How It Works
You hear about OpenCode, a helpful AI sidekick for coding that works right in your terminal and lets you switch between different smart services without being stuck to one.
With one easy action, you add OpenCode to your computer so it's ready to use anytime.
You connect to a service like Zen that gives access to many smart models, picking free ones to start or pay only for what you use.
You start OpenCode in your coding folder, and it sees all your files ready to help.
Ask questions, get ideas, and understand your code without changing anything.
Let it write, fix, or improve your code based on your instructions.
Talk naturally about your code, point to files with simple mentions, and even run quick checks, feeling like you have a coding partner.
Your projects come alive faster, bugs vanish, new features appear effortlessly, and you save time every day.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.