create-litert-lm-android-demo-app
Skill by google-ai-edge
Guides an AI assistant to build a standalone LiteRT-LM Android demo app with backend selection and multi-modality support using Bazel 9. It is for developers who ask for a LiteRT-LM demo app on Android.
Install create-litert-lm-android-demo-app
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google-ai-edge/LiteRT-LM /tmp/LiteRT-LM && mkdir -p ~/.claude/skills && cp -r /tmp/LiteRT-LM/agents/skills/create-litert-lm-android-demo-app ~/.claude/skills/create-litert-lm-android-demo-appRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install create-litert-lm-android-demo-app in Claude Code
git clone --depth 1 https://github.com/google-ai-edge/LiteRT-LM /tmp/LiteRT-LM && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LiteRT-LM/agents/skills/create-litert-lm-android-demo-app ~/.gemini/antigravity-cli/skills/create-litert-lm-android-demo-appAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install create-litert-lm-android-demo-app in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through building a standalone LiteRT-LM Android demo app. It covers backend selection and multi-modality support, and it builds with Bazel 9. The skill is meant for requests to create a LiteRT-LM demo app on Android.
The workflow starts by creating a task.md checklist and asking for a project root, a build scenario, an Android SDK and NDK path, and a target device and model. It supports a source build or Maven integration, then implements the UI and state machine, adds LiteRT-LM inference, and runs compliance audits. It assumes no device or emulator is available, so runtime tests are marked as static or build only. It does not cover general Android development without LiteRT-LM or building the core library alone.
Written from the project's SKILL.md and checked against it.
What it can do
- Create task.md checklistCopies the execution steps and constraints into a tracking file for the task.
- Gather setup inputsAsks for the project root, build scenario, Android SDK and NDK, target device and model.
- Source or Maven buildFollows either a source build or Maven integration to obtain the LiteRT-LM library.
- Implement UI and stateBuilds the app layout and state machine before any inference calls are added.
- Integrate LiteRT-LM inferenceAdds real inference to the app, with backend selection and multi-modality support.
- Run compliance auditsSaves review reports with line-numbered evidence for UI, dependency and inference.
What you need
- Android SDK
- Android NDK version 27.3.13750724
- Bazel with bazelisk and Bzlmod (MODULE.bazel)
- Model download from Hugging Face (default gemma-4-E2B-it-litert-lm)
Try asking
- Create a LiteRT-LM demo app for Android with backend selection.
- Build a LiteRT-LM Android demo app using Maven integration.
- Set up a LiteRT-LM Android app with multi-modality support using Bazel 9.
Good to know
- WORKSPACE modification is banned. Use Bzlmod with MODULE.bazel.
- Assumes no device or emulator, so runtime tests are marked as static or build only.
- Real inference is required. Mock inference is not allowed.
- Not for general Android development without LiteRT-LM.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/skills/create-litert-lm-android-demo-app/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/compliance_checklist_dependency.md4 KB -
references/compliance_checklist_inference.md5 KB -
references/compliance_checklist_ui.md11 KB -
references/dependency_maven_integration.md2 KB
Show all 8 files
-
references/dependency_source_build.md6 KB -
references/inference_implementation.md6 KB -
references/ui_layout_and_state.md10 KB
Alternatives to create-litert-lm-android-demo-app
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
create-litert-lm-android-demo-app: common questions
Which Android NDK version does it require?
The skill requires NDK version 27.3.13750724. If no Android SDK is provided, it downloads command-line tools and installs that NDK with sdkmanager.
Which model does it use by default?
The default model is gemma-4-E2B-it-litert-lm from the litert-community page on Hugging Face. The user is asked whether to change it.
Can it test the app on a device?
No. The source says to assume no device or emulator is available, so runtime checks are static or build only.
How do I install create-litert-lm-android-demo-app?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is create-litert-lm-android-demo-app free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is create-litert-lm-android-demo-app safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to create-litert-lm-android-demo-app?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
