hailo_model_zoo: Skill for Claude Code

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

hailo-optimize is a skill for Claude Code from hailo-ai/hailo_model_zoo. It costs 67 tokens per session (2,444 once invoked), scanned A, original, MIT.

A model-conversion step that optimizes and quantizes a Hailo HAR file for a Hailo hardware accelerator. Quantization reduces the numerical precision used by a model so it can run on the target device.

In plain words
What is it for?
It helps use calibration data, apply normalization and post-processing settings, and create an optimized HAR file for Hailo10H, Hailo15H, or Hailo15L hardware.
Why use it?
It prepares a parsed model for deployment by applying the matching model settings and checking the result against a signal-quality threshold.

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-optimize/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-optimize

README.md
[![agentmods](https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-optimize/github.svg)](https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-optimize)
Your own site
<a href="https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-optimize"><img src="https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-optimize/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-optimize

Your own site · 80×15
<a href="https://agentmods.dev/skills/hailo-ai/hailo_model_zoo/hailo-optimize"><img src="https://agentmods.dev/badge/skills/hailo-ai/hailo_model_zoo/hailo-optimize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,444 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.00067 $0.02444
Opus 5 $0.00034 $0.01222
Sonnet 5 $0.00013 $0.00489
Haiku 4.5 $0.00007 $0.00244

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

Security

Grade A, and why

hailo-optimize 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-optimize/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hailo Optimize

Second stage of the DFC flow: take a parsed .har from /hailo-parse and produce a quantized <model_name>_optimized.har. This step applies a model script (ALLS commands — normalization, optimization flavor, NMS postprocess, fine-tune, etc.) and runs the DFC's quantization with a calibration set.

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
<parsed.har> yes Output of /hailo-parse.
[hw_arch] no One of hailo10h (default), hailo15h, hailo15l.

Follow-up questions: calibration source (numpy .npy / .npz, image directory, or list of image paths), and whether to use a custom ALLS instead of the auto-matched one.

Workflow

1. Resolve inputs

  • Verify <parsed.har> exists.
  • model_name = HAR filename stem (strip a trailing _parsed if present).
  • hw_arch defaults to hailo10h.
  • Confirm hailo_sdk_client import works.

2. Auto-match ALLS (silent)

Look up an ALLS file in this priority order:

  1. hailo_model_zoo/cfg/alls/<hw_arch>/performance/<model_name>.alls
  2. hailo_model_zoo/cfg/alls/<hw_arch>/base/<model_name>.alls
  3. hailo_model_zoo/cfg/alls/generic/<model_name>.alls

hailo10h has no dedicated subdir — for it, only generic/ is consulted.

Apply the same name-matching rules as /hailo-parse (case-insensitive, -_, version-suffix stripping).

On a hit: load the file as the model script and log Using Model Zoo ALLS: hailo_model_zoo/cfg/alls/<...>/<name>.alls.

On a miss: compose a minimal default and show it to the user before applying:

normalization1 = normalization([0.0, 0.0, 0.0], [255.0, 255.0, 255.0])
model_optimization_flavor(optimization_level=2)

(Use the mean_list / std_list from the matched parser YAML, if /hailo-parse passed them along; otherwise the 0/255 defaults assume image input in 0–255 range.)

3. Model-script command reference

Read the full file on GitHub · 163 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 · 163 lines · 67 tokens per session scan A 3074d47bef3d

Subscribe to this mod's changes

hailo-optimize is a skill published in the GitHub repository hailo-ai/hailo_model_zoo (708 stars, last pushed 7d ago), licensed MIT. It adds 67 tokens to every session and 2,444 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