friskme

What is cached where

~/.frisk/cache/ (set FRISK_CACHE_DIR to move it) holds:

  • labels/<session-id>.<hash>.json: one label per session.
  • groups/<hash>.json: the intent grouping.
  • skills/<hash>.json: skill drafts.
  • pii-ner/<hash>.json: with --pii-model, the masked entities found in each chunk of text (type, masked value, fingerprint).

Each entry is keyed by a hash of exactly what was sent, plus the analyzer, model and prompt version. A re-run therefore only labels new or changed sessions. The cache holds model outputs only, never transcript text and never a raw sensitive value.

To delete it:

friskme cache clear   # or: rm -rf ~/.frisk
friskme models remove # the PII model, if you downloaded it