Skip to content
Agent Workspaces
Skill

/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

From plugin
ana
1479 skills

Claude Code

$ npx -y skills add tykimos/agent-native-agent --skill chat-window --agent claude-code

SKILL.md

chat-window.SKILL.md
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`
Read more
@tykimos
Ships withana

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.

Stars on GitHub

Momentum

stars in total
147
Star history of tykimos/agent-native-agent on GitHub, a chart by star-history.com

Other skills on ana.

agent-requests

agent-requests

Port ANA's Requests, Evolve, PRD and Knowledge tabs — Requests (what the agent needs from the user — pending data-change diffs,…

@tykimos@tykimosInstall Skill
ana-update

ana-update

Bring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by…

@tykimos@tykimosInstall Skill
ana

ana

Attach ANA (Agent-Native Agent) to an existing web app or service so the user can operate it by watching a dashboard and chatting…

@tykimos@tykimosInstall Skill
app-shell

app-shell

Port 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…

@tykimos@tykimosInstall Skill
cloud-setting

cloud-setting

Provision and wire up a cloud VM as an ANA (Agent-Native Agent) host end-to-end — create an Azure VM (az CLI), record its…

@tykimos@tykimosInstall Skill
context-chips

context-chips

Port or rebuild ANA's context chips — the Chip mode toggle that lets the user tap any on-screen item to attach it to the next…

@tykimos@tykimosInstall Skill

More skills from other plugins.

hud

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…

@jarrodwatts@jarrodwattsInstall Skill
paseo

paseo

Paseo reference for managing hosts, projects, workspaces, workspace scripts, agents, schedules, and heartbeats.

paseo7d24k
@getpaseo@getpaseoInstall Skill
10x
Auto-invoked

10x

Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…

paradev5d16k
@superset-sh@superset-shInstall Skill

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.