Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


OpenCode Vault

Table of Content

Description

OpenCode Vault is a curated vault of configurations that leverage OpenCode’s ability to execute skills, deploy persona-driven agents, and extend complex workflows. By defining precise behavioral boundaries within the .opencode directory, this project enables users to automate complex tasks (e.g. code reviews) without writing custom orchestration code.

Key Components

  • Persona-Based Agent Configs (.opencode/agents/): Pre-defined role definitions (Markdown + YAML frontmatter) that assign specific professional contexts to OpenCode (e.g., Security Auditor, Refactoring Specialist, Technical Copywriter) accessible via @agent-name.
  • Skill Manifests (.opencode/skills/): A library of auto-discoverable, Claude-Code–compatible instructions (SKILL.md) providing atomic "how-to" units for specific tasks that agents call dynamically.

Getting Started

Prerequisites

Setting up Environment

  1. Install OpenCode on your laptop (see OpenCode Documentation)

  2. Make a copy of ./opencode.jsonc.template as ./opencode.jsonc to configure OpenCode (see OpenCode documentation)

    • Enter API keys for your LLM provider of choice
  3. Install Ollama models locally

    ollama pull <model-name>

    where <model-name> is the name of the model to be installed (e.g. "gemma4:e4b")

  4. Start OpenCode CLI or Desktop

Guidelines

Agent Definition

Skill Definition

Every skill is stored in its own folder under .opencode/skills and has the following structure:

your-skill-name/
├── SKILL.md          # Required — the core instruction file
├── docs/             # Required - the documentation on how to use the skill
├── scripts/          # Optional — executable code
├── references/       # Optional — documents to loaded as needed
└── assets/           # Optional — templates, examples

Note that the folder name should be in kebab-case only (e.g. your-skill-name).

About

opencode-vault is a centralized repository containing curated definitions for specialized AI agents and modular skills. Designed for seamless execution through OpenCode, it allows developers to quickly deploy ready-to-use configurations to automate complex workflows.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors