rhecosystemappeng/agentic-collections/cve-impact
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
**CRITICAL**: Use for ALL CVE discovery and listing. DO NOT call get_cves directly. Use when: "show critical CVEs", "CVEs on hostname X", "remediatable vulnerabilities", "impact of CVE-X", risk assessment. NOT for remediation (use `/remediation`). System-level: FIRST reply = pagination prompt (Step -1). Parsing: scripts/01-cve-response-parser.py.
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/cve-impactSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/cve-impact.
CVE Impact Analysis Skill
This skill helps SREs analyze CVE vulnerabilities to understand their impact on systems before creating remediation playbooks.
🚨 SYSTEM-LEVEL (CVEs on device X): Your first reply to the user MUST be the pagination prompt (Step -1). Do NOT call inventory__find_host_by_name or vulnerability__get_system_cves until the user responds. Do not validate MCP or resolve hostname first—HITL comes first.
Integration with Remediation Skill: The /remediation skill orchestrates this skill as part of its Step 1 (Impact Analysis) workflow for complex remediation scenarios. For simple standalone impact analysis, 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-impact". See skill-invocation.md.
Prerequisites
Step 0 — Resolve scripts directory. Before anything else, locate the helper scripts. They are inside the skill's scripts/ subfolder. Run:
Use $SCRIPTS_DIR in all subsequent script calls.
Required MCP Servers: lightspeed-mcp (setup guide)
Required MCP Tools:
get_cves(from lightspeed-mcp) - List/query CVEs by severityget_cve(from lightspeed-mcp) - Get specific CVE detailsget_cve_systems(from lightspeed-mcp) - Find systems affected by CVEsget_system_cves(from lightspeed-mcp) - List CVEs affecting a specific system (usessystem_uuidonly)load_cve_dashboard(from lightspeed-mcp) - Open the interactive CVE dashboard with query parameters. If the client does not support UI, the tool instructs the model to present the data as text.
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 impact analysis
- 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:
- Standalone CVE impact analysis without remediation planning
- Quick risk assessment for a single CVE
- Understanding which systems are affected by a CVE
- CVE severity assessments for change management documentation
- Risk assessment reports for management
Use the `/remediation` skill when you need:
- CVE analysis followed by remediation playbook generation
- Complex workflows involving multiple CVEs and systems
- Integrated risk assessment + remediation planning + execution guidance
- Batch remediation across infrastructure
- End-to-end CVE management (analysis → validation → remediation → verification)
To invoke: Execute the /remediation skill
How they work together: The /remediation skill orchestrates this skill as part of its comprehensive workflow, combining impact analysis with context gathering, playbook generation, and execution guidance.
Workflow
Step -1: System-Level Gate — HITL FIRST (MANDATORY)
If the user asked for CVEs on a device (e.g. "CVEs on ip-172-31-32-201", "remediatable CVEs on hostname X", "most critical CVEs on system Y"):
Your first response to the user MUST be the pagination prompt below. Do not run Step 0, do not call `inventory__find_host_by_name`, do not call `vulnerability__get_system_cves` until the user responds.
Reply to the user with:
Wait for the user to respond. Only after they reply may you proceed to Step 0.
If account-level (e.g. "CVEs on my account"): Skip this step, go to Step 0.
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 Discovery — Choose Flow
Select the appropriate flow based on user request.
| Flow | When to Use | Flow File | |
|---|---|---|---|
| Account-level | devices=all (account-wide CVEs) | 01-account-cves.md | |
| System-level (all CVEs) | devices=selected, remediation=does not matter | 02-system-all-cves.md | |
| System-level (remediatable) | devices=selected, remediation=available | 03-system-remediatable-cves.md |
Variable mapping:
- devices: all → account flow; selected → system flow
- severities: all, most critical, or selected → parameter/filter in each flow
- remediation: available → remediatable flow; does not matter → all-cves flow
CRITICAL: System-Level — HITL FIRST (Before Any Other Action)
For system-level flows (02 or 03): Your first action MUST be to display the HITL prompt below and wait for user confirmation. Do NOT resolve hostname, do NOT call any MCP tool, until the user responds.
Order of operations:
- STOP. Display HITL prompt. Wait for user.
- Only after user confirms → document consultation → resolve hostname → call
vulnerability__get_system_cves
For remediatable CVEs on system (flow 03):
For all CVEs on system (flow 02):
Handle response: Wait for user reply. Only after user confirms (and specifies strategy) may you proceed to resolve hostname and call vulnerability__get_system_cves. If user says "no" or cancels, stop execution.
Anti-pattern: Do NOT call vulnerability__get_system_cves or inventory__find_host_by_name before completing HITL. Calling with only the first page (limit=100, no offset loop) misses remediatable CVEs on later pages.
Action: Read and follow the selected flow file. For system-level, HITL is Step 1 (before all other steps).
Step 2: CVE Information Retrieval (For Specific CVE Analysis)
CRITICAL: Document consultation MUST happen BEFORE tool invocation.
Document Consultation (REQUIRED - Execute FIRST):
- Action: Read cvss-scoring.md using the Read tool to understand CVSS score interpretation and severity mapping
- Output to user: "I consulted cvss-scoring.md to understand CVSS score interpretation and severity mapping."
MCP Tool: get_cve or vulnerability__get_cve (from lightspeed-mcp)
Parameters:
cve_id: Exact CVE identifier from user query (format:"CVE-YYYY-NNNNN")- Example:
"CVE-2024-1234" include_details:true(retrieve complete metadata including CVSS vector, affected packages, references)
Expected Output: Comprehensive CVE metadata including CVSS score, severity, attack vector, affected packages, remediation status
Retrieve comprehensive CVE metadata:
Step 3: Affected Systems Identification
CRITICAL: Document consultation MUST happen BEFORE tool invocation.
Document Consultation (REQUIRED - Execute FIRST):
- Action: Read insights-api.md using the Read tool to understand the system identification response format
- Output to user: "I consulted insights-api.md to understand the system identification response format."
MCP Tool: get_cve_systems or vulnerability__get_cve_systems (from lightspeed-mcp)
Parameters:
cve_id: Exact CVE identifier (format:"CVE-YYYY-NNNNN")- Example:
"CVE-2024-1234" include_patched:false(exclude already-patched systems to focus on vulnerable systems)
Expected Output: List of affected systems with UUID, hostname, IP address, package version, vulnerability status
Identify which systems in your infrastructure are affected by the CVE:
Step 4: System Classification
CRITICAL: Document consultation MUST happen BEFORE classification logic.
Document Consultation (REQUIRED - Execute FIRST):
- Action: Read fleet-management.md using the Read tool to understand system tagging and classification strategies
- Output to user: "I consulted fleet-management.md to understand system tagging and classification strategies."
Classify affected systems by environment and criticality based on tags from Red Hat Lightspeed:
Step 5: Risk Assessment
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-impact/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-impact)