reflect
Publisher not specified · Claude Code
Follow up to 10 plugins for free across Codex and Claude.
What this plugin does
Session-local metacognition harness for long-running Claude Code work.
When suggestions get reverted 3+ times within 10 tool calls, reflect invokes Opus 4.7 to reason about why the rejections clustered. The model reads back the last 20 tool calls, the rolled-back diff, and active rules, then writes structured guidance — pattern, signal, adjustment, confidence — to .reflect/session-guidance.md. The next turn auto-loads it via path-scoped rule injection and adjusts.
Key features:
• 3-tier weighted signal taxonomy: git revert/restore (Tier 1, +100), user-file deletes (Tier 2, +70), utterance negation regex (Tier 3, +50). Cumulative threshold 240 + 5-turn cooldown — fires only when reverts genuinely cluster.
• Single-shot Opus 4.7 with adaptive thinking (effort: high) and 3-layer prompt cache (L1 1h, L2 5m, L3 ephemeral).
Measured: cold ~$0.05, warm ~$0.01, 95.9% L1 cache hit.
• Two cross-platform hooks: PostToolUse (Tier 1+2) and UserPromptSubmit (Tier 3). Pure-bash arithmetic — no jq/bc dependency on Windows git-bash.
• Session-local by design: no persistence, no cross-session sync, no telemetry. The guidance file evaporates at session end.
• Failure modes characterized: cold-start refusal (< 5 turns), false-trigger flagging on intent shifts, abstention on regulatory/opaque domains.
• Optional localhost Next.js companion Viewer (binds 127.0.0.1, never deploys, PII redactor on every read) for live state + reflection history + cross-session drift clustering.
• MIT-licensed. SLSA v1 provenance via GitHub Actions OIDC trusted publisher (Sigstore-signed).
Catalog observations
- Sources
- Community
- Works with
- Claude Code
- Reported installs
- Not provided
- First observed
- 2026-10-03 22:13 UTC
- Last observed
- 2026-10-14 00:00 UTC
Installation counts are reported by Claude Marketplace, not independently verified active users. Observation dates are not release dates. Pricing and account requirements must be checked with the publisher.
Install in Claude Code
Choose a source and review what the plugin adds before installing.
Community
/plugin marketplace add anthropics/claude-plugins-community
/plugin install reflect@claude-community
Source evidence
Descriptions and compatibility labels come from the linked sources. Where both sources match, the GitHub description is used because web summaries may be shortened. We have not independently tested the declared capabilities.