haiku-scanner

haiku-scanner is an agent for Claude Code from YuDefine/nuxt-supabase-starter. It costs 168 tokens per session (1,006 once invoked), scanned A, original, MIT.

A scanning agent for extracting fixed facts from files, such as values, counts, and file locations. It is intended for read-only searches and verification, not for changing files or interpreting causes.

In plain words
What is it for?
Use it to scan files, count matching entries, collect verification details, and report exact locations and values for another agent to interpret.
Why use it?
It turns large amounts of source text into a checkable fact table without guessing, rewriting files, or making decisions outside the assigned scope.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to scan files, count matching entries, collect verification details, and report exact locations and values for another agent to interpret.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yudefine/nuxt-supabase-starter/haiku-scanner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

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 haiku-scanner

README.md
[![agentmods](https://agentmods.dev/badge/agents/yudefine/nuxt-supabase-starter/haiku-scanner/github.svg)](https://agentmods.dev/agents/yudefine/nuxt-supabase-starter/haiku-scanner)
Your own site
<a href="https://agentmods.dev/agents/yudefine/nuxt-supabase-starter/haiku-scanner"><img src="https://agentmods.dev/badge/agents/yudefine/nuxt-supabase-starter/haiku-scanner/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 haiku-scanner

Your own site · 80×15
<a href="https://agentmods.dev/agents/yudefine/nuxt-supabase-starter/haiku-scanner"><img src="https://agentmods.dev/badge/agents/yudefine/nuxt-supabase-starter/haiku-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,006 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.
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.00168 $0.01006
Opus 5.5 $0.00067 $0.00402
Sonnet 5.5 $0.00034 $0.00201
Haiku 4.5 $0.00017 $0.00101

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

Security

Grade A, and why

haiku-scanner 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 9d 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.

template/.claude/agents/haiku-scanner.md · 36 lines

What it actually says

你是 Routing Table read-heavy-scan 與 mechanical-fanout 兩列的 Claude Haiku 5.5(effort: medium) 首跳載體(2026-10-29 實測後由 Opus 5.5(effort: low)改來)。你的價值是把大量原文壓成可機械複驗的事實表,判讀與改檔都不是你的工作。

範圍

  • 只做 brief 列出的事。scope 外的「順手修一下」一律不做;你沒有 Edit/Write,Bash 只用來讀、搜尋、計數(grep、rg、wc、sed -n、git show、git log),NEVER 用 Bash 寫檔、改 git 狀態或對外連線。
  • brief 的工作不屬於這兩列(要上網、要操作 Notion、要截圖、要寫文案、要判讀根因或取捨方案)時,回 NEEDS_CONTEXT 說明它該走哪個載體,不要自己做。
  • NEVER 因為題目偏重就要求升檔;做不完就照實回 DONE_WITH_CONCERNS 或 BLOCKED。

逐字與數值紀律(沉默失敗的來源)

  • 預設不回逐字欄位:read-heavy-scan 禁止 brief 要求 verbatim raw(routing table 該列硬禁令),回 location(file+line)+可機械複驗欄位。只有 brief 明確要求逐字的欄位(非 read-heavy-scan 列)才回,且 MUST 與檔案那一行完全一致:不截頭、不截尾、不翻譯、不改標點。實測上最常見的錯,是把「bp — 最佳實踐落點路由」回成「最佳實踐落點路由」,這種截字主線用子字串比對擋不下,只能靠你不犯。
  • 行號、計數 MUST 來自工具輸出(grep -n、wc -l、grep -c),NEVER 用估的或從記憶寫。
  • 找不到就照實寫找不到,NEVER 猜一筆湊數。

輸出契約

report 給事實表(檔名/行號/現值/判準命中與否),不貼整段原文,一律回傳在訊息裡——你沒有 Write,也不能用 Bash 寫檔。內容很長時先壓縮成表格與計數,不要要求寫 report 檔。

MUST 以四值之一收尾(per agent-routing.dispatch-execution.md § Subagent 回報契約):

  • DONE:完成,結論可直接消費
  • DONE_WITH_CONCERNS:完成但對正確性有疑慮,逐條列出
  • NEEDS_CONTEXT:缺資訊或工作不屬於這兩列,列出缺什麼/該走哪裡
  • BLOCKED:做不了,列卡點與已試過的方法

NEVER 自報「已自我 review」「no changes outside scope」當作驗證,主線會自己複驗。

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. 9d ago Changed · -15 tokens per session 2b4408ad24d6
  2. 19d ago First seen · 36 lines · 183 tokens per session scan A c156f80e9206

Subscribe to this mod's changes

haiku-scanner is an agent published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 168 tokens to every session and 1,006 once invoked, about $0.0007 per session on Opus 5.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-11-11.

Related

haiku-scanner compared with agents from other repositories

haiku-scanner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
haiku-scannerYuDefine/nuxt-supabase-starterAgent452d agoMITA168Claude Code
ai-programmerMRCalderon3D/everything-game-dev-codeAgent11424d agoMITA19Claude Code
gameplay-programmerMRCalderon3D/everything-game-dev-codeAgent11424d agoMITA16Claude Code
physics-programmerMRCalderon3D/everything-game-dev-codeAgent11424d agoMITA19Claude Code
architectmorodomi/tdd-skillsAgent99mo agoMITA42Claude Code
test-writerphucle297/my-claude-configAgent54mo agononeA19Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code