Borrowing it
Nothing to install: this file belongs to Skyvern-AI/rustwright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Skyvern-AI/rustwright/main/.github/prompts/code-review.mdgit clone --depth 1 https://github.com/Skyvern-AI/rustwrightWrote 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.
[](https://agentmods.dev/commands/skyvern-ai/rustwright/code-review)<a href="https://agentmods.dev/commands/skyvern-ai/rustwright/code-review"><img src="https://agentmods.dev/badge/commands/skyvern-ai/rustwright/code-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00734 |
| Opus 5 | $0.00000 | $0.00367 |
| Sonnet 5 | $0.00000 | $0.00147 |
| Haiku 4.5 | $0.00000 | $0.00073 |
Grade A, and why
code-review 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 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.
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.
What it actually says
Please review this pull request for the Rustwright repository and give concise, actionable feedback.
Rustwright is a Rust engine (PyO3 for Python, napi-rs for Node) that speaks raw Chrome DevTools Protocol and exposes a Playwright-compatible API. It is alpha, Chromium-only, MIT-licensed. The Rust core lives in src/lib.rs; the Python API in python/rustwright/; the Node bindings in node/.
Review for:
- Correctness & bugs — logic errors, unhandled edge cases, error handling. Pay special attention to:
- the FFI boundaries — PyO3
Bound<'py, T>usage and GIL handling (py.detacharound blocking work), and napi async/threadsafe-function usage; - the CDP layer — session/frame routing (OOPIF), the tokio-tungstenite WebSocket transport, and message dispatch/correlation.
- the FFI boundaries — PyO3
- Memory & concurrency safety — any new
unsafe;unwrap()/expect()/panic!on fallible paths that could crash a user's process across the FFI boundary; races or deadlocks in the async CDP client; holding the GIL across I/O. - Security (this is browser-automation software) — untrusted-input handling, JS/CDP injection, and anything that silently changes the trusted-input-by-default behavior. Rustwright must not overclaim on anti-detection: flag any change that adds "undetectable" / "bypass Cloudflare" / "stealth" style claims, or that weakens the honest signal-hygiene framing (it currently passes 3/4 public fingerprint targets and says so plainly).
- API compatibility — the Python/Node surface mirrors Playwright. Flag divergence from Playwright's shape/behavior that isn't justified, and missing parity coverage.
- Performance — avoidable allocations/copies on the per-CDP-message hot path; blocking calls inside async paths.
- Tests — is the change covered by the pytest suite (
tests/)? Does it warrant a parity test against real Playwright? - Honesty of claims — if the PR touches README/docs/benchmarks, verify the claims match what the code and tests actually support (no inflated numbers, no unverified platform/behavior claims, MSRV kept accurate).
Use CONTRIBUTING.md (and CLAUDE.md if present) for conventions. Be constructive.
Keep the review concise and scannable:
- Start with a 1–2 sentence overall assessment.
- Group feedback by severity using GitHub
<details>/<summary>collapsible sections. - Expand 🔴 Critical by default; keep 🟡 Suggestions and 📝 Minor collapsed.
- If there are no issues, post a brief LGTM (with the marker).
Format:
<!-- claude-code-review -->
## Summary
Brief overall assessment.
<details open>
<summary>🔴 Critical Issues (X)</summary>
- ...
</details>
<details>
<summary>🟡 Suggestions (X)</summary>
- ...
</details>
<details>
<summary>📝 Minor / Style (X)</summary>
- ...
</details>
IMPORTANT: Start your comment with the exact marker <!-- claude-code-review --> on the first line — this lets a later commit replace the previous review instead of stacking comments.
Use gh pr comment (via your Bash tool) to post the review as a single comment on the PR.
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.
- today First seen · 57 lines · 0 tokens per session scan A 2f3f2cc67e26
code-review is a command published in the GitHub repository Skyvern-AI/rustwright (874 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 734 tokens. 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-09-06.
Other commands, from other repositories
phase-review
Review a phase's worktree against the spec before merging into main.
intercept
HTTP sniffer for tandem's Chrome via CDP: captures request+response bodies (including HttpOnly, CSRF tokens, private APIs). Subcommands: start, show, clear, count.
Captures the current page in tandem's Chrome as a PDF (if headless Chrome) or full-page PNG screenshot (in normal tandem mode). Saves to /.claude/tandem/output/.
cookies
Exports cookies from tandem's Chrome via CDP (includes HttpOnly/Secure). Filter with --domain . Formats: list (table, default), json, curl, headers, netscape.
browser-status
../../../commands/browser-status.md.
browser-start
../../../commands/browser-start.md.