Agent skill

Cleanup Unused Assets

by flutter in flutter/flutter-intellij

Reduce plugin size by scanning resources/icons and removing unreferenced assets.

BSD-3-ClauseAuto-check passedMobile

Install Cleanup Unused Assets

skills CLI
$ npx skills add flutter/flutter-intellij --skill cleanup-unused-assets -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install flutter/flutter-intellij cleanup-unused-assets --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/flutter/flutter-intellij.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cleanup-unused-assets .claude/skills/cleanup-unused-assets && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cleanup-unused-assets
GitHub stars
2k
Token cost
~378 tokens
SKILL.md length
192 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Reduce plugin size by scanning resources/icons and removing unreferenced assets.

  • Works in 6 steps: Baseline → Scan Assets → Search Usages → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Objective and Workflow Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cleanup Unused Assets is an agent skill from flutter/flutter-intellij. Reduce plugin size by scanning resources/icons and removing unreferenced assets.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps. It works with Flutter. The repository describes itself as: Flutter Plugin for IntelliJ. The licence is BSD-3-Clause.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/cleanup-unused-assets”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Baseline
  2. Scan Assets
  3. Search Usages
  4. Remove
  5. Verify
  6. Report & Review

What it can do on your machine

Read from SKILL.md and the folder at commit 5d15348. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cleanup Unused Assets loads about 378 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 192 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~378

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from flutter/flutter-intellij at commit 5d15348, republished under its BSD-3-Clause licence (© flutter). 192 words, ~378 tokens.

