mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-19 20:55:14 +02:00
The skills repository carries per-device operational knowledge the generic tools cannot know (FRR's console lands in vtysh, its ping has no -c, scripted config needs 'do' prefixes; VPCS syntax; IOS paging pitfalls), but only the embedded copilot could read it — MCP's sole consumer was console_guard.txt. device_skill_get reuses the copilot's framework-free core (get_skill/list_available_skills) rather than the LangChain tool shell, so both surfaces share the same access protocol by construction: list -> device topic index -> one targeted topic body, bodies only on an explicit topic request. The caller passes the skill key exactly as the list returned it; there is no name mapping or node-based resolution in this layer. The tool description also tells clients that support subagents to delegate the discovery steps on long tasks, keeping the full skill bodies out of the main conversation's context.