You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
When using the sdd-orchestrator with OpenCode, the orchestrator reports that it is "launching a sub-agent" and appears to execute tasks in a separate process. However, when checking the OpenRouter API statistics, 100% of the activity is attributed to the orchestrator model (Kimi 2.5). No activity is recorded for the sub-agent model (Minimax M2.5), suggesting that the execution is happening inline or inheriting the parent's model/session despite the command configuration.
---
description: Implement SDD tasks — writes code following specs and designagent: sdd-orchestratorsubtask: truemodel: "openrouter/minimax/minimax-m2.5"
---
You are an SDD sub-agent. Read the skill file at ~/.config/opencode/skills/sdd-apply/SKILL.md FIRST...
How to Reproduce
Start OpenCode and select the sdd-orchestrator agent.
Initialize a project with /sdd-init.
Run a command that triggers a sub-agent, for example: /sdd-apply create a small calculator that adds 8 and 8
Observe the OpenCode UI showing a sub-process execution.
Check OpenRouter activity/statistics for the API key used.
Observed Behavior
OpenCode UI indicates a sub-task is running.
The output appears to follow the sdd-apply skill.
OpenRouter Stats: Only kimi-k2.5 shows token usage. minimax-m2.5 remains at zero usage.
Expected Behavior
The orchestrator should delegate the task via the Task tool, and OpenCode should initiate a new session/request using the model specified in the sdd-apply.md frontmatter (minimax-m2.5).
Description
When using the
sdd-orchestratorwith OpenCode, the orchestrator reports that it is "launching a sub-agent" and appears to execute tasks in a separate process. However, when checking the OpenRouter API statistics, 100% of the activity is attributed to the orchestrator model (Kimi 2.5). No activity is recorded for the sub-agent model (Minimax M2.5), suggesting that the execution is happening inline or inheriting the parent's model/session despite the command configuration.Environment
openrouter/moonshotai/kimi-k2.5openrouter/minimax/minimax-m2.5Configuration Details
1. Directory Structure
The setup follows the standard
agent-teams-liteinstallation for OpenCode:~/.config/opencode/opencode.json~/.config/opencode/commands/sdd-*.md~/.config/opencode/skills/sdd-*2. Orchestrator Configuration (
opencode.json){ "agent": { "sdd-orchestrator": { "description": "Agent Teams Orchestrator", "model": "openrouter/moonshotai/kimi-k2.5", "mode": "all" } } }3. Command Definition (
sdd-apply.md)The command file used for implementation tasks:
How to Reproduce
sdd-orchestratoragent./sdd-init./sdd-apply create a small calculator that adds 8 and 8Observed Behavior
sdd-applyskill.kimi-k2.5shows token usage.minimax-m2.5remains at zero usage.Expected Behavior
The orchestrator should delegate the task via the
Tasktool, and OpenCode should initiate a new session/request using the model specified in thesdd-apply.mdfrontmatter (minimax-m2.5).