huggingface-paper-publisher
Skill547 starsChanged 3 months agoMITView on GitHub
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.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 107
Publish new research: create the article -> submit to arXiv externally -> index -> link to the model -> claim authorship.
- Distinctive: line 131
arXiv tag not appearing: ensure the README includes a properly formatted arXiv URL.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
Publish, manage, and link research papers on the Hugging Face Hub — arXiv indexing, model/dataset linking, authorship management, and professional markdown research-article generation.
Integration with the HF Ecosystem
Paper Pages (index/discover), arXiv integration (auto-indexing from arXiv IDs), model/dataset linking via metadata, authorship verification, and a research-article template.
Dependencies
The included scripts/paper_manager.py uses PEP 723 inline dependencies — prefer uv run over manual environment setup. Requires HF_TOKEN (write access) in the environment. All paths in the commands below are relative to this skill's directory — cd there first, or use the full path.
Commands Reference
Index a paper from arXiv (or visit https://huggingface.co/papers/{arxiv-id} directly):
uv run scripts/paper_manager.py index --arxiv-id "2301.12345"
uv run scripts/paper_manager.py check --arxiv-id "2301.12345" # check if already indexedLink a paper to a model/dataset/space — the Hub extracts the arXiv ID and adds an arxiv:<PAPER_ID> tag, making the repo discoverable from the Paper Page:
uv run scripts/paper_manager.py link \
--repo-id "username/repo-name" --repo-type "model|dataset|space" \
--arxiv-id "2301.12345" [--arxiv-ids "id1,id2,id3"] \
[--citation "Full citation text"] [--create-pr]Claim authorship (or manually: visit the paper page, click your name, "Claim authorship", await admin verification):
uv run scripts/paper_manager.py claim --arxiv-id "2301.12345" --email "your.email@institution.edu"
uv run scripts/paper_manager.py check-authorship --arxiv-id "2301.12345"Manage profile visibility (or via account settings → Papers):
uv run scripts/paper_manager.py list-my-papers
uv run scripts/paper_manager.py toggle-visibility --arxiv-id "2301.12345" --show true|falseCreate a research article from a template (standard — traditional structure; modern — Distill-inspired, dynamic TOC, responsive; arxiv — arXiv-style; ml-report — ML experiment report):
uv run scripts/paper_manager.py create \
--template "standard|modern|arxiv|ml-report" --title "Paper Title" \
[--authors "Author1, Author2"] [--abstract "Abstract text"] [--output "paper.md"]
uv run scripts/paper_manager.py convert --input "paper.md" --output "paper.html" [--style "modern|classic"]Search, inspect, validate:
uv run scripts/paper_manager.py search --query "transformer attention"
uv run scripts/paper_manager.py info --arxiv-id "2301.12345" --format "json"
uv run scripts/paper_manager.py citation --arxiv-id "2301.12345" --format "bibtex"
uv run scripts/paper_manager.py validate --repo-id "username/model-name" --repo-type "model"Standard Paper Template Structure
---
title: Your Paper Title
authors: Jane Doe, John Smith
affiliations: University X, Lab Y
date: 2025-01-15
arxiv: 2301.12345
tags: [machine-learning, nlp, fine-tuning]
---
# Abstract
# 1. Introduction
# 2. Related Work
# 3. Methodology
# 4. Experiments
# 5. Results
# 6. Discussion
# 7. Conclusion
# ReferencesThe modern template adds a dynamic table of contents, responsive layout, code highlighting, interactive figures, LaTeX math, and citation/author-affiliation linking.
YAML Metadata for Linked Cards
Model and dataset cards need proper frontmatter for the Hub to extract the arXiv tag correctly:
---
language: [en]
license: apache-2.0
tags: [text-generation, transformers, llm]
library_name: transformers
---Followed by a # Model Name section referencing [Our Paper](https://arxiv.org/abs/2301.12345) and a ## Citation section with a fenced bibtex block containing the standard @article{...} entry (author, title, journal, year).
Dataset cards follow the same pattern with task_categories/size_categories instead of library_name.
Common Workflows
Publish new research: create the article -> submit to arXiv externally -> index -> link to the model -> claim authorship.
Link an existing paper to multiple repos: check -> index if needed -> link once per model/dataset/space repo-id.
Update a model with a paper reference: hf download user/model README.md -> link with --citation — the script adds YAML metadata if missing, inserts the arXiv link, adds the formatted citation, and preserves existing content.
Batch-link multiple papers to one repo:
for arxiv_id in "2301.12345" "2302.67890"; do
uv run scripts/paper_manager.py link --repo-id "username/model-name" --repo-type "model" --arxiv-id "$arxiv_id"
doneBest Practices
Index papers as soon as published; keep citations consistent across related repos. Add YAML frontmatter with correct license and task tags to every card. Claim authorship with an institutional email and keep visibility settings current. Link papers to every relevant model/dataset/Space, with BibTeX citations. Use one template consistently within a project, and include code/data links.
Error Handling & Troubleshooting
- Paper not found: arXiv ID not indexed yet — visit
hf.co/papers/{arxiv-id}to trigger indexing. - Permission denied:
HF_TOKENlacks write access to the repository. - Invalid YAML: malformed frontmatter in the README.
- Authorship claim failed / not verified: email doesn't match author records, or awaiting admin review.
- Already claimed: another user has claimed authorship — contact HF support with proof if this is wrong.
- arXiv tag not appearing: ensure the README includes a properly formatted arXiv URL.
- Rate limiting: too many API requests in a short time — space out batch operations.
Resources
- Hugging Face Paper Pages
- Model Cards Guide
- Dataset Cards Guide
- tfrere's research article template — complements this skill for writing; use this skill to publish/link/manage authorship afterward.
- arXiv submission guide
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- huggingface/skills★ 11k14% same
- PracticalSwan/agent-skills★ 2212% same
- The-Utopia-Studio/skills★ 614% same
- ailessonio/open-source-skills★ 014% same
- vijaysuperpositionist/skills★ 014% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- agentic-actions-auditorSkill
- agents-md-improverSkill
- agents-md-reviseSkill
- ai-slopSkill
- code-architectSkill
- code-explorerSkill
- codeqlSkill
- code-qualitySkill
- code-reviewerSkill
- code-reviewSkill
- design-patternsSkill
- differential-reviewSkill
- feature-devSkill
- fp-checkSkill
- frontend-designSkill
- hf-cliSkill
- hf-cloud-aws-context-discoverySkill
- hf-cloud-python-env-setupSkill
- hf-cloud-sagemaker-deployment-plannerSkill
- hf-cloud-sagemaker-iam-preflightSkill
- hf-cloud-sagemaker-production-defaultsSkill
- hf-cloud-serving-image-selectionSkill
- hf-memSkill
- huggingface-bestSkill
- huggingface-community-evalsSkill
- huggingface-datasetsSkill
- huggingface-gradioSkill
- huggingface-llm-trainerSkill
- huggingface-local-modelsSkill
- huggingface-lora-space-builderSkill
- huggingface-papersSkill
- huggingface-spacesSkill
- huggingface-tool-builderSkill
- huggingface-trackioSkill
- huggingface-vision-trainerSkill
- huggingface-zerogpuSkill
- humanizerSkill
- insecure-defaultsSkill
- mcp-builderSkill
- paper-summarizerSkill
- sarif-parsingSkill
- security-reviewSkill
- security-threat-modelSkill
- semgrep-rule-creatorSkill
- semgrep-rule-variant-creatorSkill
- semgrepSkill
- sharp-edgesSkill
- skill-creatorSkill
- supply-chain-risk-auditorSkill
- train-sentence-transformersSkill
- transformers-jsSkill
- trl-trainingSkill
- variant-analysisSkill
- vuln-reportSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

