code-review

Review seekdb pull requests and diffs for high-signal correctness, resource-lifetime, concurrency, current-version state-consistency, credential-exposure, workflow-security, performance, and test-evidence defects. Use when reviewing changes to seekdb C++, Rust, build, CI, or test code; report only actionable Blocker…

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/oceanbase/seekdb/code-review
Any agent
npx skills add oceanbase/seekdb --skill code-review
Clone the repo
git clone --depth 1 https://github.com/oceanbase/seekdb

Made for: Claude Code, Codex.

Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00082 $0.01689
Opus 5 $0.00041 $0.00844
Sonnet 5 $0.00016 $0.00338
Haiku 4.5 $0.00008 $0.00169

Measured today against content hash 49bb0bcd7992, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

caches, `curl` or `wget`, or third-party steps can disclose or transmit them.
.agents/skills/code-review/SKILL.md · 147 lines

How it starts

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

SeekDB Code Review

Review Goal

Act as a senior seekdb maintainer. Find concrete defects that can affect users, operators, data correctness, availability, security, or material performance. Prefer no comment over an uncertain style preference or speculative cleanup.

Write review comments in English.

Establish the Contract

  1. Read the pull request title, description, linked issue, changed tests, and available CI results.
  2. State the behavior the change promises before judging its implementation.
  3. Inspect enough surrounding code to understand the existing invariant. Do not review the diff in isolation.
  4. Trace the changed invariant through relevant callers, callees, sibling implementations, and unchanged paths. Follow all representations of the affected value, state, or operation across component boundaries.
  5. When behavior is unclear, use a concrete input, state, and execution sequence to prove the defect. If proof is incomplete but the potential impact is serious, state exactly what evidence or focused test is missing.

Required Checks

  • Error propagation: Check ret, OB_FAIL, and OB_SUCC flows for lost or overwritten errors, work continuing after failure, incorrect success returns, partial side effects, and missing cleanup. Recognize established seekdb error-handling idioms and flag only behavior-changing mistakes.
  • Memory and resources: Verify allocator ownership and lifetime, arena-backed pointer escape, object destruction, and release of memory, file descriptors, sockets, threads, futures, tasks, and timers on success and failure paths.
  • Concurrency and lifecycle: Check synchronization, lock ordering, atomic state, task cancellation, retries, startup, shutdown, and callbacks or work that can continue after ownership or state changes.
  • Current-version state consistency: Follow tablet/LS state, log replay, transaction state, schema state, and cache state through normal and partial failure paths. Verify related in-memory representations cannot diverge.
  • SQL semantics: When parser, resolver, rewrite, optimizer, or executor code changes, check equivalent syntax and expression forms, aliases, NULL and boundary behavior, and every relevant stage that carries the same semantic.
  • Rust and networking: Check transport errors, protocol handling, resource cleanup, and platform-specific behavior for supported Linux and Windows paths. Require focused Rust tests for changed behavior when practical.
  • Security: Apply the dedicated security review below to product code, workflows, build scripts, tests, documentation, and repository instructions.
  • Performance: Report material regressions in hot paths, such as repeated allocation, avoidable copying, quadratic work, excessive locking, blocking I/O, or expensive work added to high-frequency operations. Do not report unmeasured micro-optimizations.
  • Tests and evidence: Require the smallest focused unit test, mysqltest, Rust test, benchmark, or measurement that would fail if the changed invariant were broken. Do not demand broad tests that cannot prove the behavior.
  • Build and CI: Review build or workflow changes only for correctness, security, portability, or reliability problems, not stylistic preferences.

Read the full file on GitHub · 147 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. today First seen · 147 lines · 82 tokens per session scan A 49bb0bcd7992

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository oceanbase/seekdb (2,899 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 1,689 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.

Related

Other skills, from other repositories

configure-nightwatch

Configures Laravel Nightwatch data collection, sampling rates, filtering rules, and redaction policies. Use when setting up Nightwatch, managing data volume, protecting sensitive data (PII), or optimizing event collection for production workloads.

coollabsio/coolify · 49 tokens

laravel-actions

Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions. Use when implementing reusable action classes (object/controller/job/listener/command), converting service classes/controllers/jobs into actions, orchestrating workflows via faked actions, or debugging action entrypoints and wiring.

coollabsio/coolify · 62 tokens

debugging-output-and-previewing-html-using-ray

Use when user says "send to Ray," "show in Ray," "debug in Ray," "log to Ray," "display in Ray," or wants to visualize data, debug output, or show diagrams in the Ray desktop application.

coollabsio/coolify · 58 tokens

fortify-development

ACTIVATE when the user works on authentication in Laravel. This includes login, registration, password reset, email verification, two-factor authentication (2FA/TOTP/QR codes/recovery codes), passkeys, profile updates, password confirmation, or any auth-related routes and controllers. Activate when the user mentions…

coollabsio/coolify · 199 tokens

mcp-development

Use this skill for Laravel MCP development only. Trigger when creating or editing MCP tools, resources, prompts, or servers in Laravel projects. Covers: artisan make:mcp- generators, mcp:inspector, routes/ai.php, Tool/Resource/Prompt classes, schema validation, shouldRegister(), OAuth setup, URI templates, read-only…

coollabsio/coolify · 95 tokens

cdc

Change Data Capture - architecture, entrypoints, bytecode emission, sync engine integration, tests.

tursodatabase/turso · 20 tokens