bip-ms-sweep
Pre-share / pre-submission polish sweep of a TeX manuscript. Fans out parallel scans (writing review, citations, orphan floats, terminology, numbers, URLs…
от matsen★ 35 звёзд на GitHub
Установить bip-ms-sweep в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/bip-ms-sweep
Pre-share or pre-submission polish sweep of a TeX manuscript, run from its repo.
Eight focused scans run in parallel; the primary consolidates them into a punch list in chat and the user decides what to fix.
Not a code-vs-paper audit (/bip-ms-audit) or a manuscript cold start (/bip-ms).
Usage
/bip-ms-sweep # full sweep of the manuscript at the current cwd
/bip-ms-sweep <paper.tex> # explicit paper file
/bip-ms-sweep --since <ref> # restrict the writing-review pass to changes since <ref>
# (mechanical scans always run on the full paper)
Default scope is the full paper (main + SI + bib).
Core principle
- Editorial markers (
%EM,%HH,% TODO,% NOTE, …) are live co-author communication. List them; flag one only if it looks stale or self-contradictory. - Assume no repo layout and no
.ms-config.json. Transient scratch goes in_ignore/sweep/in the manuscript repo (create it; warn if not gitignored). No report file.
Workflow
Step 1: Identify manuscript files
ls *.tex *.bib 2>/dev/null
- Main file: the
paper.texarg if given, elsemain.tex, thenmanuscript.tex, then the largest.tex. - SI file, if any (commonly
si.tex,supplement.tex,supp.tex). - Bib file (commonly
main.biborrefs.bib).
Ask if ambiguous; state what you picked.
Step 2: Fan out all sweeps in parallel
Dispatch all eight scans in one message, following SUBAGENT-SCAN.md (bipartite repo root). Re-dispatch any scan whose output is empty or under 50 words.
Scan 1 — Writing review (scientific-tex-editor)
Pass the manuscript path(s), any --since <ref>, and project style rules from the project's AGENTS.md or CLAUDE.md.
Cap at ~400 words. Real problems only (factual or logical inconsistencies, broken sentences, undefined terms, awkward phrasings from recent edits); no stylistic reshaping or reorganization.
Group as Must-fix / Should-fix / Optional.
Scan 2 — Citation graph audit (Explore)
\cite{}keys not in the bib (these break compile).- Bib entries never referenced.
Two lists with file:line, plus a one-line verdict.
Scan 3 — Orphan floats + tool-name typesetting (Explore)
- Every
\label{fig:…}/\label{tab:…}/\label{eq:…}must be referenced via\ref,\autoref,\Cref,\cref, or\eqref. Account forxrcross-document refs: main refers to SI labels through the\externaldocumentprefix (e.g.supp-). - Tool names (UShER, larch, nextclade, PastML, taxonium, BEAST, IQ-TREE, MUSCLE, matUtils, etc.) whose typesetting varies across the document.
Two labeled lists.
Scan 4 — Numerical consistency (general-purpose)
Discover numbers that recur in the manuscript (counts, percentages, fold-changes, correlations, p-values, thresholds, hyperparameters) by reading it, not from a fixed list. One line per quantity: ✓ consistent (with line numbers) or ✗ inconsistent (showing the differing values).
Scan 5 — Editorial markers + URL consistency + cross-reference direction (general-purpose)
- Editorial markers: every
%EM,%HH,%CC,%TODO,%XXX,%FIXME,% note,% NOTEwithfile:lineand truncated text, classed in-flight vs. stale. - URLs (
\url{…}and barehttp(s)://): group by host/path prefix; flag inconsistent trailing slashes, repo names, or subpaths. - Cross-reference direction: enumerate "as above," "described below," "see above," "see below," "next section," "previous section" with context. The primary judges direction, since section reorderings flip these silently.
Scan 6 — Terminology consistency (general-purpose)
Across main and SI:
- Terms the paper explicitly distinguishes (e.g., "mutation rate" vs. "substitution rate") used in the correct sense everywhere, especially captions and Methods.
- Hyphenation, capitalization, and spelling variants (e.g.,
\nt{CG}vs.\texttt{CG}, "3-mer" vs. "three-mer,"$r$vs.$R$for correlation).
Each finding with file:line, classed real inconsistency vs. stylistic variation.
Scan 7 — Literature-gap check (general-purpose)
Brief the agent with:
- The topic in 1–2 sentences, from the abstract and introduction.
- The deduplicated
\cite{}keys from main and SI (a sample if too long). - Use
bip astafor recent papers andbip searchfor library papers imported but not cited:
bip asta search "<topic-specific keywords>" --limit 30
bip search "<topic-specific keywords>" --limit 30
Output: candidates directly relevant (same problem, methods, organism, or framework) and not already cited (diff against the key list), each with title, authors, year, venue, and a one-sentence reason. Precision over recall: five strong candidates at most; say so if none.
Scan 8 — Submission hygiene (journal-submission-checker)
- Every referenced GitHub / external repository is publicly accessible, and every URL resolves (curl/WebFetch ea
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Agent - 02
Bash - 03
Read - 04
Glob - 05
Grep - 06
Edit - 07
Write
FAQ
Что делает скилл bip-ms-sweep?
Pre-share / pre-submission polish sweep of a TeX manuscript. Fans out parallel scans (writing review, citations, orphan floats, terminology, numbers, URLs, tool names, editorial markers), a literature-gap check via bip asta, and submission hygiene. Reports findings as an interactive punch list — does not produce a report file or auto-edit the paper.
Как установить скилл bip-ms-sweep?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bip-ms-sweep запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…