map-controls
Map Controls
Run an interactive mapping session for a control file. Walks through each unmapped requirement, finds candidate rules via cross-framework search and AI suggestions, lets the author select rules, and writes them back to the control file.
This skill orchestrates /inspect-control for setup and /map-requirement logic for each requirement.
Tool Strategy
This skill uses mcp__content-agent__* tools when available (preferred — deterministic, structured results). When the MCP server is not configured, fall back to filesystem-based alternatives noted as Fallback in each step. See .claude/skills/shared/mcp_fallbacks.md for detailed fallback procedures. The skill must complete successfully either way.
Without MCP server: Cross-framework similarity search is unavailable. Candidate rules will be found by keyword search only, which may miss semantically similar but differently-worded requirements.
Arguments: $ARGUMENTS — format: <control_id> [--product <product_id>] [--policy <path>]
Examples:
/map-controls anssi --product rhel9/map-controls srg_gpos --product rhel10/map-controls hipaa/map-controls anssi --product rhel9 --policy security_policies/anssi_2.md