Flow Ai Chatのロゴ

Flow Ai Chat

コミュニティ
jpoindexter
flow-ai-chat

Use when designing, building, or reviewing any AI chat, assistant, copilot, or agent interface — composer, streaming responses, tool-use display, citations, regenerate/edit, or AI empty states. Also fires when users report the AI feeling frozen or opaque about what it's doing or can see, or when wiring confirmations before an agent takes consequential actions.

概要

公開者jpoindexter
リポジトリux-flow-skills
スキル名flow-ai-chat
スター
5
フォーク
0
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    jpoindexterがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Flow Ai Chat」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-ai-chat
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoindexter/ux-flow-skills.git /tmp/ux-flow-skills
mkdir -p .claude/skills
cp -r /tmp/ux-flow-skills/skills/flow-ai-chat .claude/skills/flow-ai-chat
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFlow Ai Chatを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFlow Ai Chatを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Flow Ai Chatは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AI & Chat Interface Flows

Overview

An AI interface's core job is managing uncertainty: latency you can't predict, output you can't guarantee, and actions the user must stay in control of. Streaming, visible working state, and human-in-the-loop gates are the load-bearing patterns — not decoration.

When to Use

  • Chat/assistant surfaces, copilots embedded in tools, agent dashboards, AI generation panels
  • Adding tool use, citations, multi-step agent runs, or consequential actions to an AI feature
  • NOT for: classic autocomplete/typeahead — that's an input pattern, not a conversation
  • NOT for: one-shot ML features with instant deterministic results (spam filter, image tagger) — no chat chrome needed

