/ana-update
Bring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by feature — compare first, report what is new/missing/outdated, then port only what the user picks, using the per-feature skills (chat-window,
Claude Code
$ npx -y skills add tykimos/agent-native-agent --skill ana-update --agent claude-code
Codex
$ npx skills add tykimos/agent-native-agent --skill ana-update -a codex -y
Cursor
$ npx skills add tykimos/agent-native-agent --skill ana-update -a cursor -y
Gemini CLI
$ npx skills add tykimos/agent-native-agent --skill ana-update -a gemini-cli -y
GitHub Copilot
$ npx skills add tykimos/agent-native-agent --skill ana-update -a github-copilot -y
OpenCode
$ npx skills add tykimos/agent-native-agent --skill ana-update -a opencode -y
Windsurf
$ npx skills add tykimos/agent-native-agent --skill ana-update -a windsurf -y
SKILL.md
ana-update.SKILL.mdname: ana-update
description: Bring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by feature — compare first, report what is new/missing/outdated, then port only what the user picks, using the per-feature skills (chat-window, context-chips, work-and-knowledge, app-shell, agent-requests, trust-checks). Never overwrite the ANA's own domain code. Use when the user says "최신 내용으로 업데이트해", "ANA 업데이트", "update this ANA", "upstream이랑 뭐가 달라", "새 기능 가져와", "base-ana 개선사항 적용", or gives the ANA GitHub URL and asks to sync.
ana-update — compare with upstream, then port feature by feature
A per-user ANA (e.g. `das-ana`) started from the base but has its own domain code, file names and UI. So an update is **never** "copy the repo over". It is: **diff by feature → the user picks → port each picked feature with its skill → verify → record**.
ana-diff.mjs ──► report (✓ present · ◐ partial · ✗ missing · module differs · runtime differs)
│ │
│ user picks features
▼ ▼
.ana-sync.json ◄── verify ◄── port with the feature's skill (chat-window, context-chips, …)
(--record)The feature list lives in upstream **`features.json`**. Each feature has anchors (element ids, function names, API routes), the skill that ports it, modules to copy as-is, and npm deps.
In the app: the Update tab
The **Update** tab (Waiting · In progress · Done) runs this whole flow from the dashboard.
- **Check for updates:**
- Clones or fetches upstream into `.ana/upstream` (`ANA_UPSTREAM_URL` to change the source).
- Runs `ana-diff.mjs` against the ANA (`ANA_UPDATE_TARGET` to compare another folder).
- Lists one item per missing or partial feature, newer module, and the shared runtime (`/api/update/check`, stored in `.ana/updates.json`).
- **Bring it in:**
- Marks the item *In progress*.
- Sends the agent a chat instruction with the skill to follow, the missing anchors, modules, npm deps and the upstream checkout path.
- The agent ports it, verifies, updates the PRD if what the app does changed, and reports with `POST /api/update-act {id, action: done|fail, reason?}`.
- The shared runtime asks for confirmation first.
- **Skip** hides the item from every later check (until *Restore*). Done or failed items come back only when upstream has moved to a new commit. Items that are already in the ANA move to Done by themselves.
When you, the agent, receive an `[Update]` instruction, do exactly the porting steps below for that one feature and report back with the curl in the instruction.
0. Get the latest skills (once per machine, then just update)
The per-feature skills ship with the upstream repo as a Claude Code plugin. Install them so this ANA's agent can load them:
claude plugin marketplace add tykimos/agent-native-agent
claude plugin install ana@agent-native-agent
# later, to pick up newer skills:
claude plugin marketplace update agent-native-agent && claude plugin update ana@agent-native-agent
Without the plugin, read the same skills from the clone: `<upstream>/skills/<name>/SKILL.md`.
1. Diff (read-only)
Run from anywhere; the script needs only Node and git.
# upstream = GitHub (default), cloned to a temp dir
node <upstream>/skills/ana-update/scripts/ana-diff.mjs --target <path to the ANA>
# or against a local checkout / another URL
node ana-diff.mjs --target ~/ana/das-ana --upstream ~/ana/base-ana
node ana-diff.mjs --target . --upstream https://github.com/tykimos/agent-native-agent --json
If you don't have the script yet: `git clone --filter=blob:none https://github.com/tykimos/agent-native-agent /tmp/ana-up` and run it from there.
Read the last line: `ANA_DIFF present=… partial=… missing=… runtime=same|differs|not-found todo=<ids>`.
It scans the target's own `.js/.mjs/.cjs/.html` (not tests, `node_modules`, `.ana/`, `data/`). It also finds the `channel-core.js` the ANA actually uses, which may be a shared `../channel-core.js` on a host.
2. Report to the user before changing anything
Give a short table in the user's language, grouped by skill. For each row: what it does for them (from `summary` in `features.json`), and its state. Call out:
- **◐ partial:** the ANA has an older/custom version. List the missing anchors; porting means merging, not replacing.
- **module differs:** a copied module (`agent-log.js`, `graph-index.js`, `codex-settings.js`) exists but is older. Usually safe to replace whole, because these modules have no domain code. Check the target didn't edit it: `diff` it first.
- **runtime differs:** `channel-core.js` is shared by every ANA on a host. Updating it is a **separate decision**. Ask explicitly, name the other ANAs that share it, and replace the whole file, never a patch. Several chat features need the newer runtime (per-session ledgers, per-person recent session).
- **changes since last sync:** if `.ana-sync.json` exists, the script lists upstream commits since then. Summarize them.
Then ask which features to apply. A sensible default: everything from the `chat-window` skill first (most visible), then `context-chips`, then the rest.
3. Port each picked feature with its skill
Load the skill named in the report and follow its **Porting** section. Common rules for all of them:
1. **Find the target's extension points first.** These are:
- the page file (usually `dashboard.html`)
- the API module passed as `extraApi` to `channel-core`'s `createApp` (`dashboard-api.js` in the base, `das-api.js` in das-ana, …)
- `server.js` options
2. **Copy standalone modules whole** (`copy` in `features.json`), then add the routes/UI that use them. 3. **Take code from upstream by anchor.** Run `grep -n '<anchor>' <upstream>/dashboard.html` to find each block: the HTML element, its CSS rules, and its JS functions. Bring the whole block, then rename ids only if they collide with the target's. 4. **Keep
Read more
name: ana-update description: Bring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by feature — compare first, report what is new/missing/outdated, then port only what the user picks, using the per-feature skills (chat-window, context-chips, work-and-knowledge, app-shell, agent-requests, trust-checks). Never overwrite the ANA's own domain code. Use when the user says "최신 내용으로 업데이트해", "ANA 업데이트", "update this ANA", "upstream이랑 뭐가 달라", "새 기능 가져와", "base-ana 개선사항 적용", or gives the ANA GitHub URL and asks to sync.
ana-update — compare with upstream, then port feature by feature
A per-user ANA (e.g. `das-ana`) started from the base but has its own domain code, file names and UI. So an update is **never** "copy the repo over". It is: **diff by feature → the user picks → port each picked feature with its skill → verify → record**.
ana-diff.mjs ──► report (✓ present · ◐ partial · ✗ missing · module differs · runtime differs)
│ │
│ user picks features
▼ ▼
.ana-sync.json ◄── verify ◄── port with the feature's skill (chat-window, context-chips, …)
(--record)The feature list lives in upstream **`features.json`**. Each feature has anchors (element ids, function names, API routes), the skill that ports it, modules to copy as-is, and npm deps.
In the app: the Update tab
The **Update** tab (Waiting · In progress · Done) runs this whole flow from the dashboard.
- **Check for updates:**
- Clones or fetches upstream into `.ana/upstream` (`ANA_UPSTREAM_URL` to change the source).
- Runs `ana-diff.mjs` against the ANA (`ANA_UPDATE_TARGET` to compare another folder).
- Lists one item per missing or partial feature, newer module, and the shared runtime (`/api/update/check`, stored in `.ana/updates.json`).
- **Bring it in:**
- Marks the item *In progress*.
- Sends the agent a chat instruction with the skill to follow, the missing anchors, modules, npm deps and the upstream checkout path.
- The agent ports it, verifies, updates the PRD if what the app does changed, and reports with `POST /api/update-act {id, action: done|fail, reason?}`.
- The shared runtime asks for confirmation first.
- **Skip** hides the item from every later check (until *Restore*). Done or failed items come back only when upstream has moved to a new commit. Items that are already in the ANA move to Done by themselves.
When you, the agent, receive an `[Update]` instruction, do exactly the porting steps below for that one feature and report back with the curl in the instruction.
0. Get the latest skills (once per machine, then just update)
The per-feature skills ship with the upstream repo as a Claude Code plugin. Install them so this ANA's agent can load them:
claude plugin marketplace add tykimos/agent-native-agent claude plugin install ana@agent-native-agent # later, to pick up newer skills: claude plugin marketplace update agent-native-agent && claude plugin update ana@agent-native-agent
Without the plugin, read the same skills from the clone: `<upstream>/skills/<name>/SKILL.md`.
1. Diff (read-only)
Run from anywhere; the script needs only Node and git.
# upstream = GitHub (default), cloned to a temp dir node <upstream>/skills/ana-update/scripts/ana-diff.mjs --target <path to the ANA> # or against a local checkout / another URL node ana-diff.mjs --target ~/ana/das-ana --upstream ~/ana/base-ana node ana-diff.mjs --target . --upstream https://github.com/tykimos/agent-native-agent --json
If you don't have the script yet: `git clone --filter=blob:none https://github.com/tykimos/agent-native-agent /tmp/ana-up` and run it from there.
Read the last line: `ANA_DIFF present=… partial=… missing=… runtime=same|differs|not-found todo=<ids>`.
It scans the target's own `.js/.mjs/.cjs/.html` (not tests, `node_modules`, `.ana/`, `data/`). It also finds the `channel-core.js` the ANA actually uses, which may be a shared `../channel-core.js` on a host.
2. Report to the user before changing anything
Give a short table in the user's language, grouped by skill. For each row: what it does for them (from `summary` in `features.json`), and its state. Call out:
- **◐ partial:** the ANA has an older/custom version. List the missing anchors; porting means merging, not replacing.
- **module differs:** a copied module (`agent-log.js`, `graph-index.js`, `codex-settings.js`) exists but is older. Usually safe to replace whole, because these modules have no domain code. Check the target didn't edit it: `diff` it first.
- **runtime differs:** `channel-core.js` is shared by every ANA on a host. Updating it is a **separate decision**. Ask explicitly, name the other ANAs that share it, and replace the whole file, never a patch. Several chat features need the newer runtime (per-session ledgers, per-person recent session).
- **changes since last sync:** if `.ana-sync.json` exists, the script lists upstream commits since then. Summarize them.
Then ask which features to apply. A sensible default: everything from the `chat-window` skill first (most visible), then `context-chips`, then the rest.
3. Port each picked feature with its skill
Load the skill named in the report and follow its **Porting** section. Common rules for all of them:
1. **Find the target's extension points first.** These are:
- the page file (usually `dashboard.html`)
- the API module passed as `extraApi` to `channel-core`'s `createApp` (`dashboard-api.js` in the base, `das-api.js` in das-ana, …)
- `server.js` options
2. **Copy standalone modules whole** (`copy` in `features.json`), then add the routes/UI that use them. 3. **Take code from upstream by anchor.** Run `grep -n '<anchor>' <upstream>/dashboard.html` to find each block: the HTML element, its CSS rules, and its JS functions. Bring the whole block, then rename ids only if they collide with the target's. 4. **Keep
Self-hosted apps you operate by watching a dashboard and talking to a coding agent that IS the runtime — it proposes, applies, and evolves the app live. Built for Claude Code and MCP.
Other skills on ana.
More skills from other plugins.
hud
Set up, check, change, preview, or report a problem with the claude-hud status line. Use when the user mentions the HUD or status…
10x
Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…
ao-actions
Direct actions on one Orchestrator session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's…
Questions about ana-update.
- Which coding agents can use ana-update?
- ana-update installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

