Delegated subagent sessions cannot load any skill: built-in worker/explore/verifier roles omit the skill tool

Open Beginner friendly
#556 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Read packages/local-runtime-v2/assets/agents/{worker,explore,verifier}/agent.md and compare their tool and skills settings with the root session. Check how the native skill tool and skill catalog are exposed to delegated sessions. Done when a delegated worker can load an installed skill through the tool and the explore/verifier settings allow the intended shared skill access.

Written by the indexing model from the issue text.

Description

Product or interface

Subagent delegation — the task tool and the built-in worker / explore / verifier roles — and the native skill tool.

Use case and problem

I use MiniMax Code as a long-running personal assistant and delegate almost all real work to subagents (task → worker / explore / verifier). Third-party skills are how I encode repeatable procedures (TDD, code review, debugging, planning), so that every delegated task follows the same process instead of reinventing it.

Delegated children currently cannot load any skill at all.

The built-in roles are defined in packages/local-runtime-v2/assets/agents/{worker,explore,verifier}/agent.md (verified at 50448abe), and their tools: lists do not contain the native skill tool:

  • worker/agent.md → read, write, edit, bash, task_query, task_output, task_stop, grep, glob, todowrite, web_fetch, website_deploy
  • explore/agent.md → bash, read, grep, glob, web_fetch, plus builtinTools: [] and skills: []
  • verifier/agent.md → read, grep, glob, bash, task_query, task_output, task_stop, web_fetch, plus builtinTools: [] and skills: []

Measured on my machine (desktop app, Windows): I ran four parallel delegated tasks with plain natural prompts — implement a function with tests, fix a failing test, review a diff, and plan a feature. Across 88 tool calls in 4 child sessions the skill tool was invoked 0 times. The tool schema actually offered to the child was:

bash, edit, glob, grep, mcp_invoke, read, tool_search, web_fetch, web_search, website_deploy, write

The only way a skill procedure reached a child was the child reading the SKILL.md file by hand, after tool_search for a skill loader returned {"hits":[],"total":0} — i.e. it went around the platform instead of through it. That works, but it is luck: it depends on the child happening to guess that the file exists, and the child never learns that the native loader exists.

Worth noting: packages/agent-tools/src/desktop/canonical-tool-policy.ts does not mention skill at all (the file is 80 lines and contains no occurrence of the string), so the policy layer is not what blocks it. The only gate is the per-role tools: list, so this looks like a one-line-per-role change rather than a policy decision.

The same gap applies to skills: [] on explore and verifier: even if the skill tool were listed, an explicit empty skills: array means there is no catalog to load from.

Desired behavior
  • A delegated child session can load a skill with the native skill tool, exactly like the root mavis session can.
  • skills: [] in explore/agent.md / verifier/agent.md either exposes the catalog, or is replaced by an explicit opt-out mechanism, so a delegated verifier can run a shared review procedure instead of improvising one.
  • Acceptance criteria: a delegated worker assigned a task that is covered by an installed skill invokes skill({ name }) for it without reading the file path by hand, and the returned SKILL.md content is visible in the child's context.
Platform

Desktop app 3.1.7.195 on Windows 11 x64. Source references are against upstream commit 50448abe (2026-10-29).

Reporter MMX UID: 500063342928973827

Alternatives and additional context

I worked around this today by creating three custom roles under agents/<name>/agent.md that add skill to tools: and drop skills: [], and delegating to those instead of the built-ins. It works, but every user has to re-create the built-in roles to get skill support, and the workaround is not discoverable from the product or from the built-in role descriptions.

Related, and worth checking in the same area: the official plugin packages that are published for MiniMax Code drop the upstream hooks/ directory, so a plugin that relies on a SessionStart hook can never fire in the desktop app. I filed that separately since it is a packaging problem rather than an agent-configuration one.

Dominant language
TypeScript
Stars
2.3k
Forks
315
Avg merge
3h 54m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MiniMax-AI/minimax-code

All issues in MiniMax-AI/minimax-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.