---
name: manuscript-production
description: Use this skill when helping produce a scholarly, clinical, or research manuscript from idea through submission. Trigger for manuscript planning, source packet creation, article digestion, atomic claim extraction, evidence matrices, outlines, drafting, claim calibration, reference audits, reviewer responses, coauthor packets, submission readiness checks, or when the user says they want to produce or supercharge manuscripts.
title: manuscript-production
canonical_url: https://skilld.dev/gh/erafat/skills/manuscript-production
last_updated: 2026-10-30T07:04:42.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/agents/openai.yaml), [assets/00_brief.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/00_brief.md), [assets/01_source_packet.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/01_source_packet.md), [assets/02_evidence_matrix.csv](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/02_evidence_matrix.csv), [assets/03_claim_ledger.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/03_claim_ledger.md), [assets/04_outline.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/04_outline.md), [assets/05_reviewer_tracker.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/05_reviewer_tracker.md), [assets/06_reference_audit.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/06_reference_audit.md), [assets/07_final_readiness.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/07_final_readiness.md), [assets/article_digest.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/assets/article_digest.md), [references/claim_strength.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/references/claim_strength.md), [references/evidence_search.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/references/evidence_search.md), [references/readiness_checklist.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/references/readiness_checklist.md), [references/reviewer_response.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/references/reviewer_response.md), [references/workflow.md](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/references/workflow.md), [scripts/extract_docx_text.py](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/scripts/extract_docx_text.py), [scripts/manuscript_word_count.py](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/scripts/manuscript_word_count.py), [scripts/risky_claim_scan.py](https://skilld.dev/api/skills-raw/erafat/skills/manuscript-production/scripts/risky_claim_scan.py).
>
> If the user asked to install this Skill, run `npx skilld install erafat/skills/manuscript-production`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/manuscript-production`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/erafat/skills/manuscript-production) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/manuscript-production`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/manuscript-production --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/manuscript-production --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Manuscript Production

## Operating Principle

Treat manuscript work as a production pipeline, not a sequence of disconnected edits. The user's role is direction, clinical/domain judgment, taste, and final sign-off. Codex owns decomposition, evidence organization, candidate generation, audit trails, and making uncertainty visible.

Do not let the workflow jump straight into prose unless the user explicitly asks. When the project is early, start upstream: why the paper matters, who it is for, what artifact is being built, the end goal, and how success will be measured.

## Stage Gate

Move through visible stages:

1. Brief
2. Source packet
3. Outline/options
4. Draft
5. Verify
6. Revise
7. Ship

The key gate is source packet before prose. If the user is beginning a manuscript and has not gathered references, stop and build the minimum viable source packet first. Late reference searching causes unstable claims, citation mismatch, duplicated framing, and repeated final audits.

## First Response Pattern

Classify the manuscript stage before doing work:

- Idea-stage: clarify purpose, audience, target journal, success measure, and core claim.
- Source-stage: build source packet, evidence matrix, and claim ledger before drafting.
- Draft-stage: preserve the user's voice, tighten structure, and check evidence alignment.
- Revision-stage: map reviewer comments to manuscript changes and response-letter language.
- Final-stage: audit for coauthor-ready versus submission-final status.

Ask only the questions that change the next concrete move. Prefer producing a reusable artifact over giving general advice.

## Required Artifacts

For a new manuscript, create or maintain these files in the project folder unless the user asks for another format:

- `00_brief.md`: manuscript purpose, audience, journal target, core claim, success measure.
- `01_source_packet.md`: must-read sources grouped by role.
- `02_evidence_matrix.csv`: source-by-source evidence table.
- `03_claim_ledger.md`: major claims and support level.
- `04_outline.md`: section-level argument plan.
- `05_reviewer_tracker.md`: reviewer comments, response status, and manuscript locations.
- `06_reference_audit.md`: citation/reference issues and exact fixes.
- `07_final_readiness.md`: coauthor-ready and submission-final dashboard.

Templates are in `assets/`. Copy and adapt them when starting a project. Use `article_digest.md` when the task is to digest papers before a manuscript-specific packet exists.

## Article Digestion And Wiki Use

When the user provides a Zotero collection, PDF folder, article folder, or asks to digest papers, treat this as a source-stage intake task. The output should be reusable article knowledge, not only a one-off manuscript packet.

For each important article:

1. Extract or read the best available full text. If only the abstract is available, mark that clearly.
2. Create or update one reusable article digest using `assets/article_digest.md`.
3. Include atomic claims: one claim, one source, one support level, and one caution.
4. Store or point the digest to the user's knowledge-base/wiki location when available.
5. Use the digest later as the first evidence source for manuscript source packets, evidence matrices, claim ledgers, drafting, and reference sanity checks.

Atomic claims are evidence units, not final prose. Keep them short, source-tethered, and conservative. Prefer "what this paper supports" over polished paragraph language.

When working inside the user's BaseCamp vault, prefer the existing epilepsy knowledge-base pattern:

- `Resources/Epilepsy Knowledge Base/raw/` for source material close to original form.
- `Resources/Epilepsy Knowledge Base/wiki/paper-notes/` for reusable article digests.
- manuscript project files for manuscript-specific selection, synthesis, and wording.

Do not copy every digested detail into the manuscript packet. Link to the wiki digest, then extract only the claims needed for the manuscript spine.

## Evidence Discovery Tools

For clinical manuscripts, use evidence-discovery tools during the source-packet stage, not after drafting. If an OpenEvidence MCP server is available, it can help ask focused clinical questions, retrieve prior OpenEvidence article payloads or history, and generate candidate sources for the source packet.

Use OpenEvidence-style results as evidence leads, not final citation authority. Verify important claims through full text, PubMed/journal pages, guidelines, or the user's source library before drafting strong claims. Record useful leads in `01_source_packet.md` and convert verified sources into `02_evidence_matrix.csv`.

If OpenEvidence MCP is not configured, continue with PubMed, journal sites, guidelines, PDFs, Zotero exports, and local source folders.

## Claim Discipline

For clinical/research manuscripts, prioritize source fidelity, conservative claims, full-text evidence, measurable outcomes, and human review.

Classify major claims as:

- Established: directly supported by strong evidence or consensus.
- Associated: supported by observational or correlational evidence.
- Plausible: biologically or mechanistically reasonable but not proven.
- Hypothesis-generating: suggestive, incomplete, or exploratory.
- Overclaimed: stronger than the evidence supports.

When a claim is clinically useful but not definitively proven, preserve usefulness without overstating certainty. Prefer language such as "may," "is associated with," "is clinically actionable," "supports evaluation," or "remains an open research question" when appropriate.

## Drafting Rules

- Preserve the user's voice and current prose unless asked to rewrite from scratch.
- Make local edits when the existing argument is sound.
- Keep reviewer defensibility ahead of polish.
- Avoid duplicated rationale across Introduction, Discussion, and Conclusion.
- Track word debt early; do not wait until final submission.

## Verification Rules

Before any serious audit, use the current saved manuscript file, not an older export or stale extraction. Re-extract current DOCX text after each edit cycle before trusting prior notes.

For near-final clinical manuscripts, check:

- reviewer-response alignment
- claim strength versus evidence strength
- citation/reference integrity, including possible hidden citation field residue
- word count and journal fit
- figure/table consistency
- coauthor-ready versus submission-final status

If giving corrections, prefer exact Markdown deliverables:

- `Find ...`
- `Replace with ...`

For sentence-level work, show only the current lines that need replacement unless broader context is necessary.

## Automation Helpers

Scripts in `scripts/` are intentionally small and project-agnostic:

- `extract_docx_text.py`: extract text and visible references from a DOCX.
- `manuscript_word_count.py`: estimate section-level word counts from a text extraction.
- `risky_claim_scan.py`: flag potentially overstrong clinical/research language.

Use these as intake helpers, then apply judgment. Script output is not a substitute for source review or user sign-off.

## Common Failure Modes

- Searching for references only after drafting: fix by building `01_source_packet.md`, `02_evidence_matrix.csv`, and `03_claim_ledger.md` before prose.
- Digesting articles only inside a one-off manuscript folder: fix by creating reusable article digests and atomic claims in the user's knowledge base, then linking them into the manuscript packet.
- Clean-looking bibliography but persistent citation issues: fix by re-extracting the current DOCX and checking hidden/stale citation residue.
- Generic audit that does not answer the real risk question: fix by explicitly saying coauthor-ready, submission-final, or not ready.
- Clinical-actionability framing becomes causal overclaiming: fix by tying claims to the evidence level and naming what remains unproven.
- Late audit keeps reopening the whole paper: fix by narrowing to the stable blocker set once the argument is settled.
