Official agent skill

Add Datasource

by microsoft in microsoft/power-platform-skills

A skill your agent uses when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.

OfficialMITAuto-check: notesMobile

Install Add Datasource

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

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

GitHub CLI
$ gh skill install microsoft/power-platform-skills add-datasource --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-datasource .claude/skills/add-datasource && 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-datasource
GitHub stars
967
Token cost
~1k tokens
SKILL.md length
522 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.

  • Works in 3 steps: If $ARGUMENTS is provided or the caller… → Otherwise, ask the user what they want… → Based on their answer, recommend the…
  • Adding an unspecified data source to an Expo/React Native Power Apps mobile app
  • Calls npx and node
  • Routes to Dataverse

What it does

Add Datasource is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Use when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.

Its SKILL.md is about 1k 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 and Cloud office suites. It works with Microsoft SharePoint, Power Automate, Microsoft Copilot Studio and Azure DevOps. 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 an unspecified data source to an Expo/React Native Power Apps mobile app
  • Routes to Dataverse
  • Another connector

Example prompts

  • “/add-datasource”

Requirements

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

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. If $ARGUMENTS is provided or the caller already specified what's needed, use it directly and skip the question below.
  2. Otherwise, ask the user what they want their app to do — not which connector to use. Focus on the end goal. Example questions
  3. Based on their answer, recommend the best approach and explain why it's the right fit. The user shouldn't need to know the difference…

What it can do on your machine

Read from SKILL.md and the folder at commit 5ef4e4f. 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
    • Grep
    • Glob
    • Bash
    • AskUserQuestion
    • Skill

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • node

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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 Datasource loads about 1k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 522 words of instructions outside code blocks.

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

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, 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 5ef4e4f, republished under its MIT licence (© microsoft). 522 words, ~1,029 tokens.

