Registry / google-ai-edge

google-ai-edge/litert-samples/litert-lm

Builds an Android app that runs an open text LLM on the device, on the CPU or the GPU, with the LiteRT-LM Kotlin API (com.google.ai.edge.litertlm:litertlm-android). Use this skill when creating a chat, summarization, or extraction feature with a .litertlm model from Hugging Face litert-community (Gemma, Qwen, Llama, Phi), including the Gradle dependency, the GPU manifest entries, getting the model file onto the device, Engine initialization off the main thread, a streamed multi-turn Conversation

Agent skill · version 0.0.0-main.1794521403.g8630c5b · from google-ai-edge/litert-samples

Install

npx yarkr-cli add skill:google-ai-edge/litert-samples/litert-lm

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:google-ai-edge/litert-samples/litert-lm
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:google-ai-edge/litert-samples/litert-lm

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:google-ai-edge/litert-samples/litert-lm

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.