Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ToluVictor/canvas-apps-tools --skill canvas-apps-ui-gengit clone --depth 1 https://github.com/ToluVictor/canvas-apps-toolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen)<a href="https://agentmods.dev/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen"><img src="https://agentmods.dev/badge/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen"><img src="https://agentmods.dev/badge/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.06124 |
| Opus 5 | $0.00036 | $0.03062 |
| Sonnet 5 | $0.00014 | $0.01225 |
| Haiku 4.5 | $0.00007 | $0.00612 |
Grade A, and why
canvas-apps-ui-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 431 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Power Apps Canvas App developer and orchestrator. When this skill is invoked, follow the process below exactly.
PHASE 1 — MODE DETECTION
At invocation, determine whether an image is available:
Image available ($ARGUMENTS contains a file path, OR an image is pasted/dragged into the conversation):
- Load the image now (follow Phase 2 exactly)
- Proceed directly to Phase 3 — do NOT ask the mode question
- Mode (Replicate vs Improve) will be determined as part of Phase 3
No image available ($ARGUMENTS is empty or contains only non-path text, and no pasted image):
- Ask the user exactly this and wait for their answer:
"Which mode would you like to work in?
1. Replicate — You have a mockup, wireframe, or design screenshot. I'll replicate it in Power Apps YAML, staying true to the layout, colors, and proportions.
2. Improvement — You have a screenshot of an existing Power Apps screen you want modernized, redesigned, or polished.
3. Build from scratch — No image. Describe what you want and I'll generate YAML from your description."
- Mode 1 or 2 → ask for the image (Phase 2), then proceed to Phase 3
- Mode 3 → skip Phase 2, proceed directly to Phase 3 in text-only mode
PHASE 2 — LOAD THE IMAGE
(Skip this phase entirely if Mode 3 was selected in Phase 1.)
Determine how the image was provided:
Method A — File path in $ARGUMENTS:
If $ARGUMENTS is non-empty and looks like a file path (contains / or \, or ends in .png, .jpg, .jpeg, or .webp), use the Read tool to load it. Treat the entire $ARGUMENTS string as the path — do NOT split on spaces (paths may contain spaces like C:\Users\My Documents\screen.png).
If the file cannot be read, tell the user: "I couldn't load the file at [path]. Please check the path is correct and the file is a PNG, JPG, or WEBP — or paste the image directly into the chat." Then stop.
Method B — Image in conversation:
If $ARGUMENTS is empty (or contains only non-path text), look for an image pasted or dragged into the current conversation. If no image is found, ask: "Please paste your image into the chat (a Canvas app screenshot, a UI mockup, a wireframe, or any design you want to turn into YAML), or provide a file path as an argument: /canvas-apps-ui-gen C:\path\to\image.png"
What ships with it
22 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/assembly-agent.md 15 KB
- agents/controls-agent.md 12 KB
- agents/layout-sizing-agent.md 20 KB
- agents/qa-agent.md 8.3 KB
- agents/styling-agent.md 11 KB
- reference/canvas-apps-limitations.md 16 KB
- reference/controls-index.md 8.2 KB
- reference/controls-reference.md 46 KB
- reference/design-spec-formats.md 8.9 KB
- reference/pa-yaml-rules.md 96 KB
- reference/sizing-reference.md 17 KB
- templates/card-template-1.yaml 9.5 KB
- templates/card-template-2.yaml 12 KB
- templates/card-template-3.yaml 12 KB
- templates/custom-button.yaml 8.9 KB
- templates/data-table.yaml 17 KB
- templates/form-template-1.yaml 17 KB
- templates/kpi-cards.yaml 10 KB
- templates/screen-table-template-1.yaml 35 KB
- templates/sidebar-collapsible.yaml 23 KB
- templates/tab-bar.yaml 5.0 KB
- templates/table-template-1.yaml 27 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 431 lines · 71 tokens per session scan A ce540a6d04c0
canvas-apps-ui-gen is a skill published in the GitHub repository ToluVictor/canvas-apps-tools (137 stars, last pushed 4mo ago), licensed MIT. It adds 71 tokens to every session and 6,124 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
canvas-app
Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles new app generation, direct targeted edits, complex multi-screen changes, responsive layout, per-screen self-QA, and compile-error convergence. Trigger on requests to create, build, generate, modify, update, change…
create-mobile-app
Use when the user wants to start a new Power Apps mobile app (Expo / React Native / TypeScript, targeting iOS and Android) from scratch.
app-builder
(Preview) Builds and edits a model-driven Power Apps app from a natural-language intent — tables, columns, relationships, adaptive forms with sub-grids, views, Choice-column charts, business rules, business process flows, generative page intents for overview/dashboard surfaces (page .tsx generated in generate-pages…
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
genpage
Creates, updates, and deploys Power Apps generative pages for model-driven apps using React v17, TypeScript, and Fluent UI V9. Orchestrates specialist agents for planning, entity creation, and code generation. Use it when user asks to build, retrieve, or update a page in an existing Microsoft Power Apps model-driven…
design-system
Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts, and an HTML gallery.