apply_ledger — Claude Code prompt for report edits
The apply_ledger Claude Code prompt applies independent fact-check findings to a report section. It revises claims flagged in the ledger while preserving untouched content.
no license ★ 654 updated 2026-11-09
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciencesWhat apply_ledger does
The prompt edits one report section using a ledger of claims and independent verdicts. It replaces partly incorrect or unsupported statements with corrected wording, or removes a statement when it cannot stand and no correction is provided. Plans and estimates are rephrased so they read as such, rather than as observed facts.
It adds a caveat only when leaving it out could mislead the reader. Headings, tables, lists, figure references, numbers, and unaffected sentences stay in their original order. The edited section should remain within about 10% of its original length, and no new facts may be added. The prompt uses no tools.
What it helps with
- revise claims marked partly incorrect
- remove unsupported statements from a report section
- recast plans and estimates as proposals or estimates
- add a material condition to a supported claim
Example prompts for the agent
- Apply the ledger findings to this section of the report.
- Revise unsupported claims and leave the rest of the section unchanged.
- Reword the plans and estimates so they are not presented as observed facts.
How to install apply_ledger
1Plugin marketplace
/plugin marketplace add anthropics/life-sciences/plugin install clinical-trial-forecast@life-sciences2Manually: put the files in place
.claude/commands/apply_ledger.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about apply_ledger
How do I install apply_ledger in Claude Code?
Run /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences. The command file is .claude/commands/apply_ledger.md.
What does apply_ledger do?
It applies independent fact-check findings to one report section. The prompt corrects or removes affected claims and preserves content the ledger does not address.
What does apply_ledger need to run?
It takes a claim ledger and the report section to edit. The prompt does not use tools.