Agent skill · software engineering · github
mcp-create-declarative-agent
Skill converted from mcp-create-declarative-agent.prompt.md
Why this skill is useful
Adds executable scripts and detailed configuration for integrating a declarative agent with Microsoft 365 Copilot and MCP server, which are not commonly found in public documentation.
What it needs
Requires microsoft-365-agents-toolkit installed locally. Requires microsoft-365 account access. About 4k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.
What this skill does
json { "$schema": "https://developer.microsoft.com/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json", "manifestVersion": "devPreview", "version": "1.0.0", "id": "...", "developer": { "name": "...", "websiteUrl": "...", "privacyUrl": "...", "termsOfUseUrl": "..." }, "name": { "short": "Agent Name", "full": "Full Agent Name" }, "description": { "short": "Short description", "full": "Full description" }, "copilotAgents": { "declarativeAgents": [ { "id": "declarativeAgent", "file": "declarativeAgent.json" } ] } } json { "$schema": "https://aka.ms/json-schemas/copilot/declarative-agent/v1.0/schema.json", "version": "v1.0", "name": "Agent Name", "description": "Agent description", "instructions": "You are an assistant that helps with [specific domain]. Use the available tools to [capabilities].", "capabilities": [ { "name": "WebSearch", "websites": [ { "url": "https://learn.microsoft.com" } ] }, { "name": "MCP", "file": "ai-plugin.json" } ] } json { "schemaversion": "v2.1", "nameforhuman": "Service Name", "descriptionforhuman": "Description for users", "descriptionformodel": "Description for AI model", "contactemail": "support@company.com", "namespace": "serviceName", "capabilities": { "conversationstarters": [ { "text": "Example query 1" } ] }, "functions": [ { "name": "functionName", "description": "Function description", "capabilities": { "responsesemantics": { "datapath": "
quot;, "properties": { "title": "$.title", "subtitle": "$.description" } } } } ], "runtimes": [ { "type": "MCP", "spec": { "url": "https://api.service.com/mcp/" }, "runforfunctions": ["functionName"], "auth": { "type": "OAuthPluginVault", "referenceid": "${{OAUTHREFERENCEID}}" } } ] } json { "serverUrl": "https://api.service.com/mcp/", "pluginFilePath": "appPackage/ai-plugin.json" } json "auth": { "type": "OAuthPluginVault", "referenceid": "${{OAUTHREFERENCEID}}", "authorizationurl": "https://auth.service.com/authorize", "clientid": "${{CLIENTID}}", "clientsecret": "${{CLIENTSECRET}}", "scope" …How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills github/mcp-create-declarative-agent