What problem does it solve?
This Skill streamlines the process of configuring OpenCode, ensuring that your AI agent operates with the correct providers, models, permissions, and behavioral rules, preventing misconfigurations and security risks.
Core Features & Use Cases
- Provider & Model Setup: Define and manage AI model providers and their default models.
- Permission Management: Configure granular access controls for file system, shell commands, and tools.
- Behavioral Rules: Establish project-specific instructions and constraints via
AGENTS.md.
- Use Case: When setting up a new project, use this Skill to define your preferred AI provider (e.g., OpenAI, Anthropic), set default models, restrict shell access to only necessary commands like
npm test, and add project-specific workflow rules to AGENTS.md.
Quick Start
Configure your opencode.json to use the 'openai' provider with 'gpt-4o-2024-08-06' as the default model, referencing the API key from the OPENAI_API_KEY environment variable.