Command Palette

Search for a command to run...

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

aeon-update

БесплатноБез исполняемых скриптовНе проверен

Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config.

aeonfunот aeonfun★ 801 звезда на GitHub

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

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

  • mode (sync | report, default sync) — sync opens a PR with the framework changes; report computes the delta and notifies, mutating nothing (dry run).
  • repo=owner/name — override the upstream source repo (else auto-resolved from this instance's parent, falling back to aeonfun/aeon).
  • reset=<sha|fork-point> — force the stored baseline to <sha> (or the merge-base with upstream) before running. Recovery / backfill lever.

Empty ⇒ sync from the auto-resolved upstream. Examples: `` · report · repo=aeonfun/aeon · reset=fork-point.

Today is ${today}. This is the fleet's downstream updater - the counterpart to fork-fleet. fork-fleet looks outward from the parent to find work in the forks worth pulling up; this skill runs inside an instance and pulls the parent's shipped framework changes down - new skills, script/harness fixes, workflow and doc updates - and lands them as a reviewable PR. It is how an instance stays current with aeonfun/aeon without a hand-run rsync-overlay rebase.

Operating principles

  • PR, never push to main. Every framework change ships as one reviewable PR. The operator merges.
  • Never clobber operator config. aeon.yml, STRATEGY.md, soul/, memory/, output/, .mcp.json and the git-derived catalogs are instance-owned. Upstream changes to them are surfaced for manual review in the PR body, never written into the tree.
  • 3-way, not blind overwrite. A framework file the operator has already customized is auto-merged when its local edits and upstream's edits touch disjoint regions (a real git merge-file 3-way, S6); it is only listed as a conflict for a human when the same lines changed on both sides. This is what lets a hand-narrowed workflow keep receiving unrelated upstream fixes without a manual merge every run.
  • Silent when in sync. Baseline == upstream HEAD ⇒ nothing to do, no notification.
  • The baseline is the watermark, and it advances by merge. The new baseline SHA is written only into the PR branch commit (never main, never the run log), so the watermark only moves when the operator merges the PR, and one sync PR is open at a time. Unresolved conflicts are tracked separately so advancing the baseline can never silently drop them.

Steps

Every command below is one Bash call: run it, read the value it prints, and type that value into the next command (shown as <UPSTREAM>, <HEAD_SHA>, ...). Never assign shell variables (X=$(...)), chain with &&/;, redirect into a file, or write a script and run it with bash: the permission layer refuses all of those in this run. Create or change files with Write/Edit.

S0. Bootstrap + load state

If memory/topics/aeon-update-state.json does not exist, create it with Write:

{"baseline_sha": null, "upstream": null, "last_run": null, "last_pr": null, "pending_conflicts": [], "keep_local": []}

Read memory/MEMORY.md for context and scan the last ~3 days of memory/logs/ - drop anything already reported so a repeat run isn't re-sent. Read the state file:

  • BASELINE = .baseline_sha (the upstream commit this instance was last synced to).
  • PENDING = .pending_conflicts (files surfaced as conflicts in a prior run, not yet resolved).
  • .keep_local (optional, set by the operator) = glob patterns for OWNED paths this instance keeps its own way on purpose: docs it rewrote, files it deleted. See Kept local in S4-S6. The script reads it; never edit it yourself.

S1. Parse ${var}

  • MODE = report if the token report (or dry) is present, else sync.
  • REPO_OVERRIDE = value of a repo=owner/name token, if any.
  • RESET = value of a reset= token, if any (fork-point or a 7-40 char SHA).

S2. Resolve the upstream source

gh repo view --json nameWithOwner -q .nameWithOwner                # -> SELF
gh api "repos/<SELF>" --jq '.parent.full_name // empty'            # -> UPSTREAM (skip when REPO_OVERRIDE is set)

UPSTREAM = REPO_OVERRIDE, else the parent, else aeonfun/aeon when the parent is empty.

If UPSTREAM == SELF, this instance is canon - there is nothing upstream to pull. Write status AEON_UPDATE_IS_UPSTREAM to memory/logs/${today}.md, send no notification, and stop.

gh api "repos/<UPSTREAM>" --jq '.default_branch'                    # -> UP_DEFAULT
gh api "repos/<UPSTREAM>/commits/<UP_DEFAULT>" --jq '.sha'          # -> HEAD_SHA (HEAD7 = first 7 chars)

S3. Establish / reset the baseline

  • reset=fork-point → run git rev-parse HEAD (-> LOCAL_HEAD), then gh api "repos/<UPSTREAM>/compare/<HEAD_SHA>...<LOCAL_HEAD>" --jq '.merge_base_commit.sha' -> BASELINE. reset=<sha> → BASELINE=<sha>. Persist it to the state file with Edit, then continue.
  • First run (BASELINE null and no reset): a fresh instance already car
Полный SKILL.md на GitHub

Установить aeon-update в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл aeon-update?

Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config.

Как установить скилл aeon-update?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aeon-update запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить aeon-update с