mobile-toolchain-unifier

mobile-toolchain-unifier is a skill for Claude Code, Codex from Harishwarrior/flutter-claude-skills. It costs 146 tokens per session (2,478 once invoked), scanned C, original, MIT.

A toolchain cleanup process for Android, Flutter, and iOS projects. A toolchain is the collection of SDKs, build tools, runtimes, and related versions used to build an app.

In plain words
What is it for?
Use it to audit mobile projects, unify Gradle, Java, NDK, SDK, and Flutter versions, verify compilation, and clean unused emulator or simulator data.
Why use it?
Multiple projects can leave duplicate or conflicting tools, caches, emulators, and simulator files on a machine. This process inventories them, aligns project versions, checks builds, and removes obsolete assets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit mobile projects, unify Gradle, Java, NDK, SDK, and Flutter versions, verify compilation, and clean unused emulator or simulator data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Harishwarrior/flutter-claude-skills --skill mobile-toolchain-unifier
Clone the repo
git clone --depth 1 https://github.com/Harishwarrior/flutter-claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mobile-toolchain-unifier

README.md
[![agentmods](https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier/github.svg)](https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier)
Your own site
<a href="https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier"><img src="https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-toolchain-unifier

Your own site · 80×15
<a href="https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier"><img src="https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/mobile-toolchain-unifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.02478
Opus 5.5 $0.00058 $0.00991
Sonnet 5.5 $0.00029 $0.00496
Haiku 4.5 $0.00015 $0.00248

Measured 1mo ago against content hash 985bffc0b624, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

mobile-toolchain-unifier scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/Library/Android/sdk/ndk/<older-version>
mobile-toolchain-unifier/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mobile Toolchain Unifier

A comprehensive skill for auditing, unifying, and reclaiming disk space across multi-project mobile development workspaces (Flutter, Android native, and iOS).

Overview

Over time, active mobile development machines accumulate duplicate SDKs, conflicting Gradle versions, multiple Java daemons, redundant NDKs, bloated system images, and gigabytes of orphaned simulator runtimes.

This skill provides an automated, non-destructive workflow to:

  1. Audit & Discover: Find all mobile projects across the drive and inventory their toolchain versions.
  2. Unify & Pin: Align all projects onto the latest stable common denominators (Gradle wrapper, AGP, Java LTS, NDK, SDK platforms, Flutter FVM).
  3. Verify Builds: Test compilation across all projects to ensure zero breaking changes.
  4. Purge Obsolete Assets: Remove older toolchain copies, Gradle caches, and legacy simulator runtimes, saving 20–80+ GB of disk space.
  5. Optimize Emulators: Build ultra-lightweight Android emulators with avdslim, uninstall bloatware while keeping Google Play Services & Play Store, and bake <1.5s Golden Snapshots.

Reference Guides

Domain Reference file
AGP, Gradle, Java, NDK & compileSdk Matrix references/android_toolchain_matrix.md
Bloatware Removal, Play Store & avdslim Guide references/emulator_slimming_guide.md
Apple Simulator Slimming & simslim Guide references/simslim_optimization_guide.md

6-Phase Workflow

Phase 1: Audit & Discovery

Scan the drive for all active mobile projects and toolchains.

1. Discover Projects
# Locate Gradle and Flutter configurations across Developer directories
find ~/Developer -maxdepth 5 \( -name "build.gradle" -o -name "build.gradle.kts" -o -name ".fvmrc" \) -not -path "*/build/*" -not -path "*/.gradle/*"
2. Inventory Installed Toolchains
# Android SDK components
sdkmanager --list_installed

# Flutter FVM versions
ls -lh ~/fvm/versions/

# Java runtimes and daemon JVMs
java -version
/usr/libexec/java_home -V
cat ~/.gradle/gradle.properties

# iOS CoreSimulator runtimes and disk images
xcrun simctl runtime list

Read the full file on GitHub · 258 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 258 lines · 146 tokens per session scan C 985bffc0b624

Subscribe to this mod's changes

mobile-toolchain-unifier is a skill published in the GitHub repository Harishwarrior/flutter-claude-skills (72 stars, last pushed 1mo ago), licensed MIT. It adds 146 tokens to every session and 2,478 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.

Related

mobile-toolchain-unifier compared with skills from other repositories

mobile-toolchain-unifier next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobile-toolchain-unifierHarishwarrior/flutter-claude-skillsSkill721mo agoMITC146Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill152ktodayMITA102Claude Code, Codex
android-multiprofilechromium/chromiumSkill25ktodayBSD-3-ClauseA73Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code