pavilio-create-skill

Scaffolds new workspace skills with SKILL.md files and agent command wrappers.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/gmotyl/pavilio --skill pavilio-create-skill-gmotyl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pavilio-create-skill
Source: https://github.com/gmotyl/pavilio/tree/main/skills/pavilio-create-skill
Command: npx skills add https://github.com/gmotyl/pavilio --skill pavilio-create-skill-gmotyl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating a new AI agent skill by hand requires writing a SKILL.md file, generating command wrappers for Claude Code and opencode, and wiring everything together correctly — a repetitive, error-prone process. This Skill automates the entire scaffolding workflow so new slash commands work consistently across both agents. ## Core Features & Use Cases - Standardized Skill Scaffolding: Creates skills/<name>/SKILL.md with proper YAML frontmatter, trigger phrases, and a mandatory Non-goals section. - Automatic Command Wrapper Generation: Runs setup scripts that derive .claude/commands/ and .opencode/commands/ wrappers plus the ~/.claude/skills/ symlink that makes skills model-invocable. - Collision Detection and Git Commit: Checks for existing skills before writing, then commits only the SKILL.md as a conventional commit. - Use Case: You want a new /pavilio-manager slash command available in both Claude Code and opencode. Invoke this Skill with the name and purpose, and it scaffolds the skill, syncs both agents, and commits the result. ## Quick Start Ask the AI to create a new skill named pavilio-manager that tracks project status, using the /pavilio-create-skill command.

Frequently Asked Questions about pavilio-create-skill

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

FAQPage Schema
How do I create a new slash command for Claude Code and opencode?▼

Invoke /pavilio-create-skill with a kebab-case name and a short purpose description. It writes skills/<name>/SKILL.md, runs the setup scripts to generate command wrappers for both agents, and commits the result.

What files are needed to define an AI agent skill?▼

A skill requires a skills/<name>/SKILL.md file with YAML frontmatter containing name and description fields, followed by Markdown instructions. Command wrappers in .claude/commands/ and .opencode/commands/ are generated automatically by setup scripts, not hand-written.

Does this skill work with both Claude Code and opencode?▼

Yes, it generates wrappers for both agents. Claude Code uses .claude/commands/ plus a ~/.claude/skills/ symlink, while opencode uses .opencode/commands/ and registration in opencode.json, with skill discovery also relying on the symlink.

What happens if a skill with the same name already exists?▼

The scaffolding stops and asks whether to update or rename. It checks skills/, .claude/commands/, and .opencode/commands/ for collisions before writing anything, and never overwrites an existing skill without explicit confirmation.

When should I not use this skill scaffolding workflow?▼

Do not use it to design complex skill behavior — that belongs to the pavilio-grill design skill first. It also does not edit AGENTS.md, repo-level commands, or the upstream pavilio repository.