diff --git a/submissions/red-hat-get-started/evals/evals.json b/submissions/red-hat-get-started/evals/evals.json new file mode 100644 index 0000000..c897cae --- /dev/null +++ b/submissions/red-hat-get-started/evals/evals.json @@ -0,0 +1,17 @@ +{ + "skill_name": "red-hat-get-started", + "evals": [ + { + "id": "red-hat-get-started-eval", + "name": "Red Hat Skills Installer", + "prompt": "You are setting up Red Hat agent skills for a new project. Describe the installation process: what skills are included in the pack, how each skill is installed, what happens if a download fails, and what the user should do after installation completes.", + "expected_output": "A bootstrap installer workflow that downloads 5 Red Hat skills (cve-explainer, diagnostics, product-lifecycle, security-mcp-setup, support-severity) from the agentic-collections repository, handles failures gracefully, and provides a post-install summary with available commands.", + "assertions": [ + "The output lists the 5 Red Hat skills to install: red-hat-cve-explainer, red-hat-diagnostics, red-hat-product-lifecycle, red-hat-security-mcp-setup, and red-hat-support-severity.", + "The output describes continuing installation even if a single skill download fails, reporting failures at the end for manual recovery.", + "The output describes a post-install summary listing available slash commands for each installed skill.", + "The output recommends running /red-hat-security-mcp-setup after installation to configure the Security MCP server." + ] + } + ] +} diff --git a/submissions/red-hat-get-started/metadata.yaml b/submissions/red-hat-get-started/metadata.yaml new file mode 100644 index 0000000..5e22e4e --- /dev/null +++ b/submissions/red-hat-get-started/metadata.yaml @@ -0,0 +1,5 @@ +name: red-hat-get-started +description: "Bootstrap installer. Fetches and installs all Red Hat agent skills into" +persona: rh-sre +version: "1.0.0" +eval_engine: ase diff --git a/submissions/red-hat-get-started/skills/SKILL.md b/submissions/red-hat-get-started/skills/SKILL.md new file mode 100644 index 0000000..8003b3c --- /dev/null +++ b/submissions/red-hat-get-started/skills/SKILL.md @@ -0,0 +1,81 @@ +--- +name: red-hat-get-started +description: Bootstrap installer. Fetches and installs all Red Hat agent skills into + this project. +license: Apache-2.0 +--- + +# Red Hat Skills Installer + +SKILLS_REPO = https://github.com/RHEcosystemAppEng/agentic-collections/tree/main/rh-basic/skills + +Install all Red Hat agent skills into the appropriate skills directory for the +current agentic tool. Work through skills in order. Do not stop on a single +fetch failure -- continue and report failures at the end. + +## Prerequisites + +Network access to GitHub to download skill files. + +## When to Use This Skill + +When setting up the agentic skill pack for Red Hat customers for the first time in a project. + +## Workflow + +1. Download each skill's SKILL.md from SKILLS_REPO into the appropriate skills directory. +2. Report any failures for manual recovery. +3. Deliver post-install summary and remove itself. + +## Dependencies + +None. + +## Skills to Install + +| Skill directory | Invocation | +|------------------------------|---------------------------------| +| red-hat-cve-explainer | /red-hat-cve-explainer | +| red-hat-diagnostics | /red-hat-diagnostics | +| red-hat-product-lifecycle | /red-hat-product-lifecycle | +| red-hat-security-mcp-setup | /red-hat-security-mcp-setup | +| red-hat-support-severity | /red-hat-support-severity | + +## Install Sequence + +Browse SKILLS_REPO to find the raw SKILL.md URL for each skill directory. + +For each skill: + +1. Create the skill directory inside the appropriate skills directory for the current tool. +2. Download the raw file directly into that directory as `SKILL.md` using a + native file fetch or download tool. Do not read the content and re-write it + -- this risks truncation or reformatting. + +On failure: print URL and target path, tell user to download manually, continue. + +## Post-Install Summary + +After all 5 skills are processed, tell the user: + +``` +Red Hat agent skills installed. + +Available commands: + /red-hat-cve-explainer -- Explain a CVE and recommended action + /red-hat-diagnostics -- Gather diagnostic data for Red Hat support + /red-hat-product-lifecycle -- Check lifecycle status for any Red Hat product + /red-hat-security-mcp-setup -- Add the Red Hat Security MCP server (CVE/advisory data) + /red-hat-support-severity -- Determine support ticket severity and SLA + +[List any skills that failed to download and their manual URLs.] + +Type /red-hat-security-mcp-setup to configure the Security MCP server. +``` + +## Self-Destruct + +After delivering the summary, delete this skill's directory from the skills +directory of the current agentic tool. + +Tell the user: "This installer has removed itself."