upload-parity-experiments

upload-parity-experiments is a skill for Claude Code, Codex from zli12321/LHTB. It costs 49 tokens per session (1,644 once invoked), scanned A, a copy of upload-parity-experiments, Apache-2.0.

A procedure for uploading Harbor parity experiment results to a shared Hugging Face dataset. Parity experiments compare an adapter’s behavior with a reference or expected result.

In plain words
What is it for?
Creating or reusing dataset pull requests, uploading result folders efficiently, and recording the resulting discussion link.
Why use it?
It avoids expensive full downloads, handles large files with Git LFS, and uses the correct dataset pull-request workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zli12321/lhtb/upload-parity-experiments
Any agent
npx skills add zli12321/LHTB --skill upload-parity-experiments
Clone the repo
git clone --depth 1 https://github.com/zli12321/LHTB

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upload-parity-experiments

README.md
[![agentmods](https://agentmods.dev/badge/skills/zli12321/lhtb/upload-parity-experiments.svg)](https://agentmods.dev/skills/zli12321/lhtb/upload-parity-experiments)
Your own site
<a href="https://agentmods.dev/skills/zli12321/lhtb/upload-parity-experiments"><img src="https://agentmods.dev/badge/skills/zli12321/lhtb/upload-parity-experiments.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01644
Opus 5 $0.00024 $0.00822
Sonnet 5 $0.00010 $0.00329
Haiku 4.5 $0.00005 $0.00164

Measured 6d ago against content hash 257567d704bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

upload-parity-experiments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/create_pr.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to upload-parity-experiments — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

harbor/skills/upload-parity-experiments/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Upload Parity Experiments

Use this skill to publish Harbor parity experiment outputs to the shared Hugging Face dataset and capture the resulting discussion URL for the adapter's parity_pr field.

Why This Skill Exists

  • hf upload-large-folder can be slow or unreliable for large parity bundles because it pushes through the Hub API commit loop.
  • A normal git clone of harborframework/parity-experiments is too expensive because the dataset is very large.
  • Hugging Face dataset PR refs are different from GitHub PR refs and are easy to misuse.
  • Files larger than 10 MiB must be Git LFS-tracked before pushing.

This skill avoids the full clone by fetching only the target PR ref with --depth 1 --filter=blob:none and checking out only the paths needed for the current adapter.

Prereqs

  • Ensure Hugging Face authentication is available with discussion-write permission. Either a classic write token or a fine-grained token with global discussion.write enabled at https://huggingface.co/settings/tokens. A read-only or narrowly-scoped token will cause create_pr.py to fail with HTTP 403.
  • Keep the target dataset fixed to harborframework/parity-experiments unless the user explicitly asks for another repo.
  • Accept any local upload source that already contains the final files the user wants to publish.

Preferred Workflow

  1. Create or reuse a dataset PR.
  2. Prepare a sparse local worktree for that PR ref.
  3. Copy the local parity results into the sparse checkout.
  4. Ensure every file larger than 10 MiB is Git LFS-tracked before committing.
  5. Push directly to the PR ref with raw git push.
  6. Share the discussion URL and record it as the adapter's parity_pr.

For large parity bundles, prefer raw git over hf upload-large-folder. The raw git path is materially faster and more reliable because it avoids the API-side commit loop and does not require cloning the entire parity dataset.

1. Create Or Reuse A Dataset PR

If the user already has a parity PR number, reuse it.

Read the full file on GitHub · 176 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 176 lines · 49 tokens per session scan A 257567d704bf

Subscribe to this mod's changes

upload-parity-experiments is a skill published in the GitHub repository zli12321/LHTB (697 stars, last pushed 9d ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,644 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to upload-parity-experiments, differing in 0 lines, and is treated as a copy.