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.
npx skills add shimo4228/claude-harness --skill hf-syncgit clone --depth 1 https://github.com/shimo4228/claude-harnessWrote 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.
[](https://agentmods.dev/skills/shimo4228/claude-harness/hf-sync)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/hf-sync"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/hf-sync/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/hf-sync"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/hf-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01180 |
| Opus 5.5 | $0.00016 | $0.00472 |
| Sonnet 5.5 | $0.00008 | $0.00236 |
| Haiku 4.5 | $0.00004 | $0.00118 |
Grade A, and why
hf-sync 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 29d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hf-sync — Local HF Dataset Mirror Sync
graph.jsonld を持つ research repo の HF dataset mirror を、手元から 1 コマンドで同期する skill。jsonld-knowledge-graph で encode した graph を HF Datasets 上の mirror に反映する operational layer。
When to use
release-doiの Phase 4 末尾、gh release create後の HF mirror 反映- Graph に手を加えた直後の ad-hoc resync(release を切らずに HF だけ更新したい)
- HF token を rotate した後の動作確認
When NOT to use
graph.jsonldを持たない repo(HF mirror が存在しない)
Execution
script のパスは ${CLAUDE_SKILL_DIR}(この SKILL.md のあるディレクトリ)から始まる:
bash "${CLAUDE_SKILL_DIR}/sync.sh" $ARGUMENTS
$ARGUMENTS は HF dataset の repo ID(例: Shimo4228/agent-knowledge-cycle)。
cwd 制約: graph.jsonld が存在する project root で実行する。
What it does
- cwd の
graph.jsonldの structural sanity check(@graphが array で non-empty) - Source の
graph.jsonldを HF clone dir ($HF_CLONE_BASE/<dataset>/, default~/MyAI_Lab/hf-datasets/<dataset>/) にコピー - HF clone 側で
jq -c '.["@graph"][]' graph.jsonld > graph.jsonlを生成(HF Dataset Viewer 用 1 node 1 行 flatten) hf upload <Owner/dataset> <hf-clone>/graph.jsonld graph.jsonld --repo-type datasethf upload <Owner/dataset> <hf-clone>/graph.jsonl graph.jsonl --repo-type dataset- Success log + HF URL を表示
Source repo は汚さない: graph.jsonl は HF clone 側でだけ生成・存在し、source の git tree には残らない。
HF 側の README.md(dataset card)はこの sync の対象外。HF 用に customize されている(sibling dataset への link、mirror notice 等)ので、文面を変えるときは手動で hf upload <Owner/dataset> <hf-clone>/README.md README.md --repo-type dataset。
Auth は ~/.cache/huggingface/token(hf auth login で保存されたもの)を hf CLI が自動で読む。
Repo mapping
各 project の GitHub repo と HF dataset の対応は project ごとに違う。Skill 本体には embed しない(portability 保持)。Mapping は project の CLAUDE.md または同等の場所に記録しておき、起動時にコピペで引数に渡す。
shimo4228 系の現行 mapping は ~/MyAI_Lab/shimo4228/CLAUDE.md の "HF Datasets mirror" section を参照。
新規 project で記録を起こすときの format:
| GitHub repo | HF dataset |
|---|---|
| `owner/project-a` | `Owner/project-a` |
| `owner/hub` | `Owner/research-program-hub` |
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.
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.
- 29d ago Changed · -1 lines 01fd3f62c8ce
- 1mo ago Changed · -84 tokens per session b12280da4b73
- 2mo ago Changed · +2 lines 8d7bfe598bd5
- 2mo ago Changed 106d2b2ccbb5
- 2mo ago Changed 1eb022971f05
- 3mo ago First seen · 75 lines · 125 tokens per session scan A 9b6c6d794f57
hf-sync is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 1,180 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
hf-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hf-syncshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 41 | Claude Code |
| agent-adoption-triageshimo4228/agent-adoption-triage | Skill | 2 | 1mo ago | MIT | A | 143 | Claude Code |
| git-commitadongwanai/learn-workbuddy | Skill | 563 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| pi-triagesky-valley/pi | Skill | 94 | yesterday | MIT | A | 57 | Claude Code |
| pi-parity-reviewsky-valley/pi | Skill | 94 | yesterday | MIT | A | 54 | Claude Code |
| zodanivar/zod-skill | Skill | 24 | yesterday | MIT | A | 217 | Claude Code, Codex |
| trailhead-chartToRvaLDz/trailhead | Skill | 37 | yesterday | MIT | A | 138 | Claude Code |