pub enum SkillDisclosure {
Level0,
Level1,
Level2,
}Expand description
Disclosure level for progressive skill loading.
Skills are loaded in three levels to minimize system prompt size:
- Level 0: Name + description only — always present in the system prompt so the agent knows which skills are available (~50 tokens each).
- Level 1: Full SKILL.md body — loaded on demand when the agent’s task matches a skill’s triggers.
- Level 2: Specific reference files — loaded when the skill body references external files (e.g., templates, schemas, scripts).
Variants§
Level0
Name + description only (always loaded).
Level1
Full SKILL.md body (loaded on demand when task matches triggers).
Level2
Specific reference files (loaded when skill body references them).
Trait Implementations§
Source§impl Clone for SkillDisclosure
impl Clone for SkillDisclosure
impl Copy for SkillDisclosure
Source§impl Debug for SkillDisclosure
impl Debug for SkillDisclosure
impl Eq for SkillDisclosure
Source§impl PartialEq for SkillDisclosure
impl PartialEq for SkillDisclosure
impl StructuralPartialEq for SkillDisclosure
Auto Trait Implementations§
impl Freeze for SkillDisclosure
impl RefUnwindSafe for SkillDisclosure
impl Send for SkillDisclosure
impl Sync for SkillDisclosure
impl Unpin for SkillDisclosure
impl UnsafeUnpin for SkillDisclosure
impl UnwindSafe for SkillDisclosure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.