claude-vibe-squad: Skill for Claude Code

.agents/skills/dual-level-retrieval/SKILL.md

dual-level-retrieval is a skill for Claude Code, Codex from mtarcure/claude-vibe-squad. It costs 44 tokens per session (385 once invoked), scanned A, original, MIT.

A two-stage search method that first finds all plausible locations, then examines the most relevant definitions and callers in detail.

In plain words
What is it for?
Use it to locate code or documents that support a claim before quoting, citing, or reviewing them.
Why use it?
It helps prevent claims from relying on incomplete or overly broad search results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mtarcure/claude-vibe-squad's own configuration. It tells Claude Code and Codex how to work on claude-vibe-squad itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-vibe-squad configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mtarcure/claude-vibe-squad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mtarcure/claude-vibe-squad/main/.agents/skills/dual-level-retrieval/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad

Made for: Claude Code, Codex.

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 dual-level-retrieval

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/dual-level-retrieval/github.svg)](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/dual-level-retrieval)
Your own site
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/dual-level-retrieval"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/dual-level-retrieval/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 dual-level-retrieval

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/dual-level-retrieval"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/dual-level-retrieval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 385 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.00385
Opus 5 $0.00022 $0.00192
Sonnet 5 $0.00009 $0.00077
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

dual-level-retrieval 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 11d 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.

.agents/skills/dual-level-retrieval/SKILL.md · 26 lines

What it actually says

Dual-Level Retrieval

Retrieve twice — once coarsely over the whole corpus to locate candidates, once precisely inside them to read evidence — so breadth never comes at the cost of quoting accurately.

Steps

  1. Run the coarse pass over the entire corpus using cheap, recall-oriented queries: names, symbols, and identifiers rather than concepts. Optimize for missing nothing, and accept false positives.
  2. Record the coarse hit set as a list of locations before reading any of them. This list is the denominator for the fine pass.
  3. Rank the hit set by expected decisiveness, not by match count — the file that defines a behavior outranks the ten that mention it.
  4. Run the fine pass by reading the ranked candidates in full context, wide enough to capture the enclosing definition and its callers.
  5. Quote from the fine pass only. Any claim traced to a coarse-pass snippet is unverified, because a grep line is not a reading of the code.
  6. Feed fine-pass discoveries back into a new coarse query when they reveal vocabulary you did not know to search for, and iterate until a coarse pass adds no new decisive locations.
  7. Report both levels: how many locations the coarse pass found, how many the fine pass read, and what was deliberately left unread.

Acceptance

  • Coarse queries and their exact hit counts are recorded.
  • Every quoted line comes from a file read in the fine pass.
  • Candidate ranking is justified by decisiveness rather than frequency.
  • At least one feedback iteration is attempted, or its absence is justified.
  • The gap between locations found and locations read is stated explicitly.
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. 11d ago First seen · 26 lines · 44 tokens per session scan A 2f6190dda3fe

Subscribe to this mod's changes

dual-level-retrieval is a skill published in the GitHub repository mtarcure/claude-vibe-squad (148 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 385 once invoked, about $0.0002 per session on Opus 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-08-30.