The Proven Flow

  1. Empty state teaches by example. First screen: a brief capability statement + 3–6 clickable prompt suggestions spanning distinct use cases (ChatGPT, Claude, and Perplexity all converged here). Suggestions are real, specific prompts ("Summarize this PDF's key risks"), not categories ("✍️ Writing"). The composer is already focused. Never ship an empty text box with only "Ask me anything" — blank-page paralysis produces weak first prompts and weak first impressions.
  2. User sends; the message appears instantly. The user message renders optimistically, the composer clears, the view anchors to the new exchange. Multi-line input via Shift+Enter; Enter sends (web/desktop convention). On mobile, the send button sends and return key makes a newline.
  3. The response streams token-by-token. Target under ~1 second to first visible activity — show a lightweight shimmer/typing indicator until the first token. Render Markdown progressively: headings, lists, and code blocks format as they arrive, not in a raw-text pass that reflows at the end. Blocking on the complete response is the single worst AI-UX mistake; streaming is the interaction, converting a 20-second wait into 20 seconds of reading.
  4. A stop button replaces send during generation. Same position, swapped icon (ChatGPT/Claude convention). Stopping keeps the partial output in the thread and returns control immediately. Never force the user to wait out a generation they can already see is wrong.
  5. Tool use and agent steps render as visible working state. Each step is a compact live status line ("Searching the web…", "Reading main.ts", "Running tests…") that resolves into a collapsible completed entry with a one-line result summary. Steps are collapsed by default, expandable to full input/output detail (Cursor's agent steps, Claude's tool-use blocks, v0's build steps). For long runs, show step counts or progress so visible silence never exceeds a few seconds.
  6. Consequential actions gate on the human. Before the agent sends an email, deletes files, spends money, or pushes code: show exactly what will happen — the draft, the diff, the literal command — with Approve / Edit / Reject. Approval is per-action or narrowly scoped ("allow file reads this session"), never a blanket "always allow everything" default. Cursor's command approval and agent-framework HITL checkpoints prove the pattern; one unapproved destructive action ends trust permanently.
  7. The response tail carries recovery affordances. After each assistant message: copy, regenerate, feedback. Regenerate versions the response with a pager ("2/3" — ChatGPT) rather than silently discarding the previous attempt. Edit on the user's message forks the conversation from that point — make the fork explicit so users understand what happened to the downstream messages.
  8. Errors and refusals stay in the conversation. Failed generation → inline error bubble with Retry; partial output preserved. Refusal → one-line reason + what the AI can do instead — never a dead-end lecture. Rate limit → what the limit is, when it resets, and what tier removes it. Context-window exhaustion → offer to summarize-and-continue or start a linked new chat, don't just degrade silently.

Layout & Structure

Composer

  • Pinned to the bottom, full conversation width, auto-growing to ~8–10 lines then scrolling internally.
  • Attachment/context controls on the left or inside the field; send/stop on the right.
  • Keep the composer usable while a response streams — queue the next message or allow interjection per your product model; a dead composer during generation feels broken.
  • Attached context renders as removable chips above or inside the composer, not as invisible state.
  • Power features that pay for themselves: drag-and-drop + paste for attachments, @-mentions for context objects (files, docs, people), /-commands for actions, up-arrow to recall/edit the last sent message.
  • If input length is limited, show remaining capacity as the user approaches it — never reject a long prompt only after send.

When chat is the wrong shape

  • Structured input with known fields (an address, a config, a booking) → render a form (see flow-forms), optionally AI-prefilled, not twenty conversational turns.
  • Single-field transformation (rewrite this sentence, summarize this cell) → inline affordance at the content, not a detour to a chat panel.
  • Chat is for open-ended, iterative, multi-step work. Forcing it everywhere trades one good interface for a slower universal one.

Message column

  • Single scrolling column, message text capped at ~65–75ch on desktop for readability; the column centers in wide viewports.
  • User vs assistant messages distinguished by one consistent system — alignment, background, or avatar; pick one, don't stack all three.
  • Assistant output is rich: Markdown, tables, code blocks with language label + copy button. User messages stay plain.
  • Auto-scroll follows the stream only while the user is at the bottom. The moment they scroll up to read, stop following and show a "jump to latest" pill. Yanking the viewport mid-read is a top complaint in every shipped chat product.
  • Timestamps on hover/tap, not inline noise. Day dividers for long histories.

Context indicators — show what the AI can see

  • Attached files, the active document, selected code, screen/page visibility, and connected tools all render as visible, removable chips (Cursor's @-context chips; Claude's attachment chips).
  • If the AI can see the user's screen, selection, or current page, say so explicitly in the UI. Silent context is a privacy failure; invisible missing context ("why doesn't it know about my file?") is a capability failure. Both erode trust in opposite directions.
  • If long-term memory exists across sessions, make it inspectable and editable — a visible list of remembered facts, each deletable.

Tool-step and agent-run blocks

  • Running: icon + verb + object one-liner ("Searching: EU AI Act fines"). Done: chevron-expandable summary. Failed: inline error state within the step, with its own retry — a failed step must not silently vanish.
  • Nest sub-steps one level maximum; deeper nesting is unreadable in a chat column.
  • Streaming code renders into a code block with language label and copy button from the first fence. File edits show a diff view, not a wall of replacement code (Cursor, v0).
  • Agent runs that modify files create a restorable checkpoint before applying; expose "restore to before this run" alongside the run summary (Cursor).
  • Runs >30 seconds need a persistent progress surface that survives navigating away, plus a completion notification path.

Citations

  • Inline numbered markers at the claim, resolving to a source list with favicon + title + domain (Perplexity's pattern). Hover/tap previews the source.
  • Citations must come from real retrieval. If the answer wasn't grounded, don't dress it in source chrome — fake citation UI is manufactured credibility and a legal risk.
  • Date-sensitive or low-confidence answers carry "as of" markers or hedges; never style a guess with the same confident chrome as a grounded answer.

Latency budgets

  • <1s: first visible activity (shimmer counts).
  • <3s: first token, or explicit progress replaces it ("Searching 12 sources…").
  • >10s of one step: show sub-progress or interim findings.
  • >30s total: persistent/backgroundable progress + notify on completion.

History

  • Conversation list with auto-generated titles (editable), delete, and search. New-chat is always one click. Deleting a conversation follows flow-errors destructive rules (undo, not confirm).
  • Pin/star for conversations users return to; recency ordering otherwise.
  • Sharing/exporting a conversation produces a readable transcript and strips private context (attachments, memory) unless explicitly included — state what's included before the link exists.
  • Cold start is where latency budgets die: the first message of a session should still hit <1s to visible activity — prewarm, or mask with instant optimistic UI.

Mobile specifics

  • Composer stays pinned above the software keyboard; the conversation resizes, it doesn't hide behind the keyboard.
  • Return key inserts a newline; only the send button sends — mobile users compose multi-line messages constantly.
  • Message actions (copy, regenerate, feedback) move from hover to long-press or an inline overflow menu — hover doesn't exist.
  • Voice input is a first-class composer affordance on mobile, not buried in settings.
  • Streaming must not fight the on-screen keyboard: opening the keyboard keeps the latest message visible.

Tone and persona

  • An assistant should be deferential without being fawning. Josh Clark's framing: deferential is not flirty, not fawning, not feminine-by-default — don't dress an agent in a submissive or performative persona to make deference legible. State the boundary or the uncertainty plainly instead of apologizing around it.
  • Treat the assistant as there to empower the user's judgment, not just assist (Clark) — the tone should read as capability handed to the user, not a service performing helpfulness at them. This is why "Whoops, my bad! 😅" (below) fails: it performs personality where the user needed a plain cause and a retry.
  • Output is a signal, not a fact (Clark, citing Bender et al.'s "stochastic parrots" framing): a fluent response is not the same as a correct one, and the UI's job is to keep that distinction visible rather than let confident phrasing borrow authority the model didn't earn. This is the same instinct behind hedges and "as of" markers above — extend it to word choice, not just chrome.

Feedback & quality signals

  • Thumbs up/down on assistant messages, with an optional one-tap reason on the downvote ("inaccurate", "didn't follow instructions"). Never a mandatory free-text form — friction kills the signal.
  • Show which model/version answered when users can choose models; silent model switches break users' calibration of what to trust.
  • "Report" is separate from thumbs-down and routes to safety review.

Accessibility

  • Streamed responses announce via a single aria-live="polite" region updated in sentence/paragraph chunks — per-token announcements make screen readers unusable. Announce "response complete" at the end.
  • Stop, regenerate, copy, and step-expanders are real buttons, keyboard-reachable, with state (aria-expanded on collapsibles).
  • Enter/Shift+Enter behavior is documented in the composer's accessible description.
  • Shimmer/typing indicators respect prefers-reduced-motion with a static "Generating…" alternative.
  • User vs assistant messages distinguished by more than tint — alignment, labels, or headings a screen reader can navigate by.

Quick Reference

SituationPattern
First-run / empty threadCapability line + 3–6 concrete clickable prompts, composer focused
Waiting for first tokenShimmer/typing indicator, <1s to appear
Response in progressProgressive Markdown render + stop button in the send slot
AI is using toolsLive status lines → collapsible completed steps
Agent wants to act on the worldPreview exact action + Approve/Edit/Reject, scoped approval
Bad responseRegenerate with version pager on assistant msg
Wrong question askedEdit user message → explicit fork
Grounded answerInline numbered citations → source cards
Ungrounded answerNo citation chrome; hedge/"as of" markers
Generation failedInline error + retry, partial output kept
RefusalOne-line reason + viable alternative, in-conversation
User scrolls up mid-streamStop auto-scroll; show jump-to-latest pill
Files/selection/tools in contextVisible removable chips; never silent context
Run >30sPersistent progress, survives navigation, notifies on done
Context window fullSummarize-and-continue or linked new chat
Known-fields inputForm (AI-prefilled), not conversational turns
Mobile message actionsLong-press / overflow menu, not hover
Multiple models availableVisible model label per response
Rating a responseOne-tap thumbs + optional reason; never mandatory text
Sharing a conversationReadable transcript; private context stripped unless opted in
Screen-reader user mid-streamChunked polite live-region + "response complete" announcement
Deleting a conversationUndo toast, not a confirm dialog (see flow-errors)
First message of a sessionSame <1s activity budget — prewarm or mask cold start

Anti-Patterns

Anti-patternWhy it breaksFix
Spinner until the full response is ready10–30s of dead air; feels brokenStream tokens, render progressively
No stop control during generationUser trapped watching a wrong answer completeStop swaps into the send button
Raw text streamed, reformatted at the endJarring double-render and reflowProgressive rich rendering from first token
Silent tool use ("Thinking…" for 40s)Reads as a hang; hides failuresNamed visible steps with live status
Agent executes destructive actions unpromptedTrust destroyed on the first bad actionHITL preview + approve gate for consequential actions
"Always allow all" as the approval defaultOne click removes every future safety gatePer-action or narrowly scoped approvals
Auto-scroll fights the reading userViewport yanked mid-readFollow only at bottom; jump-to-latest pill
Empty state = blank boxBlank-page paralysis, weak first promptsConcrete example prompts as buttons
Dead composer during generationProduct feels lockedQueue or interject; keep input alive
Fake citation chrome on ungrounded outputManufactured credibility; legal riskCitations only from real retrieval
Regenerate silently deletes the old answerUsers compare versions; the loss is feltVersion pager (1/2, 2/3)
Edit-message fork left unexplainedUser can't find their old threadLabel the fork; show branch state
Refusal as boilerplate lectureNo path forwardState the boundary + an alternative
Hidden context (AI sees screen silently)Privacy anxiety + "why doesn't it know X"Context chips + explicit visibility notice
Confident styling on hallucinated specificsWrong answers inherit the UI's authorityHedges, grounding labels, "as of" dates
Prompt suggestions vanish forever after first useNew users' only scaffolding disappearsKeep examples reachable (new-chat screen, help menu)
"Whoops, my bad! 😅" on real failuresPersonality filler where users need factsPlain cause + retry; save charm for low stakes
Length limit discovered only on send-rejectLong prompt written, then bouncedShow remaining capacity as the limit approaches
Unsearchable, untitled historyPast work is unfindable, so it's redoneAuto-titles + search + pinning
Silent model downgrade under loadUsers misattribute quality drop to themselvesLabel the model per response; announce switches

Proven by: ChatGPT (streaming, stop, regenerate versions, prompt suggestions), Claude (tool-use blocks, context chips, artifacts), Perplexity (citations, source cards), Cursor (agent steps, diff previews, command approval), v0 (generation progress, streamed code/preview), Josh Clark's Sentient Design (tone/persona framing — deferential vs. fawning, signals not facts).

よくある質問

AIスキル「Flow Ai Chat」では何ができますか?

Use when designing, building, or reviewing any AI chat, assistant, copilot, or agent interface — composer, streaming responses, tool-use display, citations, regenerate/edit, or AI empty states. Also fires when users report the AI feeling frozen or opaque about what it's doing or can see, or when wiring confirmations before an agent takes consequential actions.

TypingMindでFlow Ai Chatを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Flow Ai Chatはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFlow Ai Chatをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-ai-chatを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Flow Ai Chatを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Flow Ai Chatで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFlow Ai Chatを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Flow Ai Chat」は無料ですか?

はい。jpoindexterがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