csf-mapping

csf-mapping is a cursor rule for Cursor from briiirussell/cybersecurity-skills. It costs 135 tokens per session (2,913 once invoked), scanned A, original, MIT.

A way to assess cybersecurity against the NIST Cybersecurity Framework 2.0, a commonly used guide for managing security risk. It covers governance, identifying risks, protection, detection, response, and recovery.

In plain words
What is it for?
Use it to create a security gap analysis, assess current and target tiers, and plan a governance-focused security roadmap.
Why use it?
It turns a broad security review into a structured comparison of current practices, target maturity, gaps, and improvement steps.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to create a security gap analysis, assess current and target tiers, and plan a governance-focused security roadmap.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/briiirussell/cybersecurity-skills/csf-mapping
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.

Clone the repo
git clone --depth 1 https://github.com/briiirussell/cybersecurity-skills

Made for: Cursor.

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 csf-mapping

README.md
[![agentmods](https://agentmods.dev/badge/rules/briiirussell/cybersecurity-skills/csf-mapping.svg)](https://agentmods.dev/rules/briiirussell/cybersecurity-skills/csf-mapping)
Your own site
<a href="https://agentmods.dev/rules/briiirussell/cybersecurity-skills/csf-mapping"><img src="https://agentmods.dev/badge/rules/briiirussell/cybersecurity-skills/csf-mapping.svg" alt="Measured on agentmods" height="20"></a>
Per session 135 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,913 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.
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.00135 $0.02913
Opus 5 $0.00068 $0.01456
Sonnet 5 $0.00027 $0.00583
Haiku 4.5 $0.00014 $0.00291

Measured 8d ago against content hash 211c9131e359, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

csf-mapping 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 8d 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.

adapters/cursor/csf-mapping.mdc · 210 lines

How it starts

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

CSF Mapping — NIST Cybersecurity Framework 2.0 Posture Assessment

Translate your security posture into the language every CISO, board, auditor, and insurer already speaks. Distinct from the audit skills (which find specific issues); this skill assesses your program against a recognized framework and produces governance-ready output.

NIST CSF 2.0 is the framework that, as of 2024, replaced CSF 1.1. It added a sixth function — Govern — recognizing that the others can't work without governance backing.

The six functions:

Function What it covers
Govern (GV) Cybersecurity strategy, roles, policies, oversight, supply chain risk
Identify (ID) Asset inventory, business environment, risk assessment, supply chain
Protect (PR) Access control, awareness, data security, baseline configurations, maintenance, protective tech
Detect (DE) Continuous monitoring, anomaly detection, adverse event analysis
Respond (RS) Incident management, analysis, mitigation, reporting, comms
Recover (RC) Recovery planning, improvements, communications

Each function contains Categories (e.g., PR.AA — Identity Management, Authentication, and Access Control), and each category contains Subcategories (e.g., PR.AA-01 — Identities and credentials for authorized users, services, and hardware are managed).

This skill maps your reality to those Subcategories.

Cross-references: every audit skill in this repo (they produce evidence that becomes the "current state" entries here), iam-audit (most of PR.AA), siem-detection (most of DE), incident-triage (most of RS), threat-modeling (informs ID.RA risk assessment), breach-patterns (informs ID.IM improvements from lessons learned).

Methodology

Step 1 — Establish scope

CSF assessments are scope-bounded. Decide which of these you're assessing:

  • Whole organization — every system, every business unit
  • One product / service — for vendor due-diligence questionnaires (SIG, CAIQ)
  • One environment — production cloud only, or PCI-in-scope only
  • Regulatory scope — HIPAA-covered systems, FedRAMP boundary, etc.

Read the full file on GitHub · 210 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. 8d ago First seen · 210 lines · 135 tokens per session scan A 211c9131e359

Subscribe to this mod's changes

csf-mapping is a cursor rule published in the GitHub repository briiirussell/cybersecurity-skills (383 stars, last pushed 3mo ago), licensed MIT. It adds 135 tokens to every session and 2,913 once invoked, about $0.0007 per session on Opus 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.