Initial commit: opencode config with 32 skills, 3 agents, 11 MCPs
- Cross-platform install scripts (Windows PowerShell + Unix bash) - Template-based config generation with env var support - Skills: coding-standards, frontend-patterns, backend-patterns, security-review, tdd-workflow, e2e-testing, deep-research, exa-search, content-engine, crosspost, x-api, and 20 more - Agents: explorer, reviewer, docs-researcher - MCPs: codegraph, brave-search, playwright, github, context7, exa, memory, sequential-thinking, git, filesystem
This commit is contained in:
@@ -0,0 +1,146 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "openai-compatible/kimi-k2.6",
|
||||
"small_model": "openai-compatible/miaoda-model-flash",
|
||||
"provider": {
|
||||
"openai-compatible": {
|
||||
"api": "openai",
|
||||
"name": "OpenAI Compatible",
|
||||
"options": {
|
||||
"apiKey": "${OPENCODE_API_KEY}",
|
||||
"baseURL": "https://ai.fs.nomsg.cn/v1"
|
||||
},
|
||||
"models": {
|
||||
"kimi-k2.6": {
|
||||
"id": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"tool_call": true,
|
||||
"reasoning": true
|
||||
},
|
||||
"doubao-seed-2.0-pro": {
|
||||
"id": "doubao-seed-2.0-pro",
|
||||
"name": "Doubao Seed 2.0 Pro",
|
||||
"tool_call": true
|
||||
},
|
||||
"glm-5.1": {
|
||||
"id": "glm-5.1",
|
||||
"name": "GLM 5.1",
|
||||
"tool_call": true
|
||||
},
|
||||
"qwen-3.6-plus": {
|
||||
"id": "qwen-3.6-plus",
|
||||
"name": "Qwen 3.6 Plus",
|
||||
"tool_call": true
|
||||
},
|
||||
"minimax-m3": {
|
||||
"id": "minimax-m3",
|
||||
"name": "MiniMax M3",
|
||||
"tool_call": true
|
||||
},
|
||||
"miaoda-auto-multimodal": {
|
||||
"id": "miaoda-auto-multimodal",
|
||||
"name": "Miaoda Auto Multimodal",
|
||||
"tool_call": true
|
||||
},
|
||||
"miaoda-model-auto": {
|
||||
"id": "miaoda-model-auto",
|
||||
"name": "Miaoda Model Auto",
|
||||
"tool_call": true
|
||||
},
|
||||
"miaoda-model-flash": {
|
||||
"id": "miaoda-model-flash",
|
||||
"name": "Miaoda Model Flash",
|
||||
"tool_call": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"skills": {
|
||||
"paths": ["~/.config/opencode/skills"]
|
||||
},
|
||||
"agent": {
|
||||
"explorer": {
|
||||
"description": "Read-only codebase explorer for gathering evidence before changes are proposed.",
|
||||
"mode": "subagent",
|
||||
"model": "openai-compatible/kimi-k2.6",
|
||||
"permission": { "edit": "deny", "bash": "ask" }
|
||||
},
|
||||
"reviewer": {
|
||||
"description": "PR reviewer focused on correctness, security, and missing tests.",
|
||||
"mode": "subagent",
|
||||
"model": "openai-compatible/kimi-k2.6",
|
||||
"permission": { "edit": "deny", "bash": "ask" }
|
||||
},
|
||||
"docs-researcher": {
|
||||
"description": "Documentation specialist that verifies APIs, framework behavior, and release notes.",
|
||||
"mode": "subagent",
|
||||
"model": "openai-compatible/kimi-k2.6",
|
||||
"permission": { "edit": "deny", "bash": "ask" }
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"github": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-github"],
|
||||
"enabled": true
|
||||
},
|
||||
"context7": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@upstash/context7-mcp@latest"],
|
||||
"enabled": true
|
||||
},
|
||||
"exa": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "mcp-remote", "https://mcp.exa.ai/mcp"],
|
||||
"enabled": true
|
||||
},
|
||||
"memory": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-memory"],
|
||||
"enabled": true
|
||||
},
|
||||
"playwright": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@playwright/mcp@latest", "--extension"],
|
||||
"enabled": true
|
||||
},
|
||||
"sequential-thinking": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-sequential-thinking"],
|
||||
"enabled": true
|
||||
},
|
||||
"codegraph": {
|
||||
"type": "local",
|
||||
"command": ["codegraph", "serve", "--mcp"],
|
||||
"enabled": true
|
||||
},
|
||||
"git": {
|
||||
"type": "local",
|
||||
"command": ["python", "-m", "mcp_server_git"],
|
||||
"enabled": true
|
||||
},
|
||||
"filesystem": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "${PROJECTS_PATH}"],
|
||||
"enabled": true
|
||||
},
|
||||
"fetch": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-fetch"],
|
||||
"enabled": false
|
||||
},
|
||||
"time": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-time"],
|
||||
"enabled": false
|
||||
},
|
||||
"brave-search": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@brave/brave-search-mcp-server"],
|
||||
"enabled": true,
|
||||
"env": {
|
||||
"BRAVE_API_KEY": "${BRAVE_API_KEY}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user