iterative-retrieval

iterative-retrieval is a skill for Claude Code, Codex from pm-bhatt/everything-gemini-cli. It costs 19 tokens per session (1,061 once invoked), scanned A, original, no licence file.

A method for gradually refining the information retrieved for a coding task. It addresses the problem of a subagent having too little relevant context to solve its assigned work.

In plain words
What is it for?
Use it when delegating coding subtasks or when an agent needs progressively more specific project information.
Why use it?
It helps focus retrieval on the most useful information instead of trying to provide all possible context at once.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/pm-bhatt/everything-gemini-cli/iterative-retrieval
Any agent
npx skills add pm-bhatt/everything-gemini-cli --skill iterative-retrieval
Clone the repo
git clone --depth 1 https://github.com/pm-bhatt/everything-gemini-cli

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 iterative-retrieval

README.md
[![agentmods](https://agentmods.dev/badge/skills/pm-bhatt/everything-gemini-cli/iterative-retrieval.svg)](https://agentmods.dev/skills/pm-bhatt/everything-gemini-cli/iterative-retrieval)
Your own site
<a href="https://agentmods.dev/skills/pm-bhatt/everything-gemini-cli/iterative-retrieval"><img src="https://agentmods.dev/badge/skills/pm-bhatt/everything-gemini-cli/iterative-retrieval.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,061 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00019 $0.01061
Opus 5 $0.00010 $0.00531
Sonnet 5 $0.00004 $0.00212
Haiku 4.5 $0.00002 $0.00106

Measured 4d ago against content hash bda05a3babde, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

iterative-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 4d 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.

skills/iterative-retrieval/SKILL.md · 145 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 145 lines · 19 tokens per session scan A bda05a3babde

Subscribe to this mod's changes

iterative-retrieval is a skill published in the GitHub repository pm-bhatt/everything-gemini-cli (30 stars, last pushed 7mo ago), with no licence file. It adds 19 tokens to every session and 1,061 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

architecture

Project architecture and file structure conventions for all process types. Use when: (1) Creating new files or modules, (2) Deciding where code should go, (3) Converting single-file components to directories, (4) Reviewing code for structure compliance, (5) Adding new bridges, services, agents, or workers.

iOfficeAI/AionUi · 69 tokens

testing

Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.

iOfficeAI/AionUi · 55 tokens

context-reconstruct

Re-anchor on the durable record (current-track, live owner thread, pending-questions, relay, buildlog) before acting on anything that depends on earlier context. Read, do not recall.

sonichi/sutando · 43 tokens

cross-linker

Use when the user wants to find and insert missing wikilinks across vault notes. Triggers on "cross-link", "find missing links", "weave links", "unlinked mentions", "add wikilinks", or "link notes together".

thoreinstein/gemini-obsidian · 55 tokens

onboarding

First-run setup for OneBrain : personalize identity, communication style, and vault configuration. Use only on first install or when the user wants to fully reconfigure OneBrain from scratch — manual only. Do NOT use for: teaching a single preference (use learn), updating system files (use update), or reviewing memory…

onebrain-ai/onebrain · 70 tokens

learn

Teach the agent a new fact or behavioral preference and save it to memory/ for future recall. Use when the user says 'remember that', 'from now on', 'always do X', or corrects agent behavior they want persisted. Do NOT use for: capturing a general note or idea (use capture), saving a session summary (use wrapup), or…

onebrain-ai/onebrain · 84 tokens