skillpack-harvest
БесплатноБез исполняемых скриптовНе проверенLift a proven skill from a host repo (e.g. your OpenClaw fork) back into inbrain's bundle so other clients can scaffold it. Editorial workflow: the CLI does…
от inbrainfun★ 142 звезды на GitHubОб этом скилле
skillpack-harvest — Editorial workflow for lifting host skills into inbrain
Convention: see _brain-filing-rules.md for file placement rules. This skill writes into inbrain's own tree, not the brain repo's notes.
This skill is the inverse of inbrain skillpack scaffold. Scaffold ships
skills downstream (inbrain → host). Harvest lifts proven patterns
upstream (host → inbrain) so they become references every other client
can scaffold.
Contract
A harvest is "properly done" when:
- The host skill is mature (used in production, recent routing-eval cases pass).
- The editorial genericization in Phase 3 has scrubbed every fork-specific reference (names, real entities, internal channels).
inbrain skillpack harvest --dry-runpreviewed the file set.- The real
inbrain skillpack harvest <slug> --from <host>succeeded withstatus: harvested(no privacy-lint hits). bun test test/skills-conformance.test.tspasses on the newskills/<slug>/SKILL.md.- The user has reviewed the diff in inbrain and explicitly approved the commit.
If any of these is incomplete, the skill is NOT yet harvested — the files may sit in inbrain's working tree, but they're not landed.
Output Format
This skill produces three artifacts in inbrain's working tree:
skills/<harvested-slug>/SKILL.md(and any sibling files likerouting-eval.jsonl)- Paired source files at their mirror paths (e.g.
src/commands/<slug>.ts) when the host SKILL.md declared them in frontmattersources: - An updated
openclaw.plugin.jsonwith the new slug added toskills:(sorted)
The session output to the user is a one-line success summary plus
a list of files written. JSON mode (--json) returns the full
HarvestResult shape for machine consumption.
Anti-Patterns
- Skipping the dry-run. Always preview first. Files land in
inbrain's working tree; cleanup is a
git checkoutaway, but you shouldn't need to. - Trusting the linter alone. The default regex set catches the common cases. It doesn't catch every proper noun. Phase 3 (the editorial pass) is the primary defense.
- Harvesting
--no-lintwithout justification. The lint exists for a reason. If you bypass it, document why in the commit. - Harvesting a skill that's still in flux. Wait until the host version stabilizes. Otherwise you'll harvest, then re-harvest, then re-harvest, and that churns inbrain's bundle for no benefit.
- Moving files instead of copying. Harvest is a copy. The host
retains its skill. Don't
rm -rfthe source after harvesting. - Harvesting batch (multiple skills at once). Not supported, and for good reason — the editorial review per skill is real work.
When to invoke
- The user developed a skill in their host fork (Wintermute, Neuromancer, Zion, etc.) and wants other inbrain clients to be able to use it
- A skill has proven itself in production and is ready to generalize
- The user explicitly asks to "harvest" or "publish" a skill upstream
Do NOT invoke when:
- The skill is still in flux locally — let it stabilize first
- The skill references private content that can't be generalized
- The user just wants to share a one-off draft (use a gist instead)
Preconditions
Before running this skill, confirm:
The skill is mature. Recent
routing-eval.jsonlcases pass; the skill has been used in production at least a few times.The skill is generalizable. Strip-test in your head: replace every fork-specific name. Does it still make sense as a skill?
The user owns the inbrain checkout. The harvest writes into inbrain's working tree. They'll review and commit. Don't harvest into a checkout the user doesn't intend to commit from.
Workflow
Phase 1 — Plan
Ask the user:
- What slug should the harvested skill have? (Slugs must be kebab-case, globally unique in the inbrain bundle.)
- Which host repo is the source? (Path to repo root, not to the skill
directory — e.g.
~/git/wintermute, not~/git/wintermute/skills/foo.) - Should paired source files come along? (Check the host SKILL.md's
frontmatter
sources:array.)
Phase 2 — Dry-run + privacy-lint preview
Run the CLI with --dry-run:
inbrain skillpack harvest <slug> --from <host-repo-root> --dry-run
The output shows:
- Which files would land in inbrain's tree
- Whether paired sources are included
- (Implicit) The skill's frontmatter triggers — read them and check they generalize
Do not skip the dry-run. The privacy linter only runs on a real harvest, but the dry-run preview lets you see the files before they land. Spot-check the SKILL.md and any paired source for things the linter might miss (proper nouns, internal project names, etc.).
Phase 3 — Genericization checklist (the editorial pass)
Before running the real harvest, walk the host's skills/<slug>/
files and apply this checklist. If anything match
Установить skillpack-harvest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл skillpack-harvest?
Lift a proven skill from a host repo (e.g. your OpenClaw fork) back into inbrain's bundle so other clients can scaffold it. Editorial workflow: the CLI does the file copy + privacy lint; this skill drives the judgment-heavy genericization (scrub real names, generalize triggers, lift fork-specific conventions to references).
Как установить скилл skillpack-harvest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skillpack-harvest запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic