Expand description
SkillProvider — where a session’s skills come from.
Skills arrive from three places: SKILL.md files under the three
directory tiers, the built-ins compiled into the binary, and the tools of
every connected MCP server turned into invocable skills. Each is a
SkillProvider handed to SkillManager::load_from, so a deployment that
keeps its skills anywhere else (a database, a company-wide bundle server,
a git remote) adds one more source rather than a method on the manager.
§A source owns its bodies too
Listing a skill and expanding it are two different reads, and only the
first one is satisfied by metadata. The built-in sources that hold their
content in memory said so through a sentinel path — (bundled:name),
(mcp:server:tool) — that the manager pattern-matched on. A provider says
it directly instead, via SkillProvider::body, so a source whose skills
are not files is a complete source rather than one that lists skills
nobody can run.
Structs§
- Static
Skills - A fixed list of skills held in memory.
Enums§
- Skill
Precedence - What a provider does about a name that is already loaded.
Traits§
- Skill
Provider - A place skills come from.