upload-parity-experiments
Skill by zli12321
Uploads Harbor parity experiment results to the shared Hugging Face dataset harborframework/parity-experiments as a dataset pull request. Built for Harbor adapter maintainers who need to publish results and record the discussion URL as parity_pr.
Install upload-parity-experiments
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zli12321/LHTB /tmp/LHTB && mkdir -p ~/.claude/skills && cp -r /tmp/LHTB/harbor/skills/upload-parity-experiments ~/.claude/skills/upload-parity-experimentsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install upload-parity-experiments in Claude Code
git clone --depth 1 https://github.com/zli12321/LHTB /tmp/LHTB && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LHTB/harbor/skills/upload-parity-experiments ~/.gemini/antigravity-cli/skills/upload-parity-experimentsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install upload-parity-experiments in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill publishes Harbor parity experiment outputs to the shared Hugging Face dataset harborframework/parity-experiments. It creates a new dataset pull request or reuses a PR number the user already has, then returns the discussion URL for the adapter's parity_pr field.
It avoids a full clone by fetching only the PR ref and the adapter's folder with a sparse checkout. Files larger than 10 MiB are tracked with Git LFS, and results are pushed with raw git. LFS rules go into the adapter's own .gitattributes file, so the shared root file is not changed. A fallback to hf upload-large-folder is included. The skill is for contributors who publish parity results for Harbor adapters.
Written from the project's SKILL.md and checked against it.
What it can do
- Create or reuse PRCreates a dataset PR with scripts/create_pr.py, or reuses a PR number the user already has.
- Sparse checkoutFetches only the PR ref and the adapter folder instead of cloning the full dataset.
- Copy local resultsCopies a local results folder into adapters/<adapter_name>/ in the checkout.
- Git LFS trackingFinds files over 10 MiB and adds LFS rules in the adapter's .gitattributes.
- Raw git pushPushes commits directly to the PR ref with git push and an SSH keep-alive setting.
- Discussion URLReturns the discussion URL to record as parity_pr in parity_experiment.json.
What you need
- Hugging Face token with discussion-write permission
- SSH access to hf.co for git push
- uv to run the bundled create_pr.py script
- Git and Git LFS installed locally
Try asking
- Create a parity PR for adapter my_adapter and upload my results folder
- Sparse checkout PR 42 and push the results for adapter foo
- Find files over 10 MiB in my parity folder and set up LFS for them
Good to know
- Targets harborframework/parity-experiments only unless the user asks for another repo.
- A read-only or narrowly scoped token fails with HTTP 403 when creating a PR.
- Do not fall back to a full clone of the dataset.
- hf upload-large-folder is a fallback, used only when raw git is unavailable or requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: harbor/skills/upload-parity-experiments/SKILL.md, harbor/skills/upload-parity-experiments/scripts/create_pr.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
scripts/create_pr.py2 KB
Alternatives to upload-parity-experiments
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
upload-parity-experiments: common questions
Why use raw git instead of hf upload-large-folder?
The source says hf upload-large-folder can be slow or unreliable for large bundles because it uses the Hub API commit loop. Raw git avoids that path and does not require cloning the whole dataset.
Which files need Git LFS?
Files larger than 10 MiB must be LFS-tracked before pushing. The repo-root .gitattributes already covers common binary, model, and media extensions.
Where does the discussion URL go?
It goes in the adapter's parity_experiment.json as the parity_pr field, using the discussions/<number> link format.
How do I install upload-parity-experiments?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is upload-parity-experiments free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is upload-parity-experiments safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to upload-parity-experiments?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