Download SKILL.mdSave it as .claude/skills/cleanup-unused-assets/SKILL.md (or your agent's skills folder).
name
cleanup-unused-assets
description
Reduce plugin size by scanning resources/icons and removing unreferenced assets.

Skill: Unused Asset Cleanup

You are tasked with reducing plugin size by removing unused icons, images, and resources.

Objective

Reduce plugin size by removing unused icons, images, and resources.

Workflow Instructions

1. Baseline
  • Run ./gradlew test and ./gradlew verifyPlugin to ensure the project is stable.
2. Scan Assets
  • List all files in resources/icons and other asset directories.
3. Search Usages
  • Check if each asset is referenced in code or plugin.xml.
4. Remove
  • Delete assets with zero references.
5. Verify
  • Run ./gradlew buildPlugin and check that the plugin still loads correctly without missing resource exceptions.
  • Run ./gradlew testClasses, ./gradlew test and ./gradlew verifyPlugin to ensure no regressions.
  • Suggest manual test steps: Check code changes made and write test steps for a user to execute that trigger changed code paths. If needed, add logging statements to verify code paths successfully run.
6. Report & Review
  • Summarize assets removed.
  • Test Location: Explicitly state where in the IDE user should go to test changed functionality (e.g., "Go to Preferences > Languages & Frameworks > Flutter").
  • Action: Ask user to review deletions closely.
  • Do not commit or push.
  • Provide a suggested Git commit message (e.g., "Cleanup: Remove unused icon [Icon Name]").

© flutter, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/cleanup-unused-assets of flutter/flutter-intellij.

Open the folder on GitHubat commit 5d15348

Compare with similar skills

Cleanup Unused Assets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cleanup Unused Assets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cleanup Unused Assets this skillflutter/flutter-intellij2k—~378Automated safety check: PassBSD-3-Clause
Add Flutter Docusaurus Localematthiasn/lotti1.2k—~1.2kAutomated safety check: PassGPL-3.0
Tm Launcher DesignFar-Se/tabame372—~3.1kAutomated safety check: PassMIT
Flutter Initbear2u/my-skills933—~2.5kAutomated safety check: PassNone
Mobile App UI Designceorkm/mobile-app-ui-design403—~2kAutomated safety check: PassNone
Marionette Flutter Drive Appleancodepl/marionette_mcp482—~11kAutomated safety check: PassApache-2.0

Similar skills

  • Add, complete, or audit a locale across a Flutter application's ARB catalogs and a localized Docusaurus manual, including generated localization code, locale selectors, native platform declarations…

    1.2k GitHub stars~1.2k tokensUpdated today
    MobileAuto-check passed
  • Tm Launcher Design

    Far-Se/tabame

    Create or revise Tabame's Flutter launcher designs: frames, search bars, result rows, palettes, typography, and action dialogs.

    372 GitHub stars~3.1k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Flutter Init

    bear2u/my-skills

    A skill your agent uses when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack

    933 GitHub stars~2.5k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Mobile App UI Design

    ceorkm/mobile-app-ui-design

    Design high-quality mobile app UI/UX screens, flows, and components.

    403 GitHub stars~2k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Marionette Flutter Drive App

    leancodepl/marionette_mcp

    Set up and drive a running Flutter app (debug or profile) with Marionette — an AI agent's hands and eyes for the app.

    482 GitHub stars~11k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Flutter Screenshot

    JustLookAtNow/pt_mate

    Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

    503 GitHub stars~511 tokensUpdated 4 days ago
    MobileAuto-check passed

More from flutter/flutter-intellij

All 14 skills in this repo
  • Release Plugin

    flutter/flutter-intellij

    Prepare and execute a new release for the flutter-intellij plugin, including updating dependencies, compatibility bounds, changelogs, and verification.

    2k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Add Missing Unit Test

    flutter/flutter-intellij

    Add a new unit test for a class that currently lacks one or add a new test case to an existing test file, verifying improvement with Kover.

    2k GitHub stars~591 tokensUpdated yesterday
    Auto-check passed
  • Audit Accessibility

    flutter/flutter-intellij

    Ensure the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.

    2k GitHub stars~520 tokensUpdated yesterday
    Auto-check passed
  • Audit Dependencies

    flutter/flutter-intellij

    Optimize plugin size and security by removing unused dependencies and updating outdated libraries.

    2k GitHub stars~475 tokensUpdated yesterday
    Auto-check passed
  • Audit UI Thread Safety

    flutter/flutter-intellij

    Prevent UI freezes and ensure a responsive user experience by validating threading rules and migrating blocking calls off the Event Dispatch Thread (EDT).

    2k GitHub stars~518 tokensUpdated yesterday
    Auto-check passed
  • Cleanup Code Inspections

    flutter/flutter-intellij

    Reduce technical debt and improve code quality by systematically resolving static analysis warnings.

    2k GitHub stars~429 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Cleanup Unused Assets

What does Cleanup Unused Assets do?

Reduce plugin size by scanning resources/icons and removing unreferenced assets. Cleanup Unused Assets is an agent skill from flutter/flutter-intellij. Reduce plugin size by scanning resources/icons and removing unreferenced assets.

When should I use Cleanup Unused Assets?

Cleanup Unused Assets fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Cleanup Unused Assets in Claude Code?

Run `npx skills add flutter/flutter-intellij --skill cleanup-unused-assets -a claude-code`. Or copy the skill folder (.agents/skills/cleanup-unused-assets in flutter/flutter-intellij) into .claude/skills/cleanup-unused-assets in your project. Claude Code loads it when a task matches its description.

How do I install Cleanup Unused Assets in Codex?

Run `npx skills add flutter/flutter-intellij --skill cleanup-unused-assets -a codex`. Or copy the skill folder (.agents/skills/cleanup-unused-assets in flutter/flutter-intellij) into .agents/skills/cleanup-unused-assets in your project. Codex loads it when a task matches its description.

Can I use Cleanup Unused Assets in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flutter/flutter-intellij --skill cleanup-unused-assets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cleanup-unused-assets, .gemini/skills/cleanup-unused-assets, .github/skills/cleanup-unused-assets and .opencode/skills/cleanup-unused-assets in your project.

What does Cleanup Unused Assets need to run?

SKILL.md names no scripts, command-line tools or credentials: Cleanup Unused Assets is instructions for the agent only.

Does Cleanup Unused Assets access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cleanup Unused Assets safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cleanup Unused Assets use?

Cleanup Unused Assets is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cleanup Unused Assets use?

About 378 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cleanup Unused Assets?

Skills that share tags, products or a category with Cleanup Unused Assets: Add Flutter Docusaurus Locale (matthiasn/lotti, 1.2k stars), Tm Launcher Design (Far-Se/tabame, 372 stars), Flutter Init (bear2u/my-skills, 933 stars) and Mobile App UI Design (ceorkm/mobile-app-ui-design, 403 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cleanup Unused Assets?

flutter (a GitHub organization) maintains it in flutter/flutter-intellij, which has 2,017 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.

Source: flutter/flutter-intellij on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.