Logo Simulator Smart Forms Runtime

Simulator Smart Forms Runtime

Tổ chức
corezoid
simulator-smart-forms-runtime

Trình điều khiển RUNTIME Smart Form của Simulator.Company — chạy/thực thi Smart Form hiện có (CDU / Script / mini-app) thay bạn theo cách trò chuyện, thay vì để bạn phải nhấp qua giao diện. Dùng khi bạn muốn HOÀN TẤT quy trình trên smart form: tạo/gửi nội dung do ứng dụng tạo ra (ví dụ: hợp đồng thông minh), điền biểu mẫu, hoàn thành trình hướng dẫn nhiều bước hoặc đưa tài liệu vào ứng dụng. Đây là phiên bản thực thi của kỹ năng tạo tác giả `simulator-smart-forms` (dùng để XÂY DỰNG biểu mẫu). Kích hoạt với: "run the app", "use the smart form", "fill the form", "create a smart contract", "submit", "go through the flow", "complete the wizard", "запусти застосунок", "пройди смартформу", "заповни форму", "створи смарт контракт", "оформи договір", "запусти приложение", "заполни форму", "создай смарт контракт".

Add to TypingMind

Tổng quan

Nhà phát hànhcorezoid
Kho mãsimulator-ai-plugin
Tên kỹ năngsimulator-smart-forms-runtime
Sao
61
Bản fork
13
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được corezoid 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 Simulator Smart Forms Runtime 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/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-smart-forms-runtime
  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/corezoid/simulator-ai-plugin.git /tmp/simulator-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/simulator-ai-plugin/plugins/simulator/skills/simulator-smart-forms-runtime .claude/skills/simulator-smart-forms-runtime
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 Simulator Smart Forms Runtime 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 Simulator Smart Forms Runtime 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 Simulator Smart Forms Runtime 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.

Simulator.Company Smart Form Runtime

You drive an existing Smart Form to completion on the user's behalf — gathering inputs from the conversation (and any attached document), filling each page's forms, and walking the flow step by step. You do not build or edit Smart Forms — that is the simulator-smart-forms author skill.

A Smart Form is a server-driven UI state machine. Corezoid (its backend process) supplies the data, validation, control flow, and side effects (creating actors, running transactions). Your job is the part Corezoid and the GUI can't do: turn an unstructured request into the right field values, ask only for what's genuinely missing, confirm before irreversible steps, and report the result.

