/agent-app:importerfrom Agent App Framework
Installs, imports, converts, adopts, and exports apps via a secure pipeline. Handles marketplace apps, zip/folder/git packages, CraftBot Living UI apps, and foreign code.
Ships in Agent App Framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every way in goes through one install pipeline, run by the CLI:
acquire → inspect → sanitize → revendor → customize → place → register → dependencies → gate → serve → open
It is what makes an app from elsewhere safe to have, so never do its work by hand: never unzip a package into place, never copy one's credentials or data, never re-vendor someone else's app yourself. What the pipeline guarantees:
.git/, node_modules/ and build output
are dropped; the app gets a fresh identity, port and credential, and a git
repository of its own whose first commit is the app as installed.Every command prints JSON on stdout (diagnostics go to stderr) and exits 0
success, 1 rejected, 2 usage, 3 unreachable. Read the JSON; never scrape
the prose.
| The person has… | Do this |
|---|---|
| An app name, or "what's in the marketplace?" | Marketplace |
A .zip, a folder, or a git or GitHub URL | Inspect it, then follow what it is: |
… and it is an Agent App package (kind: agent-app) | Install it — untrusted, so walk-verified after |
… and it is a CraftBot Living UI app (kind: living-ui) | Convert |
… and it is anything else (kind: foreign) | Adopt or Convert — the person decides |
| An app of their own to give someone | Export |
agent-app catalogue --search "<their words>". Install only
an id this returns; never guess one. Each entry says whether it runs here:
compatible: true; false with a reason (a Living UI app → Convert, a
toolkit not installed here → say which); null when the entry states no
requirement. --source <marketplace> reads another marketplace
(github:<owner>/<repo>[@<ref>], or a local directory).customizable
fields (offer each default).agent-app install <id> [--set KEY=VALUE]… [--name "<name>"].
The result's trust is catalogued: the app was verified upstream, so
nothing more is owed — no walk-verify. Give the person its url.capabilities) or queues work for agents, ask before granting any. Never
start a bridge for it (agent-app <dir> bridge start): each task it queues
becomes an agent run, a capability a person grants knowingly, for an app
they chose.agent-app inspect --from <source>. Nothing is installed
and nothing from it runs. <source> is:
github:<owner>/<repo>[@<ref>][/<path>], or
https://github.com/<owner>/<repo>[/tree/<ref>/<path>];git+<url>[#<ref>].kind), whether it
is installable and why not, what will run on their machine (pipeline:
the commands of the toolkit installed here, not the package's), what install
removes (strips), whether its system files match its own record
(integrity), what it declares (capabilities), and every warnings entry.agent-app install --from <source> [--name "<name>"].
Its trust is untrusted, and its next names what is owed: before the app
is used for real work, a separate agent — never you, the installer — runs
the walk-verify skill against it. Until then, report it as installed and
unverified.
reason names it.
--blueprint <id> re-vendors it from another toolkit installed here, but
that toolkit's system files replace the package's, so only with the
person's agreement.agent-app <dir> import
runs the same pipeline in place (untrusted, the same walk-verify owed). It
refuses a folder whose app is serving: agent-app <dir> stop first.routes say what can be done instead —
Convert (convert) or Adopt (adopt), below.install is the same for both kinds of source: a source that turns out not to
be a package stops at inspect, with { ok: false, step: "inspect", kind, reason, routes }. Take it to the route; never force it.
For a CraftBot Living UI app, or foreign code the person wants rebuilt as an Agent App. Tell the person the cost first: nothing of the original code runs afterward; its behaviour is re-implemented.
agent-app <dir> scaffold --blueprint <id>.agent-app inspect <catalogue id> --keep <dir>/reference/source, or
agent-app inspect --from <source> --keep <dir>/reference/source.
Read it; never edit it, never run it.reference/requirements.md from it — its screens, its data,
what each action does — and build it with the creator skill: feature by
feature under the ownership rule, agent-app <dir> validate, launch, and a
walk-verify by a separate agent before announcing it.For a foreign app that must keep running unchanged: any HTTP app, in any stack.
The app runs from upstream/, and the sidecar adapter in front of it serves the
A2App surface and forwards each declared operation to one of its own routes.
agent-app <dir> scaffold --blueprint blueprint-sidecar,
then read <dir>/reference/blueprint.md — the authoritative, step-by-step
adopt guide. What follows is its outline.upstream/. Never edit it. If it cannot
run here (a database server, private services, system packages), stop and
tell the person exactly what is missing.sidecar.json: an argv (never a shell
string), "port": "auto" handed over as {port}, its environment, and a
health path.operations.json (what it is: typed params,
destructive, readOnly) and sidecar.json (which route it reaches). No
server API means no operations: say so; never invent verbs or map database
writes.agent-app <dir> validate,
agent-app <dir> serve, then invoke every non-destructive operation for real
(a2app <dir> <module> <operation> --…); a destructive one is shape-checked
(it answers approval_required), never fired. A mapping that does not work
does not ship.Tell the person what adoption gives them: it is operate-only — agents reach
the app through the mapped operations (a2app <dir>, then a module, then an
operation), with no entities and no data verbs — and the app's own UI stays
at its own address; the sidecar's port serves only the protocol and the
account page. Changes apply live: edit the declarations, stop, serve.
agent-app <dir> export [--out <file.zip>] writes the app as a package: one
folder named after the app, without credentials, data, runtime state,
dependencies or build output, and with .a2app/toolkit.json reduced to its id.
It never replaces an existing file. It prints { ok, file, sha256, bytes, files }:
give the person the file and its sha256. It installs on another machine with
agent-app install --from <file.zip>, where it is untrusted and walk-verified.
a2app CLI (the walk: a2app <dir>, then the module, the entity, the
operation; records through a2app <dir> data <entity> …), and change it with
the modify skill. An adopted app has operations only.agent-app <dir> toolkit-sync re-vendors from the toolkit the app itself
records, path included, so it is for an app that is already yours, after its
toolkit was updated. Never use it to bring in an app you were given: install
and import re-vendor from a toolkit installed here, chosen by id.agent_app_catalogue, agent_app_inspect, agent_app_install and
agent_app_export, and a manager tab's Marketplace and Import panels run
them for the person; what is owed afterwards is the same.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
app-installation, app-import, app-export, marketplace, sidecar-adapter
6 skills in this plugin
/connectConnect to a published Agent App you do not own — select it, verify its identity, get a credential the person you act for approves, check the grant, then operate it exactly as any local app. Load when operating a remote, shared or cloud-hosted app./creatorCreate a new Agent App. Scaffolds, develops, validates, and launches a local web app with persistent state and an agent-operable surface. Load when the user wants custom software built. This is the stack-agnostic method; read your blueprint's reference/blueprint.md for the migration/hook/UI-kit specifics./modifyModify an existing Agent App — add features, change design, fix bugs — then re-validate, verify, and relaunch it. Load for a code change to an app that already exists. The creator skill's rules still apply./operatorManage and operate an existing Agent App — inspect, launch, restart, use its data/operations, take work the app queues for you, and diagnose issues. Load for data work and diagnosis on a running app. No code changes./walk-verifyIndependently verify a running Agent App against its requirements and the Agent App Quality Standard by driving the real UI in a browser, feature by feature. Load to verify a build before it is announced. Run by an agent that is NOT the builder. Verdicts: pass | defects | incomplete | blocked.npx claudepluginhub craftos-dev/agent-app --plugin agent-appOther plugins' skills for the same job