From coscientist-deep-research
Convert an arXiv paper (URL or ID) into clean structured Markdown with frontmatter. Preferred over pdf-extract whenever the source is arXiv — uses arXiv's native HTML so math (MathML → LaTeX), tables, and section hierarchy are preserved without OCR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coscientist-deep-research:arxiv-to-markdownThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Wraps the [`arxiv2markdown`](https://pypi.org/project/arxiv2markdown/) PyPI package. Output lands in the standard paper artifact layout so downstream skills (`paper-triage`, `research-eval`, `deep-research`) can consume it unchanged.
Wraps the arxiv2markdown PyPI package. Output lands in the standard paper artifact layout so downstream skills (paper-triage, research-eval, deep-research) can consume it unchanged.
arxiv_id (e.g., 2501.11120 or 2501.11120v1) or an arXiv URLcanonical_id — if known from a prior paper-discovery run; otherwise it's derived from metadata--remove-refs, --remove-toc, --remove-citations, --sections <csv>uv run python .claude/skills/arxiv-to-markdown/scripts/fetch.py \
--arxiv-id 2501.11120 \
[--canonical-id <cid>] \
[--remove-refs] [--remove-toc] [--remove-citations]
Without --canonical-id, the script derives it from the paper's metadata and prints it to stdout for the caller to pass downstream.
Written under ~/.cache/coscientist/papers/<canonical_id>/:
content.md — structured markdownfrontmatter.yaml — title, authors, venue, year, arxiv_id, doimetadata.json — populated/updated via lib.paper_artifactmanifest.json — state advances to extractedreferences.json — parsed bibliography if presentextraction.log — records "extractor": "arxiv2markdown"If arxiv2markdown errors (withdrawn paper, no HTML version, malformed math), the script exits non-zero. The caller (deep-research or paper-acquire) should then:
/pdf-extract insteadcontent.md and leaves other artifact files untouched unless explicitly regenerated.paper-discovery for instant markdown of arXiv hits.npx claudepluginhub epireve/coscientist --plugin coscientist-deep-researchCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.