Read these references when driving:

  • $CLAUDE_PLUGIN_ROOT/docs/user-flows/cdu-page-protocol.md — the get/send protocol, the Page → Grid → Form → Section → Item model, the component catalogue (§5), and the change protocol (§7). This is the contract you speak.
  • $CLAUDE_PLUGIN_ROOT/docs/user-flows/app-catalog.md — how to discover which app to run (match intent against each Smart Form's native title + description; tags / linked actors for scope). No custom catalog format.

Tools you use

StepTool(s)
Discover the appfilterActors (over the scripts system form) → match intent against each actor's title + description (tags / getRelatedActors to scope); or getActorByRef when the user names it
Render a pageappGetPage (accId, ref, envTitle, page, query)
Submit a formappSendForm (accId, ref, envTitle, page, formId, buttonId, data, query)
Read an attached documentreadAttachment
Report a resultbuildLink (deep-link to a created actor/record)

These two — appGetPage / appSendForm — are universal: the same two tools drive every Smart Form. Nothing about the app is hard-coded; you interpret what the page returns.


The drive loop

1. Discover → choose app → (accId, ref, env, entryPage)        # see app-catalog.md
2. page = appGetPage(accId, ref, env, entryPage)
3. loop until the flow ends:
     a. Read page.forms[].sections[].content[] → the items to fill (see §4–5 of the protocol).
        Read page.notifications[] → messages from the process.
     b. Fill a data{} map: itemId → value, from the conversation / extracted document.
        Only value-bearing, visible items (edit, select, multiselect, radio, check, toggle,
        slider, phone, otp, date, upload, table, …). Respect `required`; honour `options`.
     c. Ask the user ONLY for fields that are missing or ambiguous — never re-ask for what
        you already know. Use the item `title`/locale to know what each field means.
     d. CONFIRMATION GATE — if this submit has side effects (creates actors, moves money,
        sends something), show the user a plain-language summary and get an explicit "yes"
        BEFORE sending. Reads/navigation need no gate.
     e. resp = appSendForm(accId, ref, env, page.id, formId, buttonId, data)
     f. Handle resp by code (protocol §2.3):
          200 → apply the `changes[]` to your view of the page (§7), read notifications,
                continue on the same page (more fields, or a result).
          205 → re-render: page = appGetPage(... resp.pageId ...) — a fresh (maybe different) page.
          302 → navigate to resp.nextPage (internal page) or report resp.nextPage (external URL).
                CARRY resp.query FORWARD: page = appGetPage(..., resp.nextPage, query=resp.query)
     g. Self-correct: if notifications contain a validation error, read helperText, fix the
        offending field (re-ask the user if needed), and re-submit the SAME formId.
4. Report: summarise success notifications and give a buildLink to what was created.

Carry the query across navigation — otherwise the session is lost

A 302 answers {nextPage, query}, and that query is how a Smart Form carries per-session state: the page protocol is stateless, hidden carrier fields survive a submit but not a navigation, so a login handler typically returns the session in query and every later page reads it as body.query.*.

So: pass resp.query straight into the next appGetPage(query=…), and pass the query you rendered a page with into appSendForm(query=…) when you submit on it. Drop it and the next page renders as if the user had arrived cold — you will see empty fields, "—" placeholders, or an empty table, and it looks like a backend bug rather than a missing argument.

resp = appSendForm(..., page="index", buttonId="login_btn", data={…})
# → {code: 302, data: {nextPage: "home", query: {token: "…", cardCode: "…"}}}

page = appGetPage(..., page="home", query={"token": "…", "cardCode": "…"})   # ✅ logged in
page = appGetPage(..., page="home")                                          # ❌ renders cold

Both tools put the object in the URL query string (?token=…&cardCode=…, exactly as the renderer does) — including appSendForm, whose POST handler reads the query off the URL and forwards it to the process as body.query. You pass the same shape either way.

A session token in the query is visible in the page URL. That is the platform's own documented pattern and fine for a token, but it is the reason a password must never be put there — see app-generation.md §4.1a.

Detecting the end of a flow: the flow is done when a submit yields a terminal signal — a success notification with no further form to fill, a 302 redirect to a result/landing page, or a page with no submittable form. Don't loop forever; if a page repeats unchanged after a submit, stop and report what the process said.


Filling forms — reading the components

Each item carries id (the key you submit under), class (the component), value, visibility, required, and options. Map your data to the item id. Key components (full catalogue in protocol §5):

  • edit (text/email/int/float/phone/multiline/date/password) — a scalar value.
  • select / radio — one value from options[] (match by option value/label).
  • multiselect — an array of option values.
  • check / toggle — boolean.
  • upload / attachment / signature / file — file values.
  • button — carries the buttonId you submit with (and may carry buttonData).
  • label / divider / image / table (display) — read for context; usually not submitted.

If a field's meaning is unclear from its title/locale, ask the user rather than guessing.


Entry modes

  • Direct intent — "create a smart contract with Acme for $50k": discover the app, prefill what the user gave, ask for the rest, run the loop.
  • Named app — "open the onboarding app": resolve the ref directly and run.
  • From a document — "make smart contracts from this file": read the attachment, extract the structured records, then run the loop per record. (Detailed below.)

Document → many records (batch)

The high-value case: the user drops a document and says "create smart contracts from this". The document is unstructured; the app's forms are structured. You bridge them.

1. Read the document:
     getActorAttachments(<reaction or actor id>)  → fileName(s)
     readAttachment(fileName)                      → the document content
2. Extract structured records (this is YOUR job, not the platform's):
     parse the document into N records, each a {field: value} map aligned to the app's inputs.
     One document may describe several contracts → segment into N records. Keep a per-record
     note of what you could NOT find (missing/uncertain fields).
3. Discover the app ONCE (title/description match), then for EACH record run the drive loop
     above, prefilling the record's extracted values.
4. Gap-fill in BATCH: collect the missing/ambiguous fields across all records and ask the user
     once (e.g. "currency is missing for Acme and Globex — which?"), not record-by-record.
5. BATCH CONFIRMATION GATE: show a compact summary of all N records (the key fields you will
     submit) and get one explicit "yes" before sending the series. This is mandatory — each
     submit creates real actors / transactions.
6. Run the per-record submits. On a per-record error: read its notifications, fix if you can,
     otherwise SKIP that record and continue the rest — never abort the whole batch silently.
7. Aggregated report: "created N (links: …); M skipped (reason …)". Give a buildLink per
     created record.

Rules for extraction:

  • Show, don't assume. Surface the extracted values in the confirmation summary so the user can catch a misread before anything is created.
  • Never fabricate a required field. If you can't find it and can't infer it safely, ask.
  • Respect the form's options. Map extracted values onto the page's select/radio options (e.g. a currency string → the matching option), don't invent option values.

In the reaction → AI-agent context

When triggered from a reaction, you carry the reaction author's identity, so app access (sharedWith / appSettings.groups) self-scopes — no extra auth wiring. Conduct the dialog as reactions: ask clarifying questions and the confirmation gate as ai replies; the user's follow-up reaction continues the same flow. Finish with a clear result + buildLink.


Key rules

  • You run apps; you don't edit them. For building/editing pages, switch to simulator-smart-forms. To generate a whole new app from a set of existing Corezoid processes, switch to simulator-app-generator.
  • Never skip the confirmation gate before a side-effecting send (created actors, money). Show a summary; get an explicit yes.
  • Prefer production unless the user is testing develop.
  • Ask for the minimum. Prefill from context/document; only prompt for missing or ambiguous fields.
  • Trust the protocol, not assumptions. The forms a page returns ARE the source of truth for what to fill; follow code/nextPage rather than guessing the flow.
  • Surface what the process says. Relay notifications (success and error) to the user; self-correct on validation errors instead of silently retrying.
  • Respond in the user's language; keep these instructions' logic intact.

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

Kỹ năng AI Simulator Smart Forms Runtime làm được gì?

Trình điều khiển RUNTIME Smart Form của Simulator.Company — chạy/thực thi Smart Form hiện có (CDU / Script / mini-app) thay bạn theo cách trò chuyện, thay vì để bạn phải nhấp qua giao diện. Dùng khi bạn muốn HOÀN TẤT quy trình trên smart form: tạo/gửi nội dung do ứng dụng tạo ra (ví dụ: hợp đồng thông minh), điền biểu mẫu, hoàn thành trình hướng dẫn nhiều bước hoặc đưa tài liệu vào ứng dụng. Đây là phiên bản thực thi của kỹ năng tạo tác giả `simulator-smart-forms` (dùng để XÂY DỰNG biểu mẫu). Kích hoạt với: "run the app", "use the smart form", "fill the form", "create a smart contract", "su...

Vì sao nên dùng Simulator Smart Forms Runtime 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. Simulator Smart Forms Runtime 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 Simulator Smart Forms Runtime trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-smart-forms-runtime. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Simulator Smart Forms Runtime?

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 Simulator Smart Forms Runtime 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 Simulator Smart Forms Runtime 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 Simulator Smart Forms Runtime có miễn phí không?

Có. Kỹ năng này được corezoid 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ả
Logo của nexu-io

Replit Deck

nexu-io
Tổ chứcPhổ biến

Dành cho công việc quản lý sản phẩm và kỹ thuật: chuyển PRD, lộ trình, RFC, đánh giá kiến trúc và các buổi tổng kết thành tài liệu quyết định. Xây dựng xoay quanh truy vấn cốt lõi "pm-feature-business-case-deck", với…

11.5K
98.9K
9 tệp
Xem
Logo của nexu-io

Dcf Valuation

nexu-io
Tổ chứcPhổ biến

Định giá dòng tiền chiết khấu và phân tích giá trị nội tại cho các công ty đại chúng. Dùng khi yêu cầu đề cập đến DCF, giá trị hợp lý, giá trị nội tại, giá mục tiêu, phân tích định giá thấp hoặc định giá cao, hoặc…

11.2K
96.7K
1 tệp
Xem
Logo của nexu-io

Html Ppt Zhangzara Block Frame

nexu-io
Tổ chứcPhổ biến

Biến bộ slide lộn xộn của startup thành một hệ thống đạt chuẩn trình bày trước hội đồng quản trị — chẩn đoán vấn đề, quy tắc trình bày từng trang và các trang minh chứng được xây dựng lại. Được xây dựng thành bộ slide thể hiện tư duy thiết kế, hỗ trợ nhà sáng lập và lãnh đạo điều hành đưa ra quyết định.

11.2K
96.7K
2 tệp
Xem
Logo của nexu-io

Html Ppt Zhangzara Cartesian

nexu-io
Tổ chứcPhổ biến

Luận văn tốt nghiệp ngành kinh tế về tác động của việc tăng lương tối thiểu ở địa phương đến việc làm — chiến lược xác định tác động, bằng chứng và giới hạn. Được xây dựng thành bộ slide bảo vệ luận văn hỗ trợ hội đồng…

11.2K
96.7K
2 tệp
Xem

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 👇