
typespec-create-agent
Generate a complete TypeSpec declarative agent for Microsoft 365 Copilot
by githubFree
Description
typespec-create-agent is an agent skill from the github/awesome-copilot collection that generates a complete TypeSpec declarative agent for Microsoft 365 Copilot. The output is a main.tsp file that declares the agent with the agent decorator, sets its instructions with the instructions decorator, defines its conversation starters, and lists its capabilities, following Microsoft's TypeSpec schema for Microsoft 365 Copilot. The skill sets limits from that schema: the agent name is kept to a hundred characters or fewer, the description to a thousand or fewer, and the instructions to under eight thousand characters. Instructions are written to set the agent's role, expertise and personality, and to say what it should and should not do. It is useful for developers who want a declarative agent for their organization and a starting point that already meets the schema. The instructions define how the agent behaves and what it can reach through its capabilities, so the capabilities should be limited to what the agent needs, and the agent should be tested before it is shared with users. The skill is installed with the skills CLI from the github/awesome-copilot repository. Its skills.sh page showed about 8.7K installs and passing results from three security audits at the time of the scan.…
Highlights
- Complete main.tsp declarative agent
- Agent declaration, instructions and conversation starters
- Capability definitions
- Schema limits on name, description and instructions
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate typespec-create-agent.
People also visit

multi-reviewer-patterns
Coordinate parallel code reviews across multiple quality dimensions
typespec-create-agent FAQ
What does it generate?
A main.tsp file with the agent declaration, instructions, conversation starters and capabilities.
What limits does it respect?
A name of 100 characters or fewer, a description of 1,000 or fewer, and instructions under 8,000 characters.
Should I test the agent?
Yes. Limit its capabilities to what it needs and test it before sharing it with users.
How do I install it?
Run npx skills add https://github.com/github/awesome-copilot --skill typespec-create-agent.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best typespec-create-agent alternatives?
Popular alternatives to typespec-create-agent include declarative-agents, typespec-api-operations and langchain-architecture. See all typespec-create-agent alternatives


