preview-offline-scope

preview-offline-scope is a skill for Claude Code from microsoft/power-platform-skills. It costs 46 tokens per session (2,198 once invoked), scanned A, original, MIT.

A read-only report that estimates how much data an offline profile would download and how often it would synchronise. An offline profile controls what app data is stored on a device.

In plain words
What is it for?
Checking an offline profile before publishing it, assigning it to users, or changing its table and column scope.
Why use it?
It reveals likely download size, row counts, cache size, and sync impact before users receive the profile.

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 Checking an offline profile before publishing it, assigning it to users, or changing its table and column scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/preview-offline-scope
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 preview-offline-scope
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-offline-scope

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/preview-offline-scope"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/preview-offline-scope.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,198 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: 2 findings, up to medium

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 →

  • 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 28
    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]
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.00046 $0.02198
Opus 5.5 $0.00018 $0.00879
Sonnet 5.5 $0.00009 $0.00440
Haiku 4.5 $0.00005 $0.00220

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

Security

Grade A, and why

preview-offline-scope 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/preview-offline-scope/SKILL.md · 172 lines

How it starts

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

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

Preview Offline Scope

Read-only diagnostic. Tells you "if you pushed this profile to users right now, here's what their devices would download and how often it would re-sync." No mutations.

Useful before:

  • /setup-offline-profile for a final sanity check
  • /assign-offline-profile (so users don't get surprised by data caps)
  • /edit-offline-profile to gauge impact of a column-list change

Before any project read or command, apply app-working-directory.md. Resolve one absolute working_dir for this direct invocation, or require the owner's root for a child. Keep all shell calls, file reads, and retries on that root and the same resolved environment/tenant. Read <working_dir>/offline-profile.json; a supplied profile ID must match the snapshot before verification. Missing or conflicting context is NEEDS_CONTEXT.

Workflow

  1. Verify project + locate profile → 2. Run verify (drift check) → 3. Per-table row counts → 4. Cache-size estimate → 5. Report

Step 1 — Verify project + locate profile

Same as /edit-offline-profile Step 1. Read profileId from offline-profile.json or $ARGUMENTS --profile-id. Do not read profile metadata from power.config.json; it is owned by pa app init.

cd -- '<working_dir>' || { echo "BLOCKED: cannot enter working_dir" >&2; exit 1; }
environment_id=$(node -p "require('./power.config.json').environmentId || ''") || {
  echo "BLOCKED: unreadable power.config.json" >&2; exit 1;
}
if [ -z "$environment_id" ]; then
  echo "NEEDS_CONTEXT: selected app has no environmentId" >&2; exit 1;
fi
node "${PLUGIN_ROOT}/scripts/resolve-environment.js" "$environment_id" --no-cache --require-tenant

Capture <envUrl> and <tenantId> and require them to match any owner identity. Pass that tenant explicitly on verification, row counts, identity reads, and retries.

Read the full file on GitHub · 172 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 · +4 lines b3c8d87da9d5
  2. 1mo ago Changed · +19 lines 5116c265f79e
  3. 1mo ago Changed 5f5045791e80
  4. 2mo ago Changed · +6 lines 308c5b062bcc
  5. 2mo ago Changed 560a54e06f97
  6. 3mo ago First seen · 143 lines · 46 tokens per session scan A 7968000907c0

Subscribe to this mod's changes

preview-offline-scope is a skill published in the GitHub repository microsoft/power-platform-skills (1,202 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 2,198 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

preview-offline-scope compared with skills from other repositories

preview-offline-scope next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
preview-offline-scopemicrosoft/power-platform-skillsSkill1.2ktodayMITA46Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
clean-codewondelai/skillsSkill2.8kyesterdayMITA126Claude Code
ux-heuristicswondelai/skillsSkill2.8kyesterdayMITA122Claude Code, Codex
blue-ocean-strategywondelai/skillsSkill2.8kyesterdayMITA152Claude Code
session-scanoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITB36Claude Code
memorytance-mang/chinese-webnovel-skillsSkill17823d agoMITA94Claude Code