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 88plugFSL-1.1-ALv2In 1 marketplace
Fires the wait-free/lock-free doctrine exactly when you touch concurrency code: a PreToolUse hook inspects Write/Edit content and, when it sees a lock, atomic, CAS, fetch-add, spawn, channel, or CUDA sync, injects (non-blocking) the Herlihy checklist — pick the primitive by consensus number, fix the linearization point, claim only the progress guarantee you can prove, choose reclamation by reader lifetime, know the impossibility walls. Primed once at SessionStart. Grounded in Herlihy's published corpus (consensus hierarchy, linearizability, universal construction, Pass-the-Buck), with the NOT-Herlihy attributions flagged.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
claude-code, claude, anthropic, ai, llm, ai-agents, developer-tools, automation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Fires the wait-free/lock-free doctrine exactly when you touch concurrency code — a PreToolUse hook injects the Herlihy checklist on any lock/atomic/CAS/fetch-add/CUDA-sync edit.
Herlihy Doctrine is a Claude Code plugin for concurrency, lock-free, and wait-free work. A PreToolUse hook inspects what Write/Edit is about to put on disk and, when it sees a lock, atomic, CAS, fetch-add, thread spawn, channel, or CUDA sync, injects the Herlihy checklist next to the edit — non-blocking, so the edit proceeds and you get the reminder. A SessionStart hook primes the doctrine posture once per session.
Named for Maurice Herlihy, who founded wait-free synchronization.
/plugin marketplace add 88plug/claude-code-plugins
/plugin install herlihy@88plug
grok plugin marketplace add 88plug/claude-code-plugins
grok plugin install herlihy@88plug --trust
Hooks and the bundled skill wire automatically from the plugin manifest. There is no status-line or settings step — install.sh is a no-op.
everything atomic is a slogan until it picks the sound primitive with a provable correctness point and the true progress guarantee. This plugin fires the Herlihy doctrine at the moment you write concurrency code, so each atomicize/rewrite is grounded in his published results instead of asserted.
| Hook | Event | What it does |
|---|---|---|
prime.sh | SessionStart | Sets the doctrine posture once per session |
gate.sh | PreToolUse (Write/Edit/MultiEdit) | Fires the checklist only when the edited content is concurrency code — non-blocking |
Detection lives in hooks/lib/detect.py so the concurrency patterns never fight shell quoting. The gate emits a PreToolUse additionalContext with no permissionDecision, so the normal permission flow is untouched and the edit always proceeds.
Pair with read-the-damn-docs for the exact atomic API and memory ordering before writing it — a wrong ordering is a Heisenbug a parity gate catches only sometimes.
The bundled herlihy skill carries the full corpus — consensus hierarchy, linearizability, universal construction, Pass-the-Buck reclamation, the progress lattice — and the NOT-Herlihy attributions (hazard pointers = Michael, Michael-Scott queue, Fraser's EBR, Treiber stack, Kogan-Petrank helping). Read skills/herlihy/references/corpus.md before citing any result — misattributing a technique to Herlihy is the exact overclaim the skill exists to prevent.
bash tests/smoke.sh # prime injects; PreToolUse gate fires on concurrency content, silent on plain edits, always non-blocking
FSL-1.1-ALv2.
herlihy@88plug is listed by 88plug/claude-code-plugins — review the source before installing
npx claudepluginhub 88plug/claude-code-plugins --plugin herlihyPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.