Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .agents/skills/formext-harness/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: formext-harness
description: "Makes extensions for the Form apps with form.ext through its formext MCP server or the ./formext cli command line. Use whenever the person wants an extension, plugin, add-on, panel or command made, changed, fixed, checked, previewed, packaged, signed, loaded in a running app, published or submitted to form.ext-registry for formvis, formcut, formwav, formpdf, formdeck, formlit, form.md, formencoder, formvfx, formMCP, formtray or formskills; asks what an extension may do in the sandbox or which permission it needs; has a .formpkg, manifest.json or extension folder; wants an index entry or a formai.studio submission; or when formext tools such as status, new, write, validate, preview, package, sign, run_in_app, publish or submit are available or fail. Also covers pulling a host app's source to read, the family map, app skills and the registry pull request. Not for changing form.ext's own source code (use formext-skillset) and not for installing finished extensions from the catalogue (use formportal-harness)."
description: "Makes extensions for the Form apps with form.ext through its formext MCP server or the ./formext cli command line. Use whenever the person wants an extension, plugin, add-on, panel or command made, changed, fixed, checked, previewed, packaged, signed, loaded in a running app, published or submitted to form.ext-registry for formvis, formcut, formwav, formpdf, formdeck, formlit, form.md, formencoder, formvfx, formMCP, formtray or formskills; asks what an extension may do in the sandbox or which permission it needs; has a .formpkg, manifest.json or extension folder; wants an index entry or a formai.tools submission; or when formext tools such as status, new, write, validate, preview, package, sign, run_in_app, publish or submit are available or fail. Also covers pulling a host app's source to read, the family map, app skills and the registry pull request. Not for changing form.ext's own source code (use formext-skillset) and not for installing finished extensions from the catalogue (use formportal-harness)."
---

# formext harness

form.ext is the Form family's extension studio. Its engine keeps extension projects in its data folder, checks them against the Form Extension Contract (API 1), previews them in a simulated host, builds deterministic `.formpkg` packages, signs them with Ed25519 publisher keys, writes FormPortal's `dev.json` so the real app loads the project live, and prepares the formai.studio submission. The MCP server, named `formext`, exposes all of that as tools; `./formext cli` is the same surface on the command line (each tool is a command with the same name, dashes for underscores).
form.ext is the Form family's extension studio. Its engine keeps extension projects in its data folder, checks them against the Form Extension Contract (API 1), previews them in a simulated host, builds deterministic `.formpkg` packages, signs them with Ed25519 publisher keys, writes FormPortal's `dev.json` so the real app loads the project live, and prepares the formai.tools submission. The MCP server, named `formext`, exposes all of that as tools; `./formext cli` is the same surface on the command line (each tool is a command with the same name, dashes for underscores).

When the form.ext window is open, the tools talk to its engine and every change appears in the window as it happens. When it is closed, the tools run the engine's routes inside the server process against the same data folder, and only the 19 tools that read still run: with the default Ask, the 14 that change something are refused, because there is no window to ask in. Tell the person to open form.ext (it then asks them, and they choose Deny, Allow once or Always allow), or to choose Allowed in Settings, Developer, Outside agents; only the window can change that setting. Blocked refuses every change, from the Studio's own Claude Code and Chat tabs too: say so and stop. `status` says which engine you are talking to.

Expand Down Expand Up @@ -34,7 +34,7 @@ When the form.ext window is open, the tools talk to its engine and every change
3. **Check**: `validate {id}` until it reports no errors. Each problem has file, line, rule and fix.
4. **Look**: `preview {id}` says whether a host accepts it, which frame it loads with which headers, the consent words, the panels and commands, and whether every file the page references is served. The person sees it running in form.ext's Preview pane.
5. **Run in the real app** (ask first): `run_in_app {id}` adds it to FormPortal's `dev.json`; the app picks it up while it runs and reloads it on every save.
6. **Ship**: `package {id, reproduce: true}`, `keys`, `sign`, `verify`, then `publish {id}` for the formai.studio submission folder (and `formportal: true` to install it, after asking), or `submit {id}` to make it an official extension through a pull request to form.ext-registry: `submit {id, pull_request: true}` opens that pull request for the person, after asking.
6. **Ship**: `package {id, reproduce: true}`, `keys`, `sign`, `verify`, then `publish {id}` for the formai.tools submission folder (and `formportal: true` to install it, after asking), or `submit {id}` to make it an official extension through a pull request to form.ext-registry: `submit {id, pull_request: true}` opens that pull request for the person, after asking.

