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
This commit is contained in:
parent
b157241325
commit
40dd267b12
3 changed files with 20 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "oac",
|
"name": "oac",
|
||||||
"description": "OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.",
|
"description": "OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "darrenhinde",
|
"name": "darrenhinde",
|
||||||
"url": "https://github.com/darrenhinde"
|
"url": "https://github.com/darrenhinde"
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,21 @@ Stage 4: Execute with loaded context → No nested discovery needed
|
||||||
|
|
||||||
## 🔧 Configuration
|
## 🔧 Configuration
|
||||||
|
|
||||||
The plugin uses context files from the main OpenAgents Control repository.
|
### Model: opusplan
|
||||||
|
|
||||||
|
The plugin ships with `settings.json` at the plugin root:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"model": "opusplan"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
`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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To reload after any settings change: `/reload-plugins` (no restart needed).
|
||||||
|
|
||||||
### Context Structure
|
### Context Structure
|
||||||
|
|
||||||
|
|
@ -328,6 +342,7 @@ The plugin uses context files from the main OpenAgents Control repository.
|
||||||
plugins/claude-code/
|
plugins/claude-code/
|
||||||
├── .claude-plugin/
|
├── .claude-plugin/
|
||||||
│ └── plugin.json # Plugin metadata
|
│ └── plugin.json # Plugin metadata
|
||||||
|
├── settings.json # Model config: opusplan
|
||||||
├── agents/ # Custom subagents (7 files)
|
├── agents/ # Custom subagents (7 files)
|
||||||
│ ├── task-manager.md
|
│ ├── task-manager.md
|
||||||
│ ├── context-scout.md
|
│ ├── context-scout.md
|
||||||
|
|
|
||||||
3
plugins/claude-code/settings.json
Normal file
3
plugins/claude-code/settings.json
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"model": "opusplan"
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue