Skip to main content

Crate skm_disclose

Crate skm_disclose 

Source
Expand description

§skm-disclose

Progressive disclosure and context management for Agent Skills.

This crate provides:

  • DisclosureLevel for tracking skill loading state (Catalog/Activated/Referenced)
  • TokenEstimator for fast token count estimation (CJK-aware)
  • ContextManager for token budget management and skill activation

Structs§

ActivationPayload
Payload returned when activating a skill.
ContextManager
Manages what skill content is loaded into the LLM’s context window.
LoadedSkill
A skill loaded at some disclosure level.
TokenBudget
Token budget configuration.
TokenEstimator
Fast token count estimator.

Enums§

DiscloseError
Errors from disclosure operations.
DisclosureLevel
Disclosure level for a skill.