setup-offline-profile

setup-offline-profile is a skill for Claude Code from microsoft/power-platform-skills. It costs 52 tokens per session (10,982 once invoked), scanned A, original, MIT.

A setup workflow for creating a Mobile Offline Profile in Microsoft Dataverse, Microsoft's cloud data service used by Power Apps. The profile specifies which tables, rows, relationships, and columns a mobile app can download for offline use.

In plain words
What is it for?
It creates the profile records for an app's offline tables and writes the related configuration to offline-profile.json. It does not add offline storage or a sync engine to the app.
Why use it?
It turns offline data requirements into a saved Dataverse profile and app configuration. It also makes the selected data scope and sync frequency explicit.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

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

Good fit It creates the profile records for an app's offline tables and writes the related configuration to offline-profile.json. It does not add offline storage or a sync engine to the app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/setup-offline-profile
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,202 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.

Any agent
npx skills add microsoft/power-platform-skills --skill setup-offline-profile
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 setup-offline-profile

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/setup-offline-profile"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/setup-offline-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,982 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 113
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • high Tool Misuse · line 113
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 6
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 535
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 630
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 689
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Agent Snooping · line 329
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00052 $0.10982
Opus 5.5 $0.00021 $0.04393
Sonnet 5.5 $0.00010 $0.02196
Haiku 4.5 $0.00005 $0.01098

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

Security

Grade A, and why

setup-offline-profile 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 5d 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/skills/setup-offline-profile/SKILL.md · 829 lines

How it starts

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

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

Shared instructions: shared-instructions.md — read first.

References:

Setup Offline Profile

End-to-end wizard for creating a Dataverse Mobile Offline Profile that the app (and any other compatible Power Apps client) can use to download data for offline access.

Scope of v0: configuration only. This skill creates records in the existing Dataverse Mobile Offline Profile tables (mobileofflineprofile, mobileofflineprofileitem, mobileofflineprofileitemassociation) and writes the full app-level offline config — profile metadata, per-table scope, and the temporary SDK-workaround fields — to offline-profile.json. This skill does NOT modify power.config.json (that file is owned by pa app init and its schema is controlled upstream). The template already bundles @microsoft/power-apps-native-offline; @microsoft/power-apps-native-host consumes the profile and owns local SQLite access, queued synchronization, reconnect behavior, and status UX. This skill does not scaffold duplicate app-owned offline runtime code.

Out of scope for v0:

  • Custom filter mode (recorddistributioncriteria=3, savedquery picker) — defer to v0.5
  • User/team membership assignment — split into /assign-offline-profile
  • Row-count download estimation — split into /preview-offline-scope

App-root binding

Before entering the wizard, and before any project read or command, execute app-working-directory.md. Resolve one absolute working_dir: inherit a child invocation's owner root or use the direct invocation's explicit --working-dir/initial cwd per that contract. Missing or conflicting child context returns NEEDS_CONTEXT, never a launch-cwd fallback. Bind every shell call and file tool, including references and retries, to this root; file tools use absolute <working_dir>/... paths.

Read the full file on GitHub · 829 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. 5d ago Changed · +9 lines 91f0151fa8bb
  2. 1mo ago Changed · +86 lines fa5eae7d3498
  3. 1mo ago Changed c2b33fd7716b
  4. 2mo ago Changed · +2 lines 64be694b3ce1
  5. 2mo ago Changed · +11 lines a378d66ebc24
  6. 2mo ago Changed · +20 lines 5f4acac9e2e0
  7. 2mo ago Changed ffa624311a05
  8. 3mo ago First seen · 701 lines · 52 tokens per session scan A 618e93025135

Subscribe to this mod's changes

setup-offline-profile is a skill published in the GitHub repository microsoft/power-platform-skills (1,202 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 10,982 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-08-30.

Related

setup-offline-profile compared with skills from other repositories

setup-offline-profile next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-offline-profilemicrosoft/power-platform-skillsSkill1.2ktodayMITA52Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
ios-hig-designwondelai/skillsSkill2.8ktodayMITA145Claude Code
mobile-releaseavelikiy/great_ctoSkill11714d agoMITA131Claude Code
fec-pwa-implementationbovinphang/frontend-craftSkill2414d agoMITA87Claude Code
validate-mobilejohnkozaris/jko-claude-pluginsSkill1125d agoMITA20Claude Code
swiftui-expertjohnkozaris/jko-claude-pluginsSkill1125d agoMITA133Claude Code