modelscope / modelscope/ms-agent

[Enhancement]Improve Skill module to work alongside MCP tools in the agent loop

Open
#905 0 comments 0 reactions 3 assignees View on GitHub

@wangxingjun778 is already working on this.

Since Apr 21, 2026.

enhancement
Dominant language
Python
Stars
4.4k
Forks
521
Avg merge
1d
Merged PRs (30d)
36

Description

Description

Problem

The current Skill system runs as a separate pipeline from the main agent loop. When a skill is matched, do_skill() short-circuits the run loop and returns immediately — MCP tools are never invoked. This leads to several related issues:

  • Skills and MCP tools are mutually exclusive within a single task
  • Skills are only evaluated on the first conversation round (round == 0)
  • Skill results are not passed into subsequent tool-calling steps
  • No streaming output during skill execution

Direction

Unify skills with the tool-calling mechanism — expose skill operations (skill_list, skill_view, skill_execute) as standard tools via ToolBase, so they coexist with MCP tools in the same step() loop. Inject skill summaries into the system prompt for discoverability.

Status

Analysis complete. Design under discussion — feedback welcome.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.