Creator · google-ai-edge
Last updated · Sep 4, 2026
Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, g
Creator · google-ai-edge
Last updated · Sep 4, 2026
Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, g
Creator · google-ai-edge
Last updated · Sep 4, 2026
Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, g
Creator · google-ai-edge
Last updated · Sep 4, 2026
Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, g
Sandbox only
Install targets
Codex install prompt
Install the "litert-conversion-workflow" agent skill from https://github.com/google-ai-edge/litert-samples/tree/main/skills/litert-conversion-workflow. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"google-ai-edge-litert-conversion-workflow","task":"Install litert-conversion-workflow","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Maintenance
fresh
2d since push
Risk
Risky
Dependency or permission surface needs review
GitHub quality
416
73/100 Quality · 72/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
416 GitHub stars
Repo activity
416 stars, 116 forks
Maintenance
2d since push
License
Apache-2.0
Install
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
Agent should check
Copy prompt
Task: Use litert-conversion-workflow in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install
Install command: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
LLM text format
/api/skills/google-ai-edge-litert-conversion-workflow/install?format=text
Find alternatives
/api/skills/search?q=litert-conversion-workflow&limit=3
Agent prompt
Use litert-conversion-workflow for this task. Review https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install, then install with: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/google-ai-edge-litert-conversion-workflow
LLM text
/api/registry/manifest/google-ai-edge-litert-conversion-workflow?format=text
Install alias
/api/registry/install/google-ai-edge-litert-conversion-workflow
Recommend
/api/registry/recommend?task=Use%20litert-conversion-workflow%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Shortlist this skill and compare it with close alternatives before production adoption.
Role in stack
Companion skill
Primary fit
Research agents
Trust label
Strong shortlist
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO416 GitHub stars
Stars/forks activity
INFO416 stars, 116 forks; issue activity unavailable in current metadata
Recent maintenance
PASS2d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: litert-conversion-workflow description: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. ---
# LiteRT-LM conversion workflow
A conversion is done when three things hold, in this order:
1. the bundle loads and generates through the LiteRT-LM engine (not just the raw interpreter), 2. **output quality is gated against the source model** — a floor gate plus a task-level parity check, not a smoke test, 3. it holds up on the deployment path it claims: the target backend, the target device, and multi-turn conversation.
Each step can pass while the next one fails. A bundle that converts can die at engine creation; an engine that generates can be quantization garbage; a model that answers 8/8 single-turn can crash on message two. The gates exist because every one of these has happened.
Scope: models producing a `.litertlm` bundle consumed by the LiteRT-LM engine (`pip install litert-lm`) — text LLMs and vision-language models (a VLM bundle is an LLM bundle plus two vision graphs; `references/vlm-conversion.md` covers the delta). Standalone/classic `.tflite` models go through the `gpu-clean-conversion` → `accuracy-safe-quantization` → `on-device-verification` lane; this skill is the LM sibling and reuses their discipline where it applies.
## Step 0: classify before you convert
Look at `config.json` (`model_type`, `layer_types`, MoE fields, size) **before** running anything. Architecture decides everything downstream, and some structures die at a known point no recipe can route around. `references/architecture-walls.md` is the lookup table: structure → where it dies (export / load / engine / backend) → the error signature you'll see. Check it first; it turns a day of debugging into a table lookup.
Then pick the lane in `references/recipe-selector.md`: plain dense decoders ride a standard export; hybrids (SSM / linear-attention / short-conv) need state-aware export plus executor metadata; reasoning models need template care; MoE and MLA are currently walls.
## Loop
**1. Export with a minimal, extraction-safe template.** The single most common ship-killer is not math — it is the chat template. Export with `use_jinja_template=False` and a minimal ChatML-style template swapped in, so the bundle carries plain prefix/suffix markers and **no Jinja at all**. Vendor templates routinely call Python methods (`.get()`, `.startswith()`, `.strip()`) that the runtime's minijinja renderer does not implement — such a bundle imports fine and dies on the first message. Details, the multi-turn prefix contract, and the tokenizer traps that pair with this: `references/template-tokenizer-traps.md`.
**2. Check the bundle before measuring anything.**
```bash python -m litert_lm_builder.litertlm_peek_main --litertlm_file model.litertlm ```
`prompt_templates`-only = safe. A `jinja_prompt_template` carrying Python-method calls = the first-message crasher. Also confirm the stop tokens and (for hybrids) the executor-metadata section are present.
**3. Quantize on the LLM lane.** int8 dynamic is the safe default; int4 must be **blockwise** (block-32 quality, block-128 for ~4B / iPhone section limits) — channelwise int4 collapses decoders while still passing smoke tests. Conv/scan layers of hybrids stay float. The decision facts and the recipe mechanics: `references/recipe-selector.md` §Quantization, plus the `accuracy-safe-quantization` skill for the general ladder.
**4. Gate quality — floor, parity, then structure.** Run the gate stack in `references/verification-gates.md`:
- **8-question floor gate** on the engine (CPU, then the target backend). Catches collapse, never proves parity. - **Task parity** (e.g. GSM8K n≥100) against the source model, same prompt and extraction both sides. Reasoning models need max-tokens ≥ 2048 or int4 falsely looks degraded. - **First-token length sweep** — chat-templated prompt lengths are chunked by the engine's prefill planner, and state-carrying models corrupt at *specific lengths* while answering perfectly at others. - **Multi-turn** — single-turn evals structurally cannot catch template-contract violations that kill message two.
**5. Gate on the target device.** Desktop GPU pass ≠ mobile GPU pass (different delegates, different compilers). Record device, backend, runtime version, and speeds next to the quality numbers — the `on-device-verification` skill's rules apply unchanged.
**6. Publish behind the gate.** The upload step must mechanically refuse unless the quality report passed — a collapsed quant that reaches a public repo costs more than every hour the gates cost. Card conventions and the publish checklist: `references/verification-gates.md` §Publish.
## Symptom router
| What you see | Where to look | |---|---| | Export raises in `torch.export` / tracing | `architecture-walls.md` — data-dependent guards (MoE gating, dynamic rope), dtype-in-constant-path traps | | Export OK, engine creation fails: `No KV cache inputs found` | Hybrid on a pre-0.15 runtime — runtime too old for the architecture | | Engine OK, generation dies: `NOT_FOUND ... missing some output TensorBuffers` | Hybrid bundle missing the executor-metadata section (`recipe-selector.md` §Hybrids) | | First message crashes: `unknown method: map has no method named get` | Vendor Jinja embedded in the bundle — re-export per Loop step 1 | | Output is fluent garbage / prompt seems ignored | Tokenizer packaging (`template-tokenizer-traps.md` §Tokenizer) | | Runtime crash: `Token id N is out of range` | Added special tokens dropped from the packaged tokenizer — same file, §Added tokens | | Stop token printed as literal text / model never stops | Stop-token metadata incomplete — §Stop tokens | | Answers fine at some prompt lengths, garbage/empty at others | Prefill-padding state corruption — run the length sweep, `verification-gates.md` | | Message two fails or quality drops mid-conversation | Template prefix contract violated — `template-tokenizer-traps.md` §Multi-turn | | int4 passes the 8-question gate but tanks the benchmark | The floor-gate trap — gate is a floor, parity is the verdict (`verification-gates.md`) | | Every build scores 8/8 and the gate never discriminates | Floor items are saturated — rebuild the gate from borderline cases (`verification-gates.md` §1) | | The converted model *beats* its source | Suspect the harness, not the recipe: a mis-prompted or mis-rendered reference (`verification-gates.md` §2, `vlm-conversion.md` §Gates) | | Scored numbers look plausible but wrong; generation is fine | The scoring-API traps — session reuse and `apply_prompt_template=True` (`verification-gates.md` §0) | | Quality flips only on one backend | 4-layer triage: torch → torch-control → engine-CPU → engine-GPU (`verification-gates.md` §Triage) | | GPU rejects the graph (`not fully delegated`, named op) | `architecture-walls.md` §Backend walls; classic-op rewrites live in `gpu-clean-conversion` | | Vision tower aborts export (`grid_thw`, `cu_seqlens` guards) | Dynamic-resolution tower — static rewrite (`vlm-conversion.md`) | | VLM bundle: "Failed to create conversation" | Structured prompt_templates missing from metadata (`vlm-conversion.md`) | | VLM engine creation fails on device naming GATHER_ND | Patch reorder in the vision tower — raster-order rewrite (`vlm-conversion.md`) | | VLM answers ignore the image / describe the wrong thing | Preprocessing contract (mean/std, NCHW) or embedder injection — gates in `vlm-conversion.md` |
## Watch for
- **Pin and record the toolchain.** litert-torch / litert-converter / litert-lm-builder / ai-edge-quantizer / transformers versions decide what exports and what runs; several walls in the references are version-bounded facts. A conversion note without versions is not reproducible. - **The runtime moves under you.** A wall table entry is a dated fact, not a law — re-test walls on each runtime/converter release, in both directions: walls fall (blocked architectures start working) and regressions appear (bundles that ran stop running). Both have happened in the same release. - **Never diagnose quality without a control.** Run the same eval on the source model with the same prompt and extraction; a broken harness undermeasures everyone and reads as a conversion bug. - **The engine adds behavior the graph does not have** — start-token prepending, prefill chunking, cross-conversation caching. When engine output differs from a raw-graph replay, reproduce the engine's exact token stream before blaming the graph. - **One variable at a time at ship time.** Repair published artifacts from the published files, not from local experiments; verify by checksum that what you gated is what you shipped.
## Output layout
Ship each conversion as a recipe, the same split the model-recipe skills use — export, verification, and repair each separately re-runnable:
``` <model>/ convert_<model>.py export driver: flags, template swap, quant recipe templates/<model>.jinja the minimal template the bundle embeds verify/ gate scripts + their JSON results README.md versions, recipe, gate numbers (device + backend + runtime named), known limitations — honest ones ```
State known limitations on the card in actionable form ("prompts whose templated length lands on 33–37 tokens can end the reply early; adding or removing a word avoids it" — a real example). An honest limitation note survives contact with users; a hidden one becomes an issue report.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for litert-conversion-workflow, ready for a manual X post.
litert-conversion-workflow: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that r... 416 stars https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x
Listing + install path for litert-conversion-workflow: https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x Install: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to google-ai-edge but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow/audit)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)google-ai-edge
@google-ai-edge
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "litert-conversion-workflow" agent skill from https://github.com/google-ai-edge/litert-samples/tree/main/skills/litert-conversion-workflow. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"google-ai-edge-litert-conversion-workflow","task":"Install litert-conversion-workflow","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Maintenance
fresh
2d since push
Risk
Risky
Dependency or permission surface needs review
GitHub quality
416
73/100 Quality · 72/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
416 GitHub stars
Repo activity
416 stars, 116 forks
Maintenance
2d since push
License
Apache-2.0
Install
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
Agent should check
Copy prompt
Task: Use litert-conversion-workflow in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install
Install command: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
LLM text format
/api/skills/google-ai-edge-litert-conversion-workflow/install?format=text
Find alternatives
/api/skills/search?q=litert-conversion-workflow&limit=3
Agent prompt
Use litert-conversion-workflow for this task. Review https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install, then install with: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/google-ai-edge-litert-conversion-workflow
LLM text
/api/registry/manifest/google-ai-edge-litert-conversion-workflow?format=text
Install alias
/api/registry/install/google-ai-edge-litert-conversion-workflow
Recommend
/api/registry/recommend?task=Use%20litert-conversion-workflow%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Shortlist this skill and compare it with close alternatives before production adoption.
Role in stack
Companion skill
Primary fit
Research agents
Trust label
Strong shortlist
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO416 GitHub stars
Stars/forks activity
INFO416 stars, 116 forks; issue activity unavailable in current metadata
Recent maintenance
PASS2d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: litert-conversion-workflow description: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. ---
# LiteRT-LM conversion workflow
A conversion is done when three things hold, in this order:
1. the bundle loads and generates through the LiteRT-LM engine (not just the raw interpreter), 2. **output quality is gated against the source model** — a floor gate plus a task-level parity check, not a smoke test, 3. it holds up on the deployment path it claims: the target backend, the target device, and multi-turn conversation.
Each step can pass while the next one fails. A bundle that converts can die at engine creation; an engine that generates can be quantization garbage; a model that answers 8/8 single-turn can crash on message two. The gates exist because every one of these has happened.
Scope: models producing a `.litertlm` bundle consumed by the LiteRT-LM engine (`pip install litert-lm`) — text LLMs and vision-language models (a VLM bundle is an LLM bundle plus two vision graphs; `references/vlm-conversion.md` covers the delta). Standalone/classic `.tflite` models go through the `gpu-clean-conversion` → `accuracy-safe-quantization` → `on-device-verification` lane; this skill is the LM sibling and reuses their discipline where it applies.
## Step 0: classify before you convert
Look at `config.json` (`model_type`, `layer_types`, MoE fields, size) **before** running anything. Architecture decides everything downstream, and some structures die at a known point no recipe can route around. `references/architecture-walls.md` is the lookup table: structure → where it dies (export / load / engine / backend) → the error signature you'll see. Check it first; it turns a day of debugging into a table lookup.
Then pick the lane in `references/recipe-selector.md`: plain dense decoders ride a standard export; hybrids (SSM / linear-attention / short-conv) need state-aware export plus executor metadata; reasoning models need template care; MoE and MLA are currently walls.
## Loop
**1. Export with a minimal, extraction-safe template.** The single most common ship-killer is not math — it is the chat template. Export with `use_jinja_template=False` and a minimal ChatML-style template swapped in, so the bundle carries plain prefix/suffix markers and **no Jinja at all**. Vendor templates routinely call Python methods (`.get()`, `.startswith()`, `.strip()`) that the runtime's minijinja renderer does not implement — such a bundle imports fine and dies on the first message. Details, the multi-turn prefix contract, and the tokenizer traps that pair with this: `references/template-tokenizer-traps.md`.
**2. Check the bundle before measuring anything.**
```bash python -m litert_lm_builder.litertlm_peek_main --litertlm_file model.litertlm ```
`prompt_templates`-only = safe. A `jinja_prompt_template` carrying Python-method calls = the first-message crasher. Also confirm the stop tokens and (for hybrids) the executor-metadata section are present.
**3. Quantize on the LLM lane.** int8 dynamic is the safe default; int4 must be **blockwise** (block-32 quality, block-128 for ~4B / iPhone section limits) — channelwise int4 collapses decoders while still passing smoke tests. Conv/scan layers of hybrids stay float. The decision facts and the recipe mechanics: `references/recipe-selector.md` §Quantization, plus the `accuracy-safe-quantization` skill for the general ladder.
**4. Gate quality — floor, parity, then structure.** Run the gate stack in `references/verification-gates.md`:
- **8-question floor gate** on the engine (CPU, then the target backend). Catches collapse, never proves parity. - **Task parity** (e.g. GSM8K n≥100) against the source model, same prompt and extraction both sides. Reasoning models need max-tokens ≥ 2048 or int4 falsely looks degraded. - **First-token length sweep** — chat-templated prompt lengths are chunked by the engine's prefill planner, and state-carrying models corrupt at *specific lengths* while answering perfectly at others. - **Multi-turn** — single-turn evals structurally cannot catch template-contract violations that kill message two.
**5. Gate on the target device.** Desktop GPU pass ≠ mobile GPU pass (different delegates, different compilers). Record device, backend, runtime version, and speeds next to the quality numbers — the `on-device-verification` skill's rules apply unchanged.
**6. Publish behind the gate.** The upload step must mechanically refuse unless the quality report passed — a collapsed quant that reaches a public repo costs more than every hour the gates cost. Card conventions and the publish checklist: `references/verification-gates.md` §Publish.
## Symptom router
| What you see | Where to look | |---|---| | Export raises in `torch.export` / tracing | `architecture-walls.md` — data-dependent guards (MoE gating, dynamic rope), dtype-in-constant-path traps | | Export OK, engine creation fails: `No KV cache inputs found` | Hybrid on a pre-0.15 runtime — runtime too old for the architecture | | Engine OK, generation dies: `NOT_FOUND ... missing some output TensorBuffers` | Hybrid bundle missing the executor-metadata section (`recipe-selector.md` §Hybrids) | | First message crashes: `unknown method: map has no method named get` | Vendor Jinja embedded in the bundle — re-export per Loop step 1 | | Output is fluent garbage / prompt seems ignored | Tokenizer packaging (`template-tokenizer-traps.md` §Tokenizer) | | Runtime crash: `Token id N is out of range` | Added special tokens dropped from the packaged tokenizer — same file, §Added tokens | | Stop token printed as literal text / model never stops | Stop-token metadata incomplete — §Stop tokens | | Answers fine at some prompt lengths, garbage/empty at others | Prefill-padding state corruption — run the length sweep, `verification-gates.md` | | Message two fails or quality drops mid-conversation | Template prefix contract violated — `template-tokenizer-traps.md` §Multi-turn | | int4 passes the 8-question gate but tanks the benchmark | The floor-gate trap — gate is a floor, parity is the verdict (`verification-gates.md`) | | Every build scores 8/8 and the gate never discriminates | Floor items are saturated — rebuild the gate from borderline cases (`verification-gates.md` §1) | | The converted model *beats* its source | Suspect the harness, not the recipe: a mis-prompted or mis-rendered reference (`verification-gates.md` §2, `vlm-conversion.md` §Gates) | | Scored numbers look plausible but wrong; generation is fine | The scoring-API traps — session reuse and `apply_prompt_template=True` (`verification-gates.md` §0) | | Quality flips only on one backend | 4-layer triage: torch → torch-control → engine-CPU → engine-GPU (`verification-gates.md` §Triage) | | GPU rejects the graph (`not fully delegated`, named op) | `architecture-walls.md` §Backend walls; classic-op rewrites live in `gpu-clean-conversion` | | Vision tower aborts export (`grid_thw`, `cu_seqlens` guards) | Dynamic-resolution tower — static rewrite (`vlm-conversion.md`) | | VLM bundle: "Failed to create conversation" | Structured prompt_templates missing from metadata (`vlm-conversion.md`) | | VLM engine creation fails on device naming GATHER_ND | Patch reorder in the vision tower — raster-order rewrite (`vlm-conversion.md`) | | VLM answers ignore the image / describe the wrong thing | Preprocessing contract (mean/std, NCHW) or embedder injection — gates in `vlm-conversion.md` |
## Watch for
- **Pin and record the toolchain.** litert-torch / litert-converter / litert-lm-builder / ai-edge-quantizer / transformers versions decide what exports and what runs; several walls in the references are version-bounded facts. A conversion note without versions is not reproducible. - **The runtime moves under you.** A wall table entry is a dated fact, not a law — re-test walls on each runtime/converter release, in both directions: walls fall (blocked architectures start working) and regressions appear (bundles that ran stop running). Both have happened in the same release. - **Never diagnose quality without a control.** Run the same eval on the source model with the same prompt and extraction; a broken harness undermeasures everyone and reads as a conversion bug. - **The engine adds behavior the graph does not have** — start-token prepending, prefill chunking, cross-conversation caching. When engine output differs from a raw-graph replay, reproduce the engine's exact token stream before blaming the graph. - **One variable at a time at ship time.** Repair published artifacts from the published files, not from local experiments; verify by checksum that what you gated is what you shipped.
## Output layout
Ship each conversion as a recipe, the same split the model-recipe skills use — export, verification, and repair each separately re-runnable:
``` <model>/ convert_<model>.py export driver: flags, template swap, quant recipe templates/<model>.jinja the minimal template the bundle embeds verify/ gate scripts + their JSON results README.md versions, recipe, gate numbers (device + backend + runtime named), known limitations — honest ones ```
State known limitations on the card in actionable form ("prompts whose templated length lands on 33–37 tokens can end the reply early; adding or removing a word avoids it" — a real example). An honest limitation note survives contact with users; a hidden one becomes an issue report.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for litert-conversion-workflow, ready for a manual X post.
litert-conversion-workflow: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that r... 416 stars https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x
Listing + install path for litert-conversion-workflow: https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x Install: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to google-ai-edge but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow/audit)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)google-ai-edge
@google-ai-edge
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "litert-conversion-workflow" agent skill from https://github.com/google-ai-edge/litert-samples/tree/main/skills/litert-conversion-workflow. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"google-ai-edge-litert-conversion-workflow","task":"Install litert-conversion-workflow","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Maintenance
fresh
2d since push
Risk
Risky
Dependency or permission surface needs review
GitHub quality
416
73/100 Quality · 72/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
416 GitHub stars
Repo activity
416 stars, 116 forks
Maintenance
2d since push
License
Apache-2.0
Install
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
Agent should check
Copy prompt
Task: Use litert-conversion-workflow in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install
Install command: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
LLM text format
/api/skills/google-ai-edge-litert-conversion-workflow/install?format=text
Find alternatives
/api/skills/search?q=litert-conversion-workflow&limit=3
Agent prompt
Use litert-conversion-workflow for this task. Review https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install, then install with: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/google-ai-edge-litert-conversion-workflow
LLM text
/api/registry/manifest/google-ai-edge-litert-conversion-workflow?format=text
Install alias
/api/registry/install/google-ai-edge-litert-conversion-workflow
Recommend
/api/registry/recommend?task=Use%20litert-conversion-workflow%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Shortlist this skill and compare it with close alternatives before production adoption.
Role in stack
Companion skill
Primary fit
Research agents
Trust label
Strong shortlist
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO416 GitHub stars
Stars/forks activity
INFO416 stars, 116 forks; issue activity unavailable in current metadata
Recent maintenance
PASS2d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: litert-conversion-workflow description: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. ---
# LiteRT-LM conversion workflow
A conversion is done when three things hold, in this order:
1. the bundle loads and generates through the LiteRT-LM engine (not just the raw interpreter), 2. **output quality is gated against the source model** — a floor gate plus a task-level parity check, not a smoke test, 3. it holds up on the deployment path it claims: the target backend, the target device, and multi-turn conversation.
Each step can pass while the next one fails. A bundle that converts can die at engine creation; an engine that generates can be quantization garbage; a model that answers 8/8 single-turn can crash on message two. The gates exist because every one of these has happened.
Scope: models producing a `.litertlm` bundle consumed by the LiteRT-LM engine (`pip install litert-lm`) — text LLMs and vision-language models (a VLM bundle is an LLM bundle plus two vision graphs; `references/vlm-conversion.md` covers the delta). Standalone/classic `.tflite` models go through the `gpu-clean-conversion` → `accuracy-safe-quantization` → `on-device-verification` lane; this skill is the LM sibling and reuses their discipline where it applies.
## Step 0: classify before you convert
Look at `config.json` (`model_type`, `layer_types`, MoE fields, size) **before** running anything. Architecture decides everything downstream, and some structures die at a known point no recipe can route around. `references/architecture-walls.md` is the lookup table: structure → where it dies (export / load / engine / backend) → the error signature you'll see. Check it first; it turns a day of debugging into a table lookup.
Then pick the lane in `references/recipe-selector.md`: plain dense decoders ride a standard export; hybrids (SSM / linear-attention / short-conv) need state-aware export plus executor metadata; reasoning models need template care; MoE and MLA are currently walls.
## Loop
**1. Export with a minimal, extraction-safe template.** The single most common ship-killer is not math — it is the chat template. Export with `use_jinja_template=False` and a minimal ChatML-style template swapped in, so the bundle carries plain prefix/suffix markers and **no Jinja at all**. Vendor templates routinely call Python methods (`.get()`, `.startswith()`, `.strip()`) that the runtime's minijinja renderer does not implement — such a bundle imports fine and dies on the first message. Details, the multi-turn prefix contract, and the tokenizer traps that pair with this: `references/template-tokenizer-traps.md`.
**2. Check the bundle before measuring anything.**
```bash python -m litert_lm_builder.litertlm_peek_main --litertlm_file model.litertlm ```
`prompt_templates`-only = safe. A `jinja_prompt_template` carrying Python-method calls = the first-message crasher. Also confirm the stop tokens and (for hybrids) the executor-metadata section are present.
**3. Quantize on the LLM lane.** int8 dynamic is the safe default; int4 must be **blockwise** (block-32 quality, block-128 for ~4B / iPhone section limits) — channelwise int4 collapses decoders while still passing smoke tests. Conv/scan layers of hybrids stay float. The decision facts and the recipe mechanics: `references/recipe-selector.md` §Quantization, plus the `accuracy-safe-quantization` skill for the general ladder.
**4. Gate quality — floor, parity, then structure.** Run the gate stack in `references/verification-gates.md`:
- **8-question floor gate** on the engine (CPU, then the target backend). Catches collapse, never proves parity. - **Task parity** (e.g. GSM8K n≥100) against the source model, same prompt and extraction both sides. Reasoning models need max-tokens ≥ 2048 or int4 falsely looks degraded. - **First-token length sweep** — chat-templated prompt lengths are chunked by the engine's prefill planner, and state-carrying models corrupt at *specific lengths* while answering perfectly at others. - **Multi-turn** — single-turn evals structurally cannot catch template-contract violations that kill message two.
**5. Gate on the target device.** Desktop GPU pass ≠ mobile GPU pass (different delegates, different compilers). Record device, backend, runtime version, and speeds next to the quality numbers — the `on-device-verification` skill's rules apply unchanged.
**6. Publish behind the gate.** The upload step must mechanically refuse unless the quality report passed — a collapsed quant that reaches a public repo costs more than every hour the gates cost. Card conventions and the publish checklist: `references/verification-gates.md` §Publish.
## Symptom router
| What you see | Where to look | |---|---| | Export raises in `torch.export` / tracing | `architecture-walls.md` — data-dependent guards (MoE gating, dynamic rope), dtype-in-constant-path traps | | Export OK, engine creation fails: `No KV cache inputs found` | Hybrid on a pre-0.15 runtime — runtime too old for the architecture | | Engine OK, generation dies: `NOT_FOUND ... missing some output TensorBuffers` | Hybrid bundle missing the executor-metadata section (`recipe-selector.md` §Hybrids) | | First message crashes: `unknown method: map has no method named get` | Vendor Jinja embedded in the bundle — re-export per Loop step 1 | | Output is fluent garbage / prompt seems ignored | Tokenizer packaging (`template-tokenizer-traps.md` §Tokenizer) | | Runtime crash: `Token id N is out of range` | Added special tokens dropped from the packaged tokenizer — same file, §Added tokens | | Stop token printed as literal text / model never stops | Stop-token metadata incomplete — §Stop tokens | | Answers fine at some prompt lengths, garbage/empty at others | Prefill-padding state corruption — run the length sweep, `verification-gates.md` | | Message two fails or quality drops mid-conversation | Template prefix contract violated — `template-tokenizer-traps.md` §Multi-turn | | int4 passes the 8-question gate but tanks the benchmark | The floor-gate trap — gate is a floor, parity is the verdict (`verification-gates.md`) | | Every build scores 8/8 and the gate never discriminates | Floor items are saturated — rebuild the gate from borderline cases (`verification-gates.md` §1) | | The converted model *beats* its source | Suspect the harness, not the recipe: a mis-prompted or mis-rendered reference (`verification-gates.md` §2, `vlm-conversion.md` §Gates) | | Scored numbers look plausible but wrong; generation is fine | The scoring-API traps — session reuse and `apply_prompt_template=True` (`verification-gates.md` §0) | | Quality flips only on one backend | 4-layer triage: torch → torch-control → engine-CPU → engine-GPU (`verification-gates.md` §Triage) | | GPU rejects the graph (`not fully delegated`, named op) | `architecture-walls.md` §Backend walls; classic-op rewrites live in `gpu-clean-conversion` | | Vision tower aborts export (`grid_thw`, `cu_seqlens` guards) | Dynamic-resolution tower — static rewrite (`vlm-conversion.md`) | | VLM bundle: "Failed to create conversation" | Structured prompt_templates missing from metadata (`vlm-conversion.md`) | | VLM engine creation fails on device naming GATHER_ND | Patch reorder in the vision tower — raster-order rewrite (`vlm-conversion.md`) | | VLM answers ignore the image / describe the wrong thing | Preprocessing contract (mean/std, NCHW) or embedder injection — gates in `vlm-conversion.md` |
## Watch for
- **Pin and record the toolchain.** litert-torch / litert-converter / litert-lm-builder / ai-edge-quantizer / transformers versions decide what exports and what runs; several walls in the references are version-bounded facts. A conversion note without versions is not reproducible. - **The runtime moves under you.** A wall table entry is a dated fact, not a law — re-test walls on each runtime/converter release, in both directions: walls fall (blocked architectures start working) and regressions appear (bundles that ran stop running). Both have happened in the same release. - **Never diagnose quality without a control.** Run the same eval on the source model with the same prompt and extraction; a broken harness undermeasures everyone and reads as a conversion bug. - **The engine adds behavior the graph does not have** — start-token prepending, prefill chunking, cross-conversation caching. When engine output differs from a raw-graph replay, reproduce the engine's exact token stream before blaming the graph. - **One variable at a time at ship time.** Repair published artifacts from the published files, not from local experiments; verify by checksum that what you gated is what you shipped.
## Output layout
Ship each conversion as a recipe, the same split the model-recipe skills use — export, verification, and repair each separately re-runnable:
``` <model>/ convert_<model>.py export driver: flags, template swap, quant recipe templates/<model>.jinja the minimal template the bundle embeds verify/ gate scripts + their JSON results README.md versions, recipe, gate numbers (device + backend + runtime named), known limitations — honest ones ```
State known limitations on the card in actionable form ("prompts whose templated length lands on 33–37 tokens can end the reply early; adding or removing a word avoids it" — a real example). An honest limitation note survives contact with users; a hidden one becomes an issue report.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for litert-conversion-workflow, ready for a manual X post.
litert-conversion-workflow: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that r... 416 stars https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x
Listing + install path for litert-conversion-workflow: https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x Install: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to google-ai-edge but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow/audit)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)google-ai-edge
@google-ai-edge
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsSandbox only
Install targets
Codex install prompt
Install the "litert-conversion-workflow" agent skill from https://github.com/google-ai-edge/litert-samples/tree/main/skills/litert-conversion-workflow. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"google-ai-edge-litert-conversion-workflow","task":"Install litert-conversion-workflow","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Maintenance
fresh
2d since push
Risk
Risky
Dependency or permission surface needs review
GitHub quality
416
73/100 Quality · 72/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
416 GitHub stars
Repo activity
416 stars, 116 forks
Maintenance
2d since push
License
Apache-2.0
Install
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
28.0K Stars
npx skills add assafelovic/gpt-researcher
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
Agent should check
Copy prompt
Task: Use litert-conversion-workflow in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20litert-conversion-workflow%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install
Install command: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/google-ai-edge-litert-conversion-workflow/install
LLM text format
/api/skills/google-ai-edge-litert-conversion-workflow/install?format=text
Find alternatives
/api/skills/search?q=litert-conversion-workflow&limit=3
Agent prompt
Use litert-conversion-workflow for this task. Review https://www.openagentskill.com/api/skills/google-ai-edge-litert-conversion-workflow/install, then install with: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflowRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/google-ai-edge-litert-conversion-workflow
LLM text
/api/registry/manifest/google-ai-edge-litert-conversion-workflow?format=text
Install alias
/api/registry/install/google-ai-edge-litert-conversion-workflow
Recommend
/api/registry/recommend?task=Use%20litert-conversion-workflow%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Shortlist this skill and compare it with close alternatives before production adoption.
Role in stack
Companion skill
Primary fit
Research agents
Trust label
Strong shortlist
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO416 GitHub stars
Stars/forks activity
INFO416 stars, 116 forks; issue activity unavailable in current metadata
Recent maintenance
PASS2d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
Run autonomous deep research over web and local sources
--- name: litert-conversion-workflow description: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that runs on the LiteRT-LM runtime with verified quality - classify the architecture against known runtime walls, pick the recipe family (dense, reasoning, hybrid SSM, VLM), export, quantize, gate the result against the source model, and publish. Use when converting a new LLM or VLM to LiteRT-LM, when a converted bundle crashes on the first message or dies at engine creation, when a quantized model answers worse than its source, or when deciding whether a model is convertible at all. ---
# LiteRT-LM conversion workflow
A conversion is done when three things hold, in this order:
1. the bundle loads and generates through the LiteRT-LM engine (not just the raw interpreter), 2. **output quality is gated against the source model** — a floor gate plus a task-level parity check, not a smoke test, 3. it holds up on the deployment path it claims: the target backend, the target device, and multi-turn conversation.
Each step can pass while the next one fails. A bundle that converts can die at engine creation; an engine that generates can be quantization garbage; a model that answers 8/8 single-turn can crash on message two. The gates exist because every one of these has happened.
Scope: models producing a `.litertlm` bundle consumed by the LiteRT-LM engine (`pip install litert-lm`) — text LLMs and vision-language models (a VLM bundle is an LLM bundle plus two vision graphs; `references/vlm-conversion.md` covers the delta). Standalone/classic `.tflite` models go through the `gpu-clean-conversion` → `accuracy-safe-quantization` → `on-device-verification` lane; this skill is the LM sibling and reuses their discipline where it applies.
## Step 0: classify before you convert
Look at `config.json` (`model_type`, `layer_types`, MoE fields, size) **before** running anything. Architecture decides everything downstream, and some structures die at a known point no recipe can route around. `references/architecture-walls.md` is the lookup table: structure → where it dies (export / load / engine / backend) → the error signature you'll see. Check it first; it turns a day of debugging into a table lookup.
Then pick the lane in `references/recipe-selector.md`: plain dense decoders ride a standard export; hybrids (SSM / linear-attention / short-conv) need state-aware export plus executor metadata; reasoning models need template care; MoE and MLA are currently walls.
## Loop
**1. Export with a minimal, extraction-safe template.** The single most common ship-killer is not math — it is the chat template. Export with `use_jinja_template=False` and a minimal ChatML-style template swapped in, so the bundle carries plain prefix/suffix markers and **no Jinja at all**. Vendor templates routinely call Python methods (`.get()`, `.startswith()`, `.strip()`) that the runtime's minijinja renderer does not implement — such a bundle imports fine and dies on the first message. Details, the multi-turn prefix contract, and the tokenizer traps that pair with this: `references/template-tokenizer-traps.md`.
**2. Check the bundle before measuring anything.**
```bash python -m litert_lm_builder.litertlm_peek_main --litertlm_file model.litertlm ```
`prompt_templates`-only = safe. A `jinja_prompt_template` carrying Python-method calls = the first-message crasher. Also confirm the stop tokens and (for hybrids) the executor-metadata section are present.
**3. Quantize on the LLM lane.** int8 dynamic is the safe default; int4 must be **blockwise** (block-32 quality, block-128 for ~4B / iPhone section limits) — channelwise int4 collapses decoders while still passing smoke tests. Conv/scan layers of hybrids stay float. The decision facts and the recipe mechanics: `references/recipe-selector.md` §Quantization, plus the `accuracy-safe-quantization` skill for the general ladder.
**4. Gate quality — floor, parity, then structure.** Run the gate stack in `references/verification-gates.md`:
- **8-question floor gate** on the engine (CPU, then the target backend). Catches collapse, never proves parity. - **Task parity** (e.g. GSM8K n≥100) against the source model, same prompt and extraction both sides. Reasoning models need max-tokens ≥ 2048 or int4 falsely looks degraded. - **First-token length sweep** — chat-templated prompt lengths are chunked by the engine's prefill planner, and state-carrying models corrupt at *specific lengths* while answering perfectly at others. - **Multi-turn** — single-turn evals structurally cannot catch template-contract violations that kill message two.
**5. Gate on the target device.** Desktop GPU pass ≠ mobile GPU pass (different delegates, different compilers). Record device, backend, runtime version, and speeds next to the quality numbers — the `on-device-verification` skill's rules apply unchanged.
**6. Publish behind the gate.** The upload step must mechanically refuse unless the quality report passed — a collapsed quant that reaches a public repo costs more than every hour the gates cost. Card conventions and the publish checklist: `references/verification-gates.md` §Publish.
## Symptom router
| What you see | Where to look | |---|---| | Export raises in `torch.export` / tracing | `architecture-walls.md` — data-dependent guards (MoE gating, dynamic rope), dtype-in-constant-path traps | | Export OK, engine creation fails: `No KV cache inputs found` | Hybrid on a pre-0.15 runtime — runtime too old for the architecture | | Engine OK, generation dies: `NOT_FOUND ... missing some output TensorBuffers` | Hybrid bundle missing the executor-metadata section (`recipe-selector.md` §Hybrids) | | First message crashes: `unknown method: map has no method named get` | Vendor Jinja embedded in the bundle — re-export per Loop step 1 | | Output is fluent garbage / prompt seems ignored | Tokenizer packaging (`template-tokenizer-traps.md` §Tokenizer) | | Runtime crash: `Token id N is out of range` | Added special tokens dropped from the packaged tokenizer — same file, §Added tokens | | Stop token printed as literal text / model never stops | Stop-token metadata incomplete — §Stop tokens | | Answers fine at some prompt lengths, garbage/empty at others | Prefill-padding state corruption — run the length sweep, `verification-gates.md` | | Message two fails or quality drops mid-conversation | Template prefix contract violated — `template-tokenizer-traps.md` §Multi-turn | | int4 passes the 8-question gate but tanks the benchmark | The floor-gate trap — gate is a floor, parity is the verdict (`verification-gates.md`) | | Every build scores 8/8 and the gate never discriminates | Floor items are saturated — rebuild the gate from borderline cases (`verification-gates.md` §1) | | The converted model *beats* its source | Suspect the harness, not the recipe: a mis-prompted or mis-rendered reference (`verification-gates.md` §2, `vlm-conversion.md` §Gates) | | Scored numbers look plausible but wrong; generation is fine | The scoring-API traps — session reuse and `apply_prompt_template=True` (`verification-gates.md` §0) | | Quality flips only on one backend | 4-layer triage: torch → torch-control → engine-CPU → engine-GPU (`verification-gates.md` §Triage) | | GPU rejects the graph (`not fully delegated`, named op) | `architecture-walls.md` §Backend walls; classic-op rewrites live in `gpu-clean-conversion` | | Vision tower aborts export (`grid_thw`, `cu_seqlens` guards) | Dynamic-resolution tower — static rewrite (`vlm-conversion.md`) | | VLM bundle: "Failed to create conversation" | Structured prompt_templates missing from metadata (`vlm-conversion.md`) | | VLM engine creation fails on device naming GATHER_ND | Patch reorder in the vision tower — raster-order rewrite (`vlm-conversion.md`) | | VLM answers ignore the image / describe the wrong thing | Preprocessing contract (mean/std, NCHW) or embedder injection — gates in `vlm-conversion.md` |
## Watch for
- **Pin and record the toolchain.** litert-torch / litert-converter / litert-lm-builder / ai-edge-quantizer / transformers versions decide what exports and what runs; several walls in the references are version-bounded facts. A conversion note without versions is not reproducible. - **The runtime moves under you.** A wall table entry is a dated fact, not a law — re-test walls on each runtime/converter release, in both directions: walls fall (blocked architectures start working) and regressions appear (bundles that ran stop running). Both have happened in the same release. - **Never diagnose quality without a control.** Run the same eval on the source model with the same prompt and extraction; a broken harness undermeasures everyone and reads as a conversion bug. - **The engine adds behavior the graph does not have** — start-token prepending, prefill chunking, cross-conversation caching. When engine output differs from a raw-graph replay, reproduce the engine's exact token stream before blaming the graph. - **One variable at a time at ship time.** Repair published artifacts from the published files, not from local experiments; verify by checksum that what you gated is what you shipped.
## Output layout
Ship each conversion as a recipe, the same split the model-recipe skills use — export, verification, and repair each separately re-runnable:
``` <model>/ convert_<model>.py export driver: flags, template swap, quant recipe templates/<model>.jinja the minimal template the bundle embeds verify/ gate scripts + their JSON results README.md versions, recipe, gate numbers (device + backend + runtime named), known limitations — honest ones ```
State known limitations on the card in actionable form ("prompts whose templated length lands on 33–37 tokens can end the reply early; adding or removing a word avoids it" — a real example). An honest limitation note survives contact with users; a hidden one becomes an issue report.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for litert-conversion-workflow, ready for a manual X post.
litert-conversion-workflow: Convert a Hugging Face LLM or vision-language model checkpoint into a .litertlm bundle that r... 416 stars https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x
Listing + install path for litert-conversion-workflow: https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=x Install: npx skills add google-ai-edge/litert-samples --skill litert-conversion-workflow
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to google-ai-edge but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow/audit)
[](https://www.openagentskill.com/skills/google-ai-edge-litert-conversion-workflow?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)google-ai-edge
@google-ai-edge
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness