arxiv-preflight
Run a submission-readiness preflight on a manuscript before arXiv upload. Use when the user is preparing an arXiv submission, asks to check a paper before uploading, mentions hallucinated or fake references, leftover LLM meta-comments / prompts in text, placeholder data (TODO, TBD, XX%), AI-use disclosure, scholarly integrity, research integrity, or arXiv moderation risk — even if they don't say "preflight". Also trigger on phrases like "check my paper before arXiv", "verify my references", "scan for AI artifacts", "scan for LLM residue", "is my submission ready", or "review .tex/.bib before submit".
- License 许可
- MIT
- 最近更新
- 2026-10-12
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- arxiv-preflight
- author
- AIPOCH
- license
- MIT
- description
- Run a submission-readiness preflight on a manuscript before arXiv upload. Use when the user is preparing an arXiv submission, asks to check a paper before uploading, mentions hallucinated or fake references, leftover LLM meta-comments / prompts in text, placeholder data (TODO, TBD, XX%), AI-use disclosure, scholarly integrity, research integrity, or arXiv moderation risk — even if they don't say "preflight". Also trigger on phrases like "check my paper before arXiv", "verify my references", "scan for AI artifacts", "scan for LLM residue", "is my submission ready", or "review .tex/.bib before submit".
02 资源文件 20
- 参考文档evals/evals.json3.7 KB
- 其他evals/fixtures/clean/main.tex1.5 KB
- 其他evals/fixtures/clean/refs.bib317 B
- 其他evals/fixtures/hallucinated_ref/main.tex869 B
- 其他evals/fixtures/hallucinated_ref/refs.bib1.5 KB
- 其他evals/fixtures/llm_meta/main.tex1.1 KB
- 其他evals/fixtures/llm_meta/refs.bib269 B
- 其他evals/fixtures/multifile/intro.tex159 B
- 其他evals/fixtures/multifile/main.tex223 B
- 其他evals/fixtures/multifile/method.tex87 B
- 其他evals/fixtures/multifile/refs.bib266 B
- 其他evals/fixtures/multifile/results.tex105 B
- 参考文档references/ai_artifact_patterns.md6.8 KB
- 参考文档references/arxiv_policy_notes.md4.2 KB
- 参考文档references/reference_verification.md4.9 KB
- 参考文档references/report_template.md3.7 KB
- 脚本scripts/extract_manuscript_text.py11.0 KB
- 脚本scripts/generate_preflight_report.py15.8 KB
- 脚本scripts/scan_ai_artifacts.py11.0 KB
- 脚本scripts/verify_references.py19.6 KB
03 SKILL.md 正文
arXiv Preflight
Submission-readiness review for a manuscript before arXiv upload. The goal is not to judge whether a paper was AI-written from style. The goal is to find concrete, locatable, reviewable evidence of unchecked LLM output, hallucinated references, placeholder data, unsupported claims, and arXiv-policy risks — and to hand the author a fix list.
Anchor on the actual arXiv stance: authors may use generative AI tools but are fully responsible for the content and must disclose significant use per field norms; AI tools cannot be listed as authors. See references/arxiv_policy_notes.md for the exact language.
This skill is intentionally platform-neutral. It should work for any AI coding/review agent that can read files and run local Python scripts; it does not require OpenAI-specific UI metadata.
Requires Python 3.9+.
Workflow
-
Identify inputs. Ask for or detect: LaTeX project directory, single PDF, BibTeX file, supplementary figures/tables, or experiment data. Prefer LaTeX source over rendered PDF — PDF text extraction loses structure and produces noisier reference checks.
-
Extract manuscript text. Run
scripts/extract_manuscript_text.pyon the input. It merges\input/\include, strips LaTeX commands while preserving section/figure/table/citation keys, and falls back to PDF text extraction. Output:manuscript.jsonwithsections,figures,tables,cite_keys,numbers, andwarnings. Treat unresolved or skipped includes as review risks. -
Hard-red-line scan. Run
scripts/scan_ai_artifacts.pyagainst the extracted text. It flags LLM meta-comments, prompt residue, placeholder content, TODO/TBD/XX%, and AI-listed-as-author. Patterns live inreferences/ai_artifact_patterns.md— extend the list when the user reports new failure modes. Any hit is aBLOCKERunless the user explicitly justifies it. -
Verify references. Run
scripts/verify_references.pyon.bib(or extracted reference list). It performs (a) structural BibTeX checks, (b) external metadata lookup against Crossref / arXiv / OpenAlex / Semantic Scholar (in that order), (c) cite-key vs. \cite reconciliation. Grading and API strategy:references/reference_verification.md. If network is unavailable, mark this sectionINCOMPLETErather than skipping silently. -
Cross-check claims, numbers, and figure/table references. Use
manuscript.jsonto review extracted numbers, labels, and references. This version exposes the raw structures for agent-assisted consistency review; it does not fully automate semantic claim verification. Surface candidate inconsistencies for the author to confirm, never rewrite their claims. -
AI-use disclosure check.
scripts/scan_ai_artifacts.pyincludes a limited disclosure heuristic for substantive LLM use. For nuanced cases, compare detected AI-assistance signals against the manuscript's Acknowledgments / Methods / Ethics sections yourself. Recommend disclosure only when significant use is evident; do not push boilerplate disclosure on every paper. Calibration:references/arxiv_policy_notes.md. -
arXiv moderation pre-check. Do an agent-assisted scan for non-research content (opinion/proposal/course-project framing without research contribution), copyright risks (publisher PDFs, reviewer comments, unlicensed images, long third-party text), and salami/duplicate-submission signals. This version does not ship a dedicated moderation scanner. Do not predict whether arXiv will accept — only surface risk.
-
Generate report. Run
scripts/generate_preflight_report.pyto merge all JSON outputs into a single Markdown report. Format and decision rules:references/report_template.md.
Risk levels
BLOCKER— evidence that should stop submission: LLM meta-comment in body text, AI listed as author, reference that cannot be matched in any external database, unfilled placeholder in a results table.HIGH— likely integrity or policy issue: DOI/title mismatch, cite-key pointing at wrong paper, a strong claim with no supporting number in the manuscript.MEDIUM— inconsistency, missing metadata, unclear disclosure, broken \ref.LOW— polish, formatting, capitalization.
Decision rule
- Any
BLOCKER→HOLD. - No blocker, any
HIGH/MEDIUM→PASS_WITH_FIXES. - Only
LOWor clean →PASS.
Never upgrade a finding's severity to be safe and never silently soften it. If you are unsure, mark it MEDIUM and explain.
Rules
- Never call a paper AI-generated from writing style alone. Style is not evidence; meta-comments, fake citations, and placeholders are.
- Every finding must cite a location. File + line number for
.tex/.bib; for PDF input, use the PDF file plus extracted-text line unless page-aware extraction is available. Include a verbatim short snippet (≤ 25 words). A finding without a location is a suggestion, not a finding — move it to "Recommended Cleanup". - Treat external-metadata mismatches as leads. A single field disagreement (e.g., page numbers) is
MEDIUM. Title + authors + year all unmatched across all four databases isBLOCKER. - Network-incomplete is not network-pass. If reference lookups failed for connectivity reasons, the report's reference section is
INCOMPLETE; the overall decision cannot bePASS. - Do not rewrite the author's claims. Provide fixes, questions, and locations. Leave the rewriting to the author.
- Minimise false positives at the cost of recall. This tool runs before submission; a false
BLOCKERis more costly than a missedLOW.
When to read which reference
references/arxiv_policy_notes.md— when calibrating disclosure recommendations or moderation findings.references/ai_artifact_patterns.md— when extending or interpreting the artifact scanner's hits.references/reference_verification.md— when interpreting citation lookup output, deciding API order, or handling rate-limit / network failures.references/report_template.md— when writing or regenerating the final report.
MVP scope
This skill currently ships: text extraction, AI-artifact scan, BibTeX + DOI/arXiv-ID reference verification, extracted label/citation/number structures, and Markdown report generation. Out of scope for v1: full semantic peer review, full claim/result verification, automated moderation judgement, AI-writing probability scoring, automatic rewriting, automated arXiv upload, large-scale plagiarism detection. If the user asks for these, say so explicitly rather than approximating.
04 同仓库更多 Skills
bio-workflows-metabolomics-pipeline
Orchestrates the untargeted LC-MS metabolomics pipeline end-to-end (xcms 4.x feature extraction, QC/drift/normalization, confidence-stratified annotation, permutation-validated statistics, background-aware pathway mapping), naming what each stage decides and where it silently fails. Use when running a full LC-MS metabolomics study from raw mzML to enriched pathways and needing the honest handoffs between stages. Each stage defers to its component skill for parameters and traps; for stable-isotope flux (a separate branch, not this untargeted flow) see metabolomics/isotope-tracing.
bio-metabolomics-xcms-preprocessing
Programmatic untargeted LC-MS feature extraction in R with the modern xcms 4.x MsExperiment/XcmsExperiment API, taking raw mzML to a feature table via CentWave peak detection, retention-time alignment, peak-density correspondence, gap-filling, CAMERA redundancy collapse, and built-in QC feature filtering. Use when converting centroided LC-MS runs into a features-by-samples matrix and deciding centWave/grouping/alignment parameters. For drift correction and QC/CV filtering execution see metabolomics/normalization-qc; for metabolite identification see metabolomics/metabolite-annotation; for the MS-DIAL GUI alternative with MS2Dec deconvolution see metabolomics/msdial-preprocessing; for downstream statistics see metabolomics/statistical-analysis.
bio-metabolomics-statistical-analysis
Decision-grade statistical analysis for metabolomics intensity tables. Covers transformation and scaling (Pareto vs unit-variance as a hidden hypothesis), unsupervised structure (PCA/HCA for QC), permutation-validated PLS-DA/OPLS-DA (R2 vs Q2, double CV, VIP as heuristic), univariate testing (Welch/Mann-Whitney/ANOVA/LMM with covariate adjustment), and dependence-aware multiple testing. Use when testing which metabolites differ, building or validating a discriminant model, choosing a scaling, or correcting many correlated tests. For sample-wise normalization/drift correction see metabolomics/normalization-qc; for ML classifiers and selection-inside-CV leakage see machine-learning/biomarker-discovery and machine-learning/model-validation; for pathway interpretation see metabolomics/pathway-mapping; for design/power/multiplicity regime see experimental-design/multiple-testing.
bio-metabolomics-pathway-mapping
Maps metabolomics results to biological pathways via over-representation (ORA), metabolite-set enrichment (MSEA/QEA), mummichog/PSEA on raw m/z peaks, and network-diffusion enrichment (FELLA), with correct background-set construction and honest interpretive ceilings. Use when interpreting differential metabolites or an untargeted LC-MS feature table in pathway context, choosing ORA vs MSEA vs mummichog vs topology, or setting the reference/background set. For annotation confidence levels feeding ORA see metabolomics/metabolite-annotation; for gene-set concepts see pathway-analysis/go-enrichment and pathway-analysis/gsea; for joint gene+metabolite pathways see multi-omics-integration/mofa-integration.
bio-metabolomics-normalization-qc
Designs QC, corrects signal drift, removes batch effects, filters features, normalizes samples, and imputes missing values for untargeted LC-MS/GC-MS metabolomics, framing each step as a measurement model that can create or erase biological signal. Use when processing a peak/feature table before statistical analysis, choosing a drift-correction or sample-normalization method, deciding QC RSD vs D-ratio filtering, or handling left-censored missing values. The feature table is produced by metabolomics/xcms-preprocessing or metabolomics/msdial-preprocessing; transformation/scaling for modeling defers to metabolomics/statistical-analysis; cross-study design issues link to experimental-design/batch-design.
bio-metabolomics-msdial-preprocessing
Runs the MS-DIAL preprocessing workflow (peak picking, MS2Dec spectral deconvolution, alignment, gap-filling) and imports the alignment-result table into R or Python with honest filtering. Use when preprocessing LC-MS DDA/DIA (SWATH) or GC-MS raw data with MS-DIAL, deciding MS-DIAL vs XCMS, configuring the MSDIALCUI console run, or parsing an MS-DIAL export into a clean feature matrix. For programmatic R peak detection and the feature-table-as-artifact framing see metabolomics/xcms-preprocessing; for lipid annotation mode see metabolomics/lipidomics; for MSI-level confidence honesty see metabolomics/metabolite-annotation; for drift correction and QC see metabolomics/normalization-qc.