## Routing

Expand Down
4 changes: 2 additions & 2 deletions .agents/skills/formext-harness/sub-skills/ship/SUB-SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: ship
description: "Shipping a Form extension from form.ext: Run in App through FormPortal's dev.json, the installed apps, deterministic .formpkg packages and the reproducibility check, Ed25519 publisher keys, signing and verifying builds, formai-extensions index entries, the formai.studio submission folder, sending a package to FormPortal to install, and submitting to form.ext-registry (form.ext's own registry copy, its tools/check.py, whether git and gh are ready, opening the pull request). Use when the person wants the extension loaded in the real app, packaged, signed, published, installed or registered."
description: "Shipping a Form extension from form.ext: Run in App through FormPortal's dev.json, the installed apps, deterministic .formpkg packages and the reproducibility check, Ed25519 publisher keys, signing and verifying builds, formai-extensions index entries, the formai.tools submission folder, sending a package to FormPortal to install, and submitting to form.ext-registry (form.ext's own registry copy, its tools/check.py, whether git and gh are ready, opening the pull request). Use when the person wants the extension loaded in the real app, packaged, signed, published, installed or registered."
---

# ship
Expand All @@ -20,7 +20,7 @@ description: "Shipping a Form extension from form.ext: Run in App through FormPo

- `keys` lists the publisher keys in form.ext's data folder; `keys {action: "create", id, name, url?, passphrase?}` makes an Ed25519 key; `keys {action: "export", id}` gives the public part and fingerprint for the index's `publishers`. Never export or show a private key.
- `sign {id, key, sha?, passphrase?}` signs a build (the latest when `sha` is left out; a unique prefix is enough) and verifies the signature. `verify {id, sha?}` checks every signature again.
- `entry {id, sha?, url?, publisher?}` is the `formai-extensions` index entry, with the signature when signed. The default URL is the build's formai.studio address.
- `entry {id, sha?, url?, publisher?}` is the `formai-extensions` index entry, with the signature when signed. The default URL is the build's formai.tools address.

## Publish

