Repository navigation
Backlog
Labels
enhancementNew feature or request
Description
Summary
Make rosetta's skill resources follow the resource layout from the MCP Skills extension (SEP-2640, spec in modelcontextprotocol/ext-skills). The spec says that to a client without the extension, skill:// resources "are ordinary resources". So this layout works with every client today, and it's the base the full extension would build on later.
Today
src/mcp.ts:644-711servesrosetta://skills(a markdown index) androsetta://skills/{name}. Each skill is one combined blob: provenance header, then# name, then the content, then every reference file pasted underneath.src/extract-skills.ts:49strips the YAML frontmatter and keeps onlynameanddescription. Other frontmatter fields are lost.
Scope (layer 1: resource layout only)
- Register one resource per file:
skill://<name>/SKILL.md(text/markdown; resourcenameanddescriptioncome from the frontmatter)skill://<name>/references/<file>for each row inskill_references, at its original relative path
- Serve
SKILL.mdwith its frontmatter first, as the spec requires. The final path segment must equal the frontmattername. - Store the raw frontmatter in the DB so fields other than
nameanddescriptionare kept. This is a schema change, so it must followschema-roundtrip-compatand the SCHEMA_VERSION rules. - Provenance moves into a small frontmatter field instead of a header in front of the file. The skill-attribution-boundary rule still applies. Pick a field name, either a namespaced key or one under
metadata:as agentskills.io allows. Keep the resourcedescriptionand the serverinstructionsstating that this is community content, not MikroTik docs. - Keep
rosetta://skillsandrosetta://skills/{name}as they are. They're harmless, and existing users rely on them. Point the index at the newskill://URIs as well. - Update the server
instructionstext (src/mcp.ts:1047), therouteros_statsnote (src/mcp.ts:1071), and the TUI.resources/ skill display so the TUI and MCP stay in sync. - Tests: correct URI shape,
SKILL.mdstarts with---,namematches the path, every reference is listed and readable, and the provenance field is present. - Update CHANGELOG and DESIGN.md (the "Why resources, not tools" section).
Out of scope: layer 2 (the full extension)
skills/list, skills/get, sha256/size manifests, the io.modelcontextprotocol/skills capability in server/discover, and the optional resources/directory/read.
SDK status as of 2026-11-28:
@modelcontextprotocol/sdk1.32.2 (latest v1, which rosetta uses) only goes up to protocol2025-11-25. It has no skills support and no2026-07-28revision.- The v2 split packages (
@modelcontextprotocol/server2.4.0, plusclientandcore) target2026-07-28and include@modelcontextprotocol/server/ext/skills(SkillCatalog,SkillsExtension, ...). Upstream is still fixing it: typescript-sdk #2798, #3066, #3102, #3229, #3242 are open, and #2789 is closed. - Client support (MCP client matrix) is partial in ChatGPT, fast-agent, and MCP Inspector. The Claude, Cursor, and VS Code cells are blank.
So layer 2 depends on a separate v1→v2 SDK migration and would be its own issue. Layer 1 should keep URIs and file boundaries compatible with what SkillCatalog expects, so moving to it later is just wiring.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity