Logo van Simulator Smart Forms Runtime

Simulator Smart Forms Runtime

Organisatie
corezoid
simulator-smart-forms-runtime

Simulator.Company Smart Form RUNTIME-driver — voer namens de gebruiker een bestaande Smart Form (CDU / Script / mini-app) uit, op een conversationele manier in plaats van dat de gebruiker door de interface klikt. Gebruik deze skill wanneer de gebruiker een Smart Form-flow wil DOORLOPEN: iets maken of indienen dat een app produceert (bijvoorbeeld een smart contract), een formulier invullen, een wizard met meerdere stappen doorlopen of een document in een app invoeren. Dit is de uitvoeringsvariant van de `simulator-smart-forms`-skill voor het maken van formulieren. Activeer deze skill bij: "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

Overzicht

Uitgevercorezoid
Repositorysimulator-ai-plugin
Skillnaamsimulator-smart-forms-runtime
Sterren
61
Forks
13
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door corezoid op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Simulator Smart Forms Runtime in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-smart-forms-runtime
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Simulator Smart Forms Runtime in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Simulator Smart Forms Runtime automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Simulator Smart Forms Runtime niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Simulator Smart Forms Runtime?

Simulator.Company Smart Form RUNTIME-driver — voer namens de gebruiker een bestaande Smart Form (CDU / Script / mini-app) uit, op een conversationele manier in plaats van dat de gebruiker door de interface klikt. Gebruik deze skill wanneer de gebruiker een Smart Form-flow wil DOORLOPEN: iets maken of indienen dat een app produceert (bijvoorbeeld een smart contract), een formulier invullen, een wizard met meerdere stappen doorlopen of een document in een app invoeren. Dit is de uitvoeringsvariant van de `simulator-smart-forms`-skill voor het maken van formulieren. Activeer deze skill bij: "r...

Waarom Simulator Smart Forms Runtime gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Simulator Smart Forms Runtime bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Simulator Smart Forms Runtime in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-smart-forms-runtime. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Simulator Smart Forms Runtime gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Simulator Smart Forms Runtime gebruiken?

Zoveel als je wilt. Je kunt Simulator Smart Forms Runtime gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Simulator Smart Forms Runtime gratis?

Ja. Deze skill is door corezoid op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