Skip to content

klim agents refresh

klim agents refresh drops ~/.klim/cache/agents-cache.yaml and rescans every provider’s on-disk state. Use it when you’ve just installed a plugin / MCP outside of klim, or when klim agents doctor reports a stale cache.

Terminal window
klim agents refresh [flags]
FlagDescription
--providerRefresh only one provider’s cache slice.
--outputtext (default), json, or yaml.
Terminal window
# Rescan everything
klim agents refresh
# Just claude-code
klim agents refresh --provider claude-code

The cache is otherwise refreshed on a best-effort basis when you run klim agents list with --refresh, or after a successful plugins install / mcps install. Explicit klim agents refresh is mostly useful in scripts or after manual edits to a provider’s config directory.