rhecosystemappeng/agentic-collections/cve-validation
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
**CRITICAL**: This skill must be used for CVE validation queries. DO NOT use raw MCP tools like get_cve directly. Validate CVE identifiers and check remediation availability in Red Hat Lightspeed. Use when: - "Is CVE-2024-1234 valid and remediable?" - "Check if CVE-X has automated remediation available" - "Verify these CVEs before creating a playbook" - "Validate CVE list for batch remediation" **DO NOT use this skill when** user requests full remediation - use `/remediation` skill instead: - "Create a remediation playbook for CVE-X" → `/remediation` skill - "Create playbook and execute it" → `/remediation` skill - "Remediate CVE-X" / "Patch CVE-X" → `/remediation` skill This skill orchestrates MCP tools (get_cve) for CVE validation. The `/remediation` skill invokes this skill as Step 2 of its workflow.
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/cve-validationSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/cve-validation.
CVE Validation Skill
This skill validates CVE identifiers and checks remediation availability in Red Hat Lightspeed, ensuring CVEs are valid and remediable before investing effort in remediation planning.
Integration with Remediation Skill: The /remediation skill orchestrates this skill as part of its Step 2 (Validate CVE) workflow. For standalone CVE validation, you can invoke this skill directly.
Invocation Note (Host-Specific)
When invoked by another skill (e.g. remediation), use the Skill tool—do NOT use "Task Output" with the skill name as task ID. That causes "No task found with ID: cve-validation". See skill-invocation.md.
Prerequisites
Required MCP Servers: lightspeed-mcp (setup guide)
Required MCP Tools:
get_cve(from lightspeed-mcp) - Get CVE metadata and validation
Required Environment Variables:
LIGHTSPEED_CLIENT_ID- Red Hat Lightspeed service account client IDLIGHTSPEED_CLIENT_SECRET- Red Hat Lightspeed service account secret
Prerequisite Validation
CRITICAL: Before executing any operations, execute the /mcp-lightspeed-validator skill to verify MCP server availability.
Validation freshness: Can skip if already validated in this session..
How to invoke: Execute the /mcp-lightspeed-validator skill
Handle validation result:
- If validation PASSED: Continue with CVE validation
- If validation PARTIAL: Warn user and ask to proceed
- If validation FAILED: Stop execution, provide setup instructions
When to Use This Skill
Use this skill directly when you need:
- Quick validation of CVE identifier format and existence (standalone query)
- Check if automated remediation is available
- Verify CVE metadata before analysis
- Validate CVE lists for batch operations
DO NOT use this skill when - use /remediation skill instead:
- User says "create a remediation playbook" or "remediate CVE-X" or "patch CVE-X"
- User says "create playbook and execute it" - agent orchestrates full workflow
- Any request that implies playbook generation or execution
Use the `/remediation` skill when you need:
- Full remediation workflow (validation + analysis + playbook + execution)
- Integrated CVE validation as part of remediation planning
How they work together: The /remediation skill invokes this skill early in the workflow to fail fast if a CVE is invalid or has no automated remediation, saving time and effort.
When invoked by remediation: Return remediatable status prominently so the orchestrator can gate. Include remediation_status.automated_remediation_available (boolean) and validation_status ("valid" | "not_remediable" | "invalid" | "not_found") in the output.
Workflow
Step 0: Validate Lightspeed MCP Prerequisites
Action: Execute the /mcp-lightspeed-validator skill
Note: Can skip if validation was performed earlier in this session and succeeded..
How to invoke: Execute the /mcp-lightspeed-validator skill
Handle validation result:
- If validation PASSED: Continue to Step 1
- If validation PARTIAL: Warn user and ask to proceed
- If validation FAILED: Stop execution, user must set up MCP server
Step 1: CVE Format Validation
Validate CVE identifier format before calling MCP tools. Format only—do NOT reject based on year or sequence magnitude.
Quick Regex Check:
CRITICAL - Do NOT add extra checks: If the format matches the regex, you MUST call get_cve. Do NOT reject based on:
- "Future" or "current year" assumptions (e.g. "2026 CVE might not exist yet")
- Sequence number magnitude (e.g. "24882 seems high")—5 digits is valid
- Your training data about typical CVE ranges
Let the API determine existence. A 404 from get_cve means "not found"; format validation only catches malformed IDs.
Step 2: CVE Metadata Retrieval
CRITICAL: Document consultation MUST happen BEFORE tool invocation.
Document Consultation (REQUIRED - Execute FIRST):
- Action: Read vulnerability-logic.md using the Read tool to understand CVE validation criteria
- Action: Read references/01-remediation-indicators.md to interpret get_cve response—CRITICAL to avoid misinterpreting remediation availability
- Output to user: "I consulted vulnerability-logic.md and 01-remediation-indicators.md for CVE validation and remediation indicator interpretation."
MCP Tool: get_cve or vulnerability__get_cve (from lightspeed-mcp)
Do NOT use vulnerability__explain_cves for validation. That tool requires system_uuid from inventory; at validation you may not have it. get_cve provides remediation availability. Never pass system_uuid: "undefined" or placeholders.
Parameters:
cve: Exact CVE identifier from user query (format:"CVE-YYYY-NNNNN")- Example:
"CVE-2024-1234" advisory_available:"true"(retrieve CVE with advisory/remediation info)
Expected Output: CVE metadata including CVSS score, severity, affected packages, remediation availability
Retrieve CVE metadata from Red Hat Lightspeed:
Step 3: Validation Checks
CRITICAL: Document consultation MUST happen BEFORE validation logic.
Document Consultation (REQUIRED - Execute FIRST):
- Action: Read cvss-scoring.md using the Read tool to understand Red Hat severity classification and CVSS score ranges
- Output to user: "I consulted cvss-scoring.md to understand Red Hat severity classification and CVSS score ranges."
Perform comprehensive validation:
A. Existence Check:
B. Red Hat Relevance Check:
C. Severity Classification:
D. Remediation Availability Check (READ references/01-remediation-indicators.md):
E. Package Information Validation:
Step 4: Return Validation Result
Return structured validation result. When invoked by remediation skill: Ensure validation_status and remediation_status.automated_remediation_available are explicit—the orchestrator gates on these.
Output, Examples, Error Handling
Read [references/03-output-template.md](references/03-output-template.md) for report format. Read [references/04-examples.md](references/04-examples.md) for validation examples. Read [references/05-error-handling.md](references/05-error-handling.md) for format, not-found, no-remediation, and API errors.
Best Practices
Validate format first; if regex matches, ALWAYS call get_cve (do not reject on year/sequence). Check remediation availability; fail fast if none. Provide clear next steps and manual guidance when automated unavailable. Link to NVD and Red Hat Security. Cache results to avoid redundant calls.
Dependencies
Required MCP Servers
lightspeed-mcp- Red Hat Lightspeed platform access
Required MCP Tools
get_cve(from lightspeed-mcp) - Get CVE metadata and validation- Parameters: cve_id (string, format CVE-YYYY-NNNNN), include_details (boolean), validate_format (boolean)
- Returns: CVE metadata with CVSS score, severity, affected packages, remediation availability
Related Skills
mcp-lightspeed-validator- PREREQUISITE - Validates Lightspeed MCP server before operations- Use before: ALL cve-validation operations (Step 0 in workflow)
- Purpose: Ensures MCP server is available before attempting tool calls
cve-impact- Analyze CVE impact after validation- Use after: Step 4 when CVE is validated and user wants impact analysis
- Purpose: Assess risk and affected systems for validated CVE
system-context- Get system details after validating CVE affects systems- Use after: Validation confirms CVE has affected systems
- Purpose: Understand deployment context before remediation
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-sre/skills/cve-validation/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/cve-validation)