Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

hugging-face-paper-publisher拥抱面纸出版商

Agent Skill

hugging-face-paper-publisher 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

329

周安装

14

GitHub Stars

33,271

下载量

115
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hugging-face-paper-publisher(拥抱面纸出版商)
来源仓库:https://github.com/patchy631/ai-engineering-hub
仓库路径:skills/hugging-face-paper-publisher
安装命令:
npx skills add https://github.com/patchy631/ai-engineering-hub --skill hugging-face-paper-publisher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/patchy631/ai-engineering-hub --skill hugging-face-paper-publisher

简介

用于查找、检索和筛选相关信息。hugging-face-paper-publisher 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在科研或文献调研中快速获取候选资料。
  • 通过 GitHub 安装,兼容多个 AI 工具链。
  • 建议确认原始 README 以了解具体用法。
  • 注意权限范围和潜在的文件读写行为。

SKILL.md

Overview

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.

Integration with HF Ecosystem

  • Paper Pages: Index and discover papers on Hugging Face Hub
  • arXiv Integration: Automatic paper indexing from arXiv IDs
  • Model/Dataset Linking: Connect papers to relevant artifacts through metadata
  • Authorship Verification: Claim and verify paper authorship
  • Research Article Template: Generate professional, modern scientific papers

Version

1.0.0

Dependencies

  • huggingface_hub>=0.26.0
  • pyyaml>=6.0.3
  • requests>=2.32.5
  • markdown>=3.5.0
  • python-dotenv>=1.2.1

Core Capabilities

1. Paper Page Management

  • Index Papers: Add papers to Hugging Face from arXiv
  • Claim Authorship: Verify and claim authorship on published papers
  • Manage Visibility: Control which papers appear on your profile
  • Paper Discovery: Find and explore papers in the HF ecosystem

2. Link Papers to Artifacts

  • Model Cards: Add paper citations to model metadata
  • Dataset Cards: Link papers to datasets via README
  • Automatic Tagging: Hub auto-generates arxiv:<PAPER_ID> tags
  • Citation Management: Maintain proper attribution and references

3. Research Article Creation

  • Markdown Templates: Generate professional paper formatting
  • Modern Design: Clean, readable research article layouts
  • Dynamic TOC: Automatic table of contents generation
  • Section Structure: Standard scientific paper organization
  • LaTeX Math: Support for equations and technical notation

4. Metadata Management

  • YAML Frontmatter: Proper model/dataset card metadata
  • Citation Tracking: Maintain paper references across repositories
  • Version Control: Track paper updates and revisions
  • Multi-Paper Support: Link multiple papers to single artifacts

Usage Instructions

The skill includes Python scripts in scripts/ for paper publishing operations.

Prerequisites

  • Install dependencies: uv add huggingface_hub pyyaml requests markdown python-dotenv
  • Set HF_TOKEN environment variable with Write-access token
  • Activate virtual environment: source.venv/bin/activate

Method 1: Index Paper from arXiv

Add a paper to Hugging Face Paper Pages from arXiv.

Basic Usage:

python scripts/paper_manager.py index \
  --arxiv-id "2301.12345"

Check If Paper Exists:

python 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.

Method 2: Link Paper to Model/Dataset

Add paper references to model or dataset README with proper YAML metadata.

Add to Model Card:

python scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-id "2301.12345"

Add to Dataset Card:

python scripts/paper_manager.py link \
  --repo-id "username/dataset-name" \
  --repo-type "dataset" \
  --arxiv-id "2301.12345"

Add Multiple Papers:

python scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-ids "2301.12345,2302.67890,2303.11111"

With Custom Citation:

python scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-id "2301.12345" \
  --citation "$(cat citation.txt)"

How Linking Works

When you add an arXiv paper link to a model or dataset README:

  1. The Hub extracts the arXiv ID from the link
  2. A tag arxiv:<PAPER_ID> is automatically added to the repository
  3. Users can click the tag to view the Paper Page
  4. The Paper Page shows all models/datasets citing this paper
  5. Papers are discoverable through filters and search

Method 3: Claim Authorship

Verify your authorship on papers published on Hugging Face.

Start Claim Process:

python scripts/paper_manager.py claim \
  --arxiv-id "2301.12345" \
  --email "your.email@institution.edu"

Manual Process:

  1. Navigate to your paper's page: https://huggingface.co/papers/{arxiv-id}
  2. Find your name in the author list
  3. Click your name and select "Claim authorship"
  4. Wait for admin team verification

Check Authorship Status:

python scripts/paper_manager.py check-authorship \
  --arxiv-id "2301.12345"

Method 4: Manage Paper Visibility

Control which verified papers appear on your public profile.

List Your Papers:

python scripts/paper_manager.py list-my-papers

Toggle Visibility:

python 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.

Method 5: Create Research Article

Generate a professional markdown-based research paper using modern templates.

