frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ClawRemove – Inspect and clean AI agent environments

https://github.com/tianrking/ClawRemove
1•tianrking•1h ago

Comments

tianrking•1h ago
Hi HN!

I recently built ClawRemove, a small CLI tool for inspecting and cleaning up environments where AI agents and local AI tools run.

First, just to be clear: I really like projects like OpenClaw and other AI agents. This tool isn’t meant to compete with them. In fact, it exists because these tools are becoming more popular and people are experimenting with many of them.

The problem

Some friends of mine tried tools like:

OpenClaw

Cursor

Windsurf

various Ollama-based setups

After a while they wanted to uninstall some tools or switch to others. What they found was that cleaning up AI tooling environments can be surprisingly messy:

configuration files scattered across the system

shell profiles modified

background processes still running

leftover caches and logs

Manual cleanup works, but it is tedious and easy to miss things.

Since most AI tools have predictable installation paths and artifacts, I thought it might make sense to automate inspection and cleanup.

What ClawRemove does

ClawRemove acts as an AI agent environment inspector.

Example commands:

# Inspect AI environment claw-remove environment

# Check for exposed API keys claw-remove security

# Analyze AI-related disk usage claw-remove hygiene

# Generate a cleanup plan claw-remove plan --product openclaw

# Execute cleanup claw-remove apply --product openclaw

Currently supported categories:

Agents

OpenClaw

NanoBot

PicoClaw

Aider

IDEs

Cursor

Windsurf

Local runtimes

Ollama

LM Studio

GPT4All

LocalAI

Architecture

ClawRemove uses a provider architecture.

Each supported tool is implemented as an independent provider that defines:

discovery rules

cleanup logic

safety boundaries

This allows new tools to be added without modifying the core, and makes it easy for the community to contribute additional providers.

Safety design

Some principles I tried to follow:

plan before execution

explicit confirmation for risky actions

single binary, no background service

optional AI explanations (core functionality does not require LLMs)

Why this might matter

The AI agent ecosystem is growing quickly. People are constantly installing, testing, and removing different tools locally.

ClawRemove tries to be a small "janitor" utility for that ecosystem.

GitHub:

https://github.com/tianrking/ClawRemove

Feedback welcome

I'd love to hear:

what issues you have encountered when uninstalling AI tools

which agents or IDEs should be supported

any feature ideas

PRs for new providers are very welcome.

Thanks for reading!

Palantir CEO Makes Confession on Disrupting Democratic Power

https://newrepublic.com/post/207693/palantir-ceo-karp-disrupting-democratic-power
1•mindracer•36s ago•0 comments

Feng Shui Refactoring

https://alganet.github.io/blog/2026-03-12-20-Feng-Shui-Refactoring.html
1•chmaynard•1m ago•0 comments

Surging Energy Costs Put German Industry 'In Danger'

https://www.nytimes.com/2026/03/13/business/energy-environment/iran-energy-costs-germany-factorie...
1•mikhael•2m ago•0 comments

I Infected My iPhone with Russian Spyware. Here's What I Found [video]

https://www.youtube.com/watch?v=XQvZ2mLnZVI
2•skibz•8m ago•0 comments

Fatal Core Dump Game

https://www.robopenguins.com/core-dump-game/
1•pabs3•9m ago•0 comments

Shopify CEO uses autoresearch for 53% faster parse+render on template engine

https://github.com/Shopify/liquid/pull/2056
2•dvrp•9m ago•0 comments

Ask HN: What's frustrating about looking for a job as a software engineer?

1•fisher-brett•11m ago•0 comments

Hyperliquid-Claw

https://github.com/Rohit24567/HyperLiquid-Claw
1•hbzy792•13m ago•0 comments

Claude Code Review

https://code.claude.com/docs/en/code-review
1•gmays•14m ago•0 comments

Show HN: Free app tracking every tech layoff 53k jobs cut in 2026

https://apps.apple.com/us/app/layoffs-tech-job-tracker/id6758896276
1•Sourabhsinr•14m ago•0 comments

Three more AI psychoses, Cory Doctorow

https://pluralistic.net/2026/03/12/normal-technology/
2•verisimi•20m ago•0 comments

WASTE: A peer-to-peer and friend-to-friend protocol

https://en.wikipedia.org/wiki/WASTE
2•ecliptik•23m ago•0 comments

Mathematical Writing [pdf]

https://jmlr.csail.mit.edu/reviewing-papers/knuth_mathematical_writing.pdf
2•susam•35m ago•0 comments

Crazy Rogue AI

https://github.com/lilyaibot/Shepador-AI-V3/tree/main
1•shepadorai•50m ago•0 comments

Pwning OpenClaw in 50 Messages

https://www.runlayer.com/blog/pwning-openclaw-in-50-messages
2•gk1•50m ago•0 comments

Lost Doctor Who Episodes Found

https://www.bbc.co.uk/news/articles/c4g7kwq1k11o
5•edent•51m ago•0 comments

Trump Administration Opens Door for ICE to Target Anyone Suspected Being Trans

https://transitics.substack.com/p/trump-administration-opens-the-door
6•pabs3•51m ago•0 comments

MCP Doesn't "Suck"

https://www.runlayer.com/blog/mcp-vs-cli-for-ai-agents
1•gk1•51m ago•0 comments

Show HN: Adversarial Code Review paired agents, zero noise,validated findings

https://github.com/gaurav-yadav/adversarial-ai-review
3•rainmod•53m ago•1 comments

How we hire AI-native engineers now: our criteria

https://www.augmentcode.com/blog/how-we-hire-ai-native-engineers-now
2•samuel246•58m ago•0 comments

Stop spending money on Claude Code. Chipotle's support bot is free

https://twitter.com/om_patel5/status/2032248004443287962
2•rmason•59m ago•0 comments

Agent Engine Optimization (AEO): Selling to AI Agents

https://github.com/subconscious-systems/AEO
1•hyluo•1h ago•0 comments

Chaos of Agent

https://agentsofchaos.baulab.info/
1•xdotli•1h ago•1 comments

Why Technology Makes Us More Productive but Not Richer

https://www.fullstackpm.tech/blog/productivity-paradox-capital-lockup
15•harshakcheruku•1h ago•5 comments

Show HN: 3DIMLI – Sell Any Digital Product, Zero Commission

1•arpit077•1h ago•0 comments

AI Software Tells Cops to Arrest the Wrong Guy [video]

https://www.youtube.com/watch?v=lPUBXN2Fd_E
2•stefap2•1h ago•0 comments

Saudi Arabia, Qatar, and the UAE are financing new data corridors

https://restofworld.org/2026/gulf-overland-data-cables-europe-war/
4•colinprince•1h ago•0 comments

I built an offline Text-to-Speech app for iPhone using Kokoro-82M

https://apps.apple.com/us/app/ghost-reader-ai/id6759826819
1•jantheman•1h ago•1 comments

Ask HN: Do you use your smartphones for local LLMs?

1•lavren1974•1h ago•0 comments

China's Road from Revolution to Reform

https://branko2f7.substack.com/p/there-is-a-great-disorder-under-the
2•rmdmphilosopher•1h ago•0 comments