/ana:ana-updatefrom ana
Compares a customized ANA against upstream features.json, reports diffs, and ports selected features using per-feature skills without overwriting domain code.
Ships in ana. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
The Update tab (Waiting · In progress · Done) runs this whole flow from the dashboard.
.ana/upstream (ANA_UPSTREAM_URL to change the source).ana-diff.mjs against the ANA (ANA_UPDATE_TARGET to compare another folder)./api/update/check, stored in .ana/updates.json).POST /api/update-act {id, action: done|fail, reason?}.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.
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.
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.
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:
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.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)..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.
Load the skill named in the report and follow its Porting section. Common rules for all of them:
dashboard.html)extraApi to channel-core's createApp (dashboard-api.js in the base, das-api.js in das-ana, …)server.js optionscopy in features.json), then add the routes/UI that use them.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.--blue, --surface, …). If a token is missing, add it to the target's :root.channel-core.js per ANA. If a feature needs a newer runtime, stop and ask (step 2)..ana/ or their ports/tmux sessions.node test.cjs or npm test)ana-diff.mjs: the ported features must show ✓kickstart -k, tmux, run.sh restart). Never killall node: it kills every ANA and the Codex CLIs.node ana-diff.mjs --target <ANA> --upstream <same upstream> --record
This writes <ANA>/.ana-sync.json (upstream commit, date, features present). The next update lists only upstream commits since then.
git reset --hard origin/main will wipe unpushed commits. Check launchctl list | grep sync and ~/Library/LaunchAgents/*sync* first.git reflog, then git branch backup/<name> <sha>.When you add or rename a user-facing feature in the base, update features.json (anchors, skill, copy, npm) and the skill's Porting section. test.cjs fails if an anchor no longer exists in the base.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins ship this exact skill · first indexed Nov 2, 2026
10 skills in this plugin
/agent-requestsPort ANA's Requests, Evolve, PRD and Knowledge tabs — Requests (what the agent needs from the user — pending data-change diffs, approval / decision / access requests, work only the user can do, missing information), Evolve (the agent looks at the work and the usage log and proposes what to do now and how the app should change, then builds the approved ones) and PRD (what this ANA is and does — the agent writes it, people edit it, every version is kept). Knowledge (an ontology and a graph that start empty and the agent fills from the work). Every card speaks plainly (why / ask / effect / ifNot). Also triggers on "PRD", "요구사항 문서", "지식", "온톨로지". Use when the user says "Requests 탭", "에이전트가 요청", "사용자에게 요청", "Evolve", "진화 제안", "개선 제안 탭", or when ana-update reports agent-requests / agent-evolve missing./anaAttach ANA (Agent-Native Agent) to an existing web app or service so the user can operate it by watching a dashboard and chatting with a coding agent that runs inside tmux — chat is injected via tmux paste-buffer and the session is mirrored via capture-pane, with zero dependencies (no MCP, no bridge, no hooks, no plugin runtime). Use this whenever the user wants to "add ANA / a chat+watch dashboard to my app", "attach a coding-agent chat to an existing service", "make my dashboard talk to a tmux agent", "화면 보면서 대화로 조작", "기존 서비스에 ANA 붙이기", or to scaffold the standalone ANA base app. The single file `channel-core.js` is the whole runtime — drop it in and mount it.npx claudepluginhub tykimos/agent-native-agent --plugin anaOther plugins' skills for the same job