huggingface-paper-publisher

Publish, index, and link arXiv research papers on Hugging Face Hub.

507|40|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/waybarrios/opencode-power-pack --skill huggingface-paper-publisher-waybarrios
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: huggingface-paper-publisher
Source: https://github.com/waybarrios/opencode-power-pack/tree/main/skills/huggingface-paper-publisher
Command: npx skills add https://github.com/waybarrios/opencode-power-pack --skill huggingface-paper-publisher-waybarrios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, pyyaml, requests, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve? Managing research papers on Hugging Face Hub involves repetitive manual steps: indexing arXiv papers, linking them to model and dataset repositories, claiming authorship, and writing properly formatted research articles. This Skill automates those operations through a single CLI script. ## Core Features & Use Cases - Paper Indexing & Linking: Index arXiv papers on Hugging Face and link them to model, dataset, or Space repositories by automatically updating README frontmatter with arXiv tags and citations. - Authorship & Visibility Management: Claim paper authorship, check verification status, and toggle paper visibility on your HF profile. - Research Article Generation: Create professional markdown papers from four templates (standard, modern, arxiv, ml-report) and generate BibTeX citations from arXiv metadata. - Use Case: After publishing a paper on arXiv, run the link command to automatically update your model card with the paper reference, arXiv tag, and formatted BibTeX citation so the model becomes discoverable from the HF Paper Page. ## Quick Start Ask the agent to index your arXiv paper on Hugging Face and link it to your model repository using the paper_manager script with your arXiv ID and repo ID.

Frequently Asked Questions about huggingface-paper-publisher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I link an arXiv paper to a Hugging Face model?▼

Run the paper_manager.py link command with your repo ID, repo type, and arXiv ID. The script downloads the model's README, adds YAML frontmatter with the arXiv tag, inserts the paper reference and citation, and uploads the updated file.

How do I index an arXiv paper on Hugging Face?▼

Use the index command with your arXiv ID, or simply visit https://huggingface.co/papers/{arxiv-id} in a browser, which triggers automatic indexing. You can verify indexing status with the check command.

What token permissions does Hugging Face paper linking require?▼

You need an HF_TOKEN environment variable with write access to the target repository. Without write permission, link operations fail with a permission denied error. The token can also be stored in a .env file.

Why is my paper not found on Hugging Face after indexing?▼

The paper may not be indexed yet. Visit https://huggingface.co/papers/{arxiv-id} directly to trigger indexing, wait a few seconds, then run the check command again to confirm it exists.

What arXiv ID formats are accepted by the paper manager?▼

The script accepts plain IDs like 2301.12345, prefixed forms like arxiv:2301.12345, and full arXiv URLs. All formats are normalized and validated against modern and legacy arXiv ID patterns before use.

What templates are available for creating research articles?▼

Four templates are included: standard (traditional academic structure), modern (Distill-inspired with dynamic TOC), arxiv (arXiv journal style), and ml-report (ML experiment documentation). Generate one with the create command specifying template, title, and output file.