canvas-apps-ui-gen

canvas-apps-ui-gen is a skill for Claude Code from ToluVictor/canvas-apps-tools. It costs 71 tokens per session (6,124 once invoked), scanned A, original, MIT.

A skill that generates ready-to-paste YAML for Power Apps Canvas Apps, Microsoft's visual app-building environment. It can work from a screenshot, mockup, wireframe, or written description.

In plain words
What is it for?
It is for recreating app screens, modernising existing Canvas App interfaces, and generating new screen layouts in Power Apps YAML.
Why use it?
It gives a defined process for choosing between copying a design, improving an existing screen, or building a screen from a description.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the canvas-apps-tools plugin — 1 skill shipped together

Good fit It is for recreating app screens, modernising existing Canvas App interfaces, and generating new screen layouts in Power Apps YAML.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen
Install

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.

Any agent
npx skills add ToluVictor/canvas-apps-tools --skill canvas-apps-ui-gen
Clone the repo
git clone --depth 1 https://github.com/ToluVictor/canvas-apps-tools

Made for: Claude Code.

Or install canvas-apps-tools, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for canvas-apps-ui-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen/github.svg)](https://agentmods.dev/skills/toluvictor/canvas-apps-tools/canvas-apps-ui-gen)
Your own site
<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.

agentmods 80×15 button for canvas-apps-ui-gen

Your own site · 80×15
<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>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash ce540a6d04c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

skills/canvas-apps-ui-gen/SKILL.md · 431 lines

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"

Read the full file on GitHub · 431 lines

Changes

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.

  1. 12d ago First seen · 431 lines · 71 tokens per session scan A ce540a6d04c0

Subscribe to this mod's changes

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.

Related

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…

microsoft/power-platform-skills · 79 tokens

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.

microsoft/power-platform-skills · 35 tokens

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…

microsoft/power-platform-skills · 224 tokens

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…

microsoft/power-platform-skills · 73 tokens

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…

microsoft/power-platform-skills · 140 tokens

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.

microsoft/power-platform-skills · 34 tokens