@tank/opencode-config-mastery

Configure OpenCode settings including opencode.json schema, MCP servers, and LLM providers.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/skills --skill tank-opencode-config-mastery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/opencode-config-mastery
Source: https://github.com/tankpkg/skills/tree/main/skills/opencode-config-mastery
Command: npx skills add https://github.com/tankpkg/skills --skill tank-opencode-config-mastery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users navigate and configure OpenCode, a powerful AI development environment, by demystifying its complex configuration options and ensuring optimal setup.

Core Features & Use Cases

  • Configuration Mastery: Understand and implement opencode.json schema, MCP server setup, provider/model configuration, plugin management, custom commands, permissions, and security best practices.
  • Troubleshooting: Resolve common configuration issues and optimize context budget usage.
  • Use Case: A developer needs to integrate a new local LLM model with OpenCode and set up a custom command for code generation. This Skill provides the exact configuration snippets and steps required.

Quick Start

Configure OpenCode to use the Ollama provider with the Llama2 model.

Frequently Asked Questions about @tank/opencode-config-mastery

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

FAQPage Schema
How do I configure a local LLM provider in OpenCode?

Configure a local LLM provider in OpenCode by defining the provider and model specifications within the `opencode.json` schema. This enables direct integration of local models like Ollama for AI code generation.

What is the best way to set up an MCP server in OpenCode?

The best way to set up an MCP server in OpenCode is by configuring the connection details in your `opencode.json` file. This process supports both local and remote server integrations, including advanced authentication methods like OAuth.

How do I create custom commands for code generation in OpenCode?

You create custom commands for code generation in OpenCode by modifying the `opencode.json` configuration. This allows you to define specific instructions and parameters that streamline your development workflow.

Can I manage security and permissions settings within the OpenCode configuration?

Yes, you can manage security and permissions settings within the OpenCode configuration. The `opencode.json` schema provides options to define access controls and security best practices for your AI development environment.

How does context budget optimization work in OpenCode?

Context budget optimization in OpenCode ensures your AI models operate efficiently within token limits. Proper configuration helps resolve common issues by managing the context window size and preventing unexpected performance degradation.