From Napkin
Generates a complete TypeSpec declarative agent definition for Microsoft 365 Copilot with instructions, capabilities, and conversation starters.
How this skill is triggered — by the user, by Claude, or both
Slash command
/napkin:typespec-create-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a complete TypeSpec declarative agent for Microsoft 365 Copilot with the following structure:
Create a complete TypeSpec declarative agent for Microsoft 365 Copilot with the following structure:
Generate a main.tsp file with:
Agent Declaration
@agent decorator with a descriptive name and descriptionInstructions
@instructions decorator with clear behavioral guidelinesConversation Starters
@conversationStarter decoratorsCapabilities (based on user needs)
WebSearch - for web content with optional site scopingOneDriveAndSharePoint - for document access with URL filteringTeamsMessages - for Teams channel/chat accessEmail - for email access with folder filteringPeople - for organization people searchCodeInterpreter - for Python code executionGraphicArt - for image generationGraphConnectors - for Copilot connector contentDataverse - for Dataverse data accessMeetings - for meeting content accessimport "@typespec/http";
import "@typespec/openapi3";
import "@microsoft/typespec-m365-copilot";
using TypeSpec.Http;
using TypeSpec.M365.Copilot.Agents;
@agent({
name: "[Agent Name]",
description: "[Agent Description]"
})
@instructions("""
[Detailed instructions about agent behavior, role, and guidelines]
""")
@conversationStarter(#{
title: "[Starter Title 1]",
text: "[Example query 1]"
})
@conversationStarter(#{
title: "[Starter Title 2]",
text: "[Example query 2]"
})
namespace [AgentName] {
// Add capabilities as operations here
op capabilityName is AgentCapabilities.[CapabilityType]<[Parameters]>;
}
Ask the user:
Then generate the complete TypeSpec agent definition.
npx claudepluginhub ani1797/forge --plugin copilot-sdk2plugins reuse this skill
First indexed Jun 6, 2026
Creates and validates Microsoft 365 Copilot declarative agents with three workflows: basic agent creation, advanced enterprise design, and validation/optimization. Includes TypeSpec support and Agents Toolkit integration.
Builds a new Claude Code agent through a step-by-step evidence-based interview covering design, domain, tools, and self-containment, then reviews and fixes the result.
Creates a new Claude Code subagent persona with curated tools, skills, and documentation following the agent template and registry conventions.