Skip to content

Commit 40dd267

Browse files
authored
feat(plugin): add settings.json with opusplan model (#264)
* feat(plugin): add settings.json with opusplan model for Claude Code plugin Adds plugins/claude-code/settings.json with { "model": "opusplan" } so the OAC plugin automatically uses Opus for planning/orchestration and Sonnet for subagent execution — matching OAC's plan-first workflow. Plugin-scoped settings.json takes priority over global/user settings when the plugin is loaded (marketplace install or --plugin-dir). Subagents that need a lighter model continue to override at the agent level (external-scout → haiku, task-manager/test-engineer/coder-agent → sonnet). Closes #35 * chore(plugin): bump version to 1.0.2 for marketplace pickup
1 parent b157241 commit 40dd267

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

plugins/claude-code/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "oac",
33
"description": "OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"author": {
66
"name": "darrenhinde",
77
"url": "https://github.com/darrenhinde"

plugins/claude-code/README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,14 +320,29 @@ Stage 4: Execute with loaded context → No nested discovery needed
320320

321321
## 🔧 Configuration
322322

323-
The plugin uses context files from the main OpenAgents Control repository.
323+
### Model: opusplan
324+
325+
The plugin ships with `settings.json` at the plugin root:
326+
327+
```json
328+
{
329+
"model": "opusplan"
330+
}
331+
```
332+
333+
`opusplan` uses **Opus for planning/orchestration** (the main agent) and **Sonnet for execution** (subagents). This matches OAC's plan-first workflow and gives you Opus-quality reasoning without paying Opus rates for every tool call.
334+
335+
Subagents that need a lighter model override this at the agent level (e.g. `external-scout` uses `haiku`). The root setting only affects the main orchestrating agent.
336+
337+
To reload after any settings change: `/reload-plugins` (no restart needed).
324338

325339
### Context Structure
326340

327341
```
328342
plugins/claude-code/
329343
├── .claude-plugin/
330344
│ └── plugin.json # Plugin metadata
345+
├── settings.json # Model config: opusplan
331346
├── agents/ # Custom subagents (7 files)
332347
│ ├── task-manager.md
333348
│ ├── context-scout.md

plugins/claude-code/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"model": "opusplan"
3+
}

0 commit comments

Comments
 (0)