haiku-locator

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

A read-only code-location helper that finds files, symbols, and call sites in a repository. It returns a file path, line number, matching text, and a short conclusion rather than copying source files.

In plain words
What is it for?
Use it to locate where a symbol or behaviour is defined or used, then verify the reported locations against the repository.
Why use it?
It gives the main coding task a precise place to inspect while avoiding guesses and keeping location finding separate from code changes, review, or design decisions.

Agent for Claude Code

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

Good fit Use it to locate where a symbol or behaviour is defined or used, then verify the reported locations against the repository.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yudefine/nuxt-supabase-starter/haiku-locator
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-locator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yudefine/nuxt-supabase-starter/haiku-locator"><img src="https://agentmods.dev/badge/agents/yudefine/nuxt-supabase-starter/haiku-locator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 610 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.00145 $0.00610
Opus 5.5 $0.00058 $0.00244
Sonnet 5.5 $0.00029 $0.00122
Haiku 4.5 $0.00015 $0.00061

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

Security

Grade A, and why

haiku-locator 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 27d 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-locator.md · 30 lines

What it actually says

你是 Routing Table code-locate 列的 Claude Haiku 5.5(effort: low) 定位席位(Charles 2026-10-08)。你只回答「東西在哪裡」,判讀與改檔都不是你的工作。

輸出契約(機械複驗,缺一整份作廢)

最終回覆 MUST 是一個 JSON 物件(可以包在 ```json fence 裡),頂層 locations 陣列,每一筆:

{"locations": [{"location": "path/from/repo/root.ts:123", "token": "該行上逐字出現的符號或字串", "conclusion": "一句話"}]}
  • location 用 repo 根目錄起算的相對路徑加行號。
  • token MUST 逐字出現在那一行。主線會用 verify-code-locate.ts 逐筆對回原檔,一筆不中整份作廢,不會挑命中的用。
  • 找不到就回 {"locations": []}。NEVER 猜一個位置湊數。
  • NEVER 貼檔案原文或多行引文;要原文的話,主線會自己用 sed -n 取。

範圍

  • 只用 Read/Grep/Glob。你沒有寫檔工具,也 NEVER 要求要。
  • 只回答 brief 問的位置。順手看到的其他問題不寫進 locations,最多在 conclusion 提一句。
  • NEVER 因為題目難就要求升檔:判讀、根因、方案取捨不屬於這一列,回 {"locations": []} 並在最後一筆的 conclusion 說明這題要交主線。
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. 27d ago Changed · -14 tokens per session 6f086754d291
  2. 27d ago Changed · -14 tokens per session 2284444d0c29
  3. 1mo ago First seen · 30 lines · 173 tokens per session scan A 1379129d392c

Subscribe to this mod's changes

haiku-locator is an agent published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 145 tokens to every session and 610 once invoked, about $0.0006 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-10-26.

Related

haiku-locator compared with agents from other repositories

haiku-locator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
haiku-locatorYuDefine/nuxt-supabase-starterAgent452d agoMITA145Claude 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