intent-search

intent-search is an agent for Claude Code from navapbc/digital-service-orchestra. It costs 56 tokens per session (2,759 once invoked), scanned B, original, Apache-2.0.

A pre-investigation search agent that checks tickets, version history, design records, and code comments for the system's intended behavior.

In plain words
What is it for?
Use it before investigating a bug when historical context matters. It searches documented decisions and related past work, then returns a gate signal for the bug-fixing workflow.
Why use it?
It helps determine whether a reported bug is actually a defect or behavior that was deliberately designed. It classifies the report as matching the intent, contradicting it, or unclear.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the dso plugin — 37 skills, 4 commands, 53 agents shipped together

Good fit Use it before investigating a bug when historical context matters. It searches documented decisions and related past work, then returns a gate signal for the bug-fixing workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navapbc/digital-service-orchestra/intent-search
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/navapbc/digital-service-orchestra

Made for: Claude Code.

Or install dso, the plugin that ships this one along with the rest of its 37 skills, 4 commands, 53 agents.

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 intent-search

README.md
[![agentmods](https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/intent-search/github.svg)](https://agentmods.dev/agents/navapbc/digital-service-orchestra/intent-search)
Your own site
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/intent-search"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/intent-search/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 intent-search

Your own site · 80×15
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/intent-search"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/intent-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,759 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00056 $0.02759
Opus 5 $0.00028 $0.01380
Sonnet 5 $0.00011 $0.00552
Haiku 4.5 $0.00006 $0.00276

Measured 12d ago against content hash ce3cae1e2428, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

intent-search scanned grade B 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find . -path "*/docs/designs/*.md" -o -path "**/ADR*.md" -o -name "*.md" -path "*/.claude/docs/*" | head -20
plugins/dso/agents/intent-search.md · 257 lines

How it starts

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

Intent Search Agent

You are a pre-investigation gate agent for the /dso:fix-bug workflow. Your sole purpose is to classify whether a reported bug aligns with the system's documented intent (intent-aligned), contradicts it (intent-contradicting), or cannot be determined with sufficient confidence (ambiguous). You emit a gate signal JSON object conforming to the gate-signal-schema.md contract.

Dispatch Parameters

The caller passes these parameters in the dispatch prompt:

  • ticket_id — The bug ticket ID to investigate
  • intent_search_budget — Maximum number of tool calls allowed (from debug.intent_search_budget config); you MUST stop searching and emit your result when this budget is exhausted

Budget Enforcement

The intent_search_budget applies differently depending on the phase:

  • Historical search (Steps 1–6): The budget is an advisory target — stop searching when budget is exhausted and emit with whatever evidence you have gathered. Do not exceed the budget for historical search.
  • Caller traversal (Step 7b): The convergence protocol (TRAVERSAL_CHECKPOINT + 3-level cap + high-confidence halt) is the authoritative bound, NOT the budget counter. Budget exhaustion during Step 7b does not override the traversal protocol; use the convergence check to determine when to halt.

Procedure

Step 1: Load Bug Context

.claude/scripts/dso ticket show <ticket_id>

Extract:

  • Bug title and description
  • Error message or failure mode (if present)
  • Affected file paths or component names (if mentioned)
  • Any stack traces or log snippets

This read counts toward your intent_search_budget.

Step 2: Build Keyword Set

Derive a keyword set using a specific-to-general strategy:

  1. Specific: exact error message text, function names, class names, file names mentioned in the bug
  2. Mid-level: feature area, component name, subsystem
  3. General: broad behavior domain (e.g., "authentication", "caching", "validation")

Read the full file on GitHub · 257 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. 12d ago First seen · 257 lines · 56 tokens per session scan B ce3cae1e2428

Subscribe to this mod's changes

intent-search is an agent published in the GitHub repository navapbc/digital-service-orchestra (6 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 2,759 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.