add-data-source

add-data-source is a skill for Claude Code from microsoft/managed-apps. It costs 55 tokens per session (3,490 once invoked), scanned A, original, MIT.

A standard workflow for adding a data source to a Microsoft Managed App, either as a table or as an action.

In plain words
What is it for?
It is for connecting external services to an app and finding the generated service paths and usage guidance afterward.
Why use it?
It helps resolve the correct connector and API identifier and ensures the data source is added with the required workspace and authentication checks.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the microsoft-managed-apps plugin — 22 skills, 1 agent shipped together

Good fit It is for connecting external services to an app and finding the generated service paths and usage guidance afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/managed-apps/add-data-source
About the project

Microsoft Managed Apps is a project for building custom web applications with React, TypeScript, and Vite, and it provides Microsoft's official templates and development tooling. Developers use its SDK, CLI, and Vite plugin to create and manage these applications. Its catalogue add-ons help AI coding agents build Microsoft Managed Apps.

microsoft/managed-apps · 36 stars · on GitHub

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/managed-apps --skill add-data-source
Clone the repo
git clone --depth 1 https://github.com/microsoft/managed-apps

Made for: Claude Code.

Or install microsoft-managed-apps, the plugin that ships this one along with the rest of its 22 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-data-source

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-data-source"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-data-source.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,490 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.
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.00055 $0.03490
Opus 5.5 $0.00022 $0.01396
Sonnet 5.5 $0.00011 $0.00698
Haiku 4.5 $0.00006 $0.00349

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

Security

Grade A, and why

add-data-source 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/microsoft-managed-apps/skills/add-data-source/SKILL.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 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.

Reference: connector-reference.md — Inline connection creation, Grep-first for large generated files.

Reference: allowed-actions.md — Shared connections must declare allowedActions before deploy (Step 4).

Add Data Source (Canonical)

This is the single implementation for all connector-binding skills.

Delegation model:

  • Specialized /add-* skills (e.g., /add-office365, /add-workiq) delegate to this skill with presets
  • If this skill is called from a wrapper, do not delegate back
  • If this skill is called directly, complete the workflow without delegation

After the connector is added:

  • If invoked via a specialized skill → Refer to that specialized skill's documentation for usage patterns (it was already provided)
  • If invoked directly → Identify which specialized skill matches your use case and refer to its documentation for:
    • Correct import paths for generated services
    • Best practices for using the connector
    • Common patterns and implementation examples
    • Error handling guidance

This ensures developers have complete context for implementing features, not just adding the connector.

Workflow

  1. Verify workspace + auth.
  2. Resolve api-id (discover via ms connector list if the user didn't supply one), mode, and required arguments.
  3. Run the matching ms app add ... command.
  4. Check for a shared connection and declare allowedActions if so.
  5. Run npm run build.
  6. Record the binding in memory-bank.md if present.

Step 1: Verify Project + Env

test -f ms.config.json || { echo "Not in a Microsoft App workspace."; exit 1; }
BIN=ms
$BIN auth status

Step 2: Resolve Inputs

Collect:

  • api-id (required — see resolution order below). Passed to the CLI via --connector <api-id>.
  • mode = action | table (controls the --as flag). There is no procedure mode — binding a specific SQL stored procedure is not exposed by the current CLI (see note below).
  • connection-id (optional interactive, required for non-interactive where applicable)

Read the full file on GitHub · 276 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 · +30 lines a9cbac0b37ed
  2. 1mo ago Changed · +1 lines ad0cb0b6f459
  3. 1mo ago Changed · +70 lines e9bbade7b0ac
  4. 2mo ago First seen · 175 lines · 55 tokens per session scan A 7fe7ae1d7319

Subscribe to this mod's changes

add-data-source is a skill published in the GitHub repository microsoft/managed-apps (36 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 3,490 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-09-04.

Related

add-data-source compared with skills from other repositories

add-data-source next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-data-sourcemicrosoft/managed-appsSkill363d agoMITA55Claude Code
mem0-oss-to-platformmem0ai/mem0Skill69k2d agoApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2k2d agoMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2k2d agoMITA46Claude Code
api-designericrisco/rsc-harnessSkill5554d agoMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill253yesterdayMITA106Claude Code
telnyx-messaging-hosted-curlteam-telnyx/aiSkill225todayMITA45Claude Code