Skip to content

klim agent refresh

klim agent 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 agent doctor reports a stale cache.

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

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