Create from Template:

python scripts/paper_manager.py create \
  --template "standard" \
  --title "Your Paper Title" \
  --output "paper.md"

Available Templates:

  • standard - Traditional scientific paper structure
  • modern - Clean, web-friendly format inspired by Distill
  • arxiv - arXiv-style formatting
  • ml-report - Machine learning experiment report

Generate Complete Paper:

python 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:

python scripts/paper_manager.py convert \
  --input "paper.md" \
  --output "paper.html" \
  --style "modern"

Paper Template Structure

Standard Research Paper Sections:

---
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
Brief summary of the paper...

# 1. Introduction
Background and motivation...

# 2. Related Work
Previous research and context...

# 3. Methodology
Approach and implementation...

# 4. Experiments
Setup, datasets, and procedures...

# 5. Results
Findings and analysis...

# 6. Discussion
Interpretation and implications...

# 7. Conclusion
Summary and future work...

# References

Modern Template Features:

  • Dynamic table of contents
  • Responsive design for web viewing
  • Code syntax highlighting
  • Interactive figures and charts
  • Math equation rendering (LaTeX)
  • Citation management
  • Author affiliation linking

Commands Reference

Index Paper:

python scripts/paper_manager.py index --arxiv-id "2301.12345"

Link to Repository:

python scripts/paper_manager.py link \
  --repo-id "username/repo-name" \
  --repo-type "model|dataset|space" \
  --arxiv-id "2301.12345" \
  [--citation "Full citation text"] \
  [--create-pr]

Claim Authorship:

python scripts/paper_manager.py claim \
  --arxiv-id "2301.12345" \
  --email "your.email@edu"

Manage Visibility:

python scripts/paper_manager.py toggle-visibility \
  --arxiv-id "2301.12345" \
  --show true|false

Create Research Article:

python scripts/paper_manager.py create \
  --template "standard|modern|arxiv|ml-report" \
  --title "Paper Title" \
  [--authors "Author1, Author2"] \
  [--abstract "Abstract text"] \
  [--output "filename.md"]

Convert Markdown to HTML:

python scripts/paper_manager.py convert \
  --input "paper.md" \
  --output "paper.html" \
  [--style "modern|classic"]

Check Paper Status:

python scripts/paper_manager.py check --arxiv-id "2301.12345"

List Your Papers:

python scripts/paper_manager.py list-my-papers

Search Papers:

python scripts/paper_manager.py search --query "transformer attention"

YAML Metadata Format

When linking papers to models or datasets, proper YAML frontmatter is required:

Model Card Example:

---
language:
  - en
license: apache-2.0
tags:
  - text-generation
  - transformers
  - llm
library_name: transformers
---

# Model Name

