/ana:context-chipsfrom ana
Ports or rebuilds ANA's context chips feature: a Chip mode toggle to tap on-screen items and attach them to chat, a draw button for annotated screenshots, and a rescan button to register new UI elements as chip targets.
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.
None: SKILL.md is the whole skill.
The user shouldn't have to type "the second task on the Tasks tab". They switch on Chip, tap the thing, and it rides along with the next message. Or they draw on the screen.
[logo] Work Requests Evolve PRD Update ( ◉ Chip ) (✎) (⟳) (A)
│ │ └ profile, always right-aligned
│ └ rescan: register new on-screen elements as chip targets
└ draw: only shown while Chip is on, placed BEFORE ⟳
[Task] Book the venue ✕. Tapping it again removes the chip. Chips are sent as a Context: block (- [Kind] text), and the chat log view turns them back into chips on the user's bubble.#FF0000, magenta #FF00FF, blue #0000FF: pure hues the model recognizes reliably. Strokes are 5px color over a 9px white outline so they read on any background. Buttons: Undo / Cancel / Add to chat. Mostly used to circle things, like annotating a slide.modern-screenshot, served locally at /vendor/modern-screenshot.mjs) and composites the strokes on top. The capture is planned first (shotPlan): elements outside the visible part of #main are not cloned — ones above it stay as empty boxes of the same height so positions hold, ones below or beside are dropped — and only the style properties in SHOT_PROPS are copied. A 15,000-element list went from ~50 s to ~1 s. features.restoreScrollPosition is on (the library's default is off, which captured the top of a scrolled list), image loads time out at 8 s, and Safari's re-draw loop is capped at 3. iframes are captured separately: the library pastes the whole framed document in place of the frame, so its own scroll was lost. The page capture drops each visible <iframe> (filter) and keeps a same-size placeholder in the clone (a 0×0 absolute [data-shot-ph] sibling in the live DOM, sized in onCloneNode); then each same-origin frame's documentElement is captured at the frame's client size (the library restores the document scroll) and drawn over the placeholder. Cross-origin frames stay as a blank box.ph.pctBase lets attachFiles continue the bar instead of restarting at 0). The clone step is synchronous, so each stage yields a frame first so the chip repaints. A stage that lasts 3 s or more shows its elapsed time (Rendering · 12s); one that lasts 40 s is cut off (guard) with Screen capture stuck at "Rendering" for 40 s — sent the marks only; each stage's time is logged to the console as [capture] <stage> <ms>.annotation-<tab>-<ts>.png (JPEG if > 8 MB).drawTargetsUnder), with the draw layer set to pointer-events: none while probing with elementFromPoint.CAP) is hand-written, so UI added later isn't chip-able. Rescan walks every #main section.view and finds "unit-looking" elements not covered by CAP (not containers, not control-only). It registers class-based selectors (selectorFor), so they survive re-renders, and stores them in localStorage['ana-chip-extra']. It then flashes the new ones (.chip-new) and toasts "N new element types".dashboard.html)| What | Anchors |
|---|---|
| Toggle + buttons | #modeToggle, #drawBtn, #chipScanBtn, function setMode |
| Chip state & message | contextChips, function renderChips, function addChip, function clearChips, function buildMessage |
| Targets | const CAP = [...] (selector, kind, text getter), function applyChipAffordance, function scanChipTargets, function registerChipTarget, function loadChipExtra, function selectorFor, function isControlOnly, function coveredByCap |
| Draw | #drawLayer, #drawCanvas, #drawUndo #drawCancel #drawDone, function openDraw, function closeDraw, function drawRepaint, function drawTargets, function drawTargetsUnder |
| Server | /vendor/modern-screenshot.mjs route (serves node_modules/modern-screenshot/dist/index.mjs), npm dep modern-screenshot |
npm i modern-screenshot, then add the /vendor/modern-screenshot.mjs route to the extraApi module. Uploads need /api/upload; port chat-attachments from chat-window first if it's missing.#modeToggle, #drawBtn, #chipScanBtn) into the target's header, before its profile button. Copy the CSS for .mode-toggle, .chip*, .draw-layer, .draw-bar, .chip-new.CAP for the target's own domain. das-ana has disks/volumes, not tasks. List the target's unit elements (cards, rows, KPIs) with a kind and a short text getter. This is the only part that is not copy-paste.buildMessage() must prepend the Context: block exactly as upstream, because the chat log view parses it back into chips.margin-left: auto on the toggle).Context: block. The bubble shows the chips.A blank pad for drawing a rough screen, separate from ✎ Draw (which marks up the live page). #sketchLayer with #skCanvas: pen, box, text, eraser, black / red / blue, Undo, Clear, Cancel, Send to ANA (PNG via attachFiles, input prefilled "Here is a rough sketch of a screen I want: "). Opened by any [data-sketch] button (PRD toolbar, the start card, the empty Work tab). The agent keeps sketches in the PRD as ; mdHtml shows images from /uploads/ only (.md-img).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tykimos/agent-native-agent --plugin ana10 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./ana-updateBring 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./app-shellPort ANA's app shell — one workspace, six tabs in a menu under the ANA logo (PRD with Current / History, Work with a sub-tab per kind of work, Knowledge with Ontology / Graph, Requests · Evolve · Update with Waiting / In progress / Done), sub-tabs (in the top bar), badges, right-aligned profile, "New version available" reload pill, and the remembered tab. Use when the user says "탭 구조", "모바일 네비게이션", "워크 탭", "서브탭", or when ana-update reports app-tabs missing./audio-cd-rip오디오 CD를 mp3로 리핑해 contents/music 앨범 폴더로 만든다. CD 케이스·표지 사진에서 곡명을 읽거나 MusicBrainz로 조회해 album.json 메타를 작성하고, 커버 이미지를 저장해 음악 탭(/music)에 바로 뜨게 한다. "CD 복사해줘", "CD를 mp3로", "앨범 넣어줘", "음악 CD 리핑" 요청 시 사용./chat-windowPort or rebuild the ANA chat window so it looks and behaves like the Claude app — full-width session combo, user bubbles + markdown replies + collapsible tool groups rendered from the agent's own JSONL log (Claude Code and Codex), floating composer with model pill, model/effort sheet, 5-hour/weekly usage rings, voice dictation, file attachments, reliable send state, iOS keyboard fit, one ledger per session. Use when the user says "채팅창 개선", "채팅창 스킬", "클로드 앱처럼", "모델 선택", "한도 표시", "음성 입력", "코덱스 지원", "세션별로 따로", "port the chat window", or when ana-update reports chat-* features missing.Other plugins' skills for the same job