preview-screen-builder

preview-screen-builder is an agent for Claude Code from microsoft/power-platform-skills. It costs 43 tokens per session (2,484 once invoked), scanned A, original, MIT.

A build agent that creates one sample-data screen for a Power Apps mobile app. It follows an approved screen plan and writes the screen into the app project.

In plain words
What is it for?
Use it to build individual preview screens, connect them to sample data, and check that each screen works before the rest of the app is completed.
Why use it?
It gives users a working preview quickly without trying to finish every screen or the full production design first.

Agent for Claude Code ✓ vendor

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Part of the mobile-app plugin — 24 skills, 7 agents shipped together

Good fit Use it to build individual preview screens, connect them to sample data, and check that each screen works before the rest of the app is completed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/microsoft/power-platform-skills/preview-screen-builder
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,201 stars · on GitHub · microsoft.github.io

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.

Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills

Made for: Claude Code.

Or install mobile-app, the plugin that ships this one along with the rest of its 24 skills, 7 agents.

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 preview-screen-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/power-platform-skills/preview-screen-builder/github.svg)](https://agentmods.dev/agents/microsoft/power-platform-skills/preview-screen-builder)
Your own site
<a href="https://agentmods.dev/agents/microsoft/power-platform-skills/preview-screen-builder"><img src="https://agentmods.dev/badge/agents/microsoft/power-platform-skills/preview-screen-builder/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 preview-screen-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/power-platform-skills/preview-screen-builder"><img src="https://agentmods.dev/badge/agents/microsoft/power-platform-skills/preview-screen-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,484 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.00043 $0.02484
Opus 5.5 $0.00017 $0.00994
Sonnet 5.5 $0.00009 $0.00497
Haiku 4.5 $0.00004 $0.00248

Measured 9d ago against content hash 07fd07cdd408, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preview-screen-builder 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 9d 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.

plugins/mobile-apps/agents/preview-screen-builder.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preview Screen Builder

You write one screen of a Power Apps mobile app, fast, so the user can try it in the build plan's phone minutes after approving the screen graph. Speed is the point: read once, write the file once, check it once. The screen runs on sample data now; after the user approves the preview, screen-builder brings every screen to its full design and accessibility checklist, so here you build a correct, honest screen rather than a polished one.

Inputs

The prompt gives you working_dir, screen_name, route, target_file (absolute), screens_file (<working_dir>/.tmp/screens.json, the approved screen graph), done_file, and plugin_root, the plugin's install directory: ${PLUGIN_ROOT} below means that path.

Steps

  1. Read, in one message. Every read below is independent; send them together.

    • screens_file: your row in list (match file to target_file), the params of every route your row opens, conventions, and contract.
    • <working_dir>/src/components/index.tsx, for the shared components and their props.
    • The sample for your archetype, for Tamagui and import idioms only: ${PLUGIN_ROOT}/shared/samples/screen-list.tsx (List, Dashboard), screen-detail.tsx (Detail, Settings), or screen-form.tsx (Form).
    • <working_dir>/tamagui.config.ts, for any custom tokens.
    • <working_dir>/src/hooks/data/index.ts, if it exists yet.

    These reads are the complete set: Data below gives every hook's shape, so core.ts, the hook sources, and the AGENTS.md files stay closed. Done when you know every name your screen imports and every param it receives and sends.

  2. Write the screen to target_file in one Write, replacing the whole file: it holds a // PREVIEW PLACEHOLDER until you do. Lay it out from your row's layout, purpose, and the shared conventions, with the domain's real labels and fields.

  3. Check it with one command, and fix every error it reports in your file:

    cd -- '<working_dir>' || exit 1
    # The orchestrator writes src/hooks/data/ while you build; index.ts lands with it.
    for i in $(seq 1 90); do [ -f src/hooks/data/index.ts ] && break; sleep 2; done
    npx --no-install tsc --noEmit 2>&1 | grep -F '<target_file relative to working_dir>'
    node "${PLUGIN_ROOT}/scripts/check-data-layer.js" --project-root '<working_dir>' 2>&1 | grep -F '<target_file relative to working_dir>'
    node "${PLUGIN_ROOT}/scripts/validate-mobile-files.js" --project-root '<working_dir>' --file '<target_file>'
    

Read the full file on GitHub · 113 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. 9d ago First seen · 113 lines · 43 tokens per session scan A 07fd07cdd408

Subscribe to this mod's changes

preview-screen-builder is an agent published in the GitHub repository microsoft/power-platform-skills (1,201 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,484 once invoked, about $0.0002 per session on Opus 5.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-11-21.

Related

preview-screen-builder compared with agents from other repositories

preview-screen-builder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
preview-screen-buildermicrosoft/power-platform-skillsAgent1.2ktodayMITA43Claude Code
plan-creation-eng-leadQBall-Inc/the-bulwarkAgent9yesterdayMITA48Claude Code
product-ideation-segment-analyzerQBall-Inc/the-bulwarkAgent9yesterdayMITA63Claude Code
skill-eval-graderQBall-Inc/the-bulwarkAgent9yesterdayMITA53Claude Code
self-review-applierHoussemDjeghri/self-reviewAgent120d agoMITA86Claude Code
nylo-v6-to-v7-migratornylo-core/claude-codeAgent47mo agoMITA316Claude Code
mobile-specialistYassinello/claude-plugin-prd-workflowAgent131y agoMITA18Claude Code