/dev-vitals:context-retrieval-loopfrom dev-vitals
Runs a 3-cycle search loop (rg, find) to gather codebase context when starting unfamiliar work, spawning subagents, or when initial search misses relevant files.
Ships in dev-vitals. 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.
None: SKILL.md is the whole skill.
Gather the right codebase context before making changes or spawning subagents.
rg "<primary-keyword>" --type ts --type js -l
find . -name "*<keyword>*" -not -path "*/node_modules/*"
Stop here if 3+ directly relevant files found.
Read the most relevant files from Cycle 1. Then find:
rg "<filename-stem>" --glob "*.test.*" --glob "*.spec.*" -l
rg "import.*<module-name>" -l
Stop here if you can describe the change and its blast radius.
ls docs/ README.md AGENTS.md CLAUDE.md .claude/ 2>/dev/null
rg "<keyword>" .env.example *.config.* 2>/dev/null
Stop when: 3+ high-relevance files understood, OR Cycle 3 complete, OR new cycles return only files already seen.
Context gathered:
<file-path> — <one-line reason>
Missing context (if any):
<what is still unclear>
State gaps explicitly. Do not proceed with guesses when a known gap exists.
Pass file paths to subagents, not file contents:
Relevant files: src/auth/tokens.ts, src/auth/session.ts, src/auth/tokens.test.ts
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeaight7/agent-powerups --plugin dev-vitals16 skills in this plugin
/agent-harness-designUse when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an existing agent harness needs a quality review./agent-runtime-patternsUse when optimizing agent runtime loops, card packs, MCP session lifecycle, tool-call count, or multi-agent orchestration patterns./agent-session-forensicsUse when diagnosing agent session history, interrupted tool loops, missing tool results, timing bottlenecks, or subagent trace correlation./brainstormingUse when starting any creative work — creating features, building components, adding functionality, or modifying behavior — before any implementation begins./context-compressionUse when conversation context is bloated, constraints are being forgotten, or a compact handoff is needed before continuing work./context-minimizationUse when a task runs long and the context window is filling -- large files are being read whole, command output is flooding the transcript, or responses are getting verbose and slow.Other plugins' skills for the same job