Skip to content

Agents Tab

The Agents tab (key 5) gives klim’s TUI a single home for the AI agent ecosystem on your machine. It works across multiple agent CLIs — currently Claude Code and GitHub Copilot CLI — plus the bundled MCP registry, and surfaces five entity types under one set of sub-tabs:

Sub-tabShows
MarketplacesCatalog sources each provider pulls from.
PluginsFirst-party / community plugins detected per provider.
SkillsReusable prompts / playbooks.
MCPsModel Context Protocol servers — tools an agent can call.
SessionsSaved or active conversations you can resume.
KeyAction
5Jump to the Agents tab
Tab / Shift-TabCycle sub-tabs
/Open the scoped search overlay (e.g. plugin:auth)
rRefresh — invalidate cache and rescan disk
lLaunch the selected session / skill / plugin
enterOpen the entity detail page
iInstall (plugins / MCPs only)
xRemove (plugins / MCPs only)
?Show context-sensitive help

klim doesn’t speak to remote APIs to enumerate agent state — every provider has a well-known on-disk layout under the user profile, and klim parses those directly:

ProviderLayout
Claude Code~/.config/claude-code/ (Linux / macOS), %APPDATA%\Claude\ (Windows).
GitHub Copilot CLI~/.config/github-copilot/ and ~/.copilot/.
MCP registryA bundled catalog refreshable via klim agents refresh.

The scan is cached at ~/.klim/cache/agents-cache.yaml so the tab loads instantly on subsequent runs. Hit r (or run klim agents refresh from the CLI) to force a rescan.

If a provider isn’t detected — binary missing from PATH, config directory absent, or manifest files unreadable — the sub-tab shows the issue inline and points at klim agents doctor for full diagnostics.

Highlight a skill / plugin / session row and press l. klim builds the provider’s native CLI command (skill / plugin / session refs in the right format) and execs into it. Your TTY, environment, and signal handlers all carry through, so the session behaves exactly as if you’d typed the provider command by hand.

The corresponding CLI commands cover the same surface:

When the same entity (e.g. a plugin) is available on multiple providers, the detail page exposes a Promote action — pick the provider you want to mirror it to. Promote is also available from klim agents via the future cross-provider helpers; see the agents overview for the matrix of supported promotions.

Some providers (Claude Code via the claude-code-statusline plugin, Copilot CLI via its built-in telemetry) expose per-session cost data. When detected, the Agents → Sessions sub-tab shows a Costs column rolled up from those provider records. This is purely a local view — klim never sends agent data anywhere.