hailo_model_zoo: Skill for Claude Code

.claude/skills/hailo-compile/SKILL.md

hailo-compile is a skill for Claude Code from hailo-ai/hailo_model_zoo. It costs 55 tokens per session (1,307 once invoked), scanned A, original, MIT.

A model-compilation step that turns an optimized Hailo HAR file into a HEF binary for deployment on a Hailo accelerator. The HEF is the compiled file that runs on the hardware.

In plain words
What is it for?
It helps compile the optimized model, choose or detect the target hardware architecture, and produce the deployable HEF file.
Why use it?
It converts a quantized model into the device-ready format needed for execution and also saves a compiled HAR with metadata for later tools.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is hailo-ai/hailo_model_zoo's own configuration. It tells Claude Code how to work on hailo_model_zoo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hailo_model_zoo configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/hailo-ai/hailo_model_zoo/master/.claude/skills/hailo-compile/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hailo-ai/hailo_model_zoo

Made for: Claude Code.

Wrote 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.

agentmods badge for hailo-compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-compile/github.svg)](https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-compile)
Your own site
<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.

agentmods 80×15 button for hailo-compile

Your own site · 80×15
<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>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01307
Opus 5 $0.00028 $0.00654
Sonnet 5 $0.00011 $0.00261
Haiku 4.5 $0.00006 $0.00131

Measured 7d ago against content hash 31426e014a65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 7d 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.

.claude/skills/hailo-compile/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 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 _optimized if present).
  • hw_arch is read from the HAR; if unavailable, ask the user (or default to hailo10h).

2. Run compile

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>.hef exists and report its size and location.
  • Inspect the HEF metadata with hailortcli parse-hef <model_name>.hef (requires HailoRT installed).
  • Per-layer profiler (static)hailo profiler <model_name>_compiled_model.har produces 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 devicehailortcli run2 set-net <model_name>.hef runs inference with random inputs as a quick sanity check (verify the exact form with hailortcli run --helprun2 always requires -m <mode>).

Read the full file on GitHub · 87 lines

Changes

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.

  1. 7d ago First seen · 87 lines · 55 tokens per session scan A 31426e014a65

Subscribe to this mod's changes

hailo-compile is a skill published in the GitHub repository hailo-ai/hailo_model_zoo (708 stars, last pushed 8d ago), licensed MIT. It adds 55 tokens to every session and 1,307 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

voyager-launch

Complete one-shot Voyager SDK launcher for Axelera AI Metis pipelines and demos. Use when the user asks to build, create, launch, run, verify, package, open a browser result viewer, or show results for a complete AI vision pipeline from a natural-language request (including when they want to debug or evaluate a…

fxd0h/Axelera-Voyager-Local-Assistant · 162 tokens

voyager-list-models

List and search models in the Voyager SDK model zoo for Axelera AI hardware. Use when the user wants to find available models by task, framework, or dataset.

fxd0h/Axelera-Voyager-Local-Assistant · 39 tokens

voyager-new-pipeline

Create a YAML pipeline configuration for Axelera AI hardware using the Voyager SDK. Use when the user wants to design detection, classification, segmentation, pose, cascade, or parallel pipelines and explicitly wants YAML-only design. Do not use to build, run, or validate a runnable pipeline; prefer voyager-launch for…

fxd0h/Axelera-Voyager-Local-Assistant · 71 tokens

voyager-add-model

Add a custom model to the Voyager SDK model zoo for Axelera AI hardware. Use when the user wants to integrate a new PyTorch, ONNX, timm, or Ultralytics model.

fxd0h/Axelera-Voyager-Local-Assistant · 45 tokens

voyager-deploy

Compile and deploy a model pipeline for Axelera AI hardware using the Voyager SDK, especially custom or non-prebuilt models. Use when the user explicitly asks for compilation, quantization, or calibration, or wants to deploy or optimize a model for Axelera APU. For prebuilt model-zoo networks or complete runnable…

fxd0h/Axelera-Voyager-Local-Assistant · 74 tokens

voyager-run

Execute inference.py for an already-selected Voyager SDK model or pipeline on Axelera AI Metis hardware with an explicit source such as video, image, USB, RTSP, dataset, or fakevideo. Use when the user provides or already has the model/pipeline and wants only a run/test/stream command. Do not create, package…

fxd0h/Axelera-Voyager-Local-Assistant · 92 tokens