feat(opencode): Enforce Manual Slop MCP tools across all agents

This commit is contained in:
2026-03-04 22:21:25 -05:00
parent 9d7628be3c
commit 696a48f7bc
8 changed files with 241 additions and 129 deletions

View File

@@ -6,7 +6,36 @@ temperature: 0.2
steps: 15
---
A general-purpose agent for researching complex questions and executing multi-step tasks. Has full tool access (except todo), so it can make file changes when needed. Use this to run multiple units of work in parallel.
A general-purpose agent for researching complex questions and executing multi-step tasks. Has full tool access (except todo), so it can make file changes when needed.
## CRITICAL: MCP Tools Only (Native Tools Banned)
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
### Read MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
| `glob` | `manual-slop_search_files` or `manual-slop_list_directory` |
| `grep` | `manual-slop_py_find_usages` |
| - | `manual-slop_get_file_summary` (heuristic summary) |
| - | `manual-slop_py_get_code_outline` (classes/functions with line ranges) |
| - | `manual-slop_py_get_skeleton` (signatures + docstrings only) |
| - | `manual-slop_py_get_definition` (specific function/class source) |
| - | `manual-slop_get_git_diff` (file changes) |
| - | `manual-slop_get_tree` (directory structure) |
### Edit MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `edit` | `manual-slop_py_update_definition` (replace function/class) |
| `edit` | `manual-slop_set_file_slice` (replace line range) |
| `edit` | `manual-slop_py_set_signature` (replace signature only) |
### Shell Commands
| Native Tool | MCP Tool |
|-------------|----------|
| `bash` | `manual-slop_run_powershell` |
## Capabilities
- Research and answer complex questions