From infracost
Uninstall the Infracost Language Server. Use this skill when the user asks to uninstall or remove the Infracost LSP from their system.
npx claudepluginhub infracost/agent-skills --plugin infracostThis skill is limited to using the following tools:
Remove the Infracost Language Server binary from the system.
Recommends LSP servers by language, configures .lsp.json files, provides installation guides, and troubleshoots issues in Claude Code.
Guides integration of LSP servers into Claude Code plugins via plugin.json or .lsp.json for code intelligence like go-to-definition, references, hovers, and completions.
Stops and removes ClaudeClaw background service and agents for the current instance on macOS/Linux, preserving data (store/, groups/, .env). Trigger: /uninstall.
Share bugs, ideas, or general feedback.
Remove the Infracost Language Server binary from the system.
Find the installed infracost-ls binary:
command -v infracost-ls
If the command is not found, inform the user that the Infracost Language Server is not installed and stop.
Resolve the real path of the binary (following symlinks) and check whether it appears to be managed by a package manager. Do not remove the binary if the resolved path is inside any of these directories:
REAL_PATH=$(realpath "$(command -v infracost-ls)")
/opt/homebrew/ (Homebrew on Apple Silicon)/usr/local/Cellar/ (Homebrew on Intel Mac)/home/linuxbrew/ (Linuxbrew)/usr/bin/ (system packages via apt, yum, dnf, etc.)/snap/ (Snap packages)/nix/store/ (Nix packages)$resolvedPath = (Get-Command infracost-ls).Source | Resolve-Path
C:\ProgramData\chocolatey\ (Chocolatey)C:\tools\ (Chocolatey alternative install location)$env:LOCALAPPDATA\scoop\ (Scoop)C:\Program Files\WinGet\ (WinGet/msstore)If the resolved path falls inside any of these directories, inform the user that the binary appears to be managed by a package manager and they should use that package manager to uninstall it instead. Stop and do not proceed.
Delete the binary at the path returned by step 1.
rm -f /path/to/infracost-ls
If rm fails with a permission error, retry with sudo:
sudo rm -f /path/to/infracost-ls
Remove-Item -Path (Get-Command infracost-ls).Source -Force
Confirm the binary has been removed:
command -v infracost-ls
The command should return nothing or report that infracost-ls is not found.
command -v infracost-ls returns nothing, inform the user that the Infracost Language Server is not installed and stop.sudo. If that also fails, inform the user they need to grant write access or run with elevated privileges.