Borrowing it
Nothing to install: this file belongs to hailo-ai/hailo_model_zoo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hailo-ai/hailo_model_zoo/master/.claude/skills/hailo-compile/SKILL.mdgit clone --depth 1 https://github.com/hailo-ai/hailo_model_zooWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-compile)<a href="https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-compile"><img src="https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-compile/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-compile"><img src="https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.01478 |
| Opus 5.5 | $0.00022 | $0.00591 |
| Sonnet 5.5 | $0.00011 | $0.00296 |
| Haiku 4.5 | $0.00006 | $0.00148 |
Grade A, and why
hailo-compile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hailo Compile
Third stage of the DFC flow: take the quantized <model_name>_optimized.har from /hailo-optimize and produce a <model_name>.hef that runs on the Hailo accelerator.
This skill is shipped with the Hailo Model Zoo. It assumes the DFC wheel (hailo_sdk_client) is installed in the active virtualenv.
Inputs
| Arg | Required | Notes |
|---|---|---|
<optimized.har> |
yes | Output of /hailo-optimize. |
[hw_arch] |
no | Read from the HAR if possible; otherwise default hailo10h. |
Workflow
1. Resolve inputs
- Verify
<optimized.har>exists. model_name= HAR filename stem (strip a trailing_optimizedif present).hw_archis read from the HAR; if unavailable, ask the user (or default tohailo10h).
2. Run compile
hailomz compile (and runner.compile() when driven through it) rewrites the HAR named after the network in the current directory — the same optimized HAR this stage reads from. Back up the optimized HAR under a distinct name first and checksum the file you're about to compile; losing the optimized HAR to a compile is easy to do and the loss is silent. Compile is also CPU-only, so set CUDA_VISIBLE_DEVICES="" before running it — otherwise it can hold a GPU that an optimization job elsewhere needs.
cp <optimized.har> <optimized.har>.bak
md5sum <optimized.har> > <optimized.har>.md5
from hailo_sdk_client import ClientRunner
runner = ClientRunner(har="<optimized.har>")
hef = runner.compile()
with open("<model_name>.hef", "wb") as f:
f.write(hef)
runner.save_har("<model_name>_compiled_model.har")
The compiled HAR carries the metadata the profiler and hailo har extract consume. The _compiled_model.har suffix matches the DFC tutorial (DFC_3_Compilation_Tutorial.ipynb) and the compilation.rst documentation — downstream tooling expects this convention.
3. Verify
- Confirm
<model_name>.hefexists and report its size and location. - The compile log line
Applying selected partition to N contextsgives the context count — report it. It's the number that explains a multi-context model's FPS. - Inspect the HEF metadata with
hailortcli parse-hef <model_name>.hef(requires HailoRT installed). - Per-layer profiler (static) —
hailo profiler <model_name>_compiled_model.harproduces a static per-layer report. Note: for multi-context models (most large models), this report does not include performance / FPS numbers without runtime data. - Profiler with runtime data (full FPS / utilization) — the documented two-step flow for accurate performance on multi-context models:
hailortcli run2 -m raw measure-fw-actions --output-path runtime.json set-net <model_name>.hef hailo profiler <model_name>_compiled_model.har --runtime-data runtime.json --out-path runtime_profiler.html - Smoke test on the device —
hailortcli run2 set-net <model_name>.hefruns inference with random inputs as a quick sanity check (verify the exact form withhailortcli run --help—run2always requires-m <mode>).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · +8 lines 0f4c91ebf638
- 2mo ago First seen · 87 lines · 55 tokens per session scan A 31426e014a65
hailo-compile is a skill published in the GitHub repository hailo-ai/hailo_model_zoo (722 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 1,478 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
hailo-compile compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hailo-compilehailo-ai/hailo_model_zoo | Skill | 722 | 5d ago | MIT | A | 55 | Claude Code |
| yolo-exportultralytics/skills | Skill | 35 | yesterday | AGPL-3.0 | A | 120 | Claude Code, Codex |
| voyager-launchfxd0h/Axelera-Voyager-Local-Assistant | Skill | 4 | 3mo ago | MIT | A | 162 | Claude Code |
| voyager-list-modelsfxd0h/Axelera-Voyager-Local-Assistant | Skill | 4 | 3mo ago | MIT | A | 39 | Claude Code |
| voyager-new-pipelinefxd0h/Axelera-Voyager-Local-Assistant | Skill | 4 | 3mo ago | MIT | A | 71 | Claude Code |
| voyager-add-modelfxd0h/Axelera-Voyager-Local-Assistant | Skill | 4 | 3mo ago | MIT | A | 45 | Claude Code |
| voyager-deployfxd0h/Axelera-Voyager-Local-Assistant | Skill | 4 | 3mo ago | MIT | A | 74 | Claude Code |