
Litert google tensor
Compiles LiteRT (.tflite) models ahead-of-time for Google Tensor TPUs (Tensor G5 on Pixel 10, Tensor G6 on Pixel 11) locally on Linux x86_64
- Scripts
- Kotlin, Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 24.4K
- Last commit
- today
- License
- Apache-2.0
- Listing updated
- today
When your agent uses it
Compiles LiteRT (.tflite) models ahead-of-time for Google Tensor TPUs (Tensor G5 on Pixel 10, Tensor G6 on Pixel 11) locally on Linux x86_64 or on Google Colab (--colab on macOS, Windows, or ARM hosts), benchmarks them on a USB-attached Pixel with LiteRT's benchmark_model (NPU latency, peak memory, TPU tile time, TPU energy, optional CPU baseline), and packages compiled models for an Android Gradle app as a Google Play AI pack with the Tensor NPU runtime module and a Kotlin loader, applies it to the app and verifies it on a Pixel. Use when the user asks to compile, AOT-compile, or prepare a .tflite model for the Pixel TPU/NPU, check whether a .tflite is already Tensor-compiled, measure on-device NPU performance of a compiled model, or package or deploy a compiled model into their Android app (or replace the one it ships). Don't use for Qualcomm, MediaTek, or Samsung NPUs, GPU-only benchmarking, LiteRT-LM or LLM (.litertlm) models, on-device JIT compilation, non-Gradle builds, or publishing to Google Play.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Kotlin and Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 21 files (554 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Install
Copy the skill folder to ~/.claude/skills/litert-google-tensor to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/litert-google-tensor &&
cp -R "$tmp/skills/platform-devices/litert-google-tensor" ~/.claude/skills/litert-google-tensor &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/litert-google-tensor inside it instead.
Copy the skill folder to ~/.agents/skills/litert-google-tensor to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/litert-google-tensor &&
cp -R "$tmp/skills/platform-devices/litert-google-tensor" ~/.agents/skills/litert-google-tensor &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/litert-google-tensor inside it instead.
Copy the skill folder to ~/.cursor/skills/litert-google-tensor to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/litert-google-tensor &&
cp -R "$tmp/skills/platform-devices/litert-google-tensor" ~/.cursor/skills/litert-google-tensor &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/litert-google-tensor inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/google/skills.git --path skills/platform-devices/litert-google-tensorOr copy the folder to ~/.gemini/skills/litert-google-tensor yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/litert-google-tensor:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/litert-google-tensor &&
cp -R "$tmp/skills/platform-devices/litert-google-tensor" ~/.copilot/skills/litert-google-tensor &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/litert-google-tensor inside it instead.
Get the folder:
git clone --depth 1 https://github.com/google/skills.gitThen copy skills/skills/platform-devices/litert-google-tensor into your agent's skills folder as litert-google-tensor. Agents that support SKILL.md read one folder per skill.
Litert google tensor FAQ
How do I install Litert google tensor in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/litert-google-tensor to use it in all your projects, or to .claude/skills/litert-google-tensor in one project.
Does Litert google tensor run scripts?
Yes. It runs Kotlin and Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Litert google tensor?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
More from google/skills

Google platform decision and setup guidance, loaded on demand from Google's skill catalog
- Open source
- 24.4K GitHub stars

Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services an
- Open source
- 24.4K GitHub stars
- Cloud and infrastructure

Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and APIs, cover
- Open source
- 24.4K GitHub stars
- Cloud and infrastructure

Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resour
- Open source
- 24.4K GitHub stars
- Cloud and infrastructure

Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter,
- Open source
- 24.4K GitHub stars

Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its
- Open source
- 24.4K GitHub stars