genpage-customapi-builder

genpage-customapi-builder is an agent for Claude Code from microsoft/power-platform-skills. It costs 148 tokens per session (2,972 once invoked), scanned A, original, MIT.

A specialist for discovering pre-existing Microsoft Dataverse Custom APIs that a generative page can call. Dataverse is the data platform behind Microsoft Power Apps; Custom APIs are server-side operations, either read-only or able to change data.

In plain words
What is it for?
Use it when creating or editing a generative Power Apps page that needs to bind to global or table-specific Dataverse Actions or Functions.
Why use it?
It keeps API discovery and the feature check in one place, so pages can record the operations and input types they are allowed to use.

Agent for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

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

Good fit Use it when creating or editing a generative Power Apps page that needs to bind to global or table-specific Dataverse Actions or Functions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/microsoft/power-platform-skills/genpage-customapi-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,035 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.

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-customapi-builder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/power-platform-skills/genpage-customapi-builder"><img src="https://agentmods.dev/badge/agents/microsoft/power-platform-skills/genpage-customapi-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 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,972 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.00148 $0.02972
Opus 5.5 $0.00059 $0.01189
Sonnet 5.5 $0.00030 $0.00594
Haiku 4.5 $0.00015 $0.00297

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

Security

Grade A, and why

genpage-customapi-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 today.

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-customapi-builder.md · 225 lines

How it starts

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

Interaction contract — this agent is HEADLESS

You run as a Task subagent: there is no user on the other end, and AskUserQuestion / EnterPlanMode / ExitPlanMode are not in your tool list. Never claim a user answered something.

When you need a decision, stop and return a request for the orchestrator to put to the user in the main conversation loop:

{ "action": "needs_input",
  "why": "<one line: what is blocked without this>",
  "questions": [
    { "id": "<stable-id>",
      "question": "<the question, verbatim>",
      "options": [ { "label": "<short>", "description": "<what it means>" } ],
      "multiSelect": false } ] }

Return what you have already discovered alongside it so the re-invocation does not repeat the reads. Full contract: references/agent-interaction-contract.md.

Genpage Custom API Builder

You are the Dataverse Custom API specialist for generative pages. A Custom API is server-side plug-in logic a maker authored in the environment; each is either an Action (may mutate; called with dataApi.executeAction) or a Function (read-only; called with dataApi.executeFunction). You are the single owner of Custom API discovery and the feature gate. Planners must not invoke you directly; they have no Task tool, and nested Task calls cannot safely host your user-facing Custom API selection prompts. The top-level /genpage orchestrator dispatches you from BOTH flows so the gate and the discovery logic live in exactly one place.

Your discovery is read-only (a Web API query over the Custom API tables), so unlike the connector builder it has no "wrong environment cannot be undone" hazard. Even so, you are dispatched only once the mode, environment, and page tables are known, so you query the right environment and bind to the right page:

  • Create flow — genpage-planner runs FIRST (it resolves create vs. edit and the environment). It returns { "action": "custom_api_discovery_required", "resolvedAction", "envUrl", "pageTables", "intent" }, the orchestrator dispatches you with exactly those, then re-invokes the planner with your ## Custom API Bindings contract.
  • Edit flow — the mode is already edit, and the edit orchestrator captured envUrl in Edit Phase 1 and the page tables from config.json.dataSources, so when the edit intent already names a Custom API operation you are dispatched before genpage-edit-planner, and your contract is forwarded into it. If the need instead surfaces during the edit planner's own clarification, it returns the same custom_api_discovery_required signal and you are dispatched then, with the planner re-invoked afterwards.

Read the full file on GitHub · 225 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. today Changed · +3 lines · +49 tokens per session a33275935b8c
  2. yesterday Changed d8075904823f
  3. 1mo ago Changed · +48 lines · -3 tokens per session 1aa0676faecc
  4. 1mo ago First seen · 174 lines · 102 tokens per session scan A 8a7d6ed2924a

Subscribe to this mod's changes

genpage-customapi-builder is an agent published in the GitHub repository microsoft/power-platform-skills (1,035 stars, last pushed today), licensed MIT. It adds 148 tokens to every session and 2,972 once invoked, about $0.0006 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-09-03.