Skip to main content

record_use

Function record_use 

Source
pub fn record_use(session_id: &str, skill_id: &str, via: &str, prompt: &str)
Expand description

Record that the model loaded skill_id itself. via is "skill" (the Skill tool) or "read" (opened the SKILL.md). prompt is the active prompt the hook stashed in session state (empty if none), letting ski history tie a recall miss back to the call that triggered it.