Download SKILL.mdSave it as .claude/skills/add-datasource/SKILL.md (or your agent's skills folder).
name
add-datasource
description
Use when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.
allowed-tools
Read, 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 — read first.

Add Data Source

Router skill that understands the user's goal and connects them to the right data source — without requiring them to know Power Platform terminology.

Workflow

Check Memory Bank

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

Understand the Goal
  1. If $ARGUMENTS is provided or the caller already specified what's needed, use it directly and skip the question below.
  2. Otherwise, ask the user what they want their app to do — not which connector to use. Focus on the end goal. Example questions:
    • "What kind of data does your app need to work with?"
    • "What should your app be able to do? (e.g., search company info, manage tasks, send messages)"
  3. Based on their answer, recommend the best approach and explain why it's the right fit. The user shouldn't need to know the difference between Dataverse, SharePoint, or other connectors — that's our job.
Route to the Right Skill

Telemetry checkpoint: route_data_source_request

User's goalBest approachInvoke
Store and manage structured business data (custom tables, forms, CRUD)Dataverse is the platform's native database/add-dataverse
Invoke an existing Dataverse action/function/APIDiscover with Power Apps CLI find-dataverse-api; this plugin only adds Dataverse table CRUD/add-connector
Read lists, manage documents, integrate with SharePoint sitesSharePoint Online — dedicated skill with list creation support/add-sharepoint
Invoke an existing Power Automate cloud flowUse Power Apps CLI list-flows / add-flow support through the generic connector workflow/add-connector
Anything else — Teams messages, Excel data, OneDrive files, Office 365 email/calendar, Azure DevOps, Copilot Studio, custom connectorsGeneric connector (we'll figure out the right one)/add-connector

Note: Dedicated skills for Teams, Excel, OneDrive, Office 365, and Azure DevOps are planned for v1. Until then, /add-connector handles all of them — it covers every connector the platform supports and generates the same src/generated/ service layer.

Important routing rules:

Show full SKILL.md (206 more words)Show less
  • When the user wants to perform actions (send an email, post a Teams message, create a file), route to /add-connector with the connector name as the argument (e.g., /add-connector office365, /add-connector teams).
  • When the user wants to invoke a cloud flow, route to /add-connector and tell it to use npx power-apps list-flows --json followed by npx power-apps add-flow --flow-id <flow-guid> --non-interactive from the app root.
  • When the user wants to invoke a Dataverse action/function/API rather than table CRUD, route to /add-connector and tell it to use npx power-apps find-dataverse-api --search '<operation-name>' --json; then stop and explain that this plugin only adds Dataverse table CRUD.
  • When the user wants to store or query structured business data with custom schema, route to /add-dataverse.
  1. If the user wants multiple capabilities, invoke each skill in sequence.
When the User Isn't Sure

If the user describes a vague goal (e.g., "I need data for my app"), guide them:

  1. Ask what their app does and who uses it
  2. Ask what data they need to display or interact with
  3. Recommend the simplest approach that meets their needs
  4. Explain the recommendation in plain language (avoid jargon like "connector", "Dataverse", "tabular data source" unless the user uses those terms first)

© 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-datasource of microsoft/power-platform-skills.

Open the folder on GitHubat commit 5ef4e4f

Compare with similar skills

Add Datasource 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 Datasource compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Datasource this skillmicrosoft/power-platform-skills967—~1kAutomated safety check: NotesMIT
aai-cli Microsoft 365aai-labs/agent-barn109—~1.2kAutomated safety check: PassApache-2.0
Sharepoint Safe HTMLpnp/sharepoint-skills131—~6.4kAutomated safety check: PassMIT
CLI Microsoft365pnp/cli-microsoft365-mcp-server131—~3.5kAutomated safety check: PassMIT
Purview Dspm AIvinayaklatthe/microsoft-security-skills175—~1.5kAutomated safety check: PassMIT
Msgraphcodemie-ai/codemie-code294—~4.1kAutomated safety check: PassApache-2.0

Similar skills

  • aai-cli Microsoft 365

    aai-labs/agent-barn

    Guides work with Outlook, OneDrive, SharePoint, Teams, Excel, To Do and Planner through aai-cli's Microsoft Graph commands, starting from which service owns the data.

    109 GitHub stars~1.2k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Sharepoint Safe HTML

    pnp/sharepoint-skills

    Creates accessible, single-file HTML artifacts that render reliably in SharePoint, OneDrive, Teams, File Viewer, and embedded iframe preview surfaces.

    131 GitHub stars~6.4k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • CLI Microsoft365

    pnp/cli-microsoft365-mcp-server

    Use CLI for Microsoft 365 to manage Microsoft 365 tenants from the terminal.

    131 GitHub stars~3.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Purview Dspm AI

    vinayaklatthe/microsoft-security-skills

    Guidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365…

    175 GitHub stars~1.5k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Msgraph

    codemie-ai/codemie-code

    Work with Microsoft 365 services via the Graph API — emails, calendar events, SharePoint sites (read and write), Teams chats and channel messages, OneDrive files, OneNote notebooks, Planner task…

    294 GitHub stars~4.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Workiq

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~15k tokensUpdated today
    Documents & OfficeAuto-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.

    967 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…

    967 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.

    967 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.

    967 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.

    967 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.

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

Categories

Questions about Add Datasource

What does Add Datasource do?

A skill your agent uses when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector. Add Datasource is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Use when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.

When should I use Add Datasource?

Add Datasource fits situations like: adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse; another connector.

How do I install Add Datasource in Claude Code?

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

How do I install Add Datasource in Codex?

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

Can I use Add Datasource 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-datasource -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-datasource, .gemini/skills/add-datasource, .github/skills/add-datasource and .opencode/skills/add-datasource in your project.

What does Add Datasource need to run?

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

Does Add Datasource access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Datasource 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 Datasource use?

Add Datasource 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 Datasource use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Datasource?

Skills that share tags, products or a category with Add Datasource: aai-cli Microsoft 365 (aai-labs/agent-barn, 109 stars), Sharepoint Safe HTML (pnp/sharepoint-skills, 131 stars), CLI Microsoft365 (pnp/cli-microsoft365-mcp-server, 131 stars) and Purview Dspm AI (vinayaklatthe/microsoft-security-skills, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Datasource?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 967 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on October 6, 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.