Skip to content
Back to skills

Maestro Output

ASecurity

MANDATORY output formatting for the Maestro desktop app. Invoke BEFORE writing any reply — every request, before you answer, report, summarize, compare or explain — not only when you already expect structure, since you cannot judge your answer's shape before reading this. Maestro is not a terminal; it renders canvas dashboards and real UI controls, Mermaid, LaTeX, SVG, SMILES and sortable tables inline, and flat prose throws all of that away. Assume shape until proven otherwise; "show me x", ...

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 20, 2026
ai-agentsjavascriptgojavashellbashreactexpress

Works with

  • terminal
  • cli
  • mcp

Security analysis

A100/100

Scanned October 20, 2026

npx -y skills add emdgroup/maestro --skill maestro-output --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maestro Output?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maestro Output
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/emdgroup-maestro-output/badge)](https://www.skillsdirectory.com/skills/emdgroup-maestro-output)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maestro-output
description: MANDATORY output formatting for the Maestro desktop app. Invoke BEFORE writing any reply — every request, before you answer, report, summarize, compare or explain — not only when you already expect structure, since you cannot judge your answer's shape before reading this. Maestro is not a terminal; it renders canvas dashboards and real UI controls, Mermaid, LaTeX, SVG, SMILES and sortable tables inline, and flat prose throws all of that away. Assume shape until proven otherwise; "show me x", "list the y", "what's the status", "how does this work", "compare a and b" all land as a table, chart, diagram, dashboard or mock. Always invoke for a table, an inventory, items with attributes, more than three numbers, test/build/CI results, a status overview, UI, control flow, architecture, a formula, a layout, a molecule. Users never ask for a chart or a diagram, so invoke on the shape of the answer, not on their wording. Flattening shaped data into prose is the failure this skill exists to prevent.
user-invocable: false
allowed-tools: Bash(echo *) mcp__maestro__*
---

# Rendering output in Maestro

Session check — `MAESTRO_SESSION` is: !`echo "${MAESTRO_SESSION:-unset}"`

`unset` means a plain terminal, not Maestro: none of this renders. Answer in ordinary markdown and
ignore the rest of this file. If the line is blank or still shows a raw `${...}`, the check did not
run — run `echo $MAESTRO_SESSION` yourself before deciding.

Everything below renders on that basis alone. The canvas section has one extra condition, stated
there.

## Choosing a format

Ask "does this answer have shape?", not "did they ask for a chart?" — they almost never will.
Numbers over time, parts of a whole, items with attributes, a process with branches, a comparison:
that is shape, and shape is what these formats are for.

You are meant to arrive here on most turns, before you know the answer's shape. If it turns out to
have none, go straight to plain markdown — see below — and lose nothing. Once you have read this
file it stays in context, so a later turn in the same session needs no second invocation.

| What the answer is                                                     | Reach for                        |
| ---------------------------------------------------------------------- | -------------------------------- |
| Rows the user will filter or page through, or read next to a chart     | canvas (an HTML table)           |
| Numbers that move — over time, across categories, as proportions       | canvas (inline SVG, or a chart)  |
| A mix: totals, a table and a trend answering one question together     | canvas dashboard                 |
| A mock of UI — a control, dialog, form, a screen                       | canvas (real buttons and inputs) |
| Static tabular content — a comparison, an inventory, an attribute grid | GFM table (sortable columns)     |
| Control flow, architecture, state machines, sequences of calls         | ` ```mermaid `                   |
| A formula, complexity bound, derivation                                | `$...$` / `$$...$$` (KaTeX)      |
| A chemical equation                                                    | `\ce{...}` inside KaTeX (mhchem) |
| Something physical or spatial — layout, geometry, a UI arrangement     | ` ```svg `                       |
| A molecule                                                             | ` ```smiles `                    |
| Code                                                                   | fenced block with a language tag |

### A canvas table or a GFM table?

This is the pair that gets confused, and row count is not what separates them — a 40-row GFM
table is fine, and a 3-row canvas table can be right.

Put the table on a canvas when it is **interactive or live**: the user will filter it, page
through it, or read it alongside a chart on the same surface that shares its data, or rows keep
arriving while tool calls run. That interaction is the whole reason to spend the tool calls.

Otherwise use a GFM table. It already sorts on column click, it costs no tool calls, and it stays
readable when the user copies the answer out of Maestro.

### When plain prose is the right answer

Answer in ordinary markdown when the answer is one value or one sentence, when the user asked
_why_ or _how_, or when you are mid-task reporting progress. The test is whether the reader would
scan the answer or read it — scanning wants structure, reading wants sentences.

### Every file you name is a link

When a reply names a file the user may want to open, such as one you wrote, saved, generated or
could not save, write it as a markdown link to an absolute `file://` URI. Do not put it in
backticks. A path in backticks is dead text. A link opens the file: in Maestro's side panel when
it can display the file (text, code, markdown, HTML, images, PDF, audio, video), otherwise in the
system's default application (a spreadsheet opens in Excel).

```markdown
Saved to [AI_Projects_Inventory_PS.xlsx](file:///C:/Users/me/Documents/AI_Projects_Inventory_PS.xlsx).
Report: [q3 summary.md](file:///home/me/project/docs/q3%20summary.md)
```

- The link text is the file name, or the path when the folder matters to the user.
- The URI is absolute. Use forward slashes, three slashes before a Windows drive letter, and `%20`
  for a space. A relative path or a bare `C:\...` target does not open.
- Backticks stay right for code identifiers, and for a path the user types rather than opens,
  such as an argument in a shell command.

## Canvas

**This section, and only this section, needs the `maestro` MCP server in your tool list.** It is
usually there; it can be missing if Maestro could not open its tool gateway. If it is missing, use
a GFM table, Mermaid or SVG instead of a canvas and carry on — every other format in this file
still renders, because they are the markdown renderer rather than tool calls.

A canvas surface is **an HTML document you write** — HTML, CSS and JavaScript — rendered in a
sandboxed frame beside the conversation. Call `canvas_create` with the document, then
`canvas_update` to change it and `canvas_data` to push values into it. They are live: a dashboard
fills in while other tool calls are still running.

They are not only for data. Real `<button>`s and `<input>`s work, so a mock of a dialog or a form
is the working thing rather than a picture of it. Never draw UI as ASCII art or box-drawing
characters.

To collect an actual answer from the user, render the form and then call **`canvas_await`**. That
is what makes the controls answer; it returns what the user did, with every field on the surface
attached, so one form is one round trip.

The tool descriptions carry the rest — themes, ids, assets, charts. Four things bite:

- **Give every meaningful element an `id`.** Controls with an id answer `canvas_await`; elements
  with an id are what the user can annotate and point you at.
- **`theme: "maestro"`** (the default) gives you Tailwind with Maestro's own tokens, so
  `bg-card`, `text-muted-foreground` and `rounded-lg` look like the rest of the app. Use
  `theme: "none"` when mocking up someone else's product.
- **Assets are `https:` URLs or `data:` URIs.** Relative paths do not resolve. Icons are inline
  `<svg>`.
- **Read the tool's result.** Anything the frame failed to load or run comes back on your next
  canvas call for that surface. That is your only signal, because you never see the rendered
  result.

Keep all of that out of your reply: never narrate a canvas tool call, never announce that you are
about to render or that it worked, never paste the arguments or a tool error. The user sees a
rendered surface, not the machinery. If a surface cannot be made to work, drop the canvas and
answer in plain markdown rather than explaining the failure.

## The other formats

These need no tool calls and no protocol — write the fence and Maestro renders it.

- **Mermaid** — ` ```mermaid `, all the usual diagram types (flowchart, sequence, class, state, ER, gantt).
- **LaTeX** — `$...$` inline and `$$...$$` block, KaTeX syntax. `mhchem` is loaded, so `\ce{H2O}`
  and reaction arrows work inside the same delimiters.
- **SVG** — ` ```svg `, for spatial or geometric figures Mermaid cannot express. A raw `<svg>`
  element written straight into the markdown renders too. Either way it gets click-to-zoom.
- **SMILES** — ` ```smiles `, for chemical structures.
- **Tables and code** — GFM tables render with sortable columns; fenced code blocks are syntax
  highlighted from their language tag, so always tag them.

### Smaller things the renderer does

- **Task lists and strikethrough** — `- [ ]`, `- [x]`, `~~text~~`. Better than a bulleted list
  with the word "done" in it.
- **`==highlight==`** renders as `<mark>` — point at the one cell or line that matters.
- **Headings are anchored** — `[jump](#the-heading)` scrolls the panel. Useful in a long report.
- **`file://` links open the file**, in Maestro or the system's default app, never a browser.
  See "Every file you name is a link" above.
- **Images render inline** — `![alt](path)`, project-relative, `file://` or `data:`; proxied and
  zoomable, so a screenshot or generated PNG can go straight in.
- **A ` ```markdown ` fence renders as markdown**, nested fences and all. Use a language-tagged
  fence when you mean "show the source".

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.