This model is based on the approach described in [Our Paper](https://arxiv.org/abs/2301.12345).

## Citation

@article{doe2023paper, title={Your Paper Title}, author={Doe, Jane and Smith, John}, journal={arXiv preprint arXiv:2301.12345}, year={2023} }

Dataset Card Example:

---
language:
  - en
license: cc-by-4.0
task_categories:
  - text-generation
  - question-answering
size_categories:
  - 10K<n<100K
---

# Dataset Name

Dataset introduced in [Our Paper](https://arxiv.org/abs/2301.12345).

For more details, see the [paper page](https://huggingface.co/papers/2301.12345).

The Hub automatically extracts arXiv IDs from these links and creates arxiv:2301.12345 tags.

Integration Examples

Workflow 1: Publish New Research

# 1. Create research article
python scripts/paper_manager.py create \
  --template "modern" \
  --title "Novel Fine-Tuning Approach" \
  --output "paper.md"

# 2. Edit paper.md with your content

# 3. Submit to arXiv (external process)
# Upload to arxiv.org, get arXiv ID

# 4. Index on Hugging Face
python scripts/paper_manager.py index --arxiv-id "2301.12345"

# 5. Link to your model
python scripts/paper_manager.py link \
  --repo-id "your-username/your-model" \
  --repo-type "model" \
  --arxiv-id "2301.12345"

# 6. Claim authorship
python scripts/paper_manager.py claim \
  --arxiv-id "2301.12345" \
  --email "your.email@edu"

Workflow 2: Link Existing Paper

# 1. Check if paper exists
python scripts/paper_manager.py check --arxiv-id "2301.12345"

# 2. Index if needed
python scripts/paper_manager.py index --arxiv-id "2301.12345"

# 3. Link to multiple repositories
python scripts/paper_manager.py link \
  --repo-id "username/model-v1" \
  --repo-type "model" \
  --arxiv-id "2301.12345"

python scripts/paper_manager.py link \
  --repo-id "username/training-data" \
  --repo-type "dataset" \
  --arxiv-id "2301.12345"

python scripts/paper_manager.py link \
  --repo-id "username/demo-space" \
  --repo-type "space" \
  --arxiv-id "2301.12345"

Workflow 3: Update Model with Paper Reference

# 1. Get current README
huggingface-cli download username/model-name README.md

# 2. Add paper link
python scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-id "2301.12345" \
  --citation "Full citation for the paper"

# The script will:
# - Add YAML metadata if missing
# - Insert arXiv link in README
# - Add formatted citation
# - Preserve existing content

Best Practices

  1. Paper Indexing

- Index papers as soon as they're published on arXiv - Include full citation information in model/dataset cards - Use consistent paper references across related repositories

  1. Metadata Management

- Add YAML frontmatter to all model/dataset cards - Include proper licensing information - Tag with relevant task categories and domains

  1. Authorship

- Claim authorship on papers where you're listed as author - Use institutional email addresses for verification - Keep paper visibility settings updated

  1. Repository Linking

- Link papers to all relevant models, datasets, and Spaces - Include paper context in README descriptions - Add BibTeX citations for easy reference

  1. Research Articles

- Use templates consistently within projects - Include code and data links in papers - Generate web-friendly HTML versions for sharing

Advanced Usage

Batch Link Papers:

# Link multiple papers to one repository
for arxiv_id in "2301.12345" "2302.67890" "2303.11111"; do
  python scripts/paper_manager.py link \
    --repo-id "username/model-name" \
    --repo-type "model" \
    --arxiv-id "$arxiv_id"
done

Extract Paper Info:

# Get paper metadata from arXiv
python scripts/paper_manager.py info \
  --arxiv-id "2301.12345" \
  --format "json"

Generate Citation:

# Create BibTeX citation
python scripts/paper_manager.py citation \
  --arxiv-id "2301.12345" \
  --format "bibtex"

Validate Links:

# Check all paper links in a repository
python scripts/paper_manager.py validate \
  --repo-id "username/model-name" \
  --repo-type "model"

Error Handling

  • Paper Not Found: arXiv ID doesn't exist or isn't indexed yet
  • Permission Denied: HF_TOKEN lacks write access to repository
  • Invalid YAML: Malformed metadata in README frontmatter
  • Authorship Failed: Email doesn't match paper author records
  • Already Claimed: Another user has claimed authorship
  • Rate Limiting: Too many API requests in short time

Troubleshooting

Issue: "Paper not found on Hugging Face"

  • Solution: Visit hf.co/papers/{arxiv-id} to trigger indexing

Issue: "Authorship claim not verified"

  • Solution: Wait for admin review or contact HF support with proof

Issue: "arXiv tag not appearing"

  • Solution: Ensure README includes proper arXiv URL format

Issue: "Cannot link to repository"

  • Solution: Verify HF_TOKEN has write permissions

Issue: "Template rendering errors"

  • Solution: Check markdown syntax and YAML frontmatter format

Resources and References

Integration with tfrere's Research Template

This skill complements tfrere's research article template by providing:

  • Automated paper indexing workflows
  • Repository linking capabilities
  • Metadata management tools
  • Citation generation utilities

You can use tfrere's template for writing, then use this skill to publish and link the paper on Hugging Face Hub.

Common Patterns

Pattern 1: New Paper Publication

# Write → Publish → Index → Link
python scripts/paper_manager.py create --template modern --output paper.md
# (Submit to arXiv)
python scripts/paper_manager.py index --arxiv-id "2301.12345"
python scripts/paper_manager.py link --repo-id "user/model" --arxiv-id "2301.12345"

Pattern 2: Existing Paper Discovery

# Search → Check → Link
python scripts/paper_manager.py search --query "transformers"
python scripts/paper_manager.py check --arxiv-id "2301.12345"
python scripts/paper_manager.py link --repo-id "user/model" --arxiv-id "2301.12345"

Pattern 3: Author Portfolio Management

# Claim → Verify → Organize
python scripts/paper_manager.py claim --arxiv-id "2301.12345"
python scripts/paper_manager.py list-my-papers
python scripts/paper_manager.py toggle-visibility --arxiv-id "2301.12345" --show true

API Integration

Python Script Example:

from scripts.paper_manager import PaperManager

pm = PaperManager(hf_token="your_token")

# Index paper
pm.index_paper("2301.12345")

# Link to model
pm.link_paper(
    repo_id="username/model",
    repo_type="model",
    arxiv_id="2301.12345",
    citation="Full citation text"
)

# Check status
status = pm.check_paper("2301.12345")
print(status)

Future Enhancements

Planned features for future versions:

  • Support for non-arXiv papers (conference proceedings, journals)
  • Automatic citation formatting from DOI
  • Paper comparison and versioning tools
  • Collaborative paper writing features
  • Integration with LaTeX workflows
  • Automated figure and table extraction
  • Paper metrics and impact tracking

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.79%
按下载量换算42

Claude

30.24%
按下载量换算35

Cursor

18.12%
按下载量换算21

Gemini CLI

8.17%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills