opencode-config

Validate and standardize OpenCode CLI configurations across global and project scopes.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/alexgorbatchev/ai-registry --skill opencode-config-alexgorbatchev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-config
Source: https://github.com/alexgorbatchev/ai-registry/tree/main/harnesses/opencode/skills/opencode-config
Command: npx skills add https://github.com/alexgorbatchev/ai-registry --skill opencode-config-alexgorbatchev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenCode CLI configurations across global and project scopes require consistent governance. This skill provides rules and guidelines for configuring Agents, Commands, Skills, and Permissions.

Core Features & Use Cases

  • Defines and validates the required frontmatter (name and description) in SKILL.md.
  • Documents optional resources (scripts, references, assets) and how they are loaded by the runtime.
  • Guides bootstrap and loading of OpenCode configurations in local and enterprise contexts.

Quick Start

Create or update SKILL.md following the frontmatter rule, then run the repository bootstrap process to apply the new configuration.

Frequently Asked Questions about opencode-config

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

FAQPage Schema
How do I validate OpenCode CLI configurations across global and project scopes?

To validate OpenCode CLI configurations, apply rules that enforce required YAML frontmatter, specifically name and description fields, within SKILL.md files across both global and project scopes.

What frontmatter is required in SKILL.md for OpenCode agents?

SKILL.md frontmatter requires name and description fields to properly configure OpenCode agents and commands. Optional component directories like scripts and references are also detected and loaded by the runtime.

How do I set up permissions and commands for OpenCode CLI?

Set up permissions and commands by defining guidance in SKILL.md, then running the repository bootstrap process to apply the new configuration. The runtime loads optional resources like scripts, references, and assets from detected component directories.

Can I use OpenCode CLI configurations in enterprise environments?

OpenCode CLI configurations support enterprise contexts. The skill guides the bootstrap and loading of configurations in both local and enterprise environments, providing consistent governance rules for agents, commands, skills, and permissions.

What are the limitations of configuring OpenCode permissions manually?

Manual OpenCode permission configuration risks inconsistent governance. Without standardized YAML frontmatter rules in SKILL.md, structured metadata including dependencies and components cannot be properly exposed or validated by the runtime.