cvss-score-extraction

cvss-score-extraction is a skill for Claude Code, Codex from cxcscmu/SkillLearnBench. It costs 32 tokens per session (864 once invoked), scanned A, original, MIT.

A guide for extracting CVSS scores, which are 0-to-10 ratings that describe the severity of software vulnerabilities, from NVD, GitHub Security Advisories, and Red Hat.

In plain words
What is it for?
Use it to collect vulnerability severity scores, preferring modern NVD scores and then falling back to GitHub, Red Hat, or no score.
Why use it?
It defines a fallback order when several sources provide different scores or when one source has no score.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to collect vulnerability severity scores, preferring modern NVD scores and then falling back to GitHub, Red Hat, or no score.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cxcscmu/skilllearnbench/cvss-score-extraction
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cxcscmu/SkillLearnBench --skill cvss-score-extraction
Clone the repo
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cvss-score-extraction

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/cvss-score-extraction/github.svg)](https://agentmods.dev/skills/cxcscmu/skilllearnbench/cvss-score-extraction)
Your own site
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/cvss-score-extraction"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/cvss-score-extraction/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cvss-score-extraction

Your own site · 80×15
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/cvss-score-extraction"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/cvss-score-extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00864
Opus 5.5 $0.00013 $0.00346
Sonnet 5.5 $0.00006 $0.00173
Haiku 4.5 $0.00003 $0.00086

Measured 3mo ago against content hash 720612a1b278, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cvss-score-extraction scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/b1-one-shot-claude-haiku-4-5/dependency-vulnerability-check/cvss-score-extraction/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CVSS Score Extraction

Overview

CVSS (Common Vulnerability Scoring System) scores quantify vulnerability severity from 0-10. Different sources may provide different scores, requiring intelligent fallback handling.

Score Sources

NVD (National Vulnerability Database)

  • Official US government vulnerability database
  • Provides CVSS v3.0 and v3.1 scores
  • Most comprehensive coverage
  • URL pattern: https://nvd.nist.gov/vuln/detail/{CVE_ID}

GHSA (GitHub Security Advisory)

  • GitHub's vulnerability advisory database
  • Integrated with npm ecosystem
  • URL pattern: https://github.com/advisories/{GHSA_ID}

RedHat Security

  • RedHat-specific vulnerability data
  • Often has additional context
  • URL pattern: https://access.redhat.com/security/cve/{CVE_ID}

Source Priority

For optimal results, use this priority:

  1. NVD CVSS v3.1 (most reliable, modern scoring)
  2. NVD CVSS v3.0 (fallback, still reliable)
  3. GHSA CVSS (GitHub advisory ecosystem)
  4. RedHat CVSS (distribution-specific)
  5. N/A (if no score available)

Data Extraction Pattern

def extract_cvss_score(vuln_data):
    """
    Extract CVSS score with source priority fallback.

    vuln_data: vulnerability object from Trivy or similar
    returns: (score, source) tuple
    """

    # Check NVD first (most authoritative)
    if 'nvd_cvss_v3_1' in vuln_data:
        return (vuln_data['nvd_cvss_v3_1'], 'NVD')

    if 'nvd_cvss_v3_0' in vuln_data:
        return (vuln_data['nvd_cvss_v3_0'], 'NVD')

    # Check GitHub Advisory
    if 'ghsa_cvss' in vuln_data:
        return (vuln_data['ghsa_cvss'], 'GHSA')

    # Check RedHat
    if 'redhat_cvss' in vuln_data:
        return (vuln_data['redhat_cvss'], 'RedHat')

    # No score available
    return ('N/A', 'Unknown')

Handling Missing Scores

When CVSS scores are unavailable:

def get_cvss_with_fallback(cve_id, vuln_sources):
    """
    Query multiple sources for CVSS score.

    cve_id: CVE identifier (e.g., CVE-2021-12345)
    vuln_sources: list of available data sources
    returns: (score_value, source_name)
    """

    for source in vuln_sources:
        score = source.get_cvss(cve_id)
        if score:
            return (score, source.name)

    # Fallback: use severity level as proxy
    return ('N/A', 'No Score Available')

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 123 lines · 32 tokens per session scan A 720612a1b278

Subscribe to this mod's changes

cvss-score-extraction is a skill published in the GitHub repository cxcscmu/SkillLearnBench (93 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 864 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cvss-score-extraction compared with skills from other repositories

cvss-score-extraction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cvss-score-extractioncxcscmu/SkillLearnBenchSkill931mo agoMITA32Claude Code, Codex
maintaining-core-memoryletta-ai/letta-codeSkill3.9ktodayApache-2.0A50Claude Code, Codex
maven-plugin-configurationbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A31Claude Code, Codex
openai-visionbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A17Claude Code, Codex
powerliftingbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A21Claude Code, Codex
box-least-squaresbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A64Claude Code, Codex
routing-subtour-eliminationbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A70Claude Code, Codex