Interactive skill creation and import with automated validation and marketplace compliance. Use when: - "Create a new skill" - "Import an existing skill" - "Create a new agentic pack" - "Add skill to <pack>" - "Build skill for <rh-product>" - User mentions "skill builder", "contribute", "new skill", "import skill", or "new pack" Two modes: create from scratch or import existing SKILL.md. Guides through discovery, definition, generation, and validation. Enforces SKILL_DESIGN_PRINCIPLES.md and agentskills.io spec.
Interactive AI assistant for creating production-ready skills and agentic packs for Red Hat products and platforms with automated quality validation.
All skills created follow Red Hat product guidelines, official documentation standards (docs.redhat.com, access.redhat.com), and best practices for Red Hat Enterprise Linux, OpenShift Container Platform, Ansible Automation Platform, Red Hat Lightspeed, and other Red Hat ecosystem products.
Creates: Complete skill structure with YAML frontmatter, all mandatory sections, pack integration, and new agentic packs (Lola-compatible)
Validates: Tier 1 (agentskills.io) + Tier 2 (repository design principles)
Applies: Red Hat documentation compliance (uses official Red Hat documentation to adapt skill content to manufacturer guidelines - not automated validation)
Marketplace: Registers packs in marketplace/rh-agentic-collection.yml (agentic-catalog) for Lola package manager installation
Required Tools:
git - Version controluv - Python environment managerbash - Shell for validation scriptsVerification:
test -d .git && echo "✓ Git repo" || echo "✗ Not a git repo"
which uv >/dev/null && echo "✓ uv installed" || echo "✗ Install uv"
test -f SKILL_DESIGN_PRINCIPLES.md && echo "✓ Valid repo" || echo "✗ Wrong directory"Human Notification Protocol:
If prerequisites fail:
❌ Cannot execute: <issue>
📋 Setup: <specific_steps>
🔗 Doc: CONTRIBUTING.mdSecurity: Never display git credentials or secrets.
Use when:
/agentic-contribution-skillDo NOT use when:
Ask: "Are you creating a new skill from scratch, or importing an existing SKILL.md?"
Ask concisely, validate before proceeding. Make additional questions if needed to gather complete context.
mcps.json to list existing MCP serversColor Mapping (risk-based, with Red Hat/OpenShift examples):
| Color | Use Case | Examples |
|---|---|---|
| 🔵 cyan | Read-only operations | list clusters, view VM status, check node health, get CVE data |
| 🟢 green | Additive operations | create VM, deploy cluster, generate playbook, add backup |
| 🔵 blue | Reversible operations | restart pod, pause MCP, start VM, stop service |
| 🟡 yellow | Destructive but recoverable | delete snapshot, remove annotation, uncordon node |
| 🔴 red | Critical/irreversible | upgrade cluster, delete cluster, restore ETCD, execute remediation |
Validation:
test -d <pack>/skills/<name>/ for uniquenessreferences/ folder)Quality over Speed: Focus on gathering complete, accurate information. Validation and iteration will ensure correctness - prioritize quality of final result over generation time.
Get file: Ask for the path to the existing SKILL.md
Read & parse: Read the file with Read tool. Parse YAML frontmatter, extract name, description, workflow steps, MCP tools mentioned
Pack suggestion: Analyze skill content keywords and suggest the best-fit pack:
| Keywords in skill content | Suggested pack |
|---|---|
| VM, virtual machine, KubeVirt, snapshot, migration, clone | rh-virt |
| CVE, vulnerability, remediation, compliance, RHEL, SRE | rh-sre |
| deploy, build, S2I, Helm, container, route, BuildConfig | rh-developer |
| cluster, install, Assisted Installer, multi-cluster, ROSA | ocp-admin |
| model, inference, GPU, vLLM, KServe, RHOAI, workbench | rh-ai-engineer |
| Ansible, AAP, playbook, governance, job template | rh-automation |
| CVE explanation, product lifecycle, support severity, diagnostics, patching, support case, troubleshooting, customer issue, knowledge base, must-gather | rh-basic |
<pack> (persona: )"Color inference: If frontmatter has no color, analyze the skill's workflow steps and operations to infer the risk level. Present your conclusion to the user:
Inferred color: <color> — Reason: <operations are read-only/additive/destructive/etc.>
Confirm? (yes/override)Use the color mapping table from Phase 1 (Discovery).
MCP tool verification: Identify all MCP tools referenced in the skill. Read the target pack's mcps.json and verify each tool exists. Flag any tools not found — they may need a new MCP server or the skill may need adaptation.
Report analysis:
Analyzed: <path>
Name: <name> | Lines: <N> | Frontmatter: <valid/needs-fixes>
Suggested pack: <pack> (keywords: <matched>)
Color: <color> (<inferred or from frontmatter>)
MCP tools: <N verified, M not found>
Missing sections: <list or "none">
Proceed with adaptation? (yes/no/try another file)If user says no: ask "Would you like to try a different file, or cancel?" and act accordingly.
Document Consultation (REQUIRED): Read SKILL_DESIGN_PRINCIPLES.md using Read tool. Output: "I consulted SKILL_DESIGN_PRINCIPLES.md to ensure compliant adaptation."
model: inherit and color set (use value confirmed by user in Phase 1-Import). Add metadata block if missingtest -d <pack>/skills/<name>/<pack>/skills/<skill-name>/SKILL.md<pack>/AGENTS.md intent routing tableAfter confirmation → proceed to Phase 5 (Validation & Iteration).
Document Consultation (REQUIRED - Execute BEFORE generation):
Modularity Assessment:
Show complete spec:
## Review Before Generation
**Pack**: <pack> | **Skill**: <name> | **Color**: <color>
**Purpose**: <purpose>
**Red Hat Product**: <rh-product>
**Use When**: <3-5 examples>
**NOT for**: <anti-pattern>
**Workflow**: <N> steps
**Common Issues**: <N> documented
**MCP Tools**: <tool_count> tools (verified to exist)
**External Resources**: <count> (will be saved to references/)
**Human-in-the-Loop**: <Yes/No>
[If >10 steps or complex workflow]:
💡 **Modularity Note**: This skill has <N> steps. Options:
1. Single comprehensive skill (recommended for critical/cohesive workflows)
2. Subdivide into <N> modular skills (if logical separation exists)
Default: Option 1. Subdivide? (yes/no)
Proceed with generation? (yes/no)Create structure:
mkdir -p <pack>/skills/<skill-name>/
# If external resources provided by user:
mkdir -p <pack>/skills/<skill-name>/references/Generate files:
references/ if neededreferences/workflow-details.md - Extended workflow explanations if skill is concisereferences/common-issues.md - Detailed troubleshooting with full KB article contentreferences/examples.md - Comprehensive usage examplesreferences/external-resources.md - Any external references/links/KB articles mentioned by user${ENV_VAR} format).claude/skills/compass-manifest-maintenance/) for registered packs — skill catalog-info.yaml, Location targets, bidirectional dependsOn/dependencyOf on plugin and MCP manifestsGenerate SKILL.md following the mandatory section template in SKILL_DESIGN_PRINCIPLES.md (already consulted in Phase 3). If SKILL.md becomes too long, move detailed content to references/ with references in main file.
Validation always runs - quality is the priority, not speed.
Tier 1 - agentskills.io:
uv run python scripts/validate_skills_tier1.py <pack>/skills/<skill-name>/SKILL.mdTier 2 - Design Principles:
uv run python scripts/validate_skills_tier2.py <pack>/skills/<skill-name>/SKILL.mdReport clearly:
Iteration Protocol (if validation fails):
references/ folder, keep main skill conciseNote: We iterate as many times as needed to achieve production-ready quality. Each iteration improves the skill.
Present a concise summary to the user:
User has full control. Each step requires explicit confirmation:
feat/<skill-name>? (yes/no)"feat: add <skill-name> skill to <pack>), wait for approvalgh pr create if available, or provide manual stepsUser can skip any step.
Report: skill path, quality status, PR URL (if created), and note that CI checks will run automatically.
Fix: Shorten frontmatter - move details to body sections.
Fix: Choose more specific name. Check: ls <pack>/skills/
Fix: Add to <pack>/mcps.json using ${ENV_VAR} format.
Fix: Configure credentials:
# HTTPS
git config --global credential.helper store
# SSH
ssh-add ~/.ssh/id_ed25519Fix: Install:
curl -LsSf https://astral.sh/uv/install.sh | shCause: Pack not registered in marketplace/rh-agentic-collection.yml (agentic-catalog)
Fix: Add pack entry to marketplace file:
- name: <pack-name>
version: 0.1.0
description: <pack-description>
path: <pack-name>Cause: Skill content is comprehensive but exceeds agentskills.io 500-line limit
Fix: Iterate to move detailed content to references/ folder:
<skill>/references/ directoryreferences/workflow-details.mdreferences/common-issues.mdreferences/examples.mdExample:
## Common Issues
See [references/common-issues.md](references/common-issues.md) for detailed solutions.
### Issue 1: Snapshot Fails
Storage doesn't support snapshots.
**Solution**: Use snapshot-capable storage. [Details](references/common-issues.md#issue-1)None - This skill operates on repository files and git operations only. No MCP servers required.
None - Uses Claude Code built-in tools (Read, Write, Edit, Bash, Skill) for file operations and validation.
None - agentic-contribution-skill is self-contained and doesn't invoke other skills.
SKILL_DESIGN_PRINCIPLES.md - Design principles (DP1-11)scripts/validate_skills_tier1.py - Tier 1 validation (agentskills.io)scripts/validate_skills_tier2.py - Tier 2 validation (design principles)Makefile - Validation targetsmarketplace/rh-agentic-collection.yml (agentic-catalog) - Lola marketplace registrySee Prerequisites section for required system tools (git, uv, bash).
Internal:
External:
MUST confirm before:
NEVER:
Why: User controls their repository. Quality standards ensure CI success.
${ENV_VAR} format, never hardcodedSee references/examples.md for comprehensive examples.
User: "Create skill for rh-virt to backup VMs"
Skill guides through:
1. Discovery (5 questions) - Verifies MCP tools exist
2. Definition (6 questions) - Gathers workflow details
3. Pre-generation summary - Consults SKILL_DESIGN_PRINCIPLES.md
4. Generation - Creates SKILL.md with all mandatory sections
5. Validation - Tier 1 + Tier 2, iterates if needed
6. Git workflow - User confirms each step
Result: Production-ready skill in rh-virt/skills/vm-backup-create/More examples: references/examples.md
e46c4fa
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.