Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ReviewToolkitsv0.8.0MITIn 1 marketplace
Finds CPython C bugs such as refcount leaks, GIL violations and error-path mistakes, then reports candidates for triage. Dynamic reproduction needs a built CPython interpreter, and the tree-sitter detectors need tree-sitter installed.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A comprehensive collection of specialized agents for exploring and analyzing CPython's C source code. While general-purpose C linters (clang-tidy, cppcheck) catch generic issues, this toolkit targets CPython-specific bug patterns that no general tool understands: reference counting errors, GIL discipline violations, CPython error handling conventions, and PEP 7 style.
CPython's C code has fundamentally different concerns from Python code or generic C:
| Concern | What makes it CPython-specific |
|---|---|
| Memory | Manual reference counting (Py_INCREF/DECREF), not malloc/free |
| Error handling | Return NULL + PyErr_SetString, goto-based cleanup |
| Concurrency | Must manage GIL explicitly (Py_BEGIN/END_ALLOW_THREADS) |
| Style | PEP 7 (4 spaces, 79 chars, C11), not K&R or LLVM style |
| API surface | Three-tier API (public, cpython, internal) with deprecation cycles |
| Top bug class | Refcount leaks and use-after-free, not logic errors |
claude plugin marketplace add devdanzin/cpython-review-toolkit
claude plugin install cpython-review-toolkit@cpython-review-toolkit
git clone https://github.com/devdanzin/cpython-review-toolkit.git
cd cpython-review-toolkit
Then in Claude Code:
/plugin install plugins/cpython-review-toolkit
git clone https://github.com/devdanzin/cpython-review-toolkit.git
claude --plugin-dir cpython-review-toolkit/plugins/cpython-review-toolkit
Run /reload-plugins before explore or informed-explore. A Claude Code session registers dispatchable agents when the plugin is loaded, so agents shipped by a version installed mid-session are not dispatchable until you reload — those commands then run silently with the older, smaller agent set. This has bitten a real run: a session predating v0.5 could only dispatch the 11 v0.4 agents, and the 12 added across v0.5–v0.7 had to be driven by hand.
pip install tree-sitter tree-sitter-c) — required by the tree-sitter-based detectors (recursion-guard, pyerr-clear, uninit-dealloc, init-bypass, the free-threading trio, memory), the known-issues command, and the informed-explore briefing. The legacy regex scanners (refcounts, error-paths, null-safety, GIL, complexity, PEP 7, includes) remain stdlib-only./cpython-review-toolkit:explore [scope] [aspects] [options]The primary command. Runs the include-graph-mapper first for structural context, then dispatches selected agents.
# Full exploration (all agents)
/cpython-review-toolkit:explore
# Specific directory
/cpython-review-toolkit:explore Objects/
# Specific aspects only
/cpython-review-toolkit:explore . refcounts errors
# Quick summary mode
/cpython-review-toolkit:explore . all summary
Aspects: includes, refcounts, errors, gil, complexity, style, null-safety, deprecation, macros, memory, recursion, pyerr-clear, uninit-dealloc, ft-races, stw-safety, lock-discipline, init-bypass, parity, history, all
Options: deep (full detail), summary (top-level only), parallel (concurrent agents)
/cpython-review-toolkit:map [scope]Quick include graph mapping. The fastest way to understand CPython's C file structure, dependency relationships, and API tier boundaries.
/cpython-review-toolkit:map
/cpython-review-toolkit:map Modules/_io/
/cpython-review-toolkit:hotspots [scope]Find the worst functions to fix first: runs refcount-auditor, error-path-analyzer, and c-complexity-analyzer. Answers "where should I focus my review efforts?"
/cpython-review-toolkit:hotspots
/cpython-review-toolkit:hotspots Objects/
/cpython-review-toolkit:health [scope]Quick health dashboard — all agents in summary mode, producing a scored table across every dimension.
/cpython-review-toolkit:health
/cpython-review-toolkit:health Python/
/cpython-review-toolkit:known-issues [scope]Regression baseline. Cross-references data/cpython_known_bugs.tsv — a seed catalog of previously-found CPython crashes (from the fusil OOM/TSan findings repos and the tracker) — against a fresh scan, classifying each as present / line_drifted / absent_in_function / absent / file_missing / no_scanner. Answers "which catalogued crashes are still here, and did any regress?"
7-day copy clicks
npx claudepluginhub reviewtoolkits/cpython-review-toolkit --plugin cpython-review-toolkitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground