Official agent skill

Add Connector

by microsoft in microsoft/power-platform-skills

A skill your agent uses when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.

OfficialMITAuto-check: notesMobile

Install Add Connector

skills CLI
$ npx skills add microsoft/power-platform-skills --skill add-connector -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/power-platform-skills add-connector --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/mobile-apps/skills/add-connector .claude/skills/add-connector && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-connector
GitHub stars
972
Token cost
~2.9k tokens
SKILL.md length
1,161 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.

  • Works in 6 steps: Check Memory Bank → Identify Connector → Add Connector → …
  • Adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists
  • SKILL.md covers Workflow, Remove a data source or flow, Runtime connector handling and Notes
  • Calls npm, npx and node; reaches make.powerapps.com

What it does

Add Connector is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps. It works with Power Automate, Microsoft SharePoint, Microsoft Excel and Microsoft OneDrive. The repository describes itself as: A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and… The licence is MIT.

When your agent uses it

  • Adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists
  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/add-connector”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion, Skill

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Check Memory Bank
  2. Identify Connector
  3. Add Connector
  4. Inspect & Configure
  5. Build
  6. Update Memory Bank

What it can do on your machine

Read from SKILL.md and the folder at commit 0d044b8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Write
    • Grep
    • Glob
    • Bash
    • AskUserQuestion
    • Skill

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • make.powerapps.com

    Also links to:

    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Connector loads about 2.9k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 1,161 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion, Skill

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/power-platform-skills at commit 0d044b8, republished under its MIT licence (© microsoft). 1,161 words, ~2,878 tokens.

