Skip to content

Repository files navigation

Occo

License: AGPL-3.0Go VersionVersionCIE2E CLI

Manage OpenCode configuration bundles and schema-validated multi-agent workflows

CLI Demo

CLI demo

Source tape: docs/demo.tape
Repeatable capture steps: docs/demo-playbook.md

What is this?

A CLI tool (occo) that manages OpenCode configuration bundles from external sources, enabling versioned, validated configs for AI agents.

Quick Start (30 seconds)

# Install via Go (macOS/Linux)
go install github.com/qbicsoftware/occo@latest
# Register a config bundle
occo source add qbicsoftware/opencode-config-bundle --name qbic
# Install a preset
occo bundle install qbic --preset mixed --project-root .

Installation

Detailed installation guide: docs/installation.md

Install methods:

  • go install (recommended)
  • Manual download from GitHub Releases

Shell Completion

Enable tab completion for your shell:

# Bash: source on the fly, or install permanentlysource<(occo completion bash)
occo completion bash | sudo tee /etc/bash_completion.d/occo > /dev/null
# Zsh: source on the fly (recommended)source<(occo completion zsh)# Or save to completions dir:# occo completion zsh > ~/.zsh/completions/_occo# Add to ~/.zshrc: fpath=(~/.zsh/completions $fpath); ensure fpath is set before `compinit`# (Optional) Clear cache: rm -f ~/.zcompdump && exec zsh# Fish
occo completion fish >~/.config/fish/completions/occo.fish

Run occo completion --help for full instructions.

Key Concepts

ConceptDescription
SourcesRegistered bundle repositories (GitHub releases)
BundlesVersioned, schema-validated OpenCode configs
PresetsNamed configurations (e.g., mixed, openai)

Available Bundles

Documentation

GuideDescription
docs/README.mdUser documentation hub
docs/installation.mdInstall on macOS/Linux
docs/config-bundles.mdUnderstand bundles + create your own
docs/demo-playbook.mdRepeatable terminal demo script for README recordings
docs/cli-reference.mdFull command reference
docs/troubleshooting.mdFAQ and common issues

Legacy (Bash Version)

The original Bash-based helper is deprecated. Use the Go CLI (occo) instead.

Archive documentation: docs/legacy/bash-helper.md


License

AGPL-3.0 — see the LICENSE file for details.

About

Manage your OpenCode configs from bundle sources, local or GitHub

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages