deep-search

deep-search is a skill for Claude Code from uqeu/estelle-cli. It costs 0 tokens per session (1,057 once invoked), scanned A, original, Apache-2.0.

A natural-language question-and-answer tool for a code repository that returns cited sources and checks whether referenced code symbols actually exist.

In plain words
What is it for?
It helps ask questions about a codebase, trace answers to source locations, and flag unsupported references using your own model provider.
Why use it?
It reduces the risk of plausible answers that cite repository text but mention APIs or code that are not real.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the estelle plugin — 26 skills, 4 agents, 9 hooks shipped together

Good fit It helps ask questions about a codebase, trace answers to source locations, and flag unsupported references using your own model provider.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uqeu/estelle-cli/deep-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.

Any agent
npx skills add uqeu/estelle-cli --skill deep-search
Clone the repo
git clone --depth 1 https://github.com/uqeu/estelle-cli

Made for: Claude Code.

Or install estelle, the plugin that ships this one along with the rest of its 26 skills, 4 agents, 9 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/uqeu/estelle-cli/deep-search/github.svg)](https://agentmods.dev/skills/uqeu/estelle-cli/deep-search)
Your own site
<a href="https://agentmods.dev/skills/uqeu/estelle-cli/deep-search"><img src="https://agentmods.dev/badge/skills/uqeu/estelle-cli/deep-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 deep-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/uqeu/estelle-cli/deep-search"><img src="https://agentmods.dev/badge/skills/uqeu/estelle-cli/deep-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,057 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.00000 $0.01057
Opus 5.5 $0.00000 $0.00423
Sonnet 5.5 $0.00000 $0.00211
Haiku 4.5 $0.00000 $0.00106

Measured 1mo ago against content hash 3dc81827677b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deep-search 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 1mo 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.

estelle-plugin/skills/deep-search/SKILL.md · 59 lines

How it starts

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

Estelle's Deep Search — the grounded, cited, BYOK answer to Sourcegraph's Deep Search. Sourcegraph's Deep Search takes a natural-language question about a codebase and returns an answer with a sources list, but it is walled (it runs on their model provider; BYOK is excluded) and its answer is cited yet never certified: an answer that drifts off the retrieved sources still ships with plausible-looking citations. Estelle packages the pieces it already has — retrieve_cited / recall_cited (serve/memory_pipeline.py, serve/memory_facade.py, hybrid RRF), cite_block, and the deterministic grounding gate check_grounding (agent/grounding.py) — into POST /deep-search (handle_deep_search, serve/api.py), and ADDS the two things Sourcegraph's lacks:

  • a grounding certificate — the finished answer is run through the deterministic gate against the repo's real symbol graph, so an answer that references an API the repo does not define is FLAGGED (grounded=False plus the ungrounded symbols), not shipped as fact; and
  • BYOK — the answer is produced on the CALLER's own model, not a provider they are locked into.

The pure core is deep_search_prompt + deep_search_result (serve/deep_search.py); the model call is injected, so the whole capability is grounded and tested without a GPU. Distinct from /search (raw recall + grep, no answer) and /verify (grounds code the caller supplies): this ANSWERS an NL question and certifies the answer in one call.

When to run

When an engineer (or an agent) asks a natural-language question about a codebase — "where is auth enforced?", "how does the retry loop work?", "what calls charge?" — and needs an answer they can trust enough to act on, not just a ranked file list. Reach for it over a bare recall whenever the answer will be quoted, pasted into a PR, or fed to another agent: the certificate is what lets the answer cross that trust boundary.

Procedure

  1. Recall the cited evidence, question-keyed. Retrieve the top cited chunks over the caller's swept namespace with recall_cited (serve/memory_facade.py → retrieve_cited, hybrid RRF + selective rerank), keyed on the QUESTION. Each chunk carries its source_file, so every claim can be traced to a repo location — provenance is the trust half of a grounded answer.
  2. Answer grounded ONLY in that evidence, on the caller's model. Build the focused prompt with deep_search_prompt — the recalled chunks rendered through cite_block (each headed by its [source]), with the instruction to answer using ONLY that context, cite the file per claim, and say so plainly when the context does not contain the answer rather than answer from the model's own memory. Call the CALLER's own backend (BYOK) — their tokens, never ours.
  3. Certify with the deterministic grounding gate. Run check_grounding / memory.check on the answer against the repo's real symbol graph plus exactly the recalled context the model saw. A repo-scoped symbol the repo never defines is a hallucinated API — the single failure that erodes trust fastest — so a drifted answer comes back grounded=False with the offending symbols in ungrounded. The gate costs zero model calls on a clean answer; it fires only when the answer went off-source.
  4. Return the certified result. Emit deep_search_result: {answer, sources:[{file, line?}], grounded, ungrounded, citations} — the answer, the sources it was grounded in, the certificate, and the raw cited block. Ship the answer only when grounded is true; when it is false, surface the flag and the ungrounded symbols so the caller sees the answer drifted rather than acting on it.

Read the full file on GitHub · 59 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. 1mo ago First seen · 59 lines · 0 tokens per session scan A 3dc81827677b

Subscribe to this mod's changes

deep-search is a skill published in the GitHub repository uqeu/estelle-cli (0 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,057 tokens. 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-09-12.

Related

Other skills, from other repositories

cocosearch-review-pr

Use when reviewing a GitHub PR or GitLab MR by URL. Fetches diff and metadata via API, then uses CocoSearch for blast radius analysis, dependency impact, pattern consistency, and test coverage assessment. Read-only by default; optionally pushes findings back as inline PR/MR comments after your confirmation.

VioletCranberry/coco-search · 68 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens

review

Adversarial fresh-context review and risk check of an increment before it ships; every finding cites path:line and is re-verified. Use for "review", "qa", "quality check", "critique this".

anton-abyzov/specweave · 45 tokens