Prompt file imported from jnPiyush/AgentX (
.github/prompts/cowork-plugin-create.prompt.md). Fill in{{name}},{{capability}},{{skills}},{{connector}},{{outputDir}}before use. Copyright stays with the author.
Create Cowork Plugin Package
Inputs
{{name}}: Cowork plugin name{{capability}}: Business capability the plugin supports{{skills}}: Specialized skills to bundle, ornonefor a connector-only package{{connector}}: MCP connector requirement, ornone{{outputDir}}: Package output directory
Requirements
- Read
.github/skills/development/cowork-plugin-creator/SKILL.mdin full before authoring files. - Decompose
{{capability}}into non-overlapping skills. Each skill owns one stage, task, or domain and defers explicitly at its boundaries. The package must declare at least one skill or at least one connector. - Create
{{outputDir}}/<plugin-name>/manifest.jsonwithmanifestVersion, a stable GUIDid,version,developer,name,description,icons,agentSkills, and anyagentConnectors. Do not add fields outside the supported schema. - Add
color.pngat 192x192 pixels andoutline.pngat 32x32 pixels, and reference both fromicons. - Create
skills/<skill-name>/SKILL.mdfor every skill. The frontmatternamemust be kebab-case and match its folder name exactly, and the description must contain realistic trigger phrases. - Register every skill folder in
agentSkills. Populatereferences/andscripts/inside a skill folder only when that skill needs them. - When
{{connector}}is notnone, add anagentConnectorsentry with an HTTPSmcpServerUrl, a packagedmcpToolDescriptionfile undertools/, and anauthorizationblock whosetypeisNone,OAuthPluginVault,ApiKeyPluginVault, orDynamicClientRegistration. Every type exceptNonerequires a vaultreferenceId. Never embed credentials in the package. - Do not leave TODO markers, generic placeholders, secrets, personal data, customer-sensitive data, or unsupported claims.
- Require human review before sending, publishing, deleting, approving, or taking another consequential action.
- Run
.github/skills/development/cowork-plugin-creator/scripts/New-CoworkPluginPackage.ps1against the completed source directory. - Verify the zip contains
manifest.json, both icons, and every registered skill folder at the archive root with no wrapper directory. - Return the generated zip path and a concise list of packaged files. The final deliverable must be the zip file, not only a Markdown response or source directory.
Output Format
## Cowork Plugin Package
**Plugin**: <name>
**Capability**: <capability>
**Archive**: [<archive-name>.zip](<workspace-relative-path>)
### Package Contents
* `manifest.json`
* `color.png`, `outline.png`
* `skills/<skill-name>/SKILL.md` (when a skill is declared)
* `tools/<tool-description>.json` (when a connector is declared)
### Skills
Omit this section for a connector-only package.
| Skill | Purpose | Triggers |
|-------|---------|----------|
| <skill-name> | <purpose> | <trigger phrases> |
### Next Steps
1. Upload the package for personal testing in Microsoft 365 Copilot Cowork.
2. Validate skill routing, connector access, and approval prompts.
3. Publish through Microsoft 365 administration after business, security, and privacy review.
Constraints
- Never fabricate connector endpoints, tool names, credentials, or customer data
- Never wrap package contents in an extra parent directory inside the zip
- Ask only for genuinely missing essentials, then proceed
