Logo Uitalk

Uitalk

Cộng đồng
haytham-breaka
uitalk

Edit a running web app from inside the page. Starts a proxy that injects a floating tool panel into any locally served app, then answers element selections, screenshots, and change requests from the page and commits approved changes to source. Use when the user says "live edit", "edit the page", "start uitalk", "open the panel", or asks to change how something looks in a running app.

Tổng quan

Nhà phát hànhhaytham-breaka
Kho mãuitalk
Tên kỹ nănguitalk
Sao
9
Bản fork
0
Tệp đi kèm
61
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 61 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được haytham-breaka công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Uitalk trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/haytham-breaka/uitalk/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/haytham-breaka/uitalk.git \
  .claude/skills/uitalk
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Uitalk trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Uitalk ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Uitalk với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

uitalk

You drive a panel inside the user's running web app. They pick elements, you read them, preview changes, and commit the ones they approve.

Start

uitalk is on your PATH whenever this plugin is enabled. Run it as an ordinary foreground command — it starts the bridge detached, prints the URL, and exits in about a second.

Never run it as a background Bash task. It does not need to be backgrounded, and a long-lived server held by an agent-managed shell dies when that shell is reaped, taking the user's session with it mid-edit. The command already detaches into its own session; your shell call just reads back the URL.

Start the app yourself — do not assume the user already has it running. Before running uitalk, check package.json for a dev script (dev, then start, then serve, in that order), and which package manager the project uses (pnpm-lock.yaml → pnpm, yarn.lock → yarn, bun.lockb → bun, otherwise npm). Then pass that command with --dev, so uitalk starts the app and the bridge together in one call:

bash
uitalk --dev "npm run dev"

This is safe even when the app turns out to already be running: uitalk probes for an existing server on the usual ports first, and only launches the one you gave it if nothing answered. Only skip --dev and ask the user instead when there is no package.json (a non-Node project) or none of those scripts exist — then ask what command starts the app, or pass the port directly if they already know it:

bash
uitalk --app-port 4321

Running uitalk again when one is already up for this project prints the existing URL instead of starting a second, so it is safe to call without checking first — including with --dev again; it will not start a second copy of the dev server either. The other modes, should you need them:

CommandDoes
uitalk --statusIs one running for this project?
uitalk --listEvery bridge running, with ports and projects
uitalk --stopStop the one serving this project
uitalk --fgRun in the foreground instead (rarely what you want)
uitalk --no-agentStart the panel with no session behind it, for an MCP client
uitalk --agent adapterAnswer the panel with a model the user has a key for
uitalk --agent opencodeAnswer the panel with an OpenCode session the user already has set up

The default is right for almost every case: the bridge runs its own Claude session on the user's subscription, and that session — not you — answers the panel. Only pass --no-agent, --agent adapter, or --agent opencode if the user asks for a different model or says they will drive it from another editor.

Never pass UITALK_PORT. The bridge claims the first free port from 8400 upward, which is what lets several run at once. Read the port out of the command's output and give the user that URL — never assume 8400.

Tell the user both entry points, in one line each, and that the app must stay running behind the proxy:

  • the printed URL — their app with the panel floating over it;
  • the same URL plus /__uitalk/shell — split screen, with device sizes for testing mobile and landscape layouts.

From that point the panel is their interface; their messages arrive as ordinary user messages.

Working in the page

The panel's messages reach you as ordinary user messages. The page tools are:

ToolUse
read_selectionAlways first. Selections are numbered in pick order.
captureSee the selection. Call again after a change to check it.
scan_regionIdentify something a capture left ambiguous.
try_stylePreview CSS. Writes nothing. Faithful — the element stays framework-owned.
try_markupPreview replacement markup. A visual mockup, not functional — no component state or event bindings, and a re-render discards it.
show_optionsOffer alternatives, then end your turn.
ask_choiceAsk a plain question with no visual preview. Ends your turn too.
reset_previewDrop every preview.

Rules

Read before you answer. Every question about position, size, spacing, or alignment needs read_selection first. It returns each element's box, its own metrics, the nearest common ancestor's layout, and the pixel deltas between selections.

Let the ancestor choose the fix. "Align 2 to the top of 1" resolves differently per layout: align-items or align-self under flex, align-self: start under grid, a top offset under position: relative, a margin change or a restructure in static flow. Never reach for a margin when the parent is a flex or grid container — that is the signature of not having looked.

Edit directly when the request is clear. "Make this button blue" needs no preview — read the current styles, make the edit, then capture to confirm it took. Preview with try_style instead when the change is exploratory, more than one reasonable interpretation exists, or the user is comparing options; the page is the user's verification channel there, and a capture after the change is yours.

Alternatives end your turn. After show_options or ask_choice, stop. The user's choice arrives as a new message. Do not poll, and do not guess which one they will pick.

On approval, own the placement. The approval message carries the chosen declarations, the element's identifiers, and the page path. Find where that element and its styles actually live, then make the edit the way the surrounding code would — merge into the existing rule rather than appending a duplicate, keep nested selectors, match the project's formatting. The preview CSS is the intent, not the patch. Never carry a data-uitalk-* attribute into source; those are preview handles.

Identify by what source contains. Generated class names and utility classes match everything or nothing. Prefer id, data-testid, aria-label, and the text snippet when grepping for an element's definition.

Keep replies short. The user is looking at the page, not at your prose. Say what changed and which file, and stop.

Settings

The panel's gear pane writes .uitalk.json in the project. contextTokens defaults to 200,000; if the session's context window is larger, say so once so the user can correct it, because the meter and the compaction threshold both depend on it.

Finishing

uitalk --stop when the user is done. There is nothing to clean up in their project, because nothing was put there. A bridge left running is harmless — it simply keeps serving — so do not stop one the user has not finished with.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 1 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Uitalk làm được gì?

Edit a running web app from inside the page. Starts a proxy that injects a floating tool panel into any locally served app, then answers element selections, screenshots, and change requests from the page and commits approved changes to source. Use when the user says "live edit", "edit the page", "start uitalk", "open the panel", or asks to change how something looks in a running app.

Vì sao nên dùng Uitalk trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Uitalk là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Uitalk trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/haytham-breaka/uitalk/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Uitalk?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Uitalk với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Uitalk với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Uitalk có miễn phí không?

Có. Kỹ năng này được haytham-breaka phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