agentleFS
hailo-aihailo-ai/hailo-apps/CLAUDE.md

hailo-apps

CLAUDE.md506 starsChanged 7 months agoMITView on GitHub

Auto-generated from .hailo/. Do not edit directly. All skills, instructions, toolsets, knowledge bases, and memory live in .hailo/. Read .hailo/README.md for the complete master index. Always walk through key decisions with the user before building. Ask 2-3 targeted questions to confirm app type, features, and input source. This creates a collaborative workflow and catches misunderstandings early. Only skip questions if the user explicitly says "just build it" or "use defaults". Based on what the task involves, read only the matching…

  • Installs packages

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 0 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All skills, instructions, toolsets, knowledge bases, and memory live in .hailo/.

    line 7
  2. Very specific:

    Read .hailo/README.md for the complete master index.

    line 8
  3. Very specific:

    HEF resolution: Always use resolve_hef_path(path, app_name, arch)

    line 68
  4. Very specific:

    Device sharing: Always use SHARED_VDEVICE_GROUP_ID when creating VDevice

    line 69
  5. Very specific:

    CLI parsers: Use get_pipeline_parser() or get_standalone_parser()

    line 71
  6. Very specific:

    Architecture detection: Use detect_hailo_arch() or --arch flag

    line 72
  7. Very specific:

    USB camera: Always --input usb for auto-detection.

    line 73
  8. Very specific:

    SKILL.md is sufficient: Read SKILL.md + common_pitfalls.md.

    line 74
  9. Very specific:

    Custom background: When user provides a background image, use background.copy() — never blend camera feed.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Hailo Apps — Claude Code Entry Point

Auto-generated from .hailo/. Do not edit directly.

Shared Knowledge

All skills, instructions, toolsets, knowledge bases, and memory live in .hailo/. Read .hailo/README.md for the complete master index.

Interactive Workflow (MUST FOLLOW)

Always walk through key decisions with the user before building. Ask 2-3 targeted questions to confirm app type, features, and input source. This creates a collaborative workflow and catches misunderstandings early. Only skip questions if the user explicitly says "just build it" or "use defaults".

Quick Reference

source setup_env.sh                    # Activate environment (always do this first)
pip install -e .                       # Install in editable mode

Skills (slash commands)

CommandDescription
/hl-build-vlm-appBuild VLM image understanding apps
/hl-build-pipeline-appBuild GStreamer pipeline apps
/hl-build-standalone-appBuild standalone HailoRT apps
/hl-build-agent-appBuild AI agent apps with tool calling
/hl-build-llm-appBuild LLM chat apps
/hl-build-voice-appBuild voice assistant apps

Context Routing Table

Based on what the task involves, read only the matching rows:

If the task mentions...Read these files
VLM, vision, image understanding.hailo/skills/hl-build-vlm-app.md, .hailo/toolsets/vlm-backend-api.md, .hailo/memory/gen_ai_patterns.md
LLM, chat, text generation.hailo/skills/hl-build-llm-app.md, .hailo/instructions/gen-ai-development.md, .hailo/toolsets/gen-ai-utilities.md, .hailo/memory/gen_ai_patterns.md
Agent, tools, function calling.hailo/skills/hl-build-agent-app.md, .hailo/toolsets/gen-ai-utilities.md, .hailo/memory/gen_ai_patterns.md
Voice, STT, TTS, Whisper, speech.hailo/skills/hl-build-voice-app.md, .hailo/toolsets/gen-ai-utilities.md
Pipeline, GStreamer, video, stream.hailo/skills/hl-build-pipeline-app.md, .hailo/instructions/gstreamer-pipelines.md, .hailo/toolsets/gstreamer-elements.md, .hailo/memory/pipeline_optimization.md
Game, interactive, pose game.hailo/skills/hl-build-pipeline-app.md, .hailo/toolsets/pose-keypoints.md, .hailo/toolsets/core-framework-api.md, .hailo/memory/common_pitfalls.md
Standalone, OpenCV, HailoInfer.hailo/skills/hl-build-standalone-app.md, .hailo/toolsets/core-framework-api.md
Camera, USB, RPi, capture.hailo/skills/hl-camera.md, .hailo/memory/camera_and_display.md
HEF, model, download, config.hailo/skills/hl-model-management.md, .hailo/toolsets/hailort-api.md, .hailo/memory/hailo_platform_api.md
Monitoring, events, alerts.hailo/skills/hl-monitoring.md, .hailo/skills/hl-event-detection.md
Testing, validation, pytest.hailo/skills/hl-validate.md, .hailo/instructions/testing-patterns.md
ALWAYS read (every task).hailo/memory/common_pitfalls.md, .hailo/instructions/coding-standards.md

Python Imports

from hailo_apps.python.core.common.defines import *
from hailo_apps.python.core.common.core import resolve_hef_path
from hailo_apps.python.core.common.hailo_logger import get_logger
from hailo_apps.python.core.gstreamer.gstreamer_app import GStreamerApp

Critical Conventions

  1. Imports are always absolute: from hailo_apps.python.core.common.xyz import ...
  2. HEF resolution: Always use resolve_hef_path(path, app_name, arch)
  3. Device sharing: Always use SHARED_VDEVICE_GROUP_ID when creating VDevice
  4. Logging: Use get_logger(__name__)
  5. CLI parsers: Use get_pipeline_parser() or get_standalone_parser()
  6. Architecture detection: Use detect_hailo_arch() or --arch flag
  7. USB camera: Always --input usb for auto-detection. Never hardcode /dev/video0 (typically integrated webcam).
  8. SKILL.md is sufficient: Read SKILL.md + common_pitfalls.md. Do NOT read source code files.
  9. Custom background: When user provides a background image, use background.copy() — never blend camera feed.

Hardware

ArchitectureValueUse case
Hailo-8hailo8Full performance, all pipeline + standalone apps
Hailo-8Lhailo8lLower power, compatible model subset
Hailo-10Hhailo10hGenAI (LLM, VLM, Whisper) + vision pipelines

Memory

Persistent knowledge in .hailo/memory/. Read at task start, update when learning.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.