aeonfun/aeon/aeon-update
Claude Code and agent skill by aeonfun/aeon
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install aeonfun/aeon/aeon-updateSKILL.md
The same SKILL.md was published earlier as aeonfun/aeon/aeon-update.
${var} — mode selector; space-separated tokens, order-independent, all optional:- mode (sync|report, defaultsync) —syncopens a PR with the framework changes;reportcomputes the delta and notifies, mutating nothing (dry run).- `repo=owner/name` — override the upstream source repo (else auto-resolved from this instance'sparent, falling back toaeonfun/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.jsonand 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-file3-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:
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=reportif the tokenreport(ordry) is present, elsesync.REPO_OVERRIDE= value of arepo=owner/nametoken, if any.RESET= value of areset=token, if any (fork-pointor a 7-40 char SHA).
S2. Resolve the upstream source
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.
S3. Establish / reset the baseline
- `reset=fork-point` → run
git rev-parse HEAD(-> LOCAL_HEAD), thengh 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 carries all of canon from fork time, so there is no delta to apply - just anchor the watermark. Set
baseline_sha = HEAD_SHA, write state, logAEON_UPDATE_BASELINE_SET, send a one-line notify (baseline initialized at <head7>; future runs sync from here), and stop. (To backfill everything since the fork point instead, re-run withreset=fork-point.) - `BASELINE` == `HEAD_SHA`: in sync. Run the S4
plancommand anyway: it returnsAEON_UPDATE_IN_SYNCwithpending_conflictsre-verified against HEAD. If that list differs fromPENDING(a prior conflict was resolved), write it into the state file with Edit. LogAEON_UPDATE_IN_SYNC, notify nothing, stop. - A sync PR is still open (sync mode): the state file on
mainstill holds the old baseline until that PR merges, so a second PR from it would carry the same commits again and two branches would each move the watermark. Check before doing any work, including before persisting areset=:
``bash gh pr list --repo "<SELF>" --state open --base "<UP_DEFAULT>" --limit 100 --json number,headRefName,url --jq '[.[] | select(.headRefName | startswith("aeon-update/sync-"))] | sort_by(.number) | last // empty | "\(.number) \(.headRefName) \(.url)"' ``
If it prints a PR (OPEN_PR): write nothing (no state file, no branch, no PR) and log AEON_UPDATE_PR_OPEN with the PR and its range. If its branch already ends in HEAD_SHA's first 7 chars, stay silent; if upstream has moved past it, send one line (PR #N still open; upstream is M commits past it, merge or close it and the next run syncs the rest, --mute-key "aeon-update:${HEAD7}"). Stop. report mode skips this check and notes the open PR in its report.
S4-S6. Plan: compare, partition, 3-way classify
All of S4-S8's file work is done by scripts/aeon_update.py, in single commands. Do not re-implement it in the shell: helper functions, loops, redirects into files and bash <script> are all refused in this run, so a hand-written classify script ends the run with nothing synced (miroshark-aeon, 2026-10-21). Run:
It prints a JSON summary and mutates nothing in the repo (its scratch goes to ${RUNNER_TEMP:-/tmp}/aeon-update/). Read status:
AEON_UPDATE_IN_SYNC: handle as S3's in-sync case.AEON_UPDATE_BASELINE_UNREACHABLE(exit 3; the baseline is not an ancestor of HEAD - history rewrite or unrelated repo): stop with that status and notify the operator to re-run withreset=fork-pointorreset=<sha>.AEON_UPDATE_ERROR(exit 2): stop, log theerror, and notify it. Never fall back to classifying by hand.AEON_UPDATE_PLANNED: the summary hascounts, thecleanpaths per disposition,conflicts(path, reason, in-rangeupstream_commits, and adifffile with upstream's BASELINE..HEAD diff),operator(OPERATOR-owned paths upstream changed, each with adifffile),unreadable,kept_local(paths skipped by thekeep_locallist), the recomputedpending_conflicts, and thecommitsin range. Read thedifffiles you need with the Read tool.
What the plan decides, so you can explain it in the PR:
Changed paths are every path whose entry differs between upstream's BASELINE and HEAD trees (no 300-file compare cap). A rename is a delete of the old path plus an add of the new one.
OPERATOR-owned (surfaced, never written):
Everything else is OWNED: skills/**, scripts/**, bin/**, harness-adapter/**, .github/**, apps/**, docs/**, CLAUDE.md, AGENTS.md, CHANGELOG.md, .gitignore, eyebrow.policy.json, catalog/skill-packs.json, root helpers. catalog/*.json and eyebrowlock.json are never copied from upstream: apply regenerates them from the synced sources.
`catalog/skill-packs.json` is synced, not regenerated (it has no generator and is hand-maintained with the Listed packs table in docs/community-skill-packs.md; ci-skill-packs fails when they disagree, aeon-agent#232). Its pack-registry unit (catalog/skill-packs.json, docs/community-skill-packs.md, scripts/validate-skill-packs.mjs, scripts/tests/test_validate_skill_packs.sh, .github/workflows/ci-skill-packs.yml) is classified together and is all-or-nothing: one CONFLICT member demotes the rest to CONFLICT skill-packs-unit. A local registry that lists no pack upstream HEAD lacks is a frozen copy, not an edit, and is CLEAN-UPDATEd (stale-copy).
Dispositions (local copy vs upstream@BASELINE vs upstream@HEAD; equal = same content and exec bit):
| Upstream | Local | Disposition | |
|---|---|---|---|
| unchanged | any | SKIP | |
| added | absent / same as HEAD / different | CLEAN-ADD / SKIP / CONFLICT local-collision | |
| modified | same as HEAD | SKIP | |
| modified | same as BASELINE | CLEAN-UPDATE | |
| modified | an older upstream version, byte for byte | CLEAN-UPDATE stale-copy (never 3-way merged: the merge would read the upstream lines it lacks as local deletions and keep them out) | |
| modified | absent | CONFLICT deleted-locally | |
| modified | customized | git merge-file --diff3: disjoint hunks -> CLEAN-MERGE (both edits kept), overlap -> CONFLICT operator-customized | |
| removed | absent / same as BASELINE / edited | SKIP / CLEAN-DELETE / CONFLICT removed-upstream-local-edited |
A removed path of a skill upstream retired (skills/<name>/SKILL.md gone from HEAD) whose <name> is enabled: true in the operator's aeon.yml is never deleted: CONFLICT enabled-skill-removed-upstream, its own loud PR-body section (S9). Fork-only skills are never touched (only upstream paths are ever in the change set). A blob the API cannot return is UNREADABLE: list it and continue with a partial sync.
Held stale copies. Every pending_conflicts entry is re-checked on each run, also when upstream did not touch it in range. A local file byte-identical to one of its last 30 upstream versions was never customized (an earlier sync held it back), so it takes HEAD (CLEAN-UPDATE stale-copy) and leaves the list. The plan lists both kinds under stale_copies. To keep an older upstream version on purpose, change one line of it (a comment is enough) so it no longer matches upstream byte for byte.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aeon-update/SKILL.md
Popularity
- Repository stars
- 760
- Repository forks
- 271
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aeonfun/aeon/aeon-update)