adriancmurray

HaiKrew — AI skill for Claude Code

AI community

Token-efficient agent crews for Claude Code: Haiku writes, the main model specs and reviews, a live pixel crew pane shows who's working.

How to install HaiKrew

This entry records only its repository, not the path inside it, so there is no exact command to give. Open adriancmurray/HaiKrew and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What HaiKrew does

Token-efficient agent crews for Claude Code: Haiku writes, the main model specs and reviews, a live pixel crew pane shows who's working.

Alternatives in AI

  • Main — Open-source SaaS framework (React + Firebase + Stripe) with built-in Claude Code AI skills 550 ★
  • AI Team OS Installation Guide (for Claude Code) — This file is intended to be read by Claude Code (CC) to assist with installation 158 ★
  • Academic Figure Skills — AI skills for academic paper figures: repo analysis, figure planning, colorblind palettes, JSON figure specs 94 ★

README

HaiKrew

![HaiKrew: a crew of small orange robots under a pixel-art title](assets/header.gif)

HaiKrew is a Claude Code mod (plugin) for token-efficient agent crews. The main model plans and reviews; cheaper Haiku subagents write code and do research; deterministic hooks gate which model a subagent runs on and trim noisy command output before it reaches the context.

Unofficial community plugin; not affiliated with Anthropic.

Why

A subagent launched without a `model` inherits the main model, so every default agent runs on the most expensive model. HaiKrew routes code-writing and research to Haiku, keeps the main model on planning and review, and cuts noisy output deterministically (a hook shortens build logs; it does not ask a model to summarise them).

What's inside

  • Model gate (agent.spawn): sets a model on every subagent launch that lacks one, and refuses Opus unless allowed.
  • Squeeze (tool.call on Bash): runs noisy commands such as cargo test or xcodebuild through haikrew squeeze, which prints a short verdict and keeps the full log on disk.
  • Read guard (tool.call on Read): a large file read without a line range returns an outline and asks for a range.
  • Ledger (classic.SubagentStop): one row per finished subagent (model, job, language, time, tokens, verdict). The newest 200 rows are kept in full; older rows fold into monthly averages, and monthly averages older than 12 months fold into yearly ones.
  • /haikrew pane: three tabs. Settings, Ledger, and Tokens.
  • haiku-coder agent: implements a tightly written spec.
  • haiku-scout agent: answers one research question with a short cited brief.
  • crew-overseer skill: the overseer workflow: write the spec, dispatch Haiku, verify.
  • CLI (bin/haikrew.mjs): squeeze, verify, stats, patterns check.

What HaiKrew changes and touches

  • agent.spawn: sets the model when the caller named none (or, with gate.rules_override on, when a rule