Control lookup

From Rifteo/skills · View interactive version

Control lookup is an AI agent skill from the GitHub repository Rifteo/skills. Looks up any control ID across ISO 27001, NIST CSF, PCI-DSS v4, and OWASP returns the full control card, cross-framework mappings with confidence level, related controls, and testing hints. Trigger when the user provides a control ID and asks what it means, asks how controls map across frameworks, s

How to use this skill

Skill file

Control Lookup

When a user provides a control ID, a control name, or a plain-language description of a control objective, identify it, return its full details, and map it across ISO 27001, NIST CSF, PCI-DSS v4, and OWASP (Top 10 / ASVS).

Step 1 — Parse the Input

Accept any of the following input forms:

| Input form | Example |

|---|---|

| Control ID — ISO 27001 | A.8.2, A.9.1.1, 5.15 (2022 notation) |

| Control ID — NIST CSF | PR.AC-1, DE.CM-7, ID.AM-2, GV.OC-01 (CSF 2.0) |

| Control ID — PCI-DSS v4 | Req 7.1.2, 10.2.1, 6.3 |

| Control ID — OWASP Top 10 | A01:2021, A03:2021 |

| Control ID — OWASP ASVS | V2.1.1, V4.3.2, V7.1.1 |

| Control name or keyword | "least privilege", "patch management", "MFA", "encryption at rest", "injection" |

| Plain-language objective | "access should be revoked when an employee leaves" |

If the input is ambiguous (e.g., "Control 5" could be ISO 27001 clause 5 or NIST CSF category), list all candidates and ask the user to confirm before proceeding.

Normalize the control ID to its canonical notation before outputting:


Step 2 — Control Card

Produce the full control details for the identified control:


Step 3 — Cross-Framework Mapping

Map the control to its equivalents in the other frameworks. For each mapping, state a confidence level:

| Confidence | Meaning |

|---|---|

| Direct | Controls share the same objective and scope — satisfying one largely satisfies the other |

| Partial | Controls overlap significantly but differ in scope, specificity, or implementation requirements |

| Related | Controls address adjacent objectives — relevant context, but not interchangeable |

Present the mapping as a table:

| Framework | Control ID | Control Name | Confidence | Notes |

|---|---|---|---|---|

| ISO 27001 | [ID] | [Name] | Direct / Partial / Related | [Brief note on what aligns and what differs] |

| NIST CSF | [ID] | [Name] | Direct / Partial / Related | |

| PCI-DSS v4 | [ID] | [Name] | Direct / Partial / Related | |

| OWASP Top 10 | [ID] | [Name] | Direct / Partial / Related | |

| OWASP ASVS | [ID] | [Name] | Direct / Partial / Related | |

If no mapping exists for a framework, state: "No direct or partial mapping — this control addresses a domain not covered by [Framework]."

Multi-mapping: a single control may map to more than one control in another framework. List all relevant mappings per framework, ranked by confidence.


Step 4 — Related Controls (Same Framework)

List 2–4 controls within the same framework that are closely related — controls that are commonly tested together, that depend on this control, or that this control depends on.

| Control ID | Control Name | Relationship |

|---|---|---|

| [ID] | [Name] | [Prerequisite / Dependent / Commonly tested together / Compensating] |


Step 5 — Testing Hints

Provide 3–5 concrete, evidence-based indicators an auditor would look for to determine if this control is satisfied:

Also note:


Output Format

Produce exactly this structure for every lookup:


Control: [Canonical ID] — [Control Name]

Framework: [Framework name and version]

Domain: [Domain / Category / Function]

Type: [Preventive / Detective / Corrective / Compensating]

Objective:

[One to two sentences — what this control is designed to achieve]

Description:

[Full control description or faithful paraphrase]

Implementation guidance:


Cross-Framework Mappings:

| Framework | Control ID | Control Name | Confidence | Notes |

|---|---|---|---|---|

| ISO 27001 (2022) | | | | |

| NIST CSF | | | | |

| PCI-DSS v4 | | | | |

| OWASP Top 10 | | | | |

| OWASP ASVS | | | | |


Related Controls ([Framework]):

| Control ID | Control Name | Relationship |

|---|---|---|

| | | |


Testing Hints:

Common failure modes: [2–3 sentences on what most often goes wrong]

Edge cases: [1–2 sentences on subtle non-compliance patterns]


Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.