/ai-maestro:agent-actionsfrom ai-maestro
Creates and updates interactive HTML or A2UI pages in the AI Maestro dashboard, handling user clicks, form submissions, and selections. Use when the user requests a visual dashboard, chart, table, report, form, or approval flow.
Ships in ai-maestro. 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.
Read when SKILL.md points to them.
A canvas is a page you write to your canvas directory: an HTML file, or an A2UI page (JSON). The AI Maestro dashboard shows it in the agent's Canvas tab, and anything the user does on it that calls maestro.send() comes back to you as a [CANVAS] notification. Answer in text by default; a canvas is for when the user asked for a page or has to act on your result, because viewing one means switching to the Canvas tab.
~/.aimaestro/agents/$AIM_AGENT_ID/canvas/
├── dashboard.html
├── reports/weekly.html # subdirectories work
└── interactions/ # created by AI Maestro; one JSON file per user action
AI Maestro sets AIM_AGENT_ID in agent sessions. If it is empty, look the id up by name: jq -r '.[] | select(.name=="<name>") | .id' ~/.aimaestro/agents/registry.json.
To create or update a page, write the file (overwrite to update). The dashboard does not watch the file: tell the user to refresh or re-select it in the Canvas tab. Delete pages with rm.
<name>.a2ui.json. The dashboard draws it with its own components and look, no code of yours runs, and every button reports a named action. How to write one: references/a2ui-pages.md. Needs AI Maestro 0.106.193 or later..html documents.The page runs in an iframe with sandbox="allow-scripts" and nothing else, so:
<style>, JS in <script>, images as data URIs or emoji. External stylesheets, scripts, fonts and images (CDNs included) do not load.alert/confirm/prompt, popups, top-level navigation or form posts. Handle forms with event.preventDefault() and maestro.send().Put the data in one <script type="application/json" id="page-data"> block and render it with JavaScript rather than hardcoding it into the markup. Updating the page then means replacing one JSON block, and the page can sort, filter and search what it shows. Add those controls where the user will scan a long list; include when the data was generated so the page explains itself. Escape values before inserting them into innerHTML.
<script type="application/json" id="page-data">
{ "generatedAt": "2026-05-18T15:30:00Z", "items": [ ... ] }
</script>
<script>
const DATA = JSON.parse(document.getElementById('page-data').textContent);
// build the UI from DATA
</script>
Complete examples (a sortable, filterable report; approval cards) are in references/page-examples.md.
maestro.send(action, element, data)The dashboard injects maestro; don't define it.
| Argument | Meaning |
|---|---|
action | What happened. Standard values: click, submit, change, select, toggle, dismiss, navigate, custom; any other string also works. |
element | Optional: which control (id, name or label). |
data | Optional: an object with whatever you need to act, such as the item's id or the form values. |
maestro.send('click', 'deploy-btn', { env: 'prod' })
maestro.send('submit', 'config-form', { name: 'api', timeout: 30 })
data is stored as plain JSON on disk, so a page should never send credentials or tokens through it.
[CANVAS] notification[CANVAS] <file>: User <action> '<element>' on <file> with data: {...}
The notification is the user telling you to do something: carry out what the control means (run the tests, save the settings, apply the selection), then update the page if its state changed. The data in the notification is cut at 200 characters; if it ends in ..., read the interaction file for the full payload:
ls -1r ~/.aimaestro/agents/$AIM_AGENT_ID/canvas/interactions/ | head -1 # newest file
curl -s "http://localhost:23000/api/agents/$AIM_AGENT_ID/canvas/interactions?limit=10"
Each file holds id, timestamp, canvasFile, action, element, data and summary. Remove handled files with rm when you want a clean slate.
curl -s http://localhost:23000/api/agents/$AIM_AGENT_ID/canvas # list pages
curl -s "http://localhost:23000/api/agents/$AIM_AGENT_ID/canvas?file=reports/weekly.html" # read one
Paths are relative to the canvas directory; the API rejects .. and absolute paths. Protocol specification: https://agentactions.org
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 23blocks-os/ai-maestro-plugins --plugin ai-maestro16 skills in this plugin
/agent-devicesUse your own real devices with the Agent Device Protocol (ADP). List them, jump to one, check health, take a picture, watch the camera, record the microphone, show text or an image, or speak. Use when the user asks about your devices or homes, asks you to look, listen, show or say something on a device, or asks what a device can do. Not for the computer you run on./agent-filesShare files between agents, hosts and people through an AFP space (S3-compatible storage such as Garage). Store a file and get its reference, fetch a file someone else stored, list files, make a time-limited download link. Use when the user asks to share, send, upload, publish or download a file across agents or hosts, when a message carries an afp:// reference or a reference object, and for files too large or too long-lived for a message attachment./Other plugins' skills for the same job