Expand Down
4 changes: 2 additions & 2 deletions .agents/skills/formportal-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Its MCP server, named `formportal`, is the same engine as the window (`formporta
| The person's project files: find, search, open in the right app, versions and going back, disk use | `sub-skills/files/SUB-SKILL.md` |
| A computer an organisation manages: a refusal naming a policy, locked settings, mirroring the catalogue, silent deployment | `sub-skills/organisations/SUB-SKILL.md` |
| Which apps exist, what each replaces, status and groups | `sub-skills/catalog-and-registry/SUB-SKILL.md` |
| Using an installed Form app through its own MCP server, deep links, the formai.studio website | `sub-skills/form-family-bridge/SUB-SKILL.md` |
| Using an installed Form app through its own MCP server, deep links, the formai.tools website | `sub-skills/form-family-bridge/SUB-SKILL.md` |
| Checking work before reporting it | `sub-skills/verification/SUB-SKILL.md` |

## Rules that hold everywhere

- **Never guess an id.** Product ids come from `apps` (lowercase: `formcut`, `formvis`, `formencoder`, `formmd`). FormPortal itself is `formai` in the catalogue.
- **The catalogue decides.** `apps` lists only released or installed apps, as formai.studio does; an app it does not list is not released yet, so there is nothing to install. Say so, give the opening date from `on_the_way` when the person asks what is coming, and never name an unreleased app or look for a download elsewhere.
- **The catalogue decides.** `apps` lists only released or installed apps, as formai.tools does; an app it does not list is not released yet, so there is nothing to install. Say so, give the opening date from `on_the_way` when the person asks what is coming, and never name an unreleased app or look for a download elsewhere.
- **Never weaken a check to make an install work.** Do not ask the person to set `FORMPORTAL_ALLOW_UNSIGNED` for the family catalogue. A SHA-256 mismatch means the file is not the one the catalogue describes: report it, do not retry with another source.
- **Ask before changing the computer**, every time, for `install`, `rollback`, `remove`.
- **Leave the person's work alone.** FormPortal's tools touch only its own install folder; never delete an app's documents or settings by hand.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: form-family-bridge
description: FormPortal's place among the Form apps. Use when, after installing a Form app, the work continues inside that app through its own MCP server (FormEncoder, FormCut, FormVis and others), when the person follows an Open in FormPortal link from the formai.studio website, or asks how FormPortal relates to that website, FormMCP or FormSkills.
description: FormPortal's place among the Form apps. Use when, after installing a Form app, the work continues inside that app through its own MCP server (FormEncoder, FormCut, FormVis and others), when the person follows an Open in FormPortal link from the formai.tools website, or asks how FormPortal relates to that website, FormMCP or FormSkills.
---

# form-family-bridge
Expand All @@ -15,7 +15,7 @@ FormPortal's tools stop at install, open, update, rollback and remove. The work

An app without a `form-app.json` has no server FormPortal can find; say so rather than guessing a command. Do not drive an app's files or folders by hand from FormPortal's install folder.

## Links from formai.studio
## Links from formai.tools

The family website, formai.studio (formai.tools and formai.design redirect to it), links into FormPortal with `formai://app/[id]` (that app's own page), `formai://apps`, `formai://updates`, `formai://beta`, `formai://extensions`, `formai://settings`. They open the window; agents use the tools instead.

Expand All @@ -25,4 +25,4 @@ The family website, formai.studio (formai.tools and formai.design redirect to it
- **FormMCP** (`formmcp`) is the one MCP connection to the whole family. Added once to Claude Code, Codex or Cursor, its `suggest_app` tool names the app that fits a task and `family_apps` lists every app with whether it is installed; for an installed app, `app_tools` loads that app's own tools on demand and `call_app` runs one, starting installs through `formportal app-mcp [product]`. FormMCP never installs: when it says an app is missing, the person installs it here. Connecting one app directly with `connect_agents` still works and suits someone who uses only that app.
- **FormSkills** (`formskills`) shows every Form app's released skills to read, download and keep personal edited copies of. Skills are not FormMCP's or FormPortal's job; point the person there.
- **FormBench** (`formbench`) is the family's parity, testing and feedback app: it keeps the Parity Tracker's rows, grades and test runs and has its own MCP server. Questions about how a Form app compares with what it stands in for go there, not to FormPortal.
- **formai.studio** is the family website (source repo formai_dev, which owns the `catalog/` schemas and `design/` tokens FormPortal copies); its download page is `https://formai.studio/download/`. The signed catalogue FormPortal reads is published by formcompiler through the private pipeline formpipe, at `https://dl.formai.studio/catalog/apps.json` with `apps.json.sig`.
- **formai.tools** is the family website (source repo formai_dev, which owns the `catalog/` schemas and `design/` tokens FormPortal copies); its download page is `https://formai.tools/download/`. The signed catalogue FormPortal reads is published by formcompiler through the private pipeline formpipe, at `https://dl.formai.studio/catalog/apps.json` with `apps.json.sig`.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The result carries `installed.current` (version, path, SHA-256), `installed.prev

## Updates and preferences

- `updates` lists every installed app with a newer version: from, to, size, release notes, whether it is open, and whether the person's preferences update it automatically. It also says when FormPortal itself has a newer version (`formportal_update`), which the person downloads from `https://formai.studio/download/`.
- `updates` lists every installed app with a newer version: from, to, size, release notes, whether it is open, and whether the person's preferences update it automatically. It also says when FormPortal itself has a newer version (`formportal_update`), which the person downloads from `https://formai.tools/download/`.
- `update {product, channel?}` updates one app; `update {}` updates everything waiting; `update {automatic_only: true}` does only what the preferences allow, which is what FormPortal's window does each time it opens. Only a newer version counts as an update; an older one offered by the catalogue is never installed this way.
- `preferences` reads the settings, or changes the ones given: `auto_update` (default on), `auto_update_beta` (default off), `only_when_closed` (default on), `notices` (default on), `keep_previous` (default on; off deletes the replaced version after each update, so rollback is no longer possible), `per_app` (product id to true or false, null to follow the global switch). These are the person's choices; change one only when they ask.

Expand Down
6 changes: 3 additions & 3 deletions .claude/skills/formext-harness/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: formext-harness
description: "Makes extensions for the Form apps with form.ext through its formext MCP server or the ./formext cli command line. Use whenever the person wants an extension, plugin, add-on, panel or command made, changed, fixed, checked, previewed, packaged, signed, loaded in a running app, published or submitted to form.ext-registry for formvis, formcut, formwav, formpdf, formdeck, formlit, form.md, formencoder, formvfx, formMCP, formtray or formskills; asks what an extension may do in the sandbox or which permission it needs; has a .formpkg, manifest.json or extension folder; wants an index entry or a formai.studio submission; or when formext tools such as status, new, write, validate, preview, package, sign, run_in_app, publish or submit are available or fail. Also covers pulling a host app's source to read, the family map, app skills and the registry pull request. Not for changing form.ext's own source code (use formext-skillset) and not for installing finished extensions from the catalogue (use formportal-harness)."
description: "Makes extensions for the Form apps with form.ext through its formext MCP server or the ./formext cli command line. Use whenever the person wants an extension, plugin, add-on, panel or command made, changed, fixed, checked, previewed, packaged, signed, loaded in a running app, published or submitted to form.ext-registry for formvis, formcut, formwav, formpdf, formdeck, formlit, form.md, formencoder, formvfx, formMCP, formtray or formskills; asks what an extension may do in the sandbox or which permission it needs; has a .formpkg, manifest.json or extension folder; wants an index entry or a formai.tools submission; or when formext tools such as status, new, write, validate, preview, package, sign, run_in_app, publish or submit are available or fail. Also covers pulling a host app's source to read, the family map, app skills and the registry pull request. Not for changing form.ext's own source code (use formext-skillset) and not for installing finished extensions from the catalogue (use formportal-harness)."
---

# formext harness

form.ext is the Form family's extension studio. Its engine keeps extension projects in its data folder, checks them against the Form Extension Contract (API 1), previews them in a simulated host, builds deterministic `.formpkg` packages, signs them with Ed25519 publisher keys, writes FormPortal's `dev.json` so the real app loads the project live, and prepares the formai.studio submission. The MCP server, named `formext`, exposes all of that as tools; `./formext cli` is the same surface on the command line (each tool is a command with the same name, dashes for underscores).
form.ext is the Form family's extension studio. Its engine keeps extension projects in its data folder, checks them against the Form Extension Contract (API 1), previews them in a simulated host, builds deterministic `.formpkg` packages, signs them with Ed25519 publisher keys, writes FormPortal's `dev.json` so the real app loads the project live, and prepares the formai.tools submission. The MCP server, named `formext`, exposes all of that as tools; `./formext cli` is the same surface on the command line (each tool is a command with the same name, dashes for underscores).

When the form.ext window is open, the tools talk to its engine and every change appears in the window as it happens. When it is closed, the tools run the engine's routes inside the server process against the same data folder, and only the 19 tools that read still run: with the default Ask, the 14 that change something are refused, because there is no window to ask in. Tell the person to open form.ext (it then asks them, and they choose Deny, Allow once or Always allow), or to choose Allowed in Settings, Developer, Outside agents; only the window can change that setting. Blocked refuses every change, from the Studio's own Claude Code and Chat tabs too: say so and stop. `status` says which engine you are talking to.

Expand Down Expand Up @@ -34,7 +34,7 @@ When the form.ext window is open, the tools talk to its engine and every change
3. **Check**: `validate {id}` until it reports no errors. Each problem has file, line, rule and fix.
4. **Look**: `preview {id}` says whether a host accepts it, which frame it loads with which headers, the consent words, the panels and commands, and whether every file the page references is served. The person sees it running in form.ext's Preview pane.
5. **Run in the real app** (ask first): `run_in_app {id}` adds it to FormPortal's `dev.json`; the app picks it up while it runs and reloads it on every save.
6. **Ship**: `package {id, reproduce: true}`, `keys`, `sign`, `verify`, then `publish {id}` for the formai.studio submission folder (and `formportal: true` to install it, after asking), or `submit {id}` to make it an official extension through a pull request to form.ext-registry: `submit {id, pull_request: true}` opens that pull request for the person, after asking.
6. **Ship**: `package {id, reproduce: true}`, `keys`, `sign`, `verify`, then `publish {id}` for the formai.tools submission folder (and `formportal: true` to install it, after asking), or `submit {id}` to make it an official extension through a pull request to form.ext-registry: `submit {id, pull_request: true}` opens that pull request for the person, after asking.

## Routing

Expand Down
Loading
Loading