Shared Sessions for Claude Code
Share a Claude Code session with a link. Teammates join from their own Claude Code and work in it together.
Evidence-first accuracy hygiene for Claude.
Translation pending
PluginsPython · BatchfileGitHub @warwick-bitSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Loading the full README. The saved excerpt is shown below.
Make everyday Claude answers more predictable, consistent and trustworthy.
LLMs are built to give useful answers quickly. When a question is ambiguous,
they often fill the gaps by choosing a definition, time period, comparison or
source for you. Those choices can change between sessions, so the same simple
question can produce different answers.Read the full README ↗Make everyday Claude answers more predictable, consistent and trustworthy.
LLMs are built to give useful answers quickly. When a question is ambiguous, they often fill the gaps by choosing a definition, time period, comparison or source for you. Those choices can change between sessions, so the same simple question can produce different answers.
LLM Accuracy asks Claude to slow down at those decision points: clarify what you mean, keep claims within the evidence, preserve conflicts between sources and say what is still unknown. Deterministic Data adds your team's reviewed definitions and declared source routes when repeat questions need a consistent method.
Implementation, regression tests, installation checks and release receipts live in this repository. Reproducible model studies, comparisons, charts and the practitioner narrative live in the Finance/Data Eval repository. The studies report failures and limitations; they do not establish a universal accuracy benefit. See the 0.8.1 marketplace qualification for that version's evidence and pending tag, and the 0.8.6-personal.5.27 release notes for the current changes, qualification and remaining coverage gaps.
Special thanks to Sophiie AI for allowing me to open source LLM Accuracy, which I developed over six months while working there.
Want to review your existing Claude Code or Codex setup first? Use Config Doctor, a separate preview tool with its own download and copy-paste quickstart. It proposes configuration improvements for you to review; no LLM Accuracy plugin installation is required.
Use LLM Accuracy for everyday questions where a plausible answer could still be the wrong answer. Most people should install only this plugin first.
The basic loop is:
/llm-accuracy:verify or ask Claude to audit its previous answer.The hooks are advisory. They help Claude reason more carefully, but they do not independently verify the source or guarantee the final answer. Deterministic Data is the separate plugin for applying your own reviewed definitions and declared source routes to repeat data questions.
Desktop Chat/Cowork use the stateless Accuracy/Deterministic Data skills. Cowork hook delivery remains unverified. See platform capabilities and current QA.
The general reminder asks Claude to verify measurements and coverage, test
competing causes, and revisit dependent conclusions when correcting a diagnosis.
Additional business-ambiguity and source-conflict reminders remain targeted.
When the data is available, the ambiguity reminder asks Claude to inspect it
first and show how each reading changes the figure before asking which one you
mean.
Use /llm-accuracy:verify for an explicit check. See
reminder modes to restore the
previous targeted-only behaviour or mute the fidelity reminder.
Users can also add their own trigger phrases
for fidelity, analysis or source-conflict checks without editing the plugin cache.
For technical work, /llm-accuracy:verify-technical guides reproduction,
competing-cause checks and verification after a fix. Use
/llm-accuracy:accuracy-doctor to inspect activation and configuration when
machines behave differently. Substantive technical diagnoses request a compact
Checked / Gap / Next footer. These are advisory workflows, not accuracy guarantees.
Version 0.8.4 includes an on-demand clarify skill and routes
material ambiguity to the host's available interactive multiple-choice question
tool, with a chat fallback. It reuses settled answers and asks only about choices
that change the result. Claude reminders and model-selected Codex skills provide
the automatic path; Codex has no automatic hooks. See the
packaged workflow.
See the 0.8.4 release notes for tested behavior and
remaining host coverage gaps.
Before installing it, ask your current Claude:
What is our revenue?
Note whether it asks what revenue means or silently chooses a metric, period and source. Then install LLM Accuracy.
A typical answer before installation might be:
Revenue was $120k last month.
That answer sounds useful, but it silently chose the revenue definition, period, currency and source.
This source candidate needs signed-in Claude Code 2.1.287+ and a working
Python 3.9+ executable. If /plugin is unavailable, update Claude Code first; the
installation guide
covers the full prerequisites and troubleshooting path.
Install it in Claude Code:
claude plugin marketplace add warwick-bit/llm-accuracy --scope user
claude plugin install llm-accuracy@llm-accuracy --scope user
After installing, open /config in Claude Code and set LLM Accuracy's Python
executable option. Use a verified python3 on Linux/WSL/macOS, or a verified
python or absolute python.exe path on native Windows. Supply one executable,
with no arguments; Git Bash is optional. Check that executable's --version
first. Configuration is required for hooks to run.
Run /reload-plugins, then ask the same question again:
What is our revenue?
The reminder should make Claude ask a short, concrete clarification before it answers, such as which revenue basis you mean, the period or as-at date, currency and source. The exact wording can vary.
A safer answer after installation might be:
Which revenue do you mean: MRR, ARR, recognised revenue, invoiced revenue or cash received? Which period, currency and source should I use?
Then try a question that already supplies those choices:
What is our recognised revenue from the general ledger for September 2026?
The ambiguity reminder stays silent because the definition, source and period are explicit. Claude may still need access to the ledger or ask about currency under other instructions.
This test shows an advisory clarification, not independent verification. To
make the answer repeatable across a team, add Deterministic Data, define
each revenue measure in its editable catalogue and bind each definition to its
approved read-only source. Then invoke /deterministic-data:data-routing with
the question and your catalogue path. Installing its untouched fictional
catalogue cannot answer questions about your company.
The raw-free Claude Code smoke receipt records the paired prompts, negative controls and limits of the test without publishing the model responses.
In a small synthetic Claude Code test using the same Claude model and a fresh session for every run:
What is our revenue?.n=1 per setup). No improvement was observed on that
prompt.This measures whether Claude asked for the missing choices before answering. It does not measure a percentage improvement in overall factual accuracy. The sample is small and synthetic, so treat it as an exploratory product smoke, not a statistically powered benchmark. See the raw-free test receipt for the exact setup and limits.
The public-plugin test above showed that LLM Accuracy made Claude ask for the missing revenue definition and period. Separately, we tested early prototypes of stricter fact checking. These prototypes are not part of the plugins you can install today.
These prototype tests support the direction of stricter checking, but they do not show that the current plugins improve overall accuracy. LLM Accuracy helps Claude clarify ambiguous questions. Deterministic Data gives teams consistent definitions and approved source routes. Neither guarantees that every sentence Claude writes is true.
The detailed test record lists the numbers and limitations. It includes totals only, not the original questions or answers, so other people cannot rerun the same tests from this repository alone.
For Cowork, download the latest
llm-accuracy-<version>.zip,
upload it through Customize → Plugins, and use the same test prompts. See
the installation guide for updates, removal, other Claude
products and the optional plugins.
Three small synthetic tests of how Claude Code handles data it fetches. Every completed setup got the exact answers, so the differences below are cost and time, not accuracy. The samples are small: treat these as working rules, not measured guarantees. The test record has the figures and limits.
This repository is public and MIT-licensed; see LICENSE. Do not submit credentials, customer data, provider payloads, or raw conversation transcripts in issues, pull requests, or test fixtures.
The plugins cover only a generic core:
The marketplace also offers a separate, optional Session Ledger plugin for Claude Code terminal or IDE use only. It starts a bounded local ledger with every session, appends a rolling user/assistant session record as work progresses, and flushes that ledger before compaction. It then restores it when the same compacted session continues, so accuracy-relevant decisions, sources, unknowns, and re-check warnings survive. It is not shared with a new Claude session, never writes to the project or Git, and expires after 30 days. Install it only if you accept that the retained record and compact summary can contain sensitive local content.
For source-adapter integration, see tool failures, refreshes and evidence receipts, including synthetic regression cases and the limits of structural validation. For output-boundary guidance, see evidence boundaries and answer publication, including unsupported derivations and runtime limitations.
Third-party tools for nearby jobs, with what we checked and when, are listed in companion tools.
Provider-specific verification integrations are intentionally out of scope. See CONTRIBUTING.md for feedback rules and SECURITY.md for responsible disclosure.
The marketplace also includes Deterministic Data, a separate editable template for user-owned catalogues, definition routing and source bindings. Its bundled catalogue is fictional. Users customise a fork or source copy and then install it in Claude Code or upload a rebuilt ZIP to Cowork; installed marketplace files are not the editing surface.
These examples use fictional data. They show the failure being corrected, the safer answer, and which part of the plugin changes the behaviour.
Examples 1 and 2 use LLM Accuracy. Example 3 uses Deterministic Data, which is offered through the same repository marketplace but installed and enabled separately. Neither plugin depends on the other.
Question
A survey of 80 trial users says 62% activated. Can we report that 62% of all customers activated?
Typical failure
Yes. Customer activation is 62%.
The answer silently changes the population from surveyed trial users to all customers.
With /llm-accuracy:verify
Status: withheld
Evidence boundary: the survey reports 62% for a group described as 80 trial users.
Unknown: raw activated count, survey method, activation definition and time window.
Overreach: this does not establish activation for all customers.
Next check: measure the full customer population using the same activation definition and window.
How it changes the answer: the workflow compares the claim and source across population, measure, time window, freshness and completeness. This is a model-guided evidence check; it does not independently verify that the survey itself is correct.
Tool response envelope
{
"rows": ["fictional records omitted from this example"],
"returned_count": 25,
"has_more": true,
"next_cursor": "page-2"
}
Typical failure
There are 25 records in total.
With LLM Accuracy
This is a partial result: the response declares 25 returned rows on the first page and another page is available. I need to continue from
page-2, or report only this page. The complete total is withheld.
How it changes the answer: a programmatic post-tool hook detects explicit
partial-result markers such as has_more, a next-page cursor, row-cap warnings
or host truncation. It adds a bounded reminder without retaining or echoing the
tool payload. The model can still cite details from the original response, as
it does above; those details are not re-emitted by the hook. The hook cannot
prove completeness when the source declares no partial-result marker.
Question
What were active service units last month?
Typical failure
Active service units were 1,240 last month.
That answer can invent the definition, calendar window, source and value.
Deterministic Data's catalogue and validators provide deterministic boundaries around a model-guided routing workflow.
With /deterministic-data:data-routing and the bundled example catalogue
The following is a model-produced response that follows the routing workflow. The validators can check its catalogue and receipt structures, but do not programmatically select the definition or execute the route.
Matched definition:
active-service-unitsRoute status: source unavailable
Window:
latest_complete_month; concrete dates unresolvedEvidence receipt: emitted inline and structurally validated
Canonical value: withheld because the example has no working provider adapter and defines no calendar, timezone or close rule.
How it changes the answer: the workflow instructs the model to match exact aliases to a reviewed definition, stop on candidate, ambiguous and missing definitions, and use only the declared read-only source binding for an approved definition. Failed, partial or unavailable reads stay unresolved instead of being replaced with a remembered number. The programmatic catalogue validator rejects invalid structure and duplicate normalized aliases. The receipt validator rejects malformed receipts and, when supplied the expected epoch, prompt-epoch mismatches. These validators do not execute the route or prove the source value is true.
To make the third route useful, copy the fictional catalogue, add your own reviewed definition and calendar rules, bind it to a read-only source, validate the catalogue, and test it with synthetic fixtures before using real data.
After that setup, a successful fictional route could return
Matched definition:
active-service-unitsRoute status: declared read-only source executed
Window: resolved using the catalogue's calendar, timezone and close rule
Evidence receipt: emitted inline and structurally validated
Canonical value: 1,240 fictional units, supported by the completed source read for the resolved window.
The value becomes eligible to return because the definition, window, binding and completed read align. Human review still decides whether those inputs and the underlying source are trustworthy.
Choose the installation path that matches your Claude environment.
See the complete installation guide, including activation, updates, removal, and troubleshooting. Validate each release in a clean supported runtime before relying on it for consequential work.
After installation and activation, use Claude Code normally. There is no command to run or system prompt to paste for matching prompts. The self-audit workflow is also available when you ask the assistant to check one of its earlier answers.
In Claude Code, the general fidelity reminder is added once when a session starts, resumes, is cleared or is compacted (every prompt is an opt-in mode). Version 0.8.4 also sends a short Clarify check on each non-empty prompt in default session mode; it asks only about unresolved material choices. Additional reminders target ambiguous business questions, open-ended analysis, evidence-boundary claims, source conflicts and context compaction. They do not block work, fetch evidence, or verify an answer for you. The general reminder also covers greetings and creative tasks; it asks Claude to keep those tasks brief. Delivery coverage is not proof that the model follows the reminder or answers more accurately.
Use /llm-accuracy:verify to check whether a conclusion is supported
by its source, population, definition, window, freshness and completeness. The
receipt validator checks structure only and stores no receipt content.
When separately installed, Session Ledger starts automatically with each Claude
Code session, captures a bounded rolling session record as that session
progresses, flushes it before compaction, and restores it when the same compacted
session continues. There is no everyday command to run. /session-ledger:begin-plan
is optional when you deliberately start unrelated work within the same long
session, and /session-ledger:clear removes the plugin's local ledger state.
Evidence Memory can be installed separately; /evidence-memory:memory explains
its explicit capture, lookup, correction and deletion commands.
An LLM can give too much weight to recalled training material, earlier messages, or a stale summary after a long session even when the underlying fact has changed. That can degrade accuracy while the answer still sounds confident. LLM Accuracy asks the model to recheck current evidence, distinguish evidence from inference, and mark an unavailable source as unknown rather than fill the gap from memory.
Read the OS and host contract for the source candidate. Claude hooks require a configured Python 3.9+ executable and Claude Code 2.1.287+; The hook implementation does not require Git Bash; installed support is certified only by current receipts. Desktop Chat/Cowork use stateless skills. Code publication requires credential-free native installation/hook checks on Linux, macOS and both Windows Bash scenarios, plus current-source local live QA. Offline checks do not certify live delivery on every OS. Remaining Desktop lifecycle and platform QA gaps stay visible. Codex has a separate boundary.
Run the lightweight distribution checks:
python3 -m pytest -q
python3 scripts/check_compatibility.py
python3 -m py_compile $(find plugins -path '*/hooks/*.py' -print)