Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/google-ai-edge/litert-samplesnpx agentmods add skills/google-ai-edge/litert-samples/benchmark-on-ddpWrote 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.
[](https://agentmods.dev/skills/google-ai-edge/litert-samples/benchmark-on-ddp)<a href="https://agentmods.dev/skills/google-ai-edge/litert-samples/benchmark-on-ddp"><img src="https://agentmods.dev/badge/skills/google-ai-edge/litert-samples/benchmark-on-ddp/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.
<a href="https://agentmods.dev/skills/google-ai-edge/litert-samples/benchmark-on-ddp"><img src="https://agentmods.dev/badge/skills/google-ai-edge/litert-samples/benchmark-on-ddp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.02114 |
| Opus 5.5 | $0.00050 | $0.00846 |
| Sonnet 5.5 | $0.00025 | $0.00423 |
| Haiku 4.5 | $0.00012 | $0.00211 |
Grade A, and why
benchmark-on-ddp scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Benchmark on DDP
A board row is done when three things hold:
- it comes from the
results.pbof one benchmark job, with the delegate and the nodes it replaced (N/M) from that job'sruntime_info.pb, or from the log'sReplacing N out of Mline where a session has no such file, - it names the model file, the platform, the device id, the accelerator and the
benchmark_modelrelease, data/board.jsonwas rebuilt fromdata/measurements.jsonland the page shows it.
A number without those is not a row. This skill covers .tflite models on LiteRT; a LiteRT-LM
bundle is one litert benchmark <bundle>.litertlm --ddp session per backend, collected by collect_lm.py (the board README, step 5). Every DDP session consumes device time billed to the Google Cloud project; the dry run prints every command it would run, so read it first. A run on the Mac you are on bills nothing.
Before you start
python3with PyYAML, andprotocon PATH (brew install protobuf, orapt install protobuf-compiler).- For new DDP sessions:
gcloud auth application-default login, a project with the Device Run API enabled (run_matrix.py --gcp-projectorLITERT_GCP_PROJECT), and thelitertCLI of LiteRT-CLI with the--ddptarget (release 0.2.1 or newer;litert-cli-nightlyhas it too). Its DDP runs default to the LiteRT 2.2.0benchmark_model(0.2.1); a row carries the version the job ran:
pip install litert-cli
- For rows from a macOS host (Apple silicon;
run_local.pyexits on any other machine): nothing more; it fetches the macOS binary of the pinned release.
Loop
Work from the board folder, cd benchmark/leaderboard; every command below is relative to it, and the driver sits in ../driver/.
1. One model, one matrix entry. In ../driver/matrix.yaml add repo (the Hugging Face repo), file (one .tflite; a repo with several variants gets one entry per
variant you want on the board), task (the repo's pipeline tag) and accelerators. Platforms and DDP devices are listed once under platforms.
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.
- 1mo ago Changed · +10 lines 67ed543134a0
- 1mo ago Changed 01387cc72e20
- 2mo ago Changed e9ae6626c200
- 2mo ago Changed 3d00a0718729
- 2mo ago First seen · 86 lines · 124 tokens per session scan A 2b7b4dbf6ab4
benchmark-on-ddp is a skill published in the GitHub repository google-ai-edge/litert-samples (508 stars, last pushed 5d ago), licensed Apache-2.0. It adds 124 tokens to every session and 2,114 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.
benchmark-on-ddp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| benchmark-on-ddpgoogle-ai-edge/litert-samples | Skill | 508 | 5d ago | Apache-2.0 | A | 124 | Claude Code, Codex |
| kotlin-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 55 | Claude Code |
| android-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 64 | Claude Code |
| solopi-aialipay/SoloPi | Skill | 6.8k | yesterday | Apache-2.0 | A | 82 | Codex |
| argent-react-native-app-workflowsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| argent-tv-interactsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 691 | 6d ago | MIT | A | 80 | Claude Code, Codex |