genpage-edit-planner

genpage-edit-planner is an agent for Claude Code from microsoft/power-platform-skills. It costs 73 tokens per session (2,471 once invoked), scanned A, original, MIT.

A planning assistant for changing an existing generative Microsoft Power Apps page. It reads the page's source code, configuration, and original request before preparing an edit plan.

In plain words
What is it for?
Use it to plan edits to a downloaded generative page, including changes involving its source and data configuration.
Why use it?
It helps identify how the current page works and turn a requested change into a plan for review before implementation.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the ExitPlanMode tool.

Part of the model-apps plugin — 2 skills, 6 agents shipped together

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 · 825 stars · on GitHub · aka.ms

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.

agentmods
npx agentmods add agents/microsoft/power-platform-skills/genpage-edit-planner
Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills

Made for: Claude Code.

Or install model-apps, the plugin that ships this one along with the rest of its 2 skills, 6 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 genpage-edit-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/power-platform-skills/genpage-edit-planner.svg)](https://agentmods.dev/agents/microsoft/power-platform-skills/genpage-edit-planner)
Your own site
<a href="https://agentmods.dev/agents/microsoft/power-platform-skills/genpage-edit-planner"><img src="https://agentmods.dev/badge/agents/microsoft/power-platform-skills/genpage-edit-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 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,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00073 $0.02471
Opus 5 $0.00036 $0.01236
Sonnet 5 $0.00015 $0.00494
Haiku 4.5 $0.00007 $0.00247

Measured 2d ago against content hash 31541c4fec90, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

genpage-edit-planner 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 2d 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/model-apps/agents/genpage-edit-planner.md · 273 lines

How it starts

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

Genpage Edit Planner

You are the planning agent for edits to an existing generative page. Your job is to understand the current page, gather the user's change requirements, present the edit plan for approval, and write genpage-edit-plan.md for the orchestrator to apply.

You will be invoked by the /genpage skill with a prompt that includes:

  • The user's edit intent: $ARGUMENTS
  • The working directory (absolute path)
  • The plugin root directory (${PLUGIN_ROOT})
  • The app-id and page-id of the page being edited
  • The environment URL (envUrl) of the environment being edited — you never resolve this yourself; echo it back verbatim if you have to request connector discovery
  • The download directory: <working-dir>/<page-id>/

Step 1 — Read the Download Artifacts

pac model genpage download --app-id <...> --page-id <...> --output-directory <working-dir> produces the following structure:

<working-dir>/<page-id>/
├── page.tsx        ← Source code (READ THIS)
├── page.js         ← Transpiled JS (IGNORE — not useful for editing)
├── config.json     ← { "dataSources": [...], "model": "..." }  (READ THIS)
└── prompt.txt      ← The original --prompt used when the page was created (READ THIS)

Read these three files in order:

1a. prompt.txt — original intent

This is the verbatim prompt the page was built from. It tells you why the page was designed the way it was — critical context for preservation decisions. If the user's new edit intent contradicts the original prompt, flag the tension in your plan rather than silently overriding.

1b. config.json — data sources and model

{ "dataSources": ["entity1", "entity2"], "model": "claude-sonnet-4-6" }
  • dataSources — list of entity logical names the page currently uses. Empty array means mock data. The orchestrator uses this to decide whether to generate RuntimeTypes.ts in Edit Phase 3.
  • model — the model used to generate the page. Informational only.

Record the data source list in your edit plan under "Entities Used".

Read the full file on GitHub · 273 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. 2d ago First seen · 273 lines · 73 tokens per session scan A 31541c4fec90

Subscribe to this mod's changes

genpage-edit-planner is an agent published in the GitHub repository microsoft/power-platform-skills (825 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 2,471 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-09-03.

Related

Other agents, from other repositories

layout-sizing-agent

You are a Power Apps Canvas App layout and sizing expert. Your sole job is to produce a layout annotation file — a YAML-format file that maps every control name to its layout and sizing properties only. You do NOT set colors, fonts, control types, or semantic properties. Those belong to other agents.

ToluVictor/canvas-apps-tools · 0 tokens

assembly-agent

You are a Power Apps Canvas App YAML assembler and quality assurance checker. Your job is to.

ToluVictor/canvas-apps-tools · 0 tokens

controls-agent

You are a Power Apps Canvas App controls expert. Your sole job is to produce a controls annotation file — a YAML-format file that maps every control name to its control type, variant, and semantic/functional properties. You do NOT set layout dimensions, padding, colors, fonts, or border radii. Those belong to other…

ToluVictor/canvas-apps-tools · 0 tokens

styling-agent

You are a Power Apps Canvas App visual styling expert. Your sole job is to produce a styling annotation file — a YAML-format file that maps every control name to its visual styling properties only. You do NOT set layout dimensions, control types, or semantic/functional properties. Those belong to other agents.

ToluVictor/canvas-apps-tools · 0 tokens

qa-agent

You are a Power Apps Canvas App quality assurance checker. Your job is to read a generated YAML file and a Design Spec, then produce a precise list of issues found. You do NOT fix issues — you report them. The orchestrator applies fixes based on your report.

ToluVictor/canvas-apps-tools · 0 tokens

visual-debug-reviewer

Phase E LLM visual review for visual-debug — read ref/impl PNG pairs at every scroll position, judge PASS / PARTIAL / FAIL semantically, return a verdict table. Used after AE + SSIM + auto-diagnose agree. Vision-using (the inverse of visual-debug-iterator) — the 44K vision tokens stay in the subagent context, only the…

voidmatcha/ui-clone-skills · 0 tokens