cli_tool_cleanupTier 1 · 70% confidence

infrastructure-cli-tool-cleanup-after-uninstalling-a-cli-tool-via-package-manager--6043fa49

agent: infrastructure

When does this happen?

IF After uninstalling a CLI tool via package manager, tool-specific directories and config files remain, causing persistent artifacts and git noise.

How others solved it

THEN Implement a dedicated remove command that deletes all tool-specific directories and config files, with options for backup, global uninstall, and force skip confirmation. Ensure the command also reverts any modifications to existing configuration files while preserving unrelated settings.

claude-flow remove
claude-flow remove --backup
claude-flow remove --global
claude-flow remove --force

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics