fork-fleet
БесплатноБез исполняемых скриптовНе проверенFork divergence monitor - tracks where the fleet's active forks diverge in CODE (unique commits, new/modified skills) and CONFIG (enable/var/model/schedule vs…
от aeonfun★ 801 звезда на GitHubОб этом скилле
${var} — Divergence scope selector; space-separated tokens, order-independent, all optional:
- scope (
code|config|both, defaultboth) — which divergence dimension to run.repo=owner/name— override the parent repo whose forks are scanned (else auto-resolved).fork=owner/name— drill into a single fork (forcescodescope; config math needs a fleet).Empty ⇒ both dimensions over the auto-resolved parent. Examples: `` (both, all forks) ·
code·config·config repo=octo/aeon·fork=alice/aeon.
Today is ${today}. This is the fleet's divergence monitor. It answers two questions the popularity/liveness skills don't:
- Code divergence — which active forks are building real work (unique commits, new/modified skills) that's worth pulling back upstream?
- Config divergence — where does the configured fleet systematically disagree with upstream's
enabled/var/model/scheduledefaults, so the operator can flip a default the fleet has already voted on?
skill-gap ranks what's popular (top 15 by enabled count). This skill's code branch surfaces per-fork unique work; its config branch surfaces where operators disagree with defaults. If 6 of 8 configured forks enable a skill upstream defaults off, upstream is shipping the wrong default; if 5 of 8 disable a skill upstream defaults on, that skill is noise. Both are peer-learning signals.
Operating principles
- Verdict first, catalog second. The operator reads one line and knows if action is needed.
- Silent when nothing changed. Weekly cadence + a dormant/undivergent fleet = a read-once habit to kill. A clean run notifies nothing.
- Per-fork compare is one call, not three.
/compare/{owner}:main...{fork_owner}:mainreturns ahead/behind/unique commits/files in a single round-trip; the recursive git-tree returns the fork's whole file list in one call. - Substance ≠ noise. A new
skills/*/SKILL.mdis worth 100 cron-time edits inaeon.yml. Score accordingly. On the config side, an untouched template fork is not a "vote" — exclude it from divergence math.
Shared setup (all scopes)
S0. Bootstrap + load state
Shell shape. Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (X=$(...), X="${Y##*/}"), nests $(...), uses a [ -f ... ] || test, or joins commands with ;, && or ||, and each refusal costs a model turn. So every lookup below is its own call: read the value it prints and write it into later commands literally where they show <NAME> (e.g. <PARENT_REPO>, <FORK_FULL_NAME>). Missing state files are found with Glob and created with Write; one call per fork, never a loop.
mkdir -p memory/topics
Check each of these with Glob; create any that does not exist with Write, with this content:
memory/instances.json-{}memory/topics/fork-fleet-state.json-{"forks":{},"last_run":null}memory/topics/fork-digest-state.json-{"last_run":null}
Read memory/MEMORY.md for high-level context and scan the last ~3 days of memory/logs/ — drop anything already reported so a weekly signal isn't re-sent.
- Read
memory/instances.json→ the set of repofull_names that are managed instances (tagged separately from organic community forks in the report). - Read
memory/topics/fork-fleet-state.json→ prior run's per-fork{pushed_at, ahead_by, default_branch, new_skill_count}keyed byfull_name. Used for the code what-changed delta. - Read
memory/topics/fork-digest-state.json→ prior config-divergence snapshot (schema in step B8). Used for the config week-over-week delta.
S1. Parse the scope selector
Parse ${var} into tokens:
SCOPE=code,config, orboth(defaultbothif no scope keyword present).REPO_OVERRIDE= value of arepo=owner/nametoken, if any.SINGLE_FORK= value of afork=owner/nametoken, if any. IfSINGLE_FORKis set, forceSCOPE=code(single-fork config divergence is meaningless — the config math needs a fleet of ≥2 configured forks).
S2. Resolve the parent/target repo
Resolve PARENT_REPO in priority order:
REPO_OVERRIDEif therepo=token was given.- Else auto-resolve from this running instance, two calls:
It prints SELF_REPO. Write it in literally:gh repo view --json nameWithOwner -q .nameWithOwner
It prints PARENT_REPO.gh api repos/<SELF_REPO> --jq '.parent.full_name // .full_name' - Else fall back to the first non-comment, non-empty line of
memory/watched-repos.md.
If none resolves, write status FORK_DIVERGENCE_NO_TARGET to memory/logs/${today}.md and stop (no notification).
PARENT_OWNER = the part of PARENT_REPO before the /, PARENT_NAME = the part after it (work these out yourself, no shell). Then, with PARENT_REPO written in literally:
gh api "repos/<PARENT_REPO>" --jq '.defau
Установить fork-fleet в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fork-fleet?
Fork divergence monitor - tracks where the fleet's active forks diverge in CODE (unique commits, new/modified skills) and CONFIG (enable/var/model/schedule vs upstream), gated on real change.
Как установить скилл fork-fleet?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fork-fleet запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic