mcp-server-questdb: Skill for Claude Code

.agents/skills/review-pr/SKILL.md

review-pr is a skill for Claude Code from questdb/mcp-server-questdb. It costs 15 tokens per session (4,720 once invoked), scanned A, original, Apache-2.0.

A code-review checklist for QuestDB MCP Bridge, a Node.js service that passes requests between a coding agent and the QuestDB web console. It focuses on correctness, security, message handling, and cleanup.

In plain words
What is it for?
Use it to review pull requests and inspect surrounding code, especially changes involving protocols, validation, promises, timers, sockets, or connection state.
Why use it?
It helps reviewers find failures that may duplicate database changes, expose pairing tokens, leave connections running, or stop requests from completing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is questdb/mcp-server-questdb's own configuration. It tells Claude Code how to work on mcp-server-questdb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-server-questdb configures →

Reuse

Borrowing it

Nothing to install: this file belongs to questdb/mcp-server-questdb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/questdb/mcp-server-questdb/master/.agents/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/questdb/mcp-server-questdb

Made for: Claude Code.

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 review-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/questdb/mcp-server-questdb/review-pr/github.svg)](https://agentmods.dev/skills/questdb/mcp-server-questdb/review-pr)
Your own site
<a href="https://agentmods.dev/skills/questdb/mcp-server-questdb/review-pr"><img src="https://agentmods.dev/badge/skills/questdb/mcp-server-questdb/review-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/questdb/mcp-server-questdb/review-pr"><img src="https://agentmods.dev/badge/skills/questdb/mcp-server-questdb/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00015 $0.04720
Opus 5.5 $0.00006 $0.01888
Sonnet 5.5 $0.00003 $0.00944
Haiku 4.5 $0.00002 $0.00472

Measured 1mo ago against content hash f87c5a98aeac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-pr 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 1mo 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.

.agents/skills/review-pr/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review a QuestDB MCP Bridge change

Usage: /review-pr [PR number or URL | commit hash | staged | unstaged] [--level=0..3]

Parse exactly one review target from $ARGUMENTS: a PR number/URL, a commit hash, staged, or unstaged. If none is supplied, ask for one.

Tools this skill uses: Bash for read-only gh/Git queries and the quality gates, Read, Grep, Glob, Write only for scratch tests, and fresh-context agents through the Agent tool. Do not edit project files or push.

Review mindset

You are a senior backend engineer performing a blocking code review on the QuestDB MCP Bridge — a long-lived Node.js process that brokers tool calls between an untrusted MCP client over stdio and a paired QuestDB Web Console over a local WebSocket, plus a setup wizard that writes the bridge into users' agent config files. A bug here can run a data-modifying SQL statement twice, report a false error for work that committed, leak a pairing secret, wedge the process, or corrupt a config file the user did not ask us to touch. Be critical, thorough, and opinionated. Catch problems that would hurt a user before they ship — not to be nice, and not to demonstrate thoroughness by volume.

A review that blocks on everything blocks on nothing. Every finding costs the author a round-trip, and an inflated one costs the report its credibility. Reserve blocking severity for defects with a real user consequence. "Approve" is the normal outcome of reviewing competent work; a review with zero findings is a successful review.

  • Assume nothing is correct until you've verified it. Read surrounding code; don't judge the diff in isolation.
  • The diff is a hint, not the boundary. The highest-value bugs live at callers, message handlers, and lifecycle edges outside the diff that depend on a contract the diff quietly changed.
  • Discovery is not a finding. Every concern is an untrusted hypothesis until it passes the Step 3b admission gate. Report admitted issues at the severity their evidence earns; omit everything else.
  • Falsify before you explain. Search for the missing producer, the existing guard, the cleanup that already runs, the validation that already rejects the input, downstream recovery, and merge-base behavior before building a narrative. Failure to disprove is not evidence.
  • Keep the blast radius small. The change should fix what it set out to fix plus anything it demonstrably breaks. Pre-existing bugs are adjacent findings for the tracker, never change requests — unless this change moves one onto a live path.
  • Urgency is neither evidence nor an exemption. "Urgent", "simple", and "hard to test" are conclusions to prove.
  • Do not praise the code. Focus entirely on problems and risks.
  • Think adversarially about disconnects, reconnects, late or duplicate messages, timer expiry racing a result, aborts, shutdown mid-work, malformed or hostile input at each trust boundary, and unexpected on-disk config state.
  • Verify every claim. Treat the PR description as an unverified hypothesis. A "fix" must have had a bug; an "improvement" must not regress an ordering or timing guarantee.
  • Assess reachability before reporting. Trace which message, timer, signal, CLI/env input, or file state triggers it. If the protocol cannot produce the message or the state machine cannot reach the state, drop it.

Read the full file on GitHub · 175 lines

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. 1mo ago Changed · -61 lines · +15 tokens per session f87c5a98aeac
  2. 2mo ago First seen · 236 lines · 0 tokens per session scan A 67dad85c85c6

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository questdb/mcp-server-questdb (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 4,720 once invoked, about $0.0001 per session on Opus 5.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-31.