ask-matt
MAmattpocock/skills337k4,978 new stars in the last 7 days
Create or update Vetta-compatible Agent Skills. Use when the user asks to create a skill, add a SKILL.md workflow, register a skill in skills-manifest.json, package a skill in a Vetta plugin, or add a built-in Vetta skill preset.
Create focused Agent Skills that Vetta can execute and display. Treat the Skill files and their registration metadata as one change.
Infer the target from the request. If it is ambiguous, ask the user to choose before writing files.
| Target | Skill directory | Required registration |
|---|---|---|
| Global Vetta product skill | ~/.vetta/skills/<skill-name>/ | Update ~/.vetta/skills-manifest.json. |
| Project skill | <project-root>/.vetta/skills/<skill-name>/ | No global manifest entry; project discovery is directory-based. |
| Plugin skill | <plugin-root>/agent/skills/<skill-name>/ | Update plugin.json under agent.skillPaths. |
| Built-in Desktop skill | <vetta-mono>/packages/skill-presets/<skill-name>/ | Update <vetta-mono>/packages/skill-presets/skills-manifest.json. |
Do not place a global product Skill only in ~/.vetta/agent/skills; that directory is Agent-compatible but does not provide the Vetta product registration metadata required by the Skills UI.
Skill roots — ~/.vetta/skills, ~/.vetta/agent/skills, <project-root>/.vetta/skills, and the .agents/skills equivalents — are read-only so that generated artifacts never land in them. Creating a new <root>/<skill-name>/ directory is exempt: once this session authors that directory, every file inside it stays writable for the rest of the session.
An already-installed Skill stays read-only. write and edit reject its files, and a shell command that touches them returns a warning to move the output out. To change one, edit the source it was installed from — the plugin, the repository preset, or the project directory — or ask the user to uninstall it first. Never work around the rejection with shell redirection.
name.<skill-directory>/SKILL.md with YAML frontmatter containing name and description.scripts/, references/, or assets/ only when genuinely required. Keep detailed reference material outside SKILL.md and link to it with relative paths.Use this minimal structure:
---
name: example-skill
description: Describe what the Skill does and the user requests that should trigger it.
---
# Example Skill
Concise workflow instructions.
Read the full ~/.vetta/skills-manifest.json before editing it. The file is a root-level JSON object keyed by Skill name. Preserve every existing entry and add or update only the target Skill.
Use an entry shaped like this:
{
"example-skill": {
"name": "example-skill",
"version": "1.0.0",
"installedAt": "<current ISO-8601 timestamp>",
"source": "custom",
"enabled": true,
"type": "skill",
"alias": "Optional display name",
"description": "Description aligned with SKILL.md frontmatter"
}
}
If the manifest does not exist, create it as {} before adding the entry. Keep it valid JSON and avoid replacing unrelated Skills. Use the actual current timestamp rather than a placeholder.
Read the full packages/skill-presets/skills-manifest.json. Preserve existing entries and add the new Skill with source: "builtin", enabled: true, type: "skill", a version, and display metadata. The manifest key, entry name, directory name, and SKILL.md frontmatter name must all match.
The Desktop build only packages enabled directories registered in this manifest. An unregistered preset is an error.
Only plugin-packaged Skills use plugin.json registration.
plugin.json before editing it.agent field and every existing skillPaths entry."agent/skills" when it intentionally contains all plugin Skills; otherwise add the specific Skill directory.Example:
{
"agent": {
"skillPaths": ["agent/skills"]
}
}
description specific enough for reliable triggering; include both the capability and common request language.SKILL.md under 500 lines. Move large examples and domain references into references/.SKILL.md exists and its frontmatter name matches the directory.skills-manifest.json and confirm the target entry is present without losing existing entries.plugin.json contains the correct relative agent.skillPaths entry and remains valid JSON.MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
OBobra/superpowers331k4,772 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days