PluginSkillsMiddleware(
self,
*,
backend: BACKEND_TYPES,
sources: Sequence[CodeSkillSource],
system_prompt:| Name | Type | Description |
|---|---|---|
backend* | BACKEND_TYPES | |
sources* | Sequence[CodeSkillSource] | |
system_prompt | str | None | Default: sdk_skills.SKILLS_SYSTEM_PROMPT |
| Name | Type |
|---|---|
| backend | BACKEND_TYPES |
| sources | Sequence[CodeSkillSource] |
| system_prompt | str | None |
Load namespaced plugin skills without extending the SDK source API.
Wraps the SDK SkillsMiddleware. Sources without a namespace load exactly
as the SDK loads them. Sources carrying a plugin namespace are walked
recursively so nested skill directories (skills/foo/bar/review/SKILL.md)
are discovered, and each skill's name is qualified as
plugin_id:foo:bar:review before the last-one-wins merge — matching
the plugin skill naming convention.
Backend used to load skill files.
Ordered Code skill sources, optionally including a plugin namespace as the third tuple item.
Skills prompt template passed to the SDK middleware.
Load and namespace plugin skills before collision resolution.
Asynchronously load and namespace skills before collision resolution.