Artifact Creator
Create the smallest complete artifact that satisfies the user's requested
runtime and security boundary. Keep portable instructions separate from host
packaging.
Overview
There is one portable Agent Skills contract, one open MCP protocol, and many
different plugin, agent, hook, permission, and marketplace formats. This skill
selects the correct authority before writing files and prevents host-specific
details from leaking into the portable core.
When to use
Use for a new or substantially revised skill, subagent, plugin, MCP integration,
hook, or marketplace entry. For a production modernization involving research,
migration, security review, and release evidence, use production-upgrade
instead. For review without changes, use artifact-validator.
Prerequisites
- The requested outcome and target repository or destination.
- Existing project instructions and the target host's current specification.
- Authorization for any local writes. Creation does not imply permission to
install, publish, deploy, open a PR, or merge.
The pre-authorized Read, Write, and Edit capabilities apply only to local
files inside the user-selected target. Every network, shell, installation, and
external mutation capability remains behind host and project approval.
Instructions
- Read project instructions and inspect the target tree before choosing a
format. Preserve generated-file ownership and existing public identifiers.
- Classify the artifact using
references/artifact-contracts.md. If the
request mixes a portable skill with host wiring, design the portable skill
first and the host adapter second.
- Establish the current authority:
- Agent Skill: the open Agent Skills specification plus any declared local
overlay.
- MCP server: the Model Context Protocol specification and selected SDK.
- Plugin, subagent, hook, command, or catalog: the target host's current
specification.
- This marketplace: repository instructions and its canonical validators.
- Derive least privilege from the actual workflow. Do not copy a broad tool
list from another artifact. Separate read-only analysis from mutations.
- Create only useful files. A skill requires
SKILL.md; add scripts when
deterministic execution matters, references for conditional depth, assets
for output material, and evals for behavior that needs proof.
- For MCP work, define tools around bounded user outcomes. Validate every
input, cap output and retries, redact secrets, separate reads from writes,
and require explicit confirmation for high-impact mutations.
- For host adapters, follow
references/host-adapters.md. Do not claim
another runtime is supported merely because it can read Markdown.
- Validate with
artifact-validator, run focused tests, and report unresolved
assumptions and operations that still require approval.
Output
Return the created paths, the authority used for each artifact, validation
commands and results, support limitations, and the next authorization boundary.
Error handling
- If the target host is unknown, create only the portable Agent Skill and leave
host packaging unclaimed.
- If current official documentation conflicts with repository policy, stop and
surface the conflict at the owning authority.
- If a secret, destructive default, unbounded retry, path escape, or unsupported
runtime claim appears, fail closed and do not scaffold around it.
- If the destination already exists, preserve it and propose an update or
migration; never overwrite without explicit authorization.
Examples
- "Create a skill that audits release readiness" produces one portable skill
and only the resources required by its checks.
- "Build a Goose skill" produces a portable Agent Skill and verifies Goose's
native path before offering installation instructions.
- "Create an MCP server and Claude plugin" designs the server against MCP and
treats the Claude plugin configuration as a separate adapter.
Resources
- Artifact contracts
- Host adapter rules
1---2name: artifact-creator3description: Create or revise Agent Skills, host plugins and subagents, MCP servers and client configurations, hooks, and marketplace catalogs against their actual specifications. Use when building reusable agent capabilities or consolidating creator tooling without inventing a universal host format. Trigger with "create an agent skill", "build a plugin", "create an MCP server", "add a subagent", or "scaffold an agent integration".4license: MIT5---6
7# Artifact Creator
8
9Create the smallest complete artifact that satisfies the user's requested
10runtime and security boundary. Keep portable instructions separate from host
11packaging.
12
13## Overview
14
15There is one portable Agent Skills contract, one open MCP protocol, and many
16different plugin, agent, hook, permission, and marketplace formats. This skill
17selects the correct authority before writing files and prevents host-specific
18details from leaking into the portable core.
19
20## When to use
21
22Use for a new or substantially revised skill, subagent, plugin, MCP integration,
23hook, or marketplace entry. For a production modernization involving research,
24migration, security review, and release evidence, use `production-upgrade`
25instead. For review without changes, use `artifact-validator`.
26
27## Prerequisites
28
29- The requested outcome and target repository or destination.
30- Existing project instructions and the target host's current specification.
31- Authorization for any local writes. Creation does not imply permission to
32 install, publish, deploy, open a PR, or merge.
33
34The pre-authorized `Read`, `Write`, and `Edit` capabilities apply only to local
35files inside the user-selected target. Every network, shell, installation, and
36external mutation capability remains behind host and project approval.
37
38## Instructions
39
401. Read project instructions and inspect the target tree before choosing a
41 format. Preserve generated-file ownership and existing public identifiers.
422. Classify the artifact using
43 [references/artifact-contracts.md](references/artifact-contracts.md). If the
44 request mixes a portable skill with host wiring, design the portable skill
45 first and the host adapter second.
463. Establish the current authority:
47 - Agent Skill: the open Agent Skills specification plus any declared local
48 overlay.
49 - MCP server: the Model Context Protocol specification and selected SDK.
50 - Plugin, subagent, hook, command, or catalog: the target host's current
51 specification.
52 - This marketplace: repository instructions and its canonical validators.
534. Derive least privilege from the actual workflow. Do not copy a broad tool
54 list from another artifact. Separate read-only analysis from mutations.
555. Create only useful files. A skill requires `SKILL.md`; add scripts when
56 deterministic execution matters, references for conditional depth, assets
57 for output material, and evals for behavior that needs proof.
586. For MCP work, define tools around bounded user outcomes. Validate every
59 input, cap output and retries, redact secrets, separate reads from writes,
60 and require explicit confirmation for high-impact mutations.
617. For host adapters, follow
62 [references/host-adapters.md](references/host-adapters.md). Do not claim
63 another runtime is supported merely because it can read Markdown.
648. Validate with `artifact-validator`, run focused tests, and report unresolved
65 assumptions and operations that still require approval.
66
67## Output
68
69Return the created paths, the authority used for each artifact, validation
70commands and results, support limitations, and the next authorization boundary.
71
72## Error handling
73
74- If the target host is unknown, create only the portable Agent Skill and leave
75 host packaging unclaimed.
76- If current official documentation conflicts with repository policy, stop and
77 surface the conflict at the owning authority.
78- If a secret, destructive default, unbounded retry, path escape, or unsupported
79 runtime claim appears, fail closed and do not scaffold around it.
80- If the destination already exists, preserve it and propose an update or
81 migration; never overwrite without explicit authorization.
82
83## Examples
84
85- "Create a skill that audits release readiness" produces one portable skill
86 and only the resources required by its checks.
87- "Build a Goose skill" produces a portable Agent Skill and verifies Goose's
88 native path before offering installation instructions.
89- "Create an MCP server and Claude plugin" designs the server against MCP and
90 treats the Claude plugin configuration as a separate adapter.
91
92## Resources
93
94- [Artifact contracts](references/artifact-contracts.md)
95- [Host adapter rules](references/host-adapters.md)