edit-offline-profile
Internal mobile-app workflow read and executed only by mobile orchestrators to change one table's scope, columns, or sync settings in a Mobile Offline Profile.
Install / Use
npx skills add microsoft/power-platform-skills --skill edit-offline-profileInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of edit-offline-profile
edit-offline-profile scores 91/100 on our quality scale, 1066th of 2,843 Automation skills we index (top 38%).
Its SKILL.md is 7.5 KB long, well organised into 11 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
It has 919 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 9 days ago, so edit-offline-profile is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
edit-offline-profile compared with similar skills
All 4 of these similar skills score higher than edit-offline-profile; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| edit-offline-profile (this skill)by microsoft | 91 | 919 | 9d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 89.8k | 18d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.5k | today | MCP Server |
| crawl4aiby unclecode | 100 | 84.7k | 8d ago | MCP Server |
Frequently asked questions
- How do I install edit-offline-profile?
- Run
npx skills add microsoft/power-platform-skills --skill edit-offline-profile. The install tabs above show the steps for each supported agent. - Which AI agents does edit-offline-profile work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is edit-offline-profile safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is edit-offline-profile still maintained?
- The repository was last updated 9 days ago, so edit-offline-profile is actively maintained.
Skill content
View source on GitHubname: edit-offline-profile description: Internal mobile-app workflow read and executed only by mobile orchestrators to change one table's scope, columns, or sync settings in a Mobile Offline Profile. user-invocable: false disable-model-invocation: true allowed-tools: Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion model: sonnet
Shared instructions: shared-instructions.md — read first.
References:
- dataverse-offline-api.md §4 / §7 — POST item + PATCH selectedcolumns
- offline-profile-reconciliation.md — refreshing the
schemaColumnsbaseline after a column edit
Edit Offline Profile
Re-run a single piece of an existing profile — change one table's row scope, update the column list, adjust sync frequency, or rename the profile. Avoids the cognitive cost of walking the full /setup-offline-profile wizard for a one-line change.
Scope: existing profile (read from offline-profile.json or --profile-id); edits at the table-item granularity. To ADD a new table see /add-table-to-offline-profile; to delete the entire profile see dataverse-offline-api.md §11.
Workflow
- Verify project + locate profile → 2. Resolve target (which table / what to change) → 3. Show current vs proposed → Single confirm → 4. PATCH → 5. Publish → 6. Update artifacts → 7. Summary
Step 1 — Verify project + locate profile
test -f power.config.json
node "${PLUGIN_ROOT}/scripts/resolve-environment.js" "$(node -e \"console.log(require('./power.config.json').environmentId)\")"
Profile ID resolution (same priority as /assign-offline-profile Step 1):
| Source | Used when |
|---|---|
| $ARGUMENTS --profile-id <guid> | Explicit override |
| offline-profile.json top-level profileId in cwd | Default for /setup-offline-profile-created projects |
| Otherwise | AskUserQuestion with list from GET /mobileofflineprofiles |
STOP if no profile found: "Run /setup-offline-profile first."
power.config.jsonis intentionally NOT consulted here. That file is owned bynpx power-apps init. The profile ID lives inoffline-profile.jsononly.
Step 2 — Resolve target (what to edit)
Parse $ARGUMENTS:
| Flag pattern | Effect |
|---|---|
| --rename <new-name> | Update profile name |
| --describe <text> | Update profile description |
| --table <logical-name> --scope <0\|1\|2> | Change one table's recorddistributioncriteria. Combine with --me, --team, --bu to set sub-flags when scope=2. |
| --table <logical-name> --sync <minutes> | Change one table's syncintervalinminutes (range 5–1440) |
| --table <logical-name> --columns add:col1,col2 remove:col3 | Add or remove logical names from selectedcolumns. Comma-separated, both add/remove optional. |
| --table <logical-name> --columns reset | Replace selectedcolumns with union of always-include + manifest lookups + screen-grep'd (re-runs the architect's Step 6 union for this table) |
If no flags → interactive picker. AskUserQuestion with up-to-4 most likely edits:
- "Rename profile"
- "Change a table's scope" → next message asks which table
- "Change a table's sync frequency" → next message asks which table + value
- "Edit a table's column list" → next message asks which table + add/remove
Step 3 — Show current vs proposed (single gate)
GET the current item state from Dataverse for any tables being edited:
node "${PLUGIN_ROOT}/scripts/dataverse-request.js" <envUrl> GET \
"mobileofflineprofileitems(<itemId>)?\$select=name,recorddistributioncriteria,recordsownedbyme,recordsownedbymyteam,recordsownedbymybusinessunit,syncintervalinminutes,selectedcolumns"
Render a current/proposed diff:
Profile : <name> (<id>)
Editing : <table-logical-name> item
Current → Proposed
Scope : Org+me → All records
Sync (min) : 10 → 30
Columns : 14 → 16 (add: chnl_notes, chnl_actual_visit_date)
AskUserQuestion: "Apply this change? [Apply / Cancel]"
If Apply → continue. If Cancel → STOP.
Step 4 — PATCH
Build the PATCH body with only the fields that changed:
node "${PLUGIN_ROOT}/scripts/dataverse-request.js" <envUrl> PATCH \
"mobileofflineprofileitems(<itemId>)" \
--body '{
"recorddistributioncriteria": <new>,
"recordsownedbyme": <new-bool>,
"syncintervalinminutes": <new>,
"selectedcolumns": "{\"Columns\":[...]}"
}'
For profile-level edits (name / description):
node "${PLUGIN_ROOT}/scripts/dataverse-request.js" <envUrl> PATCH \
"mobileofflineprofiles(<profileId>)" \
--body '{"name": "...", "description": "..."}'
Step 5 — Publish
Use the targeted PublishXml recipe from shared/references/dataverse-offline-api.md §9:
node "${PLUGIN_ROOT}/scripts/dataverse-request.js" <envUrl> POST \
"PublishXml" --body '{
"ParameterXml": "<publish><mobileofflineprofiles><mobileofflineprofile>'"$PROFILE_ID"'</mobileofflineprofile></mobileofflineprofiles></publish>"
}'
Publishes only this profile, not the entire org's customizations. Avoids the 429 rate-limit storms on shared envs that the legacy PublishAllXml triggered.
On 400 / 0x80071141 "circular relationship" — same handling as /setup-offline-profile Step 8 (parse cycle path, prompt user to drop one association, retry). Fallback to PublishAllXml only if PublishXml returns an unexpected error other than the cycle case.
Step 6 — Update artifacts
Re-read the changed item(s) and rewrite the matching entry in offline-profile.json. When the edit changed a table's columns (--columns add:/remove:/reset), also refresh that table entry's schemaColumns to the table's current full column set from .datamodel-manifest.json (root or docs/plan-artifacts/). This re-baselines the schema-reconciliation marker so a delta that was just reconciled clears on the next scripts/offline-profile-delta.js run; leave schemaColumns untouched for scope/sync/rename-only edits. See offline-profile-reconciliation.md.
Append a one-line entry to memory-bank.md ## Offline profile block:
edits:
- { at: 2026-05-19T..., field: 'chnl_storevisit.syncintervalinminutes', from: 5, to: 10 }
Step 7 — Summary
✓ Edited profile.
Field : chnl_storevisit.syncintervalinminutes
From : 5 min
To : 10 min
Published: 2026-05-19T...
offline-profile.json + memory-bank.md updated.
Status code (final line)
DONE— change applied and publishedDONE_WITH_CONCERNS: <list>— change applied but with caveats (publish timeout-then-success, etc.)NEEDS_CONTEXT: <missing>— couldn't resolve target table or profileBLOCKED: <reason>— auth or PATCH failure
What this skill does NOT do
- Add a NEW table to the profile → use
/add-table-to-offline-profile - Add a new association (relationship inclusion) → blocked on v0.2
selectedrelationshipsschemawork; use maker portal in the meantime - Delete the whole profile → manual
DELETE /mobileofflineprofiles(<id>)(cascade-deletes items + associations); see dataverse-offline-api.md §11 - Migrate the profile between environments → use
CloneMobileOfflineProfileaction (v0.5 work)
Related Skills
Agent-Reach
89.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
85.5k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
84.7kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
