refactor: merge skill tool into slashcommand to reduce system prompt size

This commit is contained in:
Bo Li
2026-02-09 23:51:57 +08:00
parent 8c726f5589
commit 42b082b469
6 changed files with 155 additions and 12 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ export function createSkillMcpTool(options: SkillMcpToolOptions): ToolDefinition
`Available MCP servers in loaded skills:\n` +
formatAvailableMcps(skills) +
`\n\n` +
`Hint: Load the skill first using the 'skill' tool, then call skill_mcp.`,
`Hint: Load the skill first using the 'slashcommand' tool, then call skill_mcp.`,
)
}