typespec-create-agent

Generate TypeSpec declarative agents for Microsoft 365 Copilot with capabilities.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill typespec-create-agent-gabeujin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typespec-create-agent
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/typespec-create-agent
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill typespec-create-agent-gabeujin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of TypeSpec declarative agents for Microsoft 365 Copilot, streamlining the development process for AI agents.

Core Features & Use Cases

  • Agent Generation: Creates a complete TypeSpec agent definition including name, description, instructions, conversation starters, and capabilities.
  • Capability Integration: Supports a wide range of M365 Copilot capabilities like WebSearch, Email, TeamsMessages, and more.
  • Use Case: A developer needs to quickly create a new agent that can search the web and access user emails. This Skill generates the foundational TypeSpec code, allowing the developer to focus on refining the agent's specific logic and instructions.

Quick Start

Use the typespec-create-agent skill to generate a TypeSpec agent for searching web content and accessing emails.

Frequently Asked Questions about typespec-create-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a TypeSpec declarative agent for Microsoft 365 Copilot?

To generate a TypeSpec declarative agent for Microsoft 365 Copilot, you need to define the agent's name, description, instructions, conversation starters, and capabilities. This process creates the complete foundational TypeSpec code required for your M365 Copilot integration.

What M365 Copilot capabilities can I integrate using TypeSpec agent generation?

TypeSpec agent generation supports integrating various M365 Copilot capabilities, including WebSearch, Email, TeamsMessages, and CodeInterpreter. You can select these specific functionalities to enable your declarative agent to perform targeted tasks within Microsoft 365.

When do I need to use a declarative agent for M365 Copilot?

You need a declarative agent for M365 Copilot when automating AI interactions and requiring specific capabilities like web search or email access. It provides a structured TypeSpec definition that streamlines development and allows you to focus on refining the agent's logic.

Can I create a Microsoft 365 Copilot agent with both web search and email access?

Yes, you can create a Microsoft 365 Copilot agent with both web search and email access by selecting the WebSearch and Email capabilities. The generation process outputs a complete TypeSpec definition incorporating these selectable functionalities for your specific use case.

What is the best way to define conversation starters for a TypeSpec M365 Copilot agent?

The best way to define conversation starters for a TypeSpec M365 Copilot agent is through automated code generation. This approach creates the complete agent declaration, including tailored conversation starters and instructions, ensuring foundational consistency and reducing manual setup effort.

Does TypeSpec support adding Microsoft Teams messages to an AI agent?

Yes, TypeSpec supports adding Microsoft Teams messages to an AI agent through the TeamsMessages capability. During the declarative agent generation process, you can select this feature to enable your M365 Copilot agent to interact with Teams messages.