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 HUMBLEF0OLv1.1.2MITIn 1 marketplace
Detects documentation-vs-code drift and proposes surgical patches
Run automatically on Claude Code events. Claude doesn't decide.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Default coherence modedefaultMode
Starting mode for new directories. observe = read-only signal capture. graduated = auto-apply patches with trust-gate. annotate = drop coherence:section anchors. author = signal detectors fire.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
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
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
stringdefault observe
Allow telemetry uploadtelemetryOptIn
Local telemetry (JSONL under coherence/) is always on. This option controls whether to ALSO let the maintainer collect anonymized usage stats via a user-driven curl. Default: off.
booleandefault false
Coherence — one name across npm slug, brand, and
/coherence:*slash commands.
A Claude Code plugin that detects documentation drift (when code
changes without updating its docs) and proposes surgical patches via a
two-stage LLM pipeline. It runs as a set of Claude Code hooks +
slash commands; team-distributable surfaces live as committed files
under coherence/ (no backend, ever).
asserts: frontmatter
with 8 engines (text-pattern + codebase-linked, including
v1.0.1 Fix 8's symbol_exported for LIM-1 closure).cosign keyless OIDC via GitHub
Actions; verifiable via Rekor.claude plugin install coherence # Anthropic plugin registry (canonical)
For local development:
git clone https://github.com/HUMBLEF0OL/coherence.git
cd coherence
npm install
npm run build
The plugin manifest is .claude-plugin/plugin.json.
/coherence:status # mode, buffer, costs, recent activity
/coherence:review # run the Stop pipeline mid-session
/coherence:review --estimate # Stage 1 only — group/section count
/coherence:doctor # probe host capabilities
/coherence:repair # fix anchor collisions, state drift, trust orphans
/coherence:recover # clear auto-disable sentinel, reset locks
Anchor format: HTML comment pairs in any Markdown file —
<!-- coherence:section id="install" -->
## Install
...
<!-- /coherence:section -->
GitHub-slug heading fallback with -1 / -2 disambiguation when an
explicit id="..." is absent. Fenced code blocks are skipped during
scan (R-18).
/coherence:graduate # global → Graduated
/coherence:graduate annotate docs/ # annotate mode for docs/
/coherence:graduate author # author mode (signal detectors fire)
/coherence:graduate --revert # → Observe
/coherence:graduate --status # effective mode for cwd
| Mode | Behaviour |
|---|---|
| Observe | Watch + propose for review; never auto-apply. |
| Annotate | Detect anchor-less Markdown; propose anchor placement (DD-069). |
| Author | Three signal detectors fire (bash repetition, file-creation patterns, agent corrections) and seed Author LLM proposals into the DD-065 quarantine boundary. |
| Graduated | Additive patches auto-apply; modifying patches gated by trust score ≥ 0.85; destructive + frontmatter always require confirmation. |
Net-new artifacts (skills, agents, slash commands, annotations) land
in .claude/coherence/proposals/<kind>/<id>/. Nothing reaches
user-owned paths (.claude/skills/, etc.) without an explicit
cross-the-boundary write (DD-065 / SG-3 — token-gated, statically
asserted by tests/security/v0.2/sg-3-no-out-of-quarantine-write.test.ts).
/coherence:propose-list
/coherence:propose-show <id>
/coherence:propose-accept <id> # user-typed accept
/coherence:propose-accept <id> --rename # suffix on collision
/coherence:propose-reject <id>
/coherence:propose-revert-acceptance <id> # undo (DD-083)
/coherence:annotate docs/intro.md # ad-hoc annotate proposal
/coherence:de-annotate docs/intro.md # strip or graduate auto-annotations
A per-developer, per-section accept/edit/revert event log at
.claude/coherence/trust-ledger.json drives the auto-apply gate for
modifying patches. The score is the DD-138 weighted accept rate with
a 30-day half-life decay (ALPHA = 0.977):
numerator = Σ ev.weight × ALPHA^ageDays (accept=+1, revert=−1, edit=0)
denominator = Σ ev.denWeight × ALPHA^ageDays (accept=1, revert=1, edit=0.5)
score = numerator / denominator (0 when |denominator| < 0.001)
LRU-capped at 200 events/section, sorted ascending by _ts.
Concurrent recordEvent calls are serialised by an in-process
per-ledger mutex (M-LEDGER-1).
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.
Indexed from v1.1.2
npx claudepluginhub humblef0ol/coherence --plugin coherencePlugins from other owners that cover similar ground