add-datasource

add-datasource is a skill for Claude Code from microsoft/power-platform-skills. It costs 34 tokens per session (743 once invoked), scanned A, original, MIT.

A routing helper that connects a Power Apps code app to the right data source, such as Dataverse, SharePoint, or another connector. It starts from what the app needs to do rather than requiring knowledge of Power Platform terms.

In plain words
What is it for?
Use it when an app needs to store, search, or manage data, and you want guidance on which data source and specialized setup to use.
Why use it?
It removes the guesswork of choosing a connector and avoids making the developer learn the differences between available data services first.

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 code-apps-preview plugin — 14 skills, 1 agent shipped together

Good fit Use it when an app needs to store, search, or manage data, and you want guidance on which data source and specialized setup to use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/add-datasource
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,205 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 add-datasource
Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills

Made for: Claude Code.

Or install code-apps-preview, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

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 add-datasource

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/add-datasource"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/add-datasource.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 743 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: 1 finding, 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.
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.00034 $0.00743
Opus 5.5 $0.00014 $0.00297
Sonnet 5.5 $0.00007 $0.00149
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

add-datasource 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 26d 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/code-apps/skills/add-datasource/SKILL.md · 58 lines

How it starts

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

📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.

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

Map the user's goal to the appropriate skill:

User's goal Best approach Invoke
Store and manage structured business data (custom tables, forms, CRUD) Dataverse is the platform's native database /add-dataverse
Track work items, bugs, builds, or pipelines Azure DevOps connector /add-azuredevops
Send or read Teams messages, post to channels Teams connector /add-teams
Read/write Excel spreadsheet data Excel Online (Business) connector /add-excel
Upload, download, or manage files OneDrive for Business connector /add-onedrive
Work with SharePoint lists or document libraries SharePoint Online connector /add-sharepoint
Send emails, read inbox, manage calendar events Office 365 Outlook connector /add-office365
Invoke an AI agent or copilot built in Copilot Studio Copilot Studio connector /add-mcscopilot
Something else or not sure Generic connector (we'll figure it out) /add-connector

Read the full file on GitHub · 58 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. 26d ago Changed b1bb3e91ceb8
  2. 3mo ago First seen · 58 lines · 34 tokens per session scan A 3ffb7773b7dd

Subscribe to this mod's changes

add-datasource is a skill published in the GitHub repository microsoft/power-platform-skills (1,205 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 743 once invoked, about $0.0001 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

add-datasource compared with skills from other repositories

add-datasource next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-datasourcemicrosoft/power-platform-skillsSkill1.2ktodayMITA34Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
design-code-architecturewondelai/skillsSkill2.8k2d agoMITA220Claude Code
system-designwondelai/skillsSkill2.8k2d agoMITA139Claude Code, Codex
ash-frameworkoliver-kriska/claude-elixir-phoenixSkill5792d agoMITA48Claude Code
liveview-patternsoliver-kriska/claude-elixir-phoenixSkill5792d agoMITA51Claude Code
deployoliver-kriska/claude-elixir-phoenixSkill5792d agoMITA46Claude Code