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 onlooker-communityv0.10.3MITIn 1 marketplace
Pre-write intent clarity gate. Intercepts write-class tool calls and requires a confidence threshold before allowing them to proceed. Evaluates the pending write against the prior assistant turn as context to avoid false positives on question-answer turns. Builds on the Onlooker ecosystem plugin.
Run automatically on Claude Code events. Claude doesn't decide.
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.
Pre-write intent clarity gate.
Compass fires on PreToolUse for write-class operations, evaluates whether the pending write has sufficient intent clarity to proceed, and blocks with a structured clarification prompt when confidence is low or the evaluators disagree. It is the only plugin that gates write-class tool calls before they execute — complementing governor (budget), tribunal (post-task quality), and warden (safety). To avoid the most common false positive — a terse user reply to a question the agent just asked — Compass evaluates the pending write against the prior assistant turn as context, not the current context alone. See ADR-001.
Compass is a sibling plugin to ecosystem and assumes the Onlooker observability substrate (~/.onlooker/) is present.
| Hook | Surface | What Compass does |
|---|---|---|
PreToolUse | Write, Edit, MultiEdit | Runs the full evaluation pipeline and blocks the write when confidence is below threshold or the evaluators disagree. |
PreToolUse | Bash | Same pipeline, but first matches the command against write patterns (redirects, rm, mv, cp, tee, and similar). Exits 0 immediately when no write pattern matches. |
PostToolUse | Write, Edit, MultiEdit | Records the written file path, stem, and timestamp to the session cooldown table so same-file follow-up writes are not re-checked. |
SessionStart | * | Initializes session state: zero turn-check count, empty cooldown table, closed circuit breaker. Exits silently when Compass is disabled. |
The evaluation pipeline runs in order:
Trigger Gate → Transcript Reader → Symbolic Skip Layer → Sanitizer → N=5 Evaluators → Gate
[compass:skip]), skip globs, dir-plus-stem cooldown, the per-turn check budget, the context minimum, and the circuit breaker. The first match short-circuits and emits compass.check.skipped.transcript_path in the hook JSON payload (the same field tribunal-stop-gate.sh reads). Always reads one turn back — already committed before PreToolUse fires, so there is no timing-skew risk. When transcript_path is absent or unreadable, the pipeline proceeds with an empty prior turn.skip_patterns.reply_to_question.enabled (default true).evaluator.n parallel Haiku calls with a structured prompt that places <prior_assistant_turn> and <context_excerpt> in separate XML-delimited slots. The convergence question is: "Given the prior assistant turn as context, would two independent readers converge on the same interpretation of this write?"Compass blocks the write when confidence < confidence_threshold OR stddev > stddev_threshold (defaults 0.65 and 0.20). The standard-deviation signal is independent of the mean — when the evaluators disagree, that disagreement is itself a reliable ambiguity signal. A blocked write surfaces the triggering file and tool, the mean score, the standard deviation, the most common concern, the evaluator rationale, and three resolution paths: type compass: proceed to override, provide more context for a single re-check, or type compass: cancel to abandon the write.
The default error_policy is closed: when fewer than evaluator.min_valid_samples return valid JSON, Compass blocks the write and explains that the check could not complete. Set error_policy: "open" to pass writes through on evaluator failure (appropriate for CI). A session-scoped circuit breaker opens after circuit_breaker.consecutive_failures_to_open consecutive failures and fails open for circuit_breaker.open_duration_seconds, regardless of error_policy.
Install Compass from the marketplace:
/plugin install compass@onlooker-community
Compass activates as soon as it is installed — no additional configuration is required.
All keys are optional. Unset keys fall back to the plugin's config.json defaults.
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.
npx claudepluginhub onlooker-community/ecosystem --plugin compassPlugins from other owners that cover similar ground