Add Data Source
microsoft/power-platform-skills
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue.
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.
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aai-labs/agent-barn aai-microsoft --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .claude/skills/aai-microsoft && rm -rf skills-srcUse ~/.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/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .claude/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoftType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aai-labs/agent-barn aai-microsoft --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .agents/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .agents/skills/aai-microsoft && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .agents/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aai-labs/agent-barn aai-microsoft --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .cursor/skills/aai-microsoft && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .cursor/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aai-labs/agent-barn.git --path api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aai-labs/agent-barn aai-microsoft --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .gemini/skills/aai-microsoft && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .gemini/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aai-labs/agent-barn aai-microsoftInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .github/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .github/skills/aai-microsoft && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .github/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aai-labs/agent-barn --skill aai-microsoft -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aai-labs/agent-barn aai-microsoft --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aai-labs/agent-barn.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft .opencode/skills/aai-microsoft && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "aai-microsoft" agent skill from https://github.com/aai-labs/agent-barn/tree/main/api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft into .opencode/skills/aai-microsoft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aai-microsoft", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
aai-microsoftGuides 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.
Rather than listing commands first, the skill starts from the Microsoft 365 ownership model: Outlook or Exchange owns a user's mail, calendar and contacts, OneDrive is a user's personal file area, SharePoint is the shared content layer with document libraries and list items, Teams is the conversation layer whose channel files actually live in SharePoint, Microsoft To Do is personal task management and Planner is shared plan and task management attached to a group or team. A generic microsoft request command reaches the broader Graph API when a typed command does not cover the needed operation.
Excel and Word are treated differently. microsoft excel calls the Graph workbook API for worksheets, ranges, tables and rows, and it needs a delegated profile with Files.ReadWrite access since Graph has no application-permission path for workbook operations; a SharePoint workbook also needs a document-library drive id. Word files have no editor in the CLI at all: Graph exposes .docx as plain driveItem content, so the agent downloads the file with microsoft files or microsoft sharepoint files, edits it with an external library, then uploads the full replacement, with a reminder to consider backups, version history and concurrent edits first.
Read from SKILL.md and the folder at commit df5e0a7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
aai-cli Microsoft 365 loads about 1.2k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 654 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from aai-labs/agent-barn at commit df5e0a7, republished under its Apache-2.0 licence (© aai-labs). 654 words, ~1,230 tokens.
.claude/skills/aai-microsoft/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Use this skill for Microsoft 365 work through aai-cli microsoft. Start from the user's intent and Microsoft 365 ownership model, not from the command list. Read the concepts reference before a cross-service or file-editing workflow.
drive resources) for files and lists for structured rows/columns. Use document-library file commands for shared documents; use list-item commands for records such as requests, assets, or statuses.microsoft request only when the needed Graph operation lacks a typed command.microsoft excel calls the documented Graph workbook API for worksheets, ranges, tables, and table rows. It requires a delegated profile with Files.ReadWrite access; application profiles are rejected because Graph does not support application permissions for workbook operations. For SharePoint workbooks, pass the document-library --drive-id..docx files as driveItem content, not as paragraphs or tables. There is no microsoft word editor in this CLI. Download the file with microsoft files or microsoft sharepoint files, edit it with an external library/program, then upload the complete replacement. Consider a backup, version history, concurrent edits, and features the external library may not preserve.Read Microsoft 365 concepts and routing before acting when the request crosses products, refers to a Team or SharePoint URL rather than IDs, or leaves ownership/visibility ambiguous. It explains resource relationships, identifier choice, auth choice, and common workflows.
Confirm the active profile or pass --profile. App-only profiles are best for unattended organization-owned automation. Delegated profiles act on behalf of one user and are required by this CLI for complete Microsoft To Do CRUD. Both obtain short-lived access tokens automatically from credentials saved in the encrypted secret store; never request or copy an access token into a command.
Prefer typed commands for supported operations. Use microsoft request only for a Graph endpoint without a typed command. Writes through request require --allow-write.
Most user resources accept --user-id; otherwise they use profile.user_id. IDs belong to different resource types and are not interchangeable: a Team/group ID is not a site, drive, list, channel, plan, or bucket ID. SharePoint list commands require site and list IDs. Use microsoft files for OneDrive and the explicit microsoft sharepoint files commands with --drive-id for a SharePoint document library. Use microsoft excel with --item-id or --path for workbook operations. Planner task update/delete require the current @odata.etag from a preceding get/create/update response.
Treat creates, sends, updates, and deletes as external side effects. Read the target first when practical, use stable identifiers, and report what changed. Supply request bodies through --json PATH or --json - for complex or sensitive values rather than shell-inline JSON.
List commands aggregate Graph pages up to --limit and return the provider's value array. Successful output is JSON on stdout; errors are structured JSON on stderr. Downloaded file bytes go only to --output.
See the command reference only after choosing the service/resource. It contains exact command shapes, bodies, and mutation mechanics.
© aai-labs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft of aai-labs/agent-barn.
Open the folder on GitHubat commit df5e0a7
aai-cli Microsoft 365 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| aai-cli Microsoft 365 this skillaai-labs/agent-barn | 109 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Add Data Sourcemicrosoft/power-platform-skills | 979 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Add Excelmicrosoft/power-platform-skills | 979 | — | ~796 | Automated safety check: Notes | MIT | |
| Sharepoint Safe HTMLpnp/sharepoint-skills | 132 | — | ~6.4k | Automated safety check: Pass | MIT | |
| Msgraphcodemie-ai/codemie-code | 294 | — | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| Workiqmicrosoft/work-iq | 1k | — | ~15k | Automated safety check: Pass | Custom licence |
microsoft/power-platform-skills
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue.
microsoft/power-platform-skills
Adds Excel Online (Business) connector to a Power Apps code app.
pnp/sharepoint-skills
Creates accessible, single-file HTML artifacts that render reliably in SharePoint, OneDrive, Teams, File Viewer, and embedded iframe preview surfaces.
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…
microsoft/work-iq
WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.
microsoft/work-iq
WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.
aai-labs/agent-barn
Uses aai-cli to create and edit local Excel and CSV files, manage sheet tabs and read, update or clear cell ranges.
aai-labs/agent-barn
Finds, inspects, downloads and uploads Google Drive files from the command line with aai-cli, including exports of Docs, Sheets and Slides, and read-only sharing checks.
aai-labs/agent-barn
Reads OpenPanel analytics through aai-cli: projects, raw event exports, aggregated insights for pages, referrers, devices and geography, and user profiles.
aai-labs/agent-barn
Use aai-cli to manage Pipedrive leads, persons, organizations, deals, labels, activities, notes, file attachments, field definitions, users, pipelines and stages, deal flow/stage history, and synced…
aai-labs/agent-barn
Use aai-cli to inspect and manage Bitbucket repositories, pull requests, branches, commits, source files, comments, and pipelines.
aai-labs/agent-barn
Use aai-cli to inspect and manage Confluence spaces, pages, comments, attachments, and page moves.
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. Rather than listing commands first, the skill starts from the Microsoft 365 ownership model: Outlook or Exchange owns a user's mail, calendar and contacts, OneDrive is a user's personal file area, SharePoint is the shared content layer with document libraries and list items, Teams is the conversation layer whose channel files actually live in SharePoint, Microsoft To Do is personal task management and Planner is shared plan and task management attached to a group or team. A generic microsoft request command reaches the broader Graph API when a typed command does not cover the needed operation.
aai-cli Microsoft 365 fits situations like: reading or sending Outlook mail and calendar items through a CLI; updating a SharePoint document library or a list of structured records; editing cells or tables in an Excel workbook stored in OneDrive or SharePoint; moving a task between buckets in a Planner plan.
Run `npx skills add aai-labs/agent-barn --skill aai-microsoft -a claude-code`. Or copy the skill folder (api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft in aai-labs/agent-barn) into .claude/skills/aai-microsoft in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aai-labs/agent-barn --skill aai-microsoft -a codex`. Or copy the skill folder (api/domains/agents/aai_cli_skills/bundled/skills/aai-microsoft in aai-labs/agent-barn) into .agents/skills/aai-microsoft in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aai-labs/agent-barn --skill aai-microsoft -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aai-microsoft, .gemini/skills/aai-microsoft, .github/skills/aai-microsoft and .opencode/skills/aai-microsoft in your project.
SKILL.md names no scripts, command-line tools or credentials: aai-cli Microsoft 365 is instructions for the agent only. Our summary lists: aai-cli configured with Microsoft Graph credentials; A delegated Graph profile with Files.ReadWrite for Excel workbook operations.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
aai-cli Microsoft 365 is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with aai-cli Microsoft 365: Add Data Source (microsoft/power-platform-skills, 979 stars), Add Excel (microsoft/power-platform-skills, 979 stars), Sharepoint Safe HTML (pnp/sharepoint-skills, 132 stars) and Msgraph (codemie-ai/codemie-code, 294 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aai-labs (a GitHub organization) maintains it in aai-labs/agent-barn, which has 109 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.
Source: aai-labs/agent-barn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.