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 warwick-bitv0.3.1MITIn 1 marketplace
Carries key session context across compaction in one long Claude Code session. Its hooks run on every prompt and response and store your conversation text locally; it is disabled by default and needs Python 3.9+ and Claude Code 2.1.287+.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Python executable (optional)python_executable
Leave empty for automatic Python 3.9+ discovery. Set an executable name or absolute path, without arguments, only to override discovery. No Git Bash required on Windows.
stringOptional
Session Ledger is an optional Claude Code terminal/IDE plugin for preserving
accuracy-relevant carryover through compaction in one long session. It is not a
general memory system and it never restores information into a new session.
It requires Claude Code 2.1.78 or later: PostCompact was added in 2.1.76
and ${CLAUDE_PLUGIN_DATA} in 2.1.78. Use a current Claude Code release;
the live Windows smoke test for this release used 2.1.281. See the
Claude Code changelog.
The source candidate requires Claude Code 2.1.287+ and working Python 3.9+.
Hooks automatically probe python3, python, then Windows py -3, skipping
unusable interpreters. Native Windows does not require Git Bash. The optional
Python executable setting overrides discovery with one executable name or
absolute path, without arguments. Saved overrides survive updates. See the
repository compatibility contract for current installed-host coverage.
In Claude Code, run these commands separately:
/plugin marketplace add warwick-bit/llm-accuracy
/plugin install session-ledger@llm-accuracy
/plugin enable session-ledger@llm-accuracy
The plugin is deliberately disabled by default because it persists local
conversation text. Installing it alone does not confirm that its hooks run.
Open /plugin, show disabled plugins if needed, enable Session Ledger, and
check that the Errors tab is empty. Python is discovered automatically; use the
optional Python executable option in /config only to override it.
Then exit and start a new Claude Code
session. After updating Claude Code itself, check the new session's version;
an already-open process continues to use its previous version.
For an existing installation, run these commands in your terminal, outside Claude Code, to refresh the marketplace and update the plugin:
claude plugin marketplace update llm-accuracy
claude plugin update session-ledger@llm-accuracy
Confirm the installed version and enabled state in /plugin. Upgrading to the
source candidate needs no Python option when discovery succeeds. Saved overrides
remain in effect. Restart Claude Code. This plugin is separate from any temporary QA plugin;
close the QA launcher and use your normal Claude Code launch for everyday work.
At the start of each Claude Code session, the plugin creates an empty local
ledger. On user-prompt and turn-complete hooks, it reads a bounded tail of the
current session transcript and appends its user/assistant text as a rolling
record. Before Claude Code compacts, it flushes that record to local plugin
storage. When the same session continues after compaction, it restores the
record as explicitly untrusted historical reference. After compaction, it also
keeps the generated compact summary for later same-session resume. A single
message larger than the per-entry byte cap is kept truncated with a visible
[Session Ledger entry truncated.] marker rather than silently dropped.
Recheck time-sensitive facts and sources, and do not treat stored content as
instructions.
For untruncated entries, duplicate suppression recognises matching text and narrowly supported host wrappers; added correction or source-withdrawal text is retained as a separate entry. Unrecognised renderings may remain duplicated. Truncated entries still use a retained-prefix match. This is not semantic correction resolution: older statements and summaries may still be present, and fixed byte limits can omit earlier context or truncate a long message.
The default boundary is one session. /session-ledger:begin-plan optionally
starts a clean plan section for unrelated work within that same session;
starting a plan boundary discards the ledger record captured so far and records
a timestamp cutoff for subsequent transcript capture, without a plan name. /session-ledger:clear
deletes all local ledger state.
Shell directory changes do not reset or disable the ledger. The first captured
workspace hash is reused for the same session and plan, including after cd,
compaction, and resume. Existing unexpired records remain readable without a
migration. An explicit plan marker takes precedence over a prior record, so a
partially failed reset cannot directly restore the stale stored record. New
session IDs never inherit this record. /session-ledger:begin-plan remains the deliberate way to
discard earlier work within a session. This is a same-session boundary, not
workspace isolation: starting in one project and navigating to another retains
both projects' conversation in that session.
7-day copy clicks
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 warwick-bit/llm-accuracy --plugin session-ledgerPlugins from other owners that cover similar ground