Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.
This skill provides comprehensive tools for AI engineers and researchers to publish, manage, and link research papers on the Hugging Face Hub. It streamlines the workflow from paper creation to publication, including integration with arXiv, model/dataset linking, and authorship management.
1.0.0
The included script uses PEP 723 inline dependencies. Prefer over manual environment setup.
uv runThe skill includes Python scripts in scripts/ for paper publishing operations.
uv run (dependencies are resolved from the script header)HF_TOKEN environment variable with Write-access tokenAll paths are relative to the directory containing this SKILL.md file. Before running any script, first
cdto that directory or use the full path.
Add a paper to Hugging Face Paper Pages from arXiv.
Basic Usage:
uv run scripts/paper_manager.py index \
--arxiv-id "2301.12345"
Check If Paper Exists:
uv run scripts/paper_manager.py check \
--arxiv-id "2301.12345"
Direct URL Access:
You can also visit https://huggingface.co/papers/{arxiv-id} directly to index a paper.
Add paper references to model or dataset README with proper YAML metadata.
Add to Model Card:
uv run scripts/paper_manager.py link \
--repo-id "username/model-name" \
--repo-type "model" \
--arxiv-id "2301.12345"
Add to Dataset Card:
uv run scripts/paper_manager.py link \
--repo-id "username/dataset-name" \
--repo-type "dataset" \
--arxiv-id "2301.12345"
Add Multiple Papers:
uv run scripts/paper_manager.py link \
--repo-id "username/model-name" \
--repo-type "model" \
--arxiv-ids "2301.12345,2302.67890,2303.11111"
With Custom Citation:
uv run scripts/paper_manager.py link \
--repo-id "username/model-name" \
--repo-type "model" \
--arxiv-id "2301.12345" \
--citation "$(cat citation.txt)"
When you add an arXiv paper link to a model or dataset README:
arxiv:<PAPER_ID> is automatically added to the repositoryVerify your authorship on papers published on Hugging Face.
Start Claim Process:
uv run scripts/paper_manager.py claim \
--arxiv-id "2301.12345" \
--email "[email protected]"
Manual Process:
https://huggingface.co/papers/{arxiv-id}Check Authorship Status:
uv run scripts/paper_manager.py check-authorship \
--arxiv-id "2301.12345"
Control which verified papers appear on your public profile.
List Your Papers:
uv run scripts/paper_manager.py list-my-papers
Toggle Visibility:
uv run scripts/paper_manager.py toggle-visibility \
--arxiv-id "2301.12345" \
--show true
Manage in Settings: Navigate to your account settings → Papers section to toggle "Show on profile" for each paper.
Generate a professional markdown-based research paper using modern templates.
Create from Template:
uv run scripts/paper_manager.py create \
--template "standard" \
--title "Your Paper Title" \
--output "paper.md"
Available Templates:
standard - Traditional scientific paper structuremodern - Clean, web-friendly format inspired by Distillarxiv - arXiv-style formattingml-report - Machine learning experiment reportGenerate Complete Paper:
uv run scripts/paper_manager.py create \
--template "modern" \
--title "Fine-Tuning Large Language Models with LoRA" \
--authors "Jane Doe, John Smith" \
--abstract "$(cat abstract.txt)" \
--output "paper.md"
Convert to HTML:
uv run scripts/paper_manager.py convert \
--input "paper.md" \
--output "paper.html" \
--style "modern"
Standard Research Paper Sections:
---