# Db access review subagent needs explicit probe budget

> Db access review subagent needs explicit probe budget is an open-source agent skill for developer tools. Bounds a review subagent's live database and shell probes so it returns a verdict. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/wan-huiyan/agent-traffic-control/tree/main/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget
- **Repository:** https://github.com/wan-huiyan/agent-traffic-control
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** db-access-review-subagent-needs-explicit-probe-budget
- **Collection:** https://github.com/wan-huiyan/agent-traffic-control
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget)
- [License: MIT](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/db-access-review-subagent-needs-explicit-probe-budget)

## Features

- **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

## Install

### Claude Code

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):

```sh
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-control
```

Or copy only this skill to `~/.claude/skills/db-access-review-subagent-needs-explicit-probe-budget`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/db-access-review-subagent-needs-explicit-probe-budget` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/db-access-review-subagent-needs-explicit-probe-budget` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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-budget
```

Or copy the folder to `~/.gemini/skills/db-access-review-subagent-needs-explicit-probe-budget` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/db-access-review-subagent-needs-explicit-probe-budget`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git
```

Then 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.

## 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.

## Alternatives

- [Doubt driven development](https://ai-powered.com/skills/doubt-driven-development): Doubt driven development is an open-source agent skill for developer tools.
- [Harness review](https://ai-powered.com/skills/harness-review-chachamaru127): Harness review is an open-source agent skill for developer tools.
- [Doubt driven development](https://ai-powered.com/skills/doubt-driven-development-ajyadav013-2): Doubt driven development is an open-source agent skill for developer tools.
- [Interrogate](https://ai-powered.com/skills/interrogate): Interrogate is an open-source agent skill for developer tools.
- [Code reviewer subagent no bash blocked on PR diff](https://ai-powered.com/skills/code-reviewer-subagent-no-bash-blocked-on-pr-diff): Code reviewer subagent no bash blocked on PR diff is an open-source agent skill for developer tools.
- [Code review subagent fabricates specifics to inflate severity](https://ai-powered.com/skills/code-review-subagent-fabricates-specifics-to-inflate-severity): Code review subagent fabricates specifics to inflate severity is an open-source agent skill for developer tools.
- [Adversarial review](https://ai-powered.com/skills/adversarial-review): Adversarial review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-martinffx): Code review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/db-access-review-subagent-needs-explicit-probe-budget
