/microsoft-365-data-platform:declarative-agentsfrom microsoft-365-data-platform
Builds, validates, and optimizes Microsoft 365 Copilot declarative agents using v1.5 schema, TypeSpec, and Microsoft 365 Agents Toolkit. Covers manifest design, capabilities, localization, and Agents Playground testing.
Ships in microsoft-365-data-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create, validate, or optimize Microsoft 365 Copilot declarative agents by choosing the right workflow, enforcing v1.5 schema limits, using TypeSpec when helpful, and integrating Microsoft 365 Agents Toolkit and Agents Playground.
| Workflow | Best for | Outcome |
|---|---|---|
| Basic Agent Creation | New developers, simple agents, quick prototypes. | Planned purpose, selected capabilities, JSON manifest or TypeSpec, testing setup. |
| Advanced Enterprise Agent Design | Complex enterprise scenarios, production deployment, advanced features. | Enterprise architecture, capability interactions, behavior overrides, localization, lifecycle plan. |
| Validation & Optimization | Existing agents, troubleshooting, performance optimization. | Schema compliance findings, limit fixes, capability audit, TypeSpec migration plan, test protocol. |
| Area | Required decisions |
|---|---|
| Requirements | Tenant model, target users, compliance boundaries, data access, audit needs. |
| Capabilities | Interactions between WebSearch, Microsoft Graph, SharePoint, connectors, and business data. |
| Behavior overrides | Response style, refusal boundaries, escalation, and specialized behaviors. |
| Localization | Languages, resource files, conversation starter translations, fallback language. |
| Conversation starters | Up to 4 high-value entry points aligned to user tasks. |
| Deployment | Development, staging, production environments; versioning and lifecycle. |
| Monitoring | Usage analytics, quality signals, failure modes, performance optimization. |
| Item | Limit or rule |
|---|---|
| Schema | Use Microsoft 365 declarative agent JSON Schema v1.5. |
name | Maximum 100 characters. |
description | Maximum 1000 characters. |
instructions | Maximum 8000 characters. |
conversation_starters | Maximum 4. |
capabilities | Maximum 5. |
| Required fields | Validate required field presence and type correctness. |
| Environment placeholders | Support ${AGENT_NAME}, ${AGENT_DESCRIPTION}, and ${AGENT_INSTRUCTIONS} where the toolchain resolves them. |
Choose no more than 5 capabilities.
| Capability | Use when |
|---|---|
| WebSearch | Internet search functionality. |
| OneDriveAndSharePoint | File and content access. |
| GraphConnectors | Enterprise data integration. |
| MicrosoftGraph | Microsoft 365 service integration. |
| TeamsAndOutlook | Communication platform access. |
| PowerPlatform | Power Apps and Power Automate integration. |
| BusinessDataProcessing | Enterprise data analysis. |
| WordAndExcel | Document and spreadsheet manipulation. |
| CopilotForMicrosoft365 | Advanced Copilot features. |
| EnterpriseApplications | Third-party system integration. |
| CustomConnectors | Custom API and service integration. |
| Feature | Use |
|---|---|
| VS Code extension | teamsdevapp.ms-teams-vscode-extension for Microsoft 365 Agents Toolkit integration. |
| TypeSpec | Type-safe agent definitions that compile to JSON. |
| Local debugging | Agents Playground validation and behavior testing. |
| Environment management | Development, staging, and production configurations. |
| Lifecycle management | Creation, testing, deployment, monitoring, and version updates. |
model MyAgent {
name: string;
description: string;
instructions: string;
capabilities: AgentCapability[];
conversation_starters?: ConversationStarter[];
}
{
"name": "${AGENT_NAME}",
"description": "${AGENT_DESCRIPTION}",
"instructions": "${AGENT_INSTRUCTIONS}"
}
name, description, and instructions respect 100, 1000, and 8000 character limits.## Declarative agent result
**Status:** ready | needs changes | blocked
**Workflow:** Basic Agent Creation | Advanced Enterprise Agent Design | Validation & Optimization
**Agent name:** `<name>`
| Area | Decision or finding | Evidence |
| --- | --- | --- |
| Purpose | <agent purpose> | <user requirement> |
| Capabilities | <selected capabilities> | <count <= 5> |
| Conversation starters | <starters> | <count <= 4> |
| Schema | v1.5 compliant | pass | fail |
| Testing | Agents Playground | pass | fail | not run |
### Artifacts
- `<manifest path or TypeSpec path>`
### Validation
- `name` <= 100: pass | fail
- `description` <= 1000: pass | fail
- `instructions` <= 8000: pass | fail
AGENT_NAME, AGENT_DESCRIPTION, and AGENT_INSTRUCTIONS placeholders are preserved when environment substitution is intended.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
microsoft-365, copilot, declarative-agents, manifest, typespec, agents-toolkit
5 skills in this plugin
/fabric-lakehouseExplain, design, build, and optimize Microsoft Fabric Lakehouse solutions using OneLake, Delta tables, Files, SQL analytics endpoints, semantic models, shortcuts, schemas, materialized views, Spark views, security, lineage, ingestion, and table optimization. Use when the user asks about Fabric Lakehouse concepts, architecture, data layout, shortcuts, PySpark, loading data, or Lakehouse best practices./msgraph-sdkIntegrate Microsoft Graph SDK in .NET, TypeScript/JavaScript, or Python applications using correct authentication, permissions, SDK clients, pagination, batching, delta queries, change notifications, throttling, and Microsoft 365 resource paths. Use when accessing users, mail, calendar, Teams, OneDrive, SharePoint, groups, search, or other Microsoft 365 data through Graph./powerbi-modelingGuide Power BI semantic model design and optimization for well-documented models with star schema checks, DAX measures, relationships, RLS, naming, descriptions, calculation groups, performance tuning, and model validation. Use when working with Power BI semantic models, creating measures, adding relationships, configuring cardinality or cross-filter direction, documenting models, or optimizing DAX and model performance./workiq-copilotUse the WorkIQ `CLI/MCP` server to query Microsoft 365 work data such as emails, meetings, documents, Teams messages, people, and projects for live organizational context. Use when the user asks for agenda summaries, follow-ups, document lookup, stakeholder or project context, blockers, recommendations, or Microsoft 365 work intelligence.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin microsoft-365-data-platformOther plugins' skills for the same job