research.publish

Upload research artifact bundles to HuggingFace Hub and Zenodo with DOI registration.

Updated May 9, 2026
One-click install
npx skills add https://github.com/0h-n0/auto-research --skill research-publish-0h-n0
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: research.publish
Source: https://github.com/0h-n0/auto-research/tree/main/skills/research.publish
Command: npx skills add https://github.com/0h-n0/auto-research --skill research-publish-0h-n0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, requests, and includes references (resource) components.

What problem does it solve? Publishing research artifacts (code, data, experiment logs) in a citable, archived form is tedious: you must package the bundle, upload it to a dataset repository, register a DOI, and record the publication metadata. This Skill automates that final publication step of the auto-research workflow. ## Core Features & Use Cases - HuggingFace Hub Datasets upload: Creates a dataset repo and uploads the exported bundle via the huggingface_hub API, with private/draft mode support. - Zenodo archiving with DOI: Creates a deposition, uploads the bundle, sets metadata (title, creators, keywords), and optionally publishes to obtain a DOI, with sandbox mode for testing. - Publication record generation: Writes PUBLICATION.md with URLs, DOI, git SHA, and a BibTeX citation, and updates STATE.json with publication metadata. - Use Case: After completing Phase 8 of an LLM research project, publish the exported bundle to both HF Hub and Zenodo so reviewers receive a DOI-linked, reproducible artifact. ## Quick Start Use the research.publish skill to upload the latest export bundle for my project to HuggingFace Hub and Zenodo in draft mode.

Frequently Asked Questions about research.publish

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

FAQPage Schema
How do I upload a dataset to HuggingFace Hub with Python?▼

Use the huggingface_hub library's HfApi: call create_repo with repo_type="dataset", then upload_folder to push your files. You need an HF_TOKEN with write permissions, and you can set private=True for draft visibility.

How do I get a DOI for research data using Zenodo API?▼

Create a deposition via POST to /deposit/depositions, upload your file to the returned bucket URL, set metadata, then POST to the publish action endpoint. Zenodo returns a DOI only after publishing; drafts have no DOI.

Can I test Zenodo uploads without publishing publicly?▼

Yes, set ZENODO_SANDBOX=1 to use sandbox.zenodo.org, a testing environment separate from production. You can also run in draft mode, which creates the deposition without publishing it.

Why does the upload fail with missing token errors?▼

The script requires HF_TOKEN for HuggingFace Hub and ZENODO_ACCESS_TOKEN for Zenodo, set as environment variables. If a token is missing, that target is skipped with an error message pointing to the token settings page.

What happens if only one upload target succeeds?▼

The script records partial success: PUBLICATION.md and STATE.json include only the targets that completed, and the incomplete portion is explicitly noted. If neither target succeeds, the script exits with an error.