opencode-config

Manage OpenCode configuration files for providers, permissions, models, and rules.

124|12|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/IgorWarzocha/Opencode-Workflows --skill opencode-config-igorwarzocha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-config
Source: https://github.com/IgorWarzocha/Opencode-Workflows/tree/main/.opencode/skill/opencode-config
Command: npx skills add https://github.com/IgorWarzocha/Opencode-Workflows --skill opencode-config-igorwarzocha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management of OpenCode's configuration files (opencode.json) and agent rules (AGENTS.md), allowing users to easily adjust settings, permissions, and model configurations without manual file editing.

Core Features & Use Cases

  • Configuration Management: Modify global or project-specific opencode.json settings like default models, themes, and auto-update behavior.
  • Permission Control: Define granular permissions for tools and skills, enhancing security.
  • Rule Definition: Update AGENTS.md to provide project-specific instructions for agents.
  • Use Case: A user wants to change the default AI model to a newer version and restrict the rm command to only allow asking for confirmation before execution.

Quick Start

Use the opencode-config skill to set GPT-5 as the default model and ask for confirmation before running bash commands.

Frequently Asked Questions about opencode-config

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

FAQPage Schema
How do I configure OpenCode settings and rules without editing files manually?

You can configure OpenCode settings by using interactive question-answering to adjust opencode.json and AGENTS.md files. This allows you to change models, permissions, and rules without manual editing.

What is the best way to change the default AI model in opencode.json?

Changing the default AI model in opencode.json involves modifying the provider configuration settings. This Skill manages global or project-specific settings to update the default model to a newer version.

Can I restrict command permissions like bash rm to require confirmation in OpenCode?

Yes, you can restrict command permissions in OpenCode by defining granular permissions for tools and skills. This allows you to configure the rm command to ask for confirmation before execution.

How do I add project-specific instructions for agents in AGENTS.md?

Adding project-specific instructions for agents in AGENTS.md involves updating the markdown rules file. This Skill configures agent rules to provide specific guidance for your project environment.

Does OpenCode configuration support JSONC format for settings?

OpenCode configuration supports JSONC format for managing settings and rules. This allows you to include comments and trailing commas in your opencode.json configuration files.

What are the limitations of managing OpenCode configuration files?

OpenCode configuration management is limited to settings in opencode.json and AGENTS.md files. It handles provider setup, formatter rules, and environment variables, but cannot modify external configuration files outside this scope.