Download SKILL.mdSave it as .claude/skills/add-connector/SKILL.md (or your agent's skills folder).
name
add-connector
description
Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.
allowed-tools
Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion, Skill
user-invocable
true
model
sonnet

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 | Connector reference: connector-reference.md — read both first.

Add Connector (Generic)

Fallback skill for any connector not covered by a dedicated /add-* skill. For common connectors, prefer the dedicated skills:

  • /add-dataverse — Dataverse tables
  • /add-sharepoint — SharePoint Online

(More dedicated skills will land in v1: /add-teams, /add-excel, /add-onedrive, /add-azuredevops, /add-office365.)

The native host runtime (@microsoft/power-apps-native-host) handles connector routing, connection resolution, and OAuth consent through PowerAppsProvider in app/_layout.tsx — no separate executor wiring is needed.

Workflow

  1. Check Memory Bank → 2. Identify Connector → 3. Add Connector → 4. Inspect & Configure → 5. Build → 6. Update Memory Bank

Step 1 — Check Memory Bank

Telemetry checkpoint: validate_connector_project

Check for memory-bank.md per shared-instructions.md.

Also confirm we're inside a Power Apps mobile app:

bash
test -f power.config.json && test -f app.config.js

If either is missing, instruct the user to run /create-mobile-app first and stop.

Step 2 — Identify Connector

Telemetry checkpoint: resolve_connector_request

If $ARGUMENTS is provided or the caller already specified the connector, use it directly and skip the question below.

Otherwise, ask the user which connector they want to add. Browse available connectors: Connector Reference.

Before proceeding, check if the connector has a dedicated skill. If it does, delegate immediately and STOP:

Connector API nameDelegate to
sharepointonline/add-sharepoint
commondataservice/add-dataverse

Invoke the appropriate skill with the same $ARGUMENTS and do not continue this skill's workflow.

Common connector API names:

  • sharepointonline, teams, excelonlinebusiness, onedriveforbusiness
  • azuredevops, azureblob, azurequeues
  • office365, office365users, office365groups
  • sql, commondataservice

Cloud flows are supported by the Power Apps CLI, but they are not connector data sources. If the user wants to invoke an existing Power Automate cloud flow from the app, use the flow-specific commands instead of pa app add data-source:

bash
$PA app list-flows --search '<flow-name-or-keyword>' --json
$PA app add flow --flow-id <flow-guid> --non-interactive

To remove a flow later (only when the user asks; pa needs --force for a non-interactive removal):

bash
$PA app remove flow --flow-id <flow-guid> --force --non-interactive

After pa app add flow, continue at Step 4 and inspect the generated service/model files the same way as connector data sources.

Step 3 — Add Connector

Telemetry checkpoint: generate_connector_data_source

First, get the connection ID or connection reference (see connector-reference.md):

Run the /list-connections skill with the connector API ID (for example shared_office365users). Capture the exact connectionId from pa connection create, or the connectionRef from pa connection list-references if the caller is solution-aware. If creation cannot complete in the CLI, direct the user to create one using the environment-specific Connections URL — construct it from the active environment ID in context (from power.config.json environmentId or a prior step): https://make.powerapps.com/environments/<environment-id>/connections → + New connection → search for the connector → Create.

Classify the connector before running pa app add data-source:

Connector shapeExamplesRequired discoveryAdd command
Action-style connectorTeams, Office 365 Users, Outlook, Azure DevOpsNone after connection lookup$PA app add data-source --connector <apiId> --connection-id <connectionId>
Table-based connectorExcel Online, OneDrive for Business, Azure Blob, SQL, SharePoint if not delegatedconnection list-datasets, then connection list-tables$PA app add data-source --connector <apiId> --connection-id <connectionId> --dataset '<dataset>' --table '<table>'
SQL stored procedureSQL Serverconnection list-datasets, then connection list-procedures if needed$PA app add data-source --connector shared_sql --connection-id <connectionId> --dataset '<database>' --procedure '<procedure>'

For action-style connectors, print before starting:

"→ Running pa app add data-source for <connector>. ~10–30 seconds (writes generated services + connector schemas)."

Then run:

bash
$PA app add data-source --connector <apiId> --connection-id <connectionId>

For table-based connectors, discover datasets and tables first:

bash
$PA connection list-datasets --connector <apiId> --connection-id <connectionId> --json
$PA connection list-tables --connector <apiId> --connection-id <connectionId> --dataset '<dataset>' --json

Present the datasets/tables to the user if they did not specify them. Add one data source per selected table:

bash
$PA app add data-source --connector <apiId> --connection-id <connectionId> --dataset '<dataset>' --table '<table>'

For SQL stored procedures, discover procedures only when the user asks to invoke a stored procedure rather than a table:

bash
$PA connection list-procedures --connection-id <connectionId> --dataset '<database>' --json
$PA app add data-source --connector shared_sql --connection-id <connectionId> --dataset '<database>' --procedure '<procedure>'

For Dataverse actions/functions rather than tables, discovery is available but this plugin only adds Dataverse table CRUD:

bash
$PA app find-dataverse-api --search '<operation-name>' --json

Surface the matching operation metadata and STOP with a clear note that this plugin can add Dataverse table CRUD through /add-dataverse, but does not add Dataverse actions/functions.

If the user actually needs Dataverse table CRUD, stop and delegate to /add-dataverse; do not add Dataverse tables from this generic connector skill.

Parameter reference:

  • --connector — connector API ID (often shared_<connector>, e.g., shared_office365users). Use the exact value provided by the caller or connector docs.
  • --connection-id / -c — required for non-Dataverse connectors unless using --connection-ref. Get from pa connection create, the maker portal, or caller context.
  • --connection-ref — optional connection reference name when adding into a solution-aware app.
  • --dataset / -d — required for table-based datasources (for example SharePoint site URL, Excel file/location, SQL database).
  • --table — table/list/resource name for table-based datasources.
  • --procedure — SQL stored procedure name when adding a stored procedure instead of a table.
  • --non-interactive — use only on commands whose required options are fully supplied and whose implementation supports non-interactive omission of optional prompts. Do not add --environment-id to app-root verbs once power.config.json exists.
  • --solution-id / -s — optional solution identifier when the data source should be added to a specific solution.
Show full SKILL.md (387 more words)Show less
Step 4 — Inspect & Configure

After adding, inspect the generated files. Generated service files can be very large — use Grep to find specific methods instead of reading the entire file:

Grep pattern="async \w+" path="src/generated/services/<Connector>Service.ts"

Files to check:

  • src/generated/services/<Connector>Service.ts — available operations and their parameters
  • src/generated/models/<Connector>Model.ts — TypeScript interfaces (if generated)
  • .power/schemas/<connector>/ — connector schema and configuration

For each method the user needs:

  1. Grep for the method name to find its signature
  2. Read just that method's section (use offset and limit parameters on Read)
  3. Identify required vs optional parameters and response type

Help the user write code using the generated service methods.

Step 5 — Build

Telemetry checkpoint: validate_connector_integration

Print before starting:

"→ Regenerating connector schemas + running tsc to verify the new connector wires in cleanly (~10–20 seconds)."

pa app add data-source (Step 3) wrote new files into .power/schemas/<connector>/. The connectorSchemas.ts consumed by app/_layout.tsx is now stale — regenerate it before type-checking so the new connector is wired into the runtime schema map:

bash
npm run generate-schemas
npx --no-install tsc --noEmit

Fix TypeScript errors before proceeding. Common gotcha: the new generated service may import a peer dependency you don't have installed yet — if so, npx --no-install expo install <missing-package> (NOT plain npm install, so versions stay Expo-compatible).

Do NOT deploy yet — that's /deploy's job after all data sources are added.

Step 6 — Update Memory Bank

Update memory-bank.md with: connector added, configured operations, build status.

Remove a data source or flow

If the user asks to remove a connector/table/stored procedure that this skill added, use the matching Power Apps CLI command with explicit arguments. The user's request is the confirmation: pa refuses a non-interactive removal without --force (drop --force on power-apps-only projects — see cli-binary.md):

bash
$PA app remove data-source --connector <apiId> --name '<data-source-or-table-name>' --force --non-interactive
$PA app remove data-source --connector shared_sql --name '<procedure>' --procedure '<procedure>' --force --non-interactive
$PA app remove flow --flow-id <flow-guid> --force --non-interactive

Then run npm run generate-schemas and npx --no-install tsc --noEmit before reporting success.

Runtime connector handling

The native host runtime handles all connector routing automatically via PowerAppsProvider in app/_layout.tsx. When a screen calls a generated service method:

  1. PowerAppsProvider resolves the connection from connectionReferences in power.config.json
  2. If the connection requires OAuth consent, ConnectionSetupScreen is shown automatically
  3. NativePowerAppsBridge dispatches the call with the correct auth token

No separate executor or provider wiring is needed — Dataverse and non-Dataverse connectors use the same unified pipeline.

Notes

  • Generated files in src/generated/ are produced directly by pa app add data-source. Differences in behavior come from runtime wiring in this mobile plugin.
  • This skill never modifies app.config.js or playerConfig.ts — connector discovery is dynamic at runtime.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/mobile-apps/skills/add-connector of microsoft/power-platform-skills.

Open the folder on GitHubat commit 0d044b8

Compare with similar skills

Add Connector next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Connector compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Connector this skillmicrosoft/power-platform-skills972—~2.9kAutomated safety check: NotesMIT
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
Appllama App Design SkillAppllama/appllama-skills2.5k1 repos~5kAutomated safety check: PassMIT
Appllama UsageAppllama/appllama-skills2.5k1 repos~1.6kAutomated safety check: PassMIT
Release Sample SweepAtmosphere/atmosphere3.8k—~4.2kAutomated safety check: PassApache-2.0
App Store Reviewsafaiyeh/app-store-review-skill3621 repos~3.4kAutomated safety check: PassMIT

Similar skills

  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    MobileAuto-check passed
  • Appllama App Design Skill

    Appllama/appllama-skills

    Build native-feeling, benchmark-quality mobile app screens (Expo / React Native).

    2.5k GitHub starsUsed in 1 repo~5k tokens
    MobileAuto-check passed
  • Appllama Usage

    Appllama/appllama-skills

    Use the Appllama MCP (mcp.appllama.io) well — research real top-grossing mobile apps, their screens, flows, and UI elements, then build from what you learn.

    2.5k GitHub starsUsed in 1 repo~1.6k tokens
    MobileAuto-check passed
  • Release Sample Sweep

    Atmosphere/atmosphere

    Run the pre-release end-to-end sweep of every user-facing surface — the 33 samples under samples/ (booted from their packaged artifacts and driven in a real browser via chrome-devtools MCP), the…

    3.8k GitHub stars~4.2k tokensUpdated yesterday
    MobileAuto-check passed
  • App Store Review

    safaiyeh/app-store-review-skill

    Evaluates code against Apple's App Store Review Guidelines. An agent skill from safaiyeh/app-store-review-skill.

    362 GitHub starsUsed in 1 repo~3.4k tokens
    MobileAuto-check passed
  • Cali

    callstackincubator/cali

    Official

    A skill your agent uses when working in the Cali repository or when you need to run, extend, or debug the Cali CLI for mobile React Native and Expo workflows.

    991 GitHub stars~731 tokensUpdated 3 mo ago
    MobileAuto-check passed

More from microsoft/power-platform-skills

All 87 skills in this repo
  • Manage Firewall

    microsoft/power-platform-skills

    Official

    Inspects and configures the web application firewall (WAF) in front of a Power Pages production site.

    972 GitHub stars~4.5k tokensUpdated today
    Auto-check: notes
  • Manage Headers

    microsoft/power-platform-skills

    Official

    Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection, cross-origin sharing, cookie behavior, and related…

    972 GitHub stars~3k tokensUpdated today
    Auto-check: notes
  • Scan Code

    microsoft/power-platform-skills

    Official

    Scans a Power Pages site project for security issues in source code and dependencies.

    972 GitHub stars~3.4k tokensUpdated today
    Auto-check: notes
  • Scan Site

    microsoft/power-platform-skills

    Official

    Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary.

    972 GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Setup Datamodel

    microsoft/power-platform-skills

    Official

    Creates Dataverse tables, columns, and relationships for a Power Pages site based on a data model proposal.

    972 GitHub stars~4k tokensUpdated today
    Auto-check: notes
  • Add Server Logic

    microsoft/power-platform-skills

    Official

    Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime.

    972 GitHub stars~18k tokensUpdated today
    Auto-check: notes

Categories

Questions about Add Connector

What does Add Connector do?

A skill your agent uses when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists. Add Connector is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.

When should I use Add Connector?

Add Connector fits situations like: adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists; tasks that involve Cross-platform mobile apps.

How do I install Add Connector in Claude Code?

Run `npx skills add microsoft/power-platform-skills --skill add-connector -a claude-code`. Or copy the skill folder (plugins/mobile-apps/skills/add-connector in microsoft/power-platform-skills) into .claude/skills/add-connector in your project. Claude Code loads it when a task matches its description.

How do I install Add Connector in Codex?

Run `npx skills add microsoft/power-platform-skills --skill add-connector -a codex`. Or copy the skill folder (plugins/mobile-apps/skills/add-connector in microsoft/power-platform-skills) into .agents/skills/add-connector in your project. Codex loads it when a task matches its description.

Can I use Add Connector in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/power-platform-skills --skill add-connector -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-connector, .gemini/skills/add-connector, .github/skills/add-connector and .opencode/skills/add-connector in your project.

What does Add Connector need to run?

Going by SKILL.md and its folder, Add Connector needs the command-line tools its instructions call (npm, npx and node). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion, Skill.

Does Add Connector access the network?

SKILL.md names 2 domains. In commands or code: make.powerapps.com; the agent is likely to contact it when it follows the instructions. As links in the text: learn.microsoft.com. This is read from the text; nothing was executed.

Is Add Connector safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Add Connector use?

Add Connector is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Connector use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Connector?

Skills that share tags, products or a category with Add Connector: React Native Best Practices (vercel-labs/openreview, 1.7k stars), Appllama App Design Skill (Appllama/appllama-skills, 2.5k stars), Appllama Usage (Appllama/appllama-skills, 2.5k stars) and Release Sample Sweep (Atmosphere/atmosphere, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Connector?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 972 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on October 7, 2026.

Source: microsoft/power-platform-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.