Community写作与编辑github.com

shimo4228/claude-harness

Curated, MIT-licensed Agent Skills, subagents & rules from shimo4228's harness — open Agent Skills standard, not Claude-Code-only. Lift what you want.

claude-harness 是什么?

claude-harness is a Claude Code agent skill that curated, MIT-licensed Agent Skills, subagents & rules from shimo4228's harness — open Agent Skills standard, not Claude-Code-only. Lift what you want.

兼容平台Claude Code~Codex CLI~Cursor
npx skills add shimo4228/claude-harness

Installed? Explore more 写作与编辑 skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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 5 末尾、gh release create 後の HF mirror 反映
  • Graph に手を加えた直後の ad-hoc resync(release を切らずに HF だけ更新したい)
  • HF token を rotate した後の動作確認

When NOT to use

  • graph.jsonld を持たない repo(HF mirror が存在しない)
  • HF dataset 自体がまだ作成されていない project(先に hf repo create <Owner/dataset> --repo-type dataset で repo を作る)
  • HF clone dir ($HF_CLONE_BASE/<dataset>/) が存在しない(先に mkdir -p ~/MyAI_Lab/hf-datasets/<dataset> で staging dir を作る。HF 側の README.md と過去 snapshot がここに置かれる)
  • hf login していない / token が write scope を持たない(先に hf auth login で token を入れ直す)

Execution

bash ~/.claude/skills/hf-sync/sync.sh $ARGUMENTS

$ARGUMENTS は HF dataset の repo ID(例: Shimo4228/agent-knowledge-cycle)。

cwd 制約: graph.jsonld が存在する project root で実行する。

What it does

  1. cwd の graph.jsonld の structural sanity check(@graph が array で non-empty)
  2. Source の graph.jsonld を HF clone dir ($HF_CLONE_BASE/<dataset>/, default ~/MyAI_Lab/hf-datasets/<dataset>/) にコピー
  3. HF clone 側で jq -c '.["@graph"][]' graph.jsonld > graph.jsonl を生成(HF Dataset Viewer 用 1 node 1 行 flatten)
  4. hf upload <Owner/dataset> <hf-clone>/graph.jsonld graph.jsonld --repo-type dataset
  5. hf upload <Owner/dataset> <hf-clone>/graph.jsonl graph.jsonl --repo-type dataset
  6. Success log + HF URL を表示

Source repo は汚さない: graph.jsonl は HF clone 側でだけ生成・存在し、source の git tree には残らない。

Auth は ~/.cache/huggingface/tokenhf 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 を参照。

Related skills

  • jsonld-knowledge-graphgraph.jsonld設計 layer。本 skill はその operational mirror に対応
  • release-doi — Zenodo DOI release flow。Phase 5 末尾で本 skill を呼ぶ

Failure modes

  • graph.jsonld not found in cwd → project root に移動してから起動
  • HF clone dir not foundmkdir -p $HF_CLONE_BASE/<dataset>/ で staging dir を作成 (もし HF 側に既存ファイルがあれば手動で取得して置く、または hf download <Owner/dataset> --local-dir <hf-clone> で初期 sync)
  • @graph not array / emptygraph.jsonld の構造を見直す(jsonld-knowledge-graph skill 参照)
  • hf upload 401 / 403hf auth whoami で token 確認。write scope を持っていなければ HF settings で新規発行 → hf auth login
  • HF dataset repo が存在しない (404) → 先に hf repo create <Owner/dataset> --repo-type dataset で repo を作る

相关技能

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community