-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Problem
When any agent calls the use_skill tool, it gets reset to the global model setting instead of keeping the agent's own configured model.
Evidence
Before use_skill:
▣ Orchestrator · claude-opus-4-5-thinking-high
After use_skill:
▣ Orchestrator · gemini-3-flash
Impact
- Agents lose their model configuration after loading skills
- Subagents spawned in parallel get stuck when their model changes mid-task
- Skills become unusable for agents with custom model configurations
Expected Behavior
use_skill should load the skill content without changing the agent's model. Each agent should retain its configured model throughout its lifecycle.
Plugins
oh-my-opencode, oh-my-opencode-slim
OpenCode version
1.1.25
Steps to reproduce
- Configure global model: "google/gemini-3-flash" in opencode.json
- Configure an agent with a different model:
orchestrator: {
model: anthropic/claude-opus-4-5
} - Use that agent and call use_skill("some-skill")
- Observed: Agent switches to global default model (gemini-3-flash)
- Expected: Agent stays on its configured model (claude-opus-4-5)
Operating System
Ubuntu 22.04
Terminal
wsl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working