Skip to content

qbicsoftware/occo

Repository files navigation

Occo

License: AGPL-3.0 Go Version Version CI E2E 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 permanently
source <(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

Concept Description
Sources Registered bundle repositories (GitHub releases)
Bundles Versioned, schema-validated OpenCode configs
Presets Named configurations (e.g., mixed, openai)

Available Bundles

Documentation

Guide Description
docs/README.md User documentation hub
docs/installation.md Install on macOS/Linux
docs/config-bundles.md Understand bundles + create your own
docs/demo-playbook.md Repeatable terminal demo script for README recordings
docs/cli-reference.md Full command reference
docs/troubleshooting.md FAQ 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

Useful agents configuration for various daily tasks.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors