setup-local-tools
Skill by MartinStyk
Guides an AI agent through checking and installing the local tools for the ApkAnalyzer Android repo, including gh, JDK 25, the Android SDK and the Firebase CLI. Aimed at developers setting up a new machine or onboarding to the repo.
Install setup-local-tools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MartinStyk/apk-analyzer /tmp/apk-analyzer && mkdir -p ~/.claude/skills && cp -r /tmp/apk-analyzer/.claude/skills/setup-local-tools ~/.claude/skills/setup-local-toolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/MartinStyk/apk-analyzer /tmp/apk-analyzer && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/apk-analyzer/.claude/skills/setup-local-tools ~/.gemini/antigravity-cli/skills/setup-local-toolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The setup-local-tools skill helps an AI agent check and install the local tools needed to build the ApkAnalyzer Android repo. It covers the GitHub CLI (gh), a JDK 25, the Android SDK platform 37 and build-tools, and optional Android CLI and Firebase CLI. The skill starts with check commands such as java -version and gh auth status, and only installs what is missing.
It gives install steps for Windows, macOS and Linux using winget, Homebrew and apt. It also lists tools the repo does not need, such as Node.js and a standalone JDK when Android Studio or Gradle auto-provisioning is available. It is aimed at developers onboarding to this repo or setting up a new machine, including agent-only boxes.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment checksRuns checks such as java -version, ANDROID_HOME and gh auth status before installing anything.
- GitHub CLI setupInstalls gh on Windows, macOS or Linux and walks through gh auth login.
- JDK 25 setupInstalls Temurin 25 or openjdk-25-jdk when no suitable JDK is available.
- Android SDK setupInstalls platform 37 and build-tools with sdkmanager when Android Studio is not installed.
- Android CLI installOptional install of the Android CLI for Compose previews and selector-based taps.
- Firebase CLI setupOptional standalone Firebase CLI install and login for Crashlytics and Analytics queries.
- Verification checklistConfirms gh auth status, firebase login:list and a debug build with ./gradlew assembleDebug.
- Firebase config noteExplains that app/google-services.json is committed and should not be regenerated without reason.
- Troubleshooting gotchasCovers PATH refresh after installs and INSTALL_FAILED_VERSION_DOWNGRADE errors.
What you need
- GitHub account for gh auth login
- JDK 25 or Android Studio
- Android SDK platform 37
- Firebase CLI login for the apkanalyzer project (optional)
- Windows, macOS or Linux
Try asking
- Check whether my machine has the tools needed for this repo.
- Set up the GitHub CLI and log me in.
- Install the Android SDK platform 37 for this project.
Good to know
- Firebase login refuses to run in a non-interactive shell.
- gh auth login's arrow-key menu needs a real terminal.
- Manual Android SDK install is meant for machines without Android Studio.
- Tools installed mid-session may need a new terminal before they are found.
Security check
C- Downloads a script from the internet and runs itIn
.claude/skills/setup-local-tools/SKILL.md:curl -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"` (swap `windows_x86_64` f - Asks for administrator rights (sudo)In
.claude/skills/setup-local-tools/SKILL.md:sudo
Checked automatically: .claude/skills/setup-local-tools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to setup-local-tools
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
setup-local-tools: common questions
Do I need to install JDK 25 manually?
Not always. The source says Android Studio ships a bundled runtime and Gradle can auto-download JDK 25, so a manual install is only needed in cases such as offline machines.
Does this repo use an MCP server?
No. The source says no MCP server is configured because agents can run gh and firebase directly through the shell.
Is the Firebase CLI needed to build the app?
No. The source says the Firebase CLI is only for ad-hoc Crashlytics and Analytics queries, not for building or running the app.
How do I install setup-local-tools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is setup-local-tools free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is setup-local-tools safe to use?
It scores 70 of 100. Grades: maintenance A, licence C, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to setup-local-tools?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
