| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…kills Replaces the earlier skill://index.json discovery-index prototype with the current SEP-2640 surface: - 28 bundled SKILL.md files served as individually addressable resources at skill://github/<name>/SKILL.md, with resource metadata sourced from frontmatter instead of duplicated in Go code - skills/list and skills/get protocol methods carrying verbatim YAML frontmatter and complete per-file sha256 digests per entry - resources/directory/read with inode/directory child listings, declared via the directoryRead capability setting - Dynamic* hooks so a later change can answer skills/get and directory reads for repo-hosted skills outside the bundled registry Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Capability declaration happens before mcp.NewServer (capabilities are captured at construction); resource + method registration happens in the shared constructor so the per-request HTTP server path serves skills too. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Ports the per-repo half of the earlier prototype and reworks it for the
current SEP:
- skill://{owner}/{repo}/{skill_name}/{+file_path} resource template and
list_repo_skills tool (skills toolset), unchanged in role: baseline
URI readability plus model-callable enumeration
- RepoSkillEntry backs skills/get for repo-hosted skill URIs — the SEP's
unenumerable-catalog case: fetches the skill directory, digests every
file, and returns a content-bindable entry for skills no listing
mentions; non-conforming directories answer -32602
- RepoSkillDirectory backs resources/directory/read across repo skill
namespaces, listing discovered skills and walking their trees
- completion handler answers skill:// refs; docs regenerated
The mcp-resource-template index entry from the old prototype has no
successor: the template is discoverable via resources/templates/list, and
skills/get now covers verification for URIs learned out of band.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Entry resources are now {uri, digest, size} triples, and the resources
field always serializes as an array or the literal string "dynamic".
Enforce the SEP's per-skill limits (512 files, 16 MiB) in skills.New and
pre-check them from tree metadata in RepoSkillEntry before fetching any
blob. Existing-but-empty directories answer with an empty resources
array instead of -32602. The extension's results carry the base
protocol's resultType marker on 2026-07-28+ sessions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ff8YDXkcySZpDBVbHkEtu5
| Back | FazBrowse Home | New Git URL |
Summary
Server-side demo of SEP-2640 v1 — the Skills extension as scoped down in the July 2026 rework. From-scratch replacement for #2428 / #2360, which targeted the earlier skill://index.json revision of the SEP. WIP demo fork, not intended for upstream merge as-is.
What's in this branch
Verified end-to-end
Live stdio JSON-RPC against the built binary:
Test plan
Related
🤖 Generated with Claude Code