/research-superpowers:revising-manuscript <path to the text, e.g. output/book/text/03-methods.qmd>from research-superpowers
Revises existing manuscript text paragraph by paragraph, preserving editorial decisions in a revision ledger on disk to prevent argument drift across long sessions.
Ships in research-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Working through a real text with the user, one paragraph at a time, produces a stream of small agreements: this argument stays as it is, in this chapter "Redaktion" means the Persian-period layer only, don't soften the claim about Tel Rehov, we rejected moving the counter-position to the end, because the reader needs it before §3. Each of them is made in the chat, and in the chat is where they get lost. Three mechanisms do it, and all three are normal model behaviour rather than accidents:
The user experiences all three as the same thing: earlier arguments seem to be forgotten. The fix is the one that already works for drafting: the agreements live on disk, not in the conversation, and they are re-read — not remembered — before every edit.
Announce at start: "Using revising-manuscript on <path>. I'll keep a
revision ledger at <ledger path>: every decision we make goes in there, I
re-read it before each paragraph, change only what we discussed, and don't
touch approved paragraphs again unless you reopen them."
One ledger per revised text. Path:
| Text | Ledger |
|---|---|
output/book/text/03-methods.qmd | output/book/outline/03-methods-revision.md |
output/article/article.qmd | output/article/outline/article-revision.md |
anything else (<dir>/<name>.<ext>) | <dir>/<name>-revision.md |
If an outline from drafting-manuscript exists for the same text, read it too:
its thesis, claim chain and approved section sketches are binding for the
revision unless the user changes them — and a change goes into both files.
---
title: "Revision ledger: <text title>"
type: revision-ledger
target: output/book/text/03-methods.qmd
round: 1
revision_goal: "<the user's words>"
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
## Decisions
| ID | Kind | Decision | Applies to | Reason | Date |
|----|------|----------|------------|--------|------|
| D1 | argument | The circularity objection stays in §3.2 and is answered there, not deferred | P04–P06 | Reader needs it before the Megiddo case | 2026-11-15 |
| D2 | term | "Redaktion" = the Persian-period layer only; earlier layers are "Bearbeitung" | all | Avoids two concepts under one word | 2026-11-15 |
| D3 | rejected | Do NOT hedge "the dates are circular" to "possibly circular" | P05 | The author's claim; the source supports it | 2026-11-15 |
| D4 | wording | Keep "nicht entscheidend" verbatim from Finkelstein | P07 | It is a quotation-like paraphrase | 2026-11-15 |
## Paragraphs
| ID | Anchor (first words) | Status | Decisions |
|----|----------------------|--------|-----------|
| P01 | "Die Chronologiedebatte ist …" | approved | — |
| P02 | "Ausgangspunkt der Neudatierung …" | approved | D2 |
| P03 | "Gegen diese Lesart …" | in-discussion | D1 |
| P04 | "Für Megiddo bedeutet das …" | open | D1 |
## Open threads
- T1 — The term "Fremdgötter" is used before it is introduced; settle when we reach P09 (raised at P03)
- T2 — P11 must pick up the Tel Rehov point from P05 (D3)
Kinds of decision (use these words so the ledger stays scannable):
argument (a point that stays, moves, or goes), term (a fixed meaning or
fixed wording of a term of art), wording (a formulation that is kept
verbatim), rejected (a proposal that was turned down — with the reason, so it
is not proposed again), scope (what this text does not do), structure
(order, cuts, merges), style (a register or voice decision).
Write decisions in the user's words where they gave them. A decision recorded as your paraphrase is already a step of drift.
Paragraph IDs are stable. Assign P01, P02 … once, at the start, by order.
Numbers in the chat ("the fourth paragraph") shift when paragraphs are split or
merged; IDs do not. A split paragraph becomes P07a / P07b, a merge keeps the
first ID and marks the other merged into P07. The anchor (first words) is
how you find the paragraph again in the file.
Status: open (not yet worked on) · in-discussion · approved (agreed,
written to the file, frozen) · reopened (the user unfroze it, with the reason
as a decision).
CLAUDE.md → Manuscript style.approved. Do not reconstruct the agreements
from a chat summary or from memory: the ledger is the record. If the text on
disk differs from the ledger (paragraphs the ledger marks approved have
changed), say so before going on.revision_goal in the user's words, the
paragraph register with IDs and anchors, and any decisions the user states
up front ("the thesis stays", "don't touch the introduction").Re-read the ledger — the file, this turn, not your memory of it. Every paragraph, every time. It is short; the cost is trivial next to a lost agreement.
Read the paragraph in context — the paragraph, the two approved
paragraphs before it, and the one after it. List the decisions whose
Applies to covers it, and the open threads that land here.
Discuss — what is the paragraph's job in the argument, and what should
change? Follow the user's lead. When you see a problem, name it; when the
user disagrees, that is a decision (rejected, with their reason).
Propose a minimal edit — change what was discussed and nothing else (see Minimal edits). Present it as before / after for the changed sentences only, then the ledger check:
Ledger check P05: D1 kept (objection answered here) · D3 kept (no hedge
added) · D4 kept (verbatim) · T2 noted for P11.
Name every decision that applies, kept or not. A decision you are proposing to break is stated as such — "this would undo D3; reopen it?" — never slipped in.
STOP — present and wait. The message that presents the edit ends there.
Record before moving on — on approval: write the paragraph to the file,
set it approved, and add every decision made in this discussion to the
ledger in the same turn. Tell the user in one line what went in
("Ledger: + D7 term 'Bearbeitung', + T3 for P14") so a misrecorded decision
is caught now. Then go to step 5 for the next paragraph — one paragraph per
turn, unless the user asks for a batch.
Decisions entry against the text as it now stands. Report in a
short list — "D2: P09 uses 'Redaktion' for the Assyrian layer — conflict" —
and fix only what the user approves. This is the step that catches what the
paragraph-level check could not: a later paragraph that contradicts an
earlier one without touching any single decision.[@bibkey] resolves in
output/bibtex/references.bib; for a .qmd, render it.knowledge/_meta/log.md: date, text, round, paragraphs
revised, decisions recorded. Increment round in the ledger if another
round follows; decisions carry over between rounds.<library>/pdf/<bibkey>.pdf
at the cited page) and a citation — the same rule as drafting-manuscript.
Nothing from memory.drafting-manuscript → Precision rules).An approved paragraph is not edited again in passing. When work on a later paragraph requires a change to an earlier one — a term is redefined, an argument moves — name the affected paragraphs and ask to reopen them:
"D2 changes 'Redaktion' to the Persian-period layer only. P02 and P06 use it for the Assyrian layer — reopen both?"
On yes: status reopened, the reason goes into the ledger as a decision, edit,
re-approve. On no: the new decision is narrowed, or the conflict is recorded as
an open thread. Never adjust an approved paragraph as a side effect.
The ledger and the minimal-edit discipline need a text you can diff. For a
.docx, convert once to a Markdown working copy next to it
(pandoc -t markdown <file>.docx -o <file>.md), revise that, and tell the user
the changes will need to be carried back into Word (or converted back with
pandoc) — formatting, comments and tracked changes do not survive the round
trip. For tracked changes in the Word file itself, use the host's Word tooling;
the ledger and the loop stay the same.
| Thought | Reality |
|---|---|
| "I remember what we agreed on paragraph 3" | Memory is exactly what fails here. Re-read the ledger, every paragraph. |
| "The summary after compaction says we discussed P03" | Discussed is not decided. The ledger has the decision; the summary does not. |
| "I'll tidy the sentences around the change too" | That is how rejected wordings return. Change what was discussed. |
| "This is better phrasing than what the author had" | The text is theirs. Propose it separately, or leave it. |
| "The user rejected this earlier, but it really is better" | It is in the ledger as rejected, with a reason. Don't propose it again unless something new speaks for it — and then say what. |
| "P14 needs P04 adjusted; I'll fix P04 quickly" | P04 is approved. Ask to reopen it. |
| "I'll record the decisions at the end" | By the end they are half-remembered. Record in the same turn. |
| "The ledger check is a formality — nothing applies here" | Then write "no decisions apply" — after checking Applies to and the open threads. |
| "I'll soften this claim to be safe" | A hedge the author didn't write changes the argument. Raise it; don't apply it. |
| "Let's just do the next three paragraphs at once" | Fine if the user asks — then one ledger check per paragraph, and still one STOP. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub leiverkus/research-superpowers --plugin research-superpowers18 skills in this plugin
/acquire-sourcesUse AFTER literature-review and BEFORE ingest-source to obtain the actual PDFs for the A+B graded sources. Auto-downloads Open-Access PDFs into the shared library (<library>/pdf/<bibkey>.pdf — the bibkey IS the filename) and writes a manual-download worklist (input/bibliography/acquisition-todo.md) for everything paywalled or bot-blocked, so the user can fetch originals via university VPN. Re-run to reconcile manually-downloaded files. Triggers on "acquire the sources", "download the literature", "get the PDFs", "Quellen beschaffen", "lade die Literatur herunter". NOT a search skill (that is literature-review), NOT an ingest skill (that is ingest-source)./add-to-libraryAdd ONE document (a PDF) directly to the shared master library — outside the project ingest flow. Auto-discovers the bibliographic metadata, VERIFIES it against Crossref/OpenAlex (never guessing), derives keywords cheaply from the PDF's docinfo + first-page abstract (no full read), computes the canonical bibkey, places the PDF at <library>/pdf/<bibkey>.pdf and appends the entry to <library>/references.bib. Stops and asks when metadata cannot be verified. Triggers on "add this PDF to the library", "add to the master bibliography", "put this straight in the library", "füge das Dokument der Bibliothek hinzu", "nimm das PDF in die Bibliothek auf". NOT ingest-source (which reads a source into a project's wiki), NOT acquire-sources (which downloads a review's worklist)./brainstorming-researchUse BEFORE any research work — defining a question, planning a study, starting a chapter, proposing a grant. Explores intent, state of the field, methodology, feasibility, and ethics, then writes a design doc and gets user approval./drafting-manuscriptUse to draft a book chapter, article section, or grant exposé from synthesized wiki content. Settles the argument architecture with the user first; by default then sketches the WHOLE text — every section's argument, a paragraph plan for long sections, an evidence check with a gap list — and gets that sketch approved before any prose exists, then writes section by section along the plan (per-section mode on request). Pulls from stable synthesis pages and source pages, writes to `output/**/*.qmd` with proper citations. Never drafts from memory — always from the wiki./drift-reportUse to check the shared library, the current wiki, and all registered projects for accumulated drift — un-indexed PDFs, scans without a text layer, PDF bloat, project-bib keywords not yet merged into the master, cross-project bibkey collisions, lint regressions from out-of-band edits. Wraps hooks/drift_check.py, the same state-triggered check that runs automatically at session start. Triggers on "drift report", "check everything", "was steht an", "prüf mal alles", "ist alles konsistent", "check the library". NOT wiki-lint (single-project structural lint — this composes it), NOT semantic-wiki-review (LLM content audit — this is deterministic only)./executing-research-planUse AFTER writing-research-plan has produced a ready plan (status=ready for hermeneutic projects, status=pre-registered for quantitative/mixed). Reads `input/ideas/<slug>-plan.md`, creates one task-list item per plan task, runs a pre-ingest acquisition gate (acquire-sources) so originals are on disk before any source-ingester runs, and works tasks via subagent dispatch (source-acquirer, source-ingester, analyst, drafter) with two-stage review. Does not execute anything outside the plan.Other plugins' skills for the same job