← Claude plugins
CLAUDE PLUGIN

reflect

Chanjoong Kim v0.1.4

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 clus...

Create a free account to save this plugin.

From the developer

License

MIT

Declared components

Commands · Agents

Works with

Claude Code

Description

From the marketplace listing

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).

What changed

No changes recorded yet. Follow this plugin to keep track of future changes.

Keywords

Files & skills

reflect · catalog manifest

Saved declaration

{}
reflect · catalog manifest

Saved declaration

{
  "name": "reflect",
  "source": {
    "sha": "bc4c9cfdafffa0713efff363a26d4eacb0033c7d",
    "url": "https://github.com/chanjoongx/reflect.git",
    "source": "url"
  },
  "homepage": "https://www.npmjs.com/package/@chanjoongx/reflect",
  "description": "Session-local metacognition harness for long-running Claude Code work.\n\nWhen 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.\n\nKey features:\n• 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.\n• Single-shot Opus 4.7 with adaptive thinking (effort: high) and 3-layer prompt cache (L1 1h, L2 5m, L3 ephemeral).\nMeasured: cold ~$0.05, warm ~$0.01, 95.9% L1 cache hit.\n• Two cross-platform hooks: PostToolUse (Tier 1+2) and UserPromptSubmit (Tier 3). Pure-bash arithmetic — no jq/bc dependency on Windows git-bash.\n• Session-local by design: no persistence, no cross-session sync, no telemetry. The guidance file evaporates at session end.\n• Failure modes characterized: cold-start refusal (< 5 turns), false-trigger flagging on intent shifts, abstention on regulatory/opaque domains.\n• 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.\n• MIT-licensed. SLSA v1 provenance via GitHub Actions OIDC trusted publisher (Sigstore-signed)."
}
reflect · catalog manifest

Commands

[
  "./commands/brain-reflect.md"
]

Agents

[
  "./agents/reflection-orchestrator.md"
]

Saved declaration

{
  "name": "reflect",
  "agents": [
    "./agents/reflection-orchestrator.md"
  ],
  "author": {
    "url": "https://github.com/chanjoongx",
    "name": "Chanjoong Kim",
    "email": "cj@chanjoongx.com"
  },
  "license": "MIT",
  "version": "0.1.4",
  "commands": [
    "./commands/brain-reflect.md"
  ],
  "homepage": "https://github.com/chanjoongx/reflect",
  "keywords": [
    "claude-code",
    "metacognition",
    "session-local",
    "reflection",
    "opus-4-7",
    "long-running",
    "harness",
    "ai-agents"
  ],
  "repository": "https://github.com/chanjoongx/reflect",
  "description": "Session-local metacognition harness for long-running Claude Code work. When suggestions get reverted, Opus 4.7 reasons about why and injects guidance into the next turn."
}

plugin.json observed Nov 6, 2026 · 10:48 UTC. Manifest source ↗

Catalog declarations and available plugin.json metadata are saved. Referenced skills and executable source files are not downloaded or tested. Missing components in a manifest do not prove that the plugin has none.

Installation instructions

Community

/plugin marketplace add anthropics/claude-plugins-community
/plugin install reflect@claude-community

Claude Code installation documentation

Technical details
Sources
Community
First seen
Oct 3, 2026 · 22:13 UTC
Last seen
Nov 7, 2026 · 00:08 UTC
Latest observed change
Oct 3, 2026 · 22:13 UTC
Collection status
Listed
Reported installs
Not provided

Installation counts are source-reported, not independently verified active users. Observation dates are not release dates.

Download plugin data (JSON)

Plugin history: freshly prepared. Prepared . Refreshed when catalog data changes or after 6 hours. Your account and Follow status are live.