You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Progressive-disclosure discovery (Anthropic Agent-Skills style): instead of the
model spending a tool turn on list_skills to learn the catalog, the caller can
inject the catalog into the system prompt once at startup.
- render_skills_manifest(skill_dir, header=None): one `- name: description` line
per skill; "" when empty. The discovery-level metadata to inject.
- load_skills_as_tools(skill_dir, discovery="list"|"inject"): "list" (default,
backward-compatible) returns [list_skills, read_skill]; "inject" returns
[read_skill] only (discovery handled by the injected manifest). read_skill stays
as the just-in-time full-body activation path in both modes.
Default is unchanged, so existing consumers keep the 2-tuple. Export
render_skills_manifest from the package root.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments