A specialized tool for Android developers to identify and remove resource files that are no longer referenced after code changes.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install android-unused-resource-cleanup
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install android-unused-resource-cleanup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Android Unused Resource Cleanup is a sophisticated utility designed to keep Android projects lean and maintainable. By leveraging Openclaw Skills, it analyzes Git modifications to pinpoint resources—such as drawables, layouts, colors, and strings—that have become orphaned due to recent refactoring or code deletions.
Unlike generic cleanup tools, this skill focuses on the delta of your changes, allowing for targeted maintenance during the development workflow. It ensures that your APK or AAB size remains optimized by suggesting the safe removal of assets that are no longer reached by Java, Kotlin, or XML code.
To use this tool within your Openclaw Skills environment, run the script via Python pointing to your desired Git source:
# Analyze staged changes (after git add)
python .agents/skills/android-unused-resource-cleanup/scripts/cleanup_unused_resources.py --source staged
# Analyze unstaged changes in the working directory
python .agents/skills/android-unused-resource-cleanup/scripts/cleanup_unused_resources.py --source unstaged
# Analyze the most recent commit
python .agents/skills/android-unused-resource-cleanup/scripts/cleanup_unused_resources.py --source HEAD~1
The skill analyzes various Android resource types across the project structure:
| Resource Type | Reference Pattern | File Location |
|---|---|---|
| drawable / mipmap | R.drawable.name, @drawable/name |
res/drawable*/, res/mipmap*/ |
| layout | R.layout.name |
res/layout/ |
| string / color / dimen | R.type.name, @type/name |
res/values/ |
| style / anim / font | @type/name |
res/values/, res/anim/, res/font/ |
| raw | R.raw.name |
res/raw/ |
Loading
A specialized CLI for running red-team evaluations, detecting jailbreak vulnerabilities, and reviewing security scores for AI products.

A specialized skill for managing creator brand deal operations from initial inbound brief to final payment tracking.

Frontend Slides is a sophisticated AI agent skill for creating zero-dependency, animation-rich HTML presentations that run entirely in the browser.

A powerful automation tool for Openclaw Skills that analyzes Git history to generate structured daily and weekly work reports.

A strategic leadership development framework designed to help founders transition from individual contributors to high-impact CEOs.

An automated markdown editor that polishes blog drafts for grammar, clarity, and flow while strictly preserving the author's original voice and language.








































