/miller:miller-search-debug <query and expected result>from miller
Use when Miller search misses expected results, ranks surprising hits, returns noisy output, or needs mode/content/region troubleshooting.
Ships in miller. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Diagnose search behavior by checking the query mode, index freshness, projection limits, and whether the expected result exists.
Every workspace-bound Miller MCP call names its target with workspace_id; Miller never infers it from the
launch directory, environment variables, MCP Roots, or a previous call. Get the ID from
workspace(operation="list"), or from workspace(operation="open", path="/absolute/project") when the repo is
absent. The examples below write it as workspace_id="<id>". Only workspace list, open, remove,
prune, and dashboard run without one; current and primary are CLI-only. The full targeting rules live
in the miller-orientation skill.
search(workspace_id="<id>", query="<original>", limit=10)
search(workspace_id="<id>", query="<symbol-ish>", mode="symbol")
search(workspace_id="<id>", query="<path-ish>", mode="file")
search(workspace_id="<id>", query="<docs or prose>", mode="content")
search(workspace_id="<id>", query="<source body text>", mode="source")
search(workspace_id="<id>", query="<imported log text>", mode="external")
search(workspace_id="<id>", query="<imported web text>", mode="web")
search(workspace_id="<id>", query="<broad text>", mode="all-text")
search(workspace_id="<id>", query="<comment or literal>", regions="comment,string_literal,doc_comment")
search(workspace_id="<id>", query="<known area>", file_pattern="src/ui/**", language="typescript")
exclude_tests=false when tests are expected.name + signature; docs/prose belong in mode=content.mode=source; imported logs/reports and web markdown belong in mode=external or mode=web.content(operation="search", workspace_id="all", query="<term>", content_kind="source") (or docs, config, external_file, web; see the miller-text-audit skill).mode=file when auto mode looks noisy.file_pattern and language before raising limit.workspace(workspace_id="<id>", operation="refresh").search(workspace_id="<id>", query="<exact symbol or file>", mode="auto", exclude_tests=false)
inspect(workspace_id="<id>", target="<expected-symbol-or-file>")
trace(workspace_id="<id>", target="<nearby-symbol>")
context(workspace_id="<id>", query="<workflow around expected result>")
Use this shape:
Search Debug: "<query>"
Expected: <symbol/file/text>
Observed:
- <top results or failure>
Diagnosis:
- <wrong mode, stale index, hidden tests, projection limit, region disabled, or true miss>
Next:
- <specific query, refresh, or implementation follow-up>
Do not widen Miller's symbol ranking as a first response. First prove that mode=content, regions=..., file mode, or refresh does not solve the workflow.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/handoff-inUse when resuming Miller-backed work from a handoff packet or validating a packet before continuing in another harness, model, or session./handoff-outUse when preparing to move active Miller-backed work to another harness, model, or session and the receiving agent needs a self-contained resume packet./miller-bridge-traceUse when tracing Miller bridge paths in supported providers: dotnet-web URL literals and fetch/axios client requests to ASP.NET signals, client requests to Next.js route handlers or Nuxt server routes, Next.js/Nuxt route references to file routes, Vue/React references to route definitions, or backend-http client requests to Express/FastAPI/Flask/Django/Spring/Go/gin/echo/Rails/NestJS/Laravel/Phoenix/axum/actix/Symfony/Ktor route facts./miller-cross-workspaceUse when querying another registered workspace with Miller, comparing repos, opening a workspace, or routing search/inspect/context/impact/trace through workspace_id./miller-editingUse before changing existing indexed files with Miller edit, especially symbol rewrites, text replacements, renames, or refactors./miller-explore-areaUse when orienting on an unfamiliar code area with Miller, explaining a module, finding entry points, or gathering context before a change.npx claudepluginhub anortham/miller --plugin miller