Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от aeonfun★ 801 звезда на GitHub

Об этом скилле

${var} — Divergence scope selector; space-separated tokens, order-independent, all optional:

  • scope (code | config | both, default both) — 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 (forces code scope; 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:

  1. Code divergence — which active forks are building real work (unique commits, new/modified skills) that's worth pulling back upstream?
  2. Config divergence — where does the configured fleet systematically disagree with upstream's enabled / var / model / schedule defaults, 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}:main returns 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.md is worth 100 cron-time edits in aeon.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 repo full_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 by full_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, or both (default both if no scope keyword present).
  • REPO_OVERRIDE = value of a repo=owner/name token, if any.
  • SINGLE_FORK = value of a fork=owner/name token, if any. If SINGLE_FORK is set, force SCOPE=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:

  1. REPO_OVERRIDE if the repo= token was given.
  2. Else auto-resolve from this running instance, two calls:
    gh repo view --json nameWithOwner -q .nameWithOwner
    
    It prints SELF_REPO. Write it in literally:
    gh api repos/<SELF_REPO> --jq '.parent.full_name // .full_name'
    
    It prints PARENT_REPO.
  3. 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
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить fork-fleet с