haiku-claude-cli: Skill for Claude Code

.claude/skills/build-claude-arm64-hpkg/SKILL.md

build-claude-arm64-hpkg is a skill for Claude Code from microgeni/haiku-claude-cli. It costs 26 tokens per session (2,451 once invoked), scanned A, original, MIT.

A build procedure for creating an arm64 HPKG package of the Claude command-line and graphical applications for Haiku, an operating system. It targets devices such as the Raspberry Pi 5.

In plain words
What is it for?
Preparing arm64 dependencies and producing a release HPKG package containing the Haiku command-line and graphical applications.
Why use it?
It provides the project-specific prerequisites and commands needed to cross-build software on one architecture for another.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is microgeni/haiku-claude-cli's own configuration. It tells Claude Code how to work on haiku-claude-cli 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 haiku-claude-cli configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is sh ci_scripts/bootstrap_arm64_deps.sh # only needed once.

Reuse

Borrowing it

Nothing to install: this file belongs to microgeni/haiku-claude-cli. 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/microgeni/haiku-claude-cli/main/.claude/skills/build-claude-arm64-hpkg/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microgeni/haiku-claude-cli

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 build-claude-arm64-hpkg

README.md
[![agentmods](https://agentmods.dev/badge/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg/github.svg)](https://agentmods.dev/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg)
Your own site
<a href="https://agentmods.dev/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg"><img src="https://agentmods.dev/badge/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg/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 build-claude-arm64-hpkg

Your own site · 80×15
<a href="https://agentmods.dev/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg"><img src="https://agentmods.dev/badge/skills/microgeni/haiku-claude-cli/build-claude-arm64-hpkg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00026 $0.02451
Opus 5.5 $0.00010 $0.00980
Sonnet 5.5 $0.00005 $0.00490
Haiku 4.5 $0.00003 $0.00245

Measured 2mo ago against content hash ebcb233a87c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-claude-arm64-hpkg scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL https://eu.hpkg.haiku-os.org/haikuports/master/arm64/current/repo
.claude/skills/build-claude-arm64-hpkg/SKILL.md · 193 lines

How it starts

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

Cross-build the Claude CLI + GUI for Haiku/arm64 (Raspberry Pi 5)

Produces claude_cli-<version>-1-arm64.hpkg containing an aarch64 bin/claude and apps/Claude, built on taurus (x86_64 Haiku) with the cross-tools from a Haiku arm64 build tree. Verified 2026-07-26: installs and runs on a Pi 5 running Haiku arm64.

The short version

Once the dependency prefix exists, this is two commands:

sh ci_scripts/bootstrap_arm64_deps.sh          # only needed once
make ARCH=arm64 MODE=release package
# → build-release-arm64/claude_cli-<version>-1-arm64.hpkg

Everything below is why it works, for when it stops working.

Prerequisites

  • arm64 cross-tools: /Data/Code/Repos/haiku/generated.arm64/cross-tools-arm64 (aarch64-unknown-haiku-g++, GCC 13.3.0). Built by Haiku's configure --build-cross-tools arm64.
  • Haiku source tree: /Data/Code/Repos/haiku — needed for the private headers (headers/private/shared, headers/private/interface).
  • arm64 kits: generated.arm64/objects/haiku/arm64/release/kits/{shared,tracker} — libshared.a and libtracker.so live here, NOT in the cross sysroot.
  • haikuports checkout: /Data/Code/Repos/haikuports for the libedit patchset.
  • Host tools: cmake, autotools (autoreconf, libtoolize), package.

The core constraint: there is no arm64 HaikuPorts repo

curl -sL https://eu.hpkg.haiku-os.org/haikuports/master/arm64/current/repo
# → []      (x86_64 returns ~2.4 MB, riscv64 ~500 KB)

The only prebuilt arm64 binaries are Haiku's own bootstrap packages in generated.arm64/download/. That set has curl and OpenSSL but no libedit and no yaml-cpp, which is why the bootstrap script builds those two from source.

Consequence for packaging: anything not already in the Pi's image must be linked statically, because pkgman on the target has no repo to resolve against. The package therefore requires only haiku, lib:libncursesw and lib:libz — all present in haiku-mmc.image.

Read the full file on GitHub · 193 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. 2mo ago First seen · 193 lines · 26 tokens per session scan A ebcb233a87c4

Subscribe to this mod's changes

build-claude-arm64-hpkg is a skill published in the GitHub repository microgeni/haiku-claude-cli (6 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 2,451 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

build-claude-arm64-hpkg compared with skills from other repositories

build-claude-arm64-hpkg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-claude-arm64-hpkgmicrogeni/haiku-claude-cliSkill62mo agoMITA26Claude Code
gke-compute-classesgoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill3.9kyesterdayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill10k25d agoMITA113Claude Code, Codex
doca-socket-relayNVIDIA/skillsSkill3.9kyesterdayApache-2.0A236Claude Code, Codex
hsb-flashNVIDIA/skillsSkill3.9kyesterdayApache-2.0B94Claude Code