Skip to content

Commit c2ef802

Browse files
authored
Hide non-primary agents from the Tab switcher (#497)
* Hide secondary agents from the Tab switcher * config: hide external loop agents from Tab
1 parent e5e2e75 commit c2ef802

23 files changed

+89
-19
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ If this project helps your workflow, please consider supporting ongoing maintena
7878

7979
## Agent roles (Tab menu)
8080

81-
This setup keeps `build` as the default agent for quick direct work, while adding `orchestrator` and focused specialists for manual selection via `Tab`:
81+
This setup keeps `build` as the default agent for quick direct work, exposes only `build`, `plan`, and `orchestrator` in the `Tab` switcher, and keeps focused specialists available as hidden secondary subagents:
8282

8383
- `orchestrator` (primary): execution lead for complex tasks, with explicit delegation and completion gates.
8484
- `explore` (subagent): read-only internal codebase scout.
@@ -94,7 +94,9 @@ This setup keeps `build` as the default agent for quick direct work, while addin
9494
Default selection note:
9595

9696
- `build` remains the configured `default_agent` in `opencode.json` for speed.
97+
- `plan` remains the built-in planning primary in OpenCode.
9798
- choose `orchestrator` when you want end-to-end multi-step execution with delegation and completion gates.
99+
- specialist subagents stay hidden from `Tab` and are meant for delegation or explicit `@agent` invocation.
98100

99101
Agent files live in `agent/*.md` and install globally to `~/.config/opencode/agent/`.
100102
Agent source-of-truth specs live in `agent/specs/*.json` and generate markdown via `scripts/build_agents.py`.

agent/ambiguity-analyst.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: cheap
1920
default_category: deep

agent/explore.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: free
1920
default_category: quick

agent/librarian.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: cheap
1920
default_category: balanced

agent/oracle.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: expensive
1920
default_category: critical

agent/plan-critic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: expensive
1920
default_category: critical

agent/release-scribe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: cheap
1920
default_category: quick

agent/reviewer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tools:
1414
task: false
1515
todowrite: false
1616
todoread: false
17+
hidden: true
1718
routing:
1819
cost_tier: expensive
1920
default_category: critical

agent/specs/ambiguity-analyst.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"task",
4040
"todowrite",
4141
"todoread"
42-
]
42+
],
43+
"hidden": true
4344
}
4445
}

agent/specs/explore.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"task",
4040
"todowrite",
4141
"todoread"
42-
]
42+
],
43+
"hidden": true
4344
}
4445
}

0 commit comments

Comments
 (0)