
Db access review subagent needs explicit probe budget
Bounds a review subagent's live database and shell probes so it returns a verdict
Db access review subagent needs explicit probe budget is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Db access review subagent needs explicit probe budget
This skill covers dispatching a review or verification subagent that has live access to a database, gcloud, psql or Bash. Left unbounded, such an agent tends to re-derive every claim with expensive exploratory queries, running for tens of minutes and sometimes dying mid-run with a socket error before delivering any verdict. The skill sets out a dispatch pattern: give the agent a tool-call and time budget, tell it which probes not to repeat, and hand it the orchestrator's already-confirmed numbers as facts to sanity-check rather than reproduce.
It also describes recovery. If an agent drops its connection and returns no final message, the skill says to try resuming it only for the verdict when a continue tool exists, and otherwise to re-dispatch a fresh, bounded agent rather than assume the lost one finished. Running several short, narrowly scoped agents in parallel is suggested so one failure does not lose all the review work.
The guidance assumes the orchestrator has already done the expensive verification and needs an independent read of the diff. It is written for Claude Code subagents and expects access to a database client or cloud CLI plus a shell.
When your agent uses it
Dispatching a review or verification agent with live database, gcloud, psql or bash access: give it a tool call and time budget, plus the probes NOT to re-run. Also when it gives `API Error: The socket connection was closed unexpectedly`, or has run 30 minutes. Not its sources.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (7 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the agent-traffic-control plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-controlOr copy only this skill to ~/.claude/skills/db-access-review-subagent-needs-explicit-probe-budget:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/db-access-review-subagent-needs-explicit-probe-budget &&
cp -R "$tmp/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget" ~/.claude/skills/db-access-review-subagent-needs-explicit-probe-budget &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/db-access-review-subagent-needs-explicit-probe-budget inside it instead.
Copy the skill folder to ~/.agents/skills/db-access-review-subagent-needs-explicit-probe-budget to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/db-access-review-subagent-needs-explicit-probe-budget &&
cp -R "$tmp/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget" ~/.agents/skills/db-access-review-subagent-needs-explicit-probe-budget &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/db-access-review-subagent-needs-explicit-probe-budget inside it instead.
Copy the skill folder to ~/.cursor/skills/db-access-review-subagent-needs-explicit-probe-budget to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/db-access-review-subagent-needs-explicit-probe-budget &&
cp -R "$tmp/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget" ~/.cursor/skills/db-access-review-subagent-needs-explicit-probe-budget &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/db-access-review-subagent-needs-explicit-probe-budget inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budgetOr copy the folder to ~/.gemini/skills/db-access-review-subagent-needs-explicit-probe-budget yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/db-access-review-subagent-needs-explicit-probe-budget:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/db-access-review-subagent-needs-explicit-probe-budget &&
cp -R "$tmp/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget" ~/.copilot/skills/db-access-review-subagent-needs-explicit-probe-budget &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/db-access-review-subagent-needs-explicit-probe-budget inside it instead.
Get the folder:
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.gitThen copy agent-traffic-control/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget into your agent's skills folder as db-access-review-subagent-needs-explicit-probe-budget. Agents that support SKILL.md read one folder per skill.
What it does
- Explicit tool and time budget
- Sets a cap on tool calls and wall-clock time in the dispatch prompt so the reviewer limits itself to high-value checks.
- Forbidden re-run probes
- Lists the expensive queries and joins the reviewer must skip because the orchestrator already confirmed those results.
- Static diff review focus
- Directs the reviewer to read the change itself and run only fast unit tests instead of full-window data sweeps.
- Socket-close recovery steps
- Explains how to handle a dropped connection that returns no verdict, including resuming or re-dispatching.
- Parallel bounded agents
- Recommends several short agents with different review lenses so a single failure does not lose everything.
Good for
- Dispatch a bounded agent to review a pull request that already has verified database numbers
- Re-run a review agent that lost its output to a socket error
- Ask a verification agent to check a diff with only a fast unit test run
- Split a large review into several short parallel agents with different focus areas
Db access review subagent needs explicit probe budget FAQ
When does Db access review subagent needs explicit probe budget apply?
When you are about to dispatch a review, verification or research agent that has live database, gcloud, psql or Bash access, or when such an agent returns a socket-closed error or runs for about 30 minutes.
What does the skill ask the agent to do differently?
It asks the dispatch prompt to set a tool-call and time limit, forbid re-running the expensive probes the orchestrator already ran, and focus the reviewer on a static read of the diff plus fast tests.
What should I do if a review agent socket-closes?
Capture the agent ID. If a continue or SendMessage tool exists, try resuming it only for the verdict; otherwise re-dispatch a fresh bounded agent instead of assuming the lost one finished.
How do I install Db access review subagent needs explicit probe budget in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/db-access-review-subagent-needs-explicit-probe-budget to use it in all your projects, or to .claude/skills/db-access-review-subagent-needs-explicit-probe-budget in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.
Does Db access review subagent needs explicit probe budget run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Db access review subagent needs explicit probe budget?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Db access review subagent needs explicit probe budget?
The closest alternatives to Db access review subagent needs explicit probe budget are Doubt driven development, Harness review, Doubt driven development, Interrogate and Code reviewer subagent no bash blocked on PR diff.
Where this comes from
- Description: from the skill's own SKILL.md.
More from wan-huiyan/agent-traffic-control

Teaches agents to refuse a flawed instruction only with measured evidence attached
- Open source
- 5 GitHub stars
- Developer tools

Catches silent deletions when a subagent edits large files with repeated blocks
- Open source
- 5 GitHub stars
- Developer tools

Holds a pull request from merging by stopping its agent, disarming auto-merge, then
- Open source
- 5 GitHub stars
- Developer tools

Checks that a batch of pull requests does not cite file paths that will never exist
- Open source
- 5 GitHub stars
- Developer tools

Checks whether a pull request truly landed by comparing file content, not commit subjects
- Open source
- 5 GitHub stars
- Developer tools

Checks a branch for stale-base changes that would silently undo newer main work
- Open source
- 5 GitHub stars
- Developer tools





