/chat-window
Port 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
Claude Code
$ npx -y skills add tykimos/agent-native-agent --skill chat-window --agent claude-code
Codex
$ npx skills add tykimos/agent-native-agent --skill chat-window -a codex -y
Cursor
$ npx skills add tykimos/agent-native-agent --skill chat-window -a cursor -y
Gemini CLI
$ npx skills add tykimos/agent-native-agent --skill chat-window -a gemini-cli -y
GitHub Copilot
$ npx skills add tykimos/agent-native-agent --skill chat-window -a github-copilot -y
OpenCode
$ npx skills add tykimos/agent-native-agent --skill chat-window -a opencode -y
Windsurf
$ npx skills add tykimos/agent-native-agent --skill chat-window -a windsurf -y
SKILL.md
chat-window.SKILL.mdname: chat-window
description: Port 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.
chat-window — the Claude-app chat for any ANA
UI/UX is the point of this skill. Match the spec below exactly; it came from side-by-side comparison with the Claude iOS app. The reference implementation is the upstream base (`dashboard.html`, `dashboard-api.js`, `agent-log.js`, `codex-settings.js`). Take code from there by the anchors in `features.json` (`chat-*` features).
UX spec (what it must look like)
┌──────────────────────────────────────────┐
│ ‹ ● base-ana-claude ▾ │ header: back (mobile) + full-width combo, left-aligned, no ⋯ button
├──────────────────────────────────────────┤
│ ┌──────────────┐ │
│ │ user bubble │ │ gray bubble, right; images as 110px thumbnails above it
│ └──────────────┘ │
│ Assistant reply as plain markdown — │ no bubble; headings, lists, code, tables, links
│ **bold**, `code`, lists, tables. │
│ Ran 3 commands, read 1 file › │ collapsible tool group; "Running `cmd`" + spinner while running
│ │
│ ✳ 12s · Working… ⟳ Syncing… │ status line (spinner + elapsed + agent's status)
│ ( ↓ ) │ jump-to-bottom, dot when new messages arrive below
│ ╭──────────────────────────────────────╮ │
│ │ Message ANA — Enter to send │ │ floating, blurred, translucent card
│ │ (+) (Opus 5.5) (🛡)(5h)(7d) (🎤) (↑) │ │ send = theme accent; stop = light circle + 18px ■; 🛡 = permission mode
│ ╰──────────────────────────────────────╯ │
└──────────────────────────────────────────┘
- **Session combo:** dot (green alive / red not connected) + session name, ▾ at the right edge. The popup is exactly the combo's width, with 10px screen margins. Rows show the name, the agent (Claude Code / Codex, from the process or session name; strip `.exe`), msg count, and **You** only on the session *this screen* views. Elsewhere show "Open in another tab" / "Your last pick".
- **Model pill:** shows the real model from the log (`Opus 5.5`, `GPT-6 Astra`). Tap opens the **model sheet**. Without a log it opens the session list.
- **Model sheet:** bottom sheet with a grab bar, ✕, and title "Model". There's one rounded group of models (name + one-line description, ✓ on the current one), then an **Effort ›** row that expands the levels, then a note: "Also becomes the default for new Claude Code sessions."
- **Shield icon (permission mode):** right after the model pill. Neutral shield ✓ = asks before acting, blue = Plan, **red shield !** = never asks (Bypass / Full Access). Tap opens the sheet with only the permission list (`perm-only`). Refreshed every 15 s while the chat is visible. Below 380 px the round controls shrink to 36 px so the model name still fits.
- **Permissions row:** under Effort in the model sheet. It shows the agent's current permission mode; the rows have descriptions, and modes that never ask carry a red "No prompts" tag and a confirm dialog first.
- Claude Code: Manual · Accept edits · Plan · Auto · Bypass permissions. Bypass is greyed out unless the session was started with `--dangerously-skip-permissions`.
- Codex: Ask for approval · Approve for me · Full Access.
- The note under the sheet says what persists: Claude permissions apply to this session only; Codex saves its choice as the default.
- **Usage rings:** 36px rings that fill as the plan is used. Accent color; orange ≥ 80%, red ≥ 95%. Tap opens a popover with a bar, "% used", and "Resets in 39 min (09:59)". Show only the windows the plan has (Codex Pro currently has weekly only).
- **Mic:** shows only if `SpeechRecognition` exists; pulses red while listening; dictation goes into the input. It needs **https**, and on iPhone Siri & Dictation must be on.
- **Keyboard (iOS):** the composer sits 2px above the keyboard. Safari's own ^ ∨ ✓ accessory bar can't be removed from a web page; say so if asked.
- **Empty state:** "No agent connected — tap the session name above to choose one".
- **Slash commands (`/btw`, `/login`, `/model`, `/effort`, `/help`, `/cost`…):** typing `/` opens `#slashMenu` (`SLASH_CMDS`, filtered as you type; ↑↓, Tab/Enter fill in, commands without arguments send at once). Anything starting with `/` is sent to the input line as-is and Claude Code runs it. Because commands leave no transcript echo, their bubble (`.msg.user.cmd`) is confirmed on delivery (`o.cmd`). `watchSlash` then reads the terminal (`/api/screen` + `/api/health`): an overlay (`health.dialog` without `dialogInfo` — `/btw`, `/help`) is shown as a `.msg.term` box with *Close* (sends Esc; the generic dialog card is suppressed while `slashOverlay`), new lines above the input box (`/effort` → *Set effort level to …*) are shown as text, and a menu (`dialogInfo`) is left to the dialog card. Sending a normal message while an overlay is open presses Esc first — otherwise the input line is not ready and `/api/chat` answers 409.
- **Sending while the terminal is not taking input:** while a question (AskUserQuestion) is open, `send()` picks its *Chat about this* option first (`dialogDo({action:'pick', n})`, 600 ms) and then sends the text; if the question has only *Type something*, the text is sent as that answer. Any other 409 *not ready* (a menu such as `/model`, startup) puts the bubble into `waiting`
Read more
name: chat-window description: Port 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.
chat-window — the Claude-app chat for any ANA
UI/UX is the point of this skill. Match the spec below exactly; it came from side-by-side comparison with the Claude iOS app. The reference implementation is the upstream base (`dashboard.html`, `dashboard-api.js`, `agent-log.js`, `codex-settings.js`). Take code from there by the anchors in `features.json` (`chat-*` features).
UX spec (what it must look like)
┌──────────────────────────────────────────┐ │ ‹ ● base-ana-claude ▾ │ header: back (mobile) + full-width combo, left-aligned, no ⋯ button ├──────────────────────────────────────────┤ │ ┌──────────────┐ │ │ │ user bubble │ │ gray bubble, right; images as 110px thumbnails above it │ └──────────────┘ │ │ Assistant reply as plain markdown — │ no bubble; headings, lists, code, tables, links │ **bold**, `code`, lists, tables. │ │ Ran 3 commands, read 1 file › │ collapsible tool group; "Running `cmd`" + spinner while running │ │ │ ✳ 12s · Working… ⟳ Syncing… │ status line (spinner + elapsed + agent's status) │ ( ↓ ) │ jump-to-bottom, dot when new messages arrive below │ ╭──────────────────────────────────────╮ │ │ │ Message ANA — Enter to send │ │ floating, blurred, translucent card │ │ (+) (Opus 5.5) (🛡)(5h)(7d) (🎤) (↑) │ │ send = theme accent; stop = light circle + 18px ■; 🛡 = permission mode │ ╰──────────────────────────────────────╯ │ └──────────────────────────────────────────┘
- **Session combo:** dot (green alive / red not connected) + session name, ▾ at the right edge. The popup is exactly the combo's width, with 10px screen margins. Rows show the name, the agent (Claude Code / Codex, from the process or session name; strip `.exe`), msg count, and **You** only on the session *this screen* views. Elsewhere show "Open in another tab" / "Your last pick".
- **Model pill:** shows the real model from the log (`Opus 5.5`, `GPT-6 Astra`). Tap opens the **model sheet**. Without a log it opens the session list.
- **Model sheet:** bottom sheet with a grab bar, ✕, and title "Model". There's one rounded group of models (name + one-line description, ✓ on the current one), then an **Effort ›** row that expands the levels, then a note: "Also becomes the default for new Claude Code sessions."
- **Shield icon (permission mode):** right after the model pill. Neutral shield ✓ = asks before acting, blue = Plan, **red shield !** = never asks (Bypass / Full Access). Tap opens the sheet with only the permission list (`perm-only`). Refreshed every 15 s while the chat is visible. Below 380 px the round controls shrink to 36 px so the model name still fits.
- **Permissions row:** under Effort in the model sheet. It shows the agent's current permission mode; the rows have descriptions, and modes that never ask carry a red "No prompts" tag and a confirm dialog first.
- Claude Code: Manual · Accept edits · Plan · Auto · Bypass permissions. Bypass is greyed out unless the session was started with `--dangerously-skip-permissions`.
- Codex: Ask for approval · Approve for me · Full Access.
- The note under the sheet says what persists: Claude permissions apply to this session only; Codex saves its choice as the default.
- **Usage rings:** 36px rings that fill as the plan is used. Accent color; orange ≥ 80%, red ≥ 95%. Tap opens a popover with a bar, "% used", and "Resets in 39 min (09:59)". Show only the windows the plan has (Codex Pro currently has weekly only).
- **Mic:** shows only if `SpeechRecognition` exists; pulses red while listening; dictation goes into the input. It needs **https**, and on iPhone Siri & Dictation must be on.
- **Keyboard (iOS):** the composer sits 2px above the keyboard. Safari's own ^ ∨ ✓ accessory bar can't be removed from a web page; say so if asked.
- **Empty state:** "No agent connected — tap the session name above to choose one".
- **Slash commands (`/btw`, `/login`, `/model`, `/effort`, `/help`, `/cost`…):** typing `/` opens `#slashMenu` (`SLASH_CMDS`, filtered as you type; ↑↓, Tab/Enter fill in, commands without arguments send at once). Anything starting with `/` is sent to the input line as-is and Claude Code runs it. Because commands leave no transcript echo, their bubble (`.msg.user.cmd`) is confirmed on delivery (`o.cmd`). `watchSlash` then reads the terminal (`/api/screen` + `/api/health`): an overlay (`health.dialog` without `dialogInfo` — `/btw`, `/help`) is shown as a `.msg.term` box with *Close* (sends Esc; the generic dialog card is suppressed while `slashOverlay`), new lines above the input box (`/effort` → *Set effort level to …*) are shown as text, and a menu (`dialogInfo`) is left to the dialog card. Sending a normal message while an overlay is open presses Esc first — otherwise the input line is not ready and `/api/chat` answers 409.
- **Sending while the terminal is not taking input:** while a question (AskUserQuestion) is open, `send()` picks its *Chat about this* option first (`dialogDo({action:'pick', n})`, 600 ms) and then sends the text; if the question has only *Type something*, the text is sent as that answer. Any other 409 *not ready* (a menu such as `/model`, startup) puts the bubble into `waiting`
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 chat-window.
- Which coding agents can use chat-window?
- chat-window 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.

