Agent Skill
Hugging Face paper pages (Hugging Face)
Reads an AI paper from an arXiv or Hugging Face link as Markdown, then pulls its authors, code repo and linked models, datasets and Spaces from the Papers API.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkInstall
Commands are pinned to commit d67b120, the version we read, wherever the install method supports it.
npx skills
npx skills add huggingface/skills@d67b12054923df5bbfa07c5ff1331412deebdf4f --skill huggingface-papers -a claude-codeCopies the skill into .claude/skills/ in this project, pinned to the reviewed commit.
npx skills
npx skills add huggingface/skills@d67b12054923df5bbfa07c5ff1331412deebdf4f --skill huggingface-papers -a codexInstalls to .agents/skills/, which Codex scans from the working directory up to the repo root.
npx skills
npx skills add huggingface/skills@d67b12054923df5bbfa07c5ff1331412deebdf4f --skill huggingface-papers -a cursorInstalls to .agents/skills/, one of the folders Cursor reads skills from.
gh skill
gh skill install huggingface/skills skills/huggingface-papers --pin d67b12054923df5bbfa07c5ff1331412deebdf4f --agent github-copilotNeeds GitHub CLI 2.90.0 or later. Use --scope user to install for every repository.
npx skills
npx skills add huggingface/skills@d67b12054923df5bbfa07c5ff1331412deebdf4f --skill huggingface-papersPinned to the commit we reviewed. The CLI asks which agents to install for; add -g to install for your user instead of this project.
What it does
It teaches the agent to read AI research papers through Hugging Face’s paper pages instead of wrestling with a PDF. Given a Hugging Face paper link, an arXiv abstract or PDF link, or a bare arXiv ID such as 2602.08025, the agent extracts the ID and fetches https://huggingface.co/papers/{ID}.md, the paper as Markdown, built from arXiv’s HTML version where one exists. For structured facts it calls https://huggingface.co/api/papers/{ID}, which returns the authors, abstract, project page, GitHub repository and upvotes, and it can list the models, datasets and Spaces on the Hub that cite the paper with ?filter=arxiv:{ID}.
The rest of the SKILL.md documents the Papers API: hybrid search over titles, authors and content, the Daily Papers feed by date, week or month, and three write endpoints for paper authors (claim authorship, index a paper from arXiv, update the project and code links). The error handling is short and sensible: a 404 means the paper is not indexed yet, and the fallback is the arXiv page or PDF.
When to use it
Reading and summarising ML papers, where you want the agent to work from the actual text and to find what exists around it: is there code, which checkpoints were released, who has built on it. That second part is what a general web search tool does badly. We checked on 25 November 2026 that the Markdown page, the metadata endpoint, the model filter, search and the Daily Papers feed all answer without a token. Authors who want their papers linked to their Hugging Face profile also get the claim and link-editing calls in one place.
When to skip it
For papers outside AI and computer science: Hugging Face only indexes papers that someone has submitted or cited on the Hub, so a biology or economics paper will usually 404 and you are back to arXiv. Skip it for literature reviews that need citation counts or full-text search across many publishers; a general research tool such as Tavily research covers the open web, and specialist databases cover the rest. And note that the “AI-generated summary” in the metadata is Hugging Face’s, not the authors’; ask the agent to quote the abstract and the paper.
Try it
Read arxiv.org/abs/2211.17192 and explain the method to me as a backend
engineer: what speculative decoding does, what speedup they report and
on which models. Then list any Hugging Face models or Spaces linked to
the paper.
What it can touch
- Bundles scripts
- No
- Pre-approved tools
- None declared
- Needs
- curl and internet access to huggingface.co (and arxiv.org for the fallback); A Hugging Face token in HF_TOKEN only for the write endpoints (claiming authorship, indexing, editing links)
- Client-specific fields
- None, spec fields only
- Files
- At commit
d67b120the SKILL.md is 239 lines long, and it is the only file in the folder. Everything iscurlexamples inside the SKILL.md; there are no scripts.
Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.
- Network. Every step is a
curlcall tohuggingface.co, witharxiv.orgas the fallback. Agents that sandbox network access may ask you to approve the first call. - Your Hugging Face account, only if you give it a token. The three write endpoints send
Authorization: Bearer $HF_TOKENand change public data: who is credited as an author, which papers are indexed and a paper’s code and project links. Reading needs no token, so do not set one for this skill unless you are an author who wants those calls. - No scripts, no
allowed-tools, and onlynameanddescriptionin the frontmatter, so nothing is non-portable.
Alternatives
Hugging Face CLI from the same repository downloads the models and datasets a paper links to, the usual next step after reading it. Tavily research runs a broader web research task with citations when the question is not about one paper. For a method to keep any research answer checkable, see the research with checkable sources workflow.
SKILL.md
The file exactly as published at the reviewed commit, reproduced under its Apache-2.0 licence.
---
name: huggingface-papers
description: Look up and read Hugging Face paper pages in markdown, and use the papers API for structured metadata such as authors, linked models/datasets/spaces, Github repo and project page. Use when the user shares a Hugging Face paper page URL, an arXiv URL or ID, or asks to summarize, explain, or analyze an AI research paper.
---
# Hugging Face Paper Pages
Hugging Face Paper pages (hf.co/papers) is a platform built on top of arXiv (arxiv.org), specifically for research papers in the field of artificial intelligence (AI) and computer science. Hugging Face users can submit their paper at hf.co/papers/submit, which features it on the Daily Papers feed (hf.co/papers). Each day, users can upvote papers and comment on papers. Each paper page allows authors to:
- claim their paper (by clicking their name on the `authors` field). This makes the paper page appear on their Hugging Face profile.
- link the associated model checkpoints, datasets and Spaces by including the HF paper or arXiv URL in the model card, dataset card or README of the Space
- link the Github repository and/or project page URLs
- link the HF organization. This also makes the paper page appear on the Hugging Face organization page.
Whenever someone mentions a HF paper or arXiv abstract/PDF URL in a model card, dataset card or README of a Space repository, the paper will be automatically indexed. Note that not all papers indexed on Hugging Face are also submitted to daily papers. The latter is more a manner of promoting a research paper. Papers can only be submitted to daily papers up until 14 days after their publication date on arXiv.
The Hugging Face team has built an easy-to-use API to interact with paper pages. Content of the papers can be fetched as markdown, or structured metadata can be returned such as author names, linked models/datasets/spaces, linked Github repo and project page.
## When to Use
- User shares a Hugging Face paper page URL (e.g. `https://huggingface.co/papers/2602.08025`)
- User shares a Hugging Face markdown paper page URL (e.g. `https://huggingface.co/papers/2602.08025.md`)
- User shares an arXiv URL (e.g. `https://arxiv.org/abs/2602.08025` or `https://arxiv.org/pdf/2602.08025`)
- User mentions a arXiv ID (e.g. `2602.08025`)
- User asks you to summarize, explain, or analyze an AI research paper
## Parsing the paper ID
It's recommended to parse the paper ID (arXiv ID) from whatever the user provides:
| Input | Paper ID |
| --- | --- |
| `https://huggingface.co/papers/2602.08025` | `2602.08025` |
| `https://huggingface.co/papers/2602.08025.md` | `2602.08025` |
| `https://arxiv.org/abs/2602.08025` | `2602.08025` |
| `https://arxiv.org/pdf/2602.08025` | `2602.08025` |
| `2602.08025v1` | `2602.08025v1` |
| `2602.08025` | `2602.08025` |
This allows you to provide the paper ID into any of the hub API endpoints mentioned below.
### Fetch the paper page as markdown
The content of a paper can be fetched as markdown like so:
```bash
curl -s "https://huggingface.co/papers/{PAPER_ID}.md"
```
This should return the Hugging Face paper page as markdown. This relies on the HTML version of the paper at https://arxiv.org/html/{PAPER_ID}.
There are 2 exceptions:
- Not all arXiv papers have an HTML version. If the HTML version of the paper does not exist, then the content falls back to the HTML of the Hugging Face paper page.
- If it results in a 404, it means the paper is not yet indexed on hf.co/papers. See [Error handling](#error-handling) for info.
Alternatively, you can request markdown from the normal paper page URL, like so:
```bash
curl -s -H "Accept: text/markdown" "https://huggingface.co/papers/{PAPER_ID}"
```
### Paper Pages API Endpoints
All endpoints use the base URL `https://huggingface.co`.
#### Get structured metadata
Fetch the paper metadata as JSON using the Hugging Face REST API:
```bash
curl -s "https://huggingface.co/api/papers/{PAPER_ID}"
```
This returns structured metadata that can include:
- authors (names and Hugging Face usernames, in case they have claimed the paper)
- media URLs (uploaded when submitting the paper to Daily Papers)
- summary (abstract) and AI-generated summary
- project page and GitHub repository
- organization and engagement metadata (number of upvotes)
To find models linked to the paper, use:
```bash
curl https://huggingface.co/api/models?filter=arxiv:{PAPER_ID}
```
To find datasets linked to the paper, use:
```bash
curl https://huggingface.co/api/datasets?filter=arxiv:{PAPER_ID}
```
To find spaces linked to the paper, use:
```bash
curl https://huggingface.co/api/spaces?filter=arxiv:{PAPER_ID}
```
#### Claim paper authorship
Claim authorship of a paper for a Hugging Face user:
```bash
curl "https://huggingface.co/api/settings/papers/claim" \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $HF_TOKEN" \
--data '{
"paperId": "{PAPER_ID}",
"claimAuthorId": "{AUTHOR_ENTRY_ID}",
"targetUserId": "{USER_ID}"
}'
```
- Endpoint: `POST /api/settings/papers/claim`
- Body:
- `paperId` (string, required): arXiv paper identifier being claimed
- `claimAuthorId` (string): author entry on the paper being claimed, 24-char hex ID
- `targetUserId` (string): HF user who should receive the claim, 24-char hex ID
- Response: paper authorship claim result, including the claimed paper ID
#### Get daily papers
Fetch the Daily Papers feed:
```bash
curl -s -H "Authorization: Bearer $HF_TOKEN" \
"https://huggingface.co/api/daily_papers?p=0&limit=20&date=2017-07-21&sort=publishedAt"
```
- Endpoint: `GET /api/daily_papers`
- Query parameters:
- `p` (integer): page number
- `limit` (integer): number of results, between 1 and 100
- `date` (string): RFC 3339 full-date, for example `2017-07-21`
- `week` (string): ISO week, for example `2024-W03`
- `month` (string): month value, for example `2024-01`
- `submitter` (string): filter by submitter
- `sort` (enum): `publishedAt` or `trending`
- Response: list of daily papers
#### List papers
List arXiv papers sorted by published date:
```bash
curl -s -H "Authorization: Bearer $HF_TOKEN" \
"https://huggingface.co/api/papers?cursor={CURSOR}&limit=20"
```
- Endpoint: `GET /api/papers`
- Query parameters:
- `cursor` (string): pagination cursor
- `limit` (integer): number of results, between 1 and 100
- Response: list of papers
#### Search papers
Perform hybrid semantic and full-text search on papers:
```bash
curl -s -H "Authorization: Bearer $HF_TOKEN" \
"https://huggingface.co/api/papers/search?q=vision+language&limit=20"
```
This searches over the paper title, authors, and content.
- Endpoint: `GET /api/papers/search`
- Query parameters:
- `q` (string): search query, max length 250
- `limit` (integer): number of results, between 1 and 120
- Response: matching papers
#### Index a paper
Insert a paper from arXiv by ID. If the paper is already indexed, only its authors can re-index it:
```bash
curl "https://huggingface.co/api/papers/index" \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $HF_TOKEN" \
--data '{
"arxivId": "{ARXIV_ID}"
}'
```
- Endpoint: `POST /api/papers/index`
- Body:
- `arxivId` (string, required): arXiv ID to index, for example `2301.00001`
- Pattern: `^\d{4}\.\d{4,5}$`
- Response: empty JSON object on success
#### Update paper links
Update the project page, GitHub repository, or submitting organization for a paper. The requester must be the paper author, the Daily Papers submitter, or a papers admin:
```bash
curl "https://huggingface.co/api/papers/{PAPER_OBJECT_ID}/links" \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $HF_TOKEN" \
--data '{
"projectPage": "https://example.com",
"githubRepo": "https://github.com/org/repo",
"organizationId": "{ORGANIZATION_ID}"
}'
```
- Endpoint: `POST /api/papers/{paperId}/links`
- Path parameters:
- `paperId` (string, required): Hugging Face paper object ID
- Body:
- `githubRepo` (string, nullable): GitHub repository URL
- `organizationId` (string, nullable): organization ID, 24-char hex ID
- `projectPage` (string, nullable): project page URL
- Response: empty JSON object on success
## Error Handling
- **404 on `https://huggingface.co/papers/{PAPER_ID}` or `md` endpoint**: the paper is not indexed on Hugging Face paper pages yet.
- **404 on `/api/papers/{PAPER_ID}`**: the paper may not be indexed on Hugging Face paper pages yet.
- **Paper ID not found**: verify the extracted arXiv ID, including any version suffix
### Fallbacks
If the Hugging Face paper page does not contain enough detail for the user's question:
- Check the regular paper page at `https://huggingface.co/papers/{PAPER_ID}`
- Fall back to the arXiv page or PDF for the original source:
- `https://arxiv.org/abs/{PAPER_ID}`
- `https://arxiv.org/pdf/{PAPER_ID}`
## Notes
- No authentication is required for public paper pages.
- Write endpoints such as claim authorship, index paper, and update paper links require `Authorization: Bearer $HF_TOKEN`.
- Prefer the `.md` endpoint for reliable machine-readable output.
- Prefer `/api/papers/{PAPER_ID}` when you need structured JSON fields instead of page markdown.Related skills
Hugging Face CLI
A command reference for the hf CLI: download and upload models and datasets, manage repos, cache, buckets, jobs, endpoints and papers on the Hub.
Tavily research (Tavily)
Researches a question in depth with Tavily: splits it into subtopics, researches them in parallel, optionally with subagents, then writes a cited report.
Scientific problem selection
Coaches a scientist through choosing or rescuing a research project with Fischbach and Walsh's framework: idea refinement, risk scoring, impact and pivots.
Guides and recipes that use Hugging Face paper pages (Hugging Face)
- Research a topic with sources you can check
Research a topic with AI search and keep every claim checkable: build a source list, open and log each source, draft from the log, then add limits and a date.