prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file, or the file scope of a task is unclear.
$ npx -y skills add yeaight7/agent-powerups --skill context-retrieval-loop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/context-retrieval-loopContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file, or the file scope of a task is unclear.
name: context-retrieval-loop description: Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file, or the file scope of a task is unclear.
Gather the right codebase context before making changes or spawning subagents. Prevents acting on incomplete information.
Each cycle builds on the previous. Stop early when you have enough context. Do not exceed 3 cycles.
# Find files by keyword rg "<primary-keyword>" --type ts --type js -l rg "<primary-keyword>" --glob "*.py" -l # Find by filename pattern find . -name "*<keyword>*" -not -path "*/node_modules/*" -not -path "*/.git/*"
Collect: file paths, key terms, naming conventions seen.
**Stop here if:** 3 or more directly relevant files found with no critical gaps.
Read the most relevant files from Cycle 1 in full. Then:
# Find tests for those files rg "<filename-stem>" --glob "*.test.*" --glob "*.spec.*" -l rg "import.*<module-name>" -l # Find call sites rg "<function-name>|<class-name>" --type ts --type js -l
Collect: imports used, function signatures, test patterns, adjacent files referenced.
**Stop here if:** You can describe the change needed and its blast radius.
# Check project-specific docs ls docs/ README.md AGENTS.md CLAUDE.md .claude/ 2>/dev/null # Check config for feature flags, env vars, or schema rg "<keyword>" .env.example *.config.* *.toml *.yaml -l 2>/dev/null
Collect: configuration constraints, environment requirements, anything that would block a change.
Stop the loop (whichever comes first):
After the loop, report:
Context gathered: <file-path> — <one-line reason for relevance> ... Missing context (if any): <what is still unclear and why it matters>
If context is missing, state it explicitly. Do not proceed with guesses when a known gap exists.
When dispatching a subagent, pass only the gathered file list — not the full conversation context:
Relevant files for this task: src/auth/tokens.ts — contains TokenService used by the bug src/auth/session.ts — session state management src/auth/tokens.test.ts — existing test patterns
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider directly, need the response saved…
Use when selecting a model for a new task or subagent, deciding whether to escalate after a failed attempt, or designing a multi-agent pipeline with mixed task…