/oscal:oscal-profilefrom oscal
Creates and modifies OSCAL profiles that select, organize, and tailor controls from catalogs into security baselines like FedRAMP levels.
Ships in oscal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The Profile model enables selecting, organizing, and tailoring controls from catalogs to create security baselines. Profiles can import from catalogs or other profiles.
Related skills:
oscal-catalog - Control definitions that profiles select fromoscal-ssp - System Security Plans that implement profile baselinesA profile:
| Profile | Based On | Description |
|---|---|---|
| FedRAMP Low | NIST 800-53 | Low-impact cloud systems |
| FedRAMP Moderate | NIST 800-53 | Moderate-impact cloud systems |
| FedRAMP High | NIST 800-53 | High-impact cloud systems |
| CMMC Level 2 | NIST 800-171 | Contractor cybersecurity maturity |
profile:
uuid: <unique-identifier>
metadata:
title: "Baseline Profile"
version: "1.0.0"
oscal-version: "1.1.2"
imports: # Source catalogs/profiles
- href: "catalog.json"
include-controls:
- with-ids:
- ac-1
- ac-2
merge: # How to combine imports
combine:
method: merge
as-is: true
modify: # Tailoring modifications
set-parameters: []
alters: []
back-matter:
resources: []
imports:
- href: "https://example.com/oscal/nist-800-53-catalog.json"
include-controls:
- with-ids:
- ac-1
- ac-2
- ac-3
imports:
- href: "fedramp-moderate-baseline.json"
include-controls:
- with-ids:
- ac-1
Include all controls:
imports:
- href: "catalog.json"
include-all: {}
Include by matching:
imports:
- href: "catalog.json"
include-controls:
- matching:
- pattern: "ac-*" # All access control
- pattern: "sc-*" # All system/comms protection
Exclude specific controls:
imports:
- href: "catalog.json"
include-all: {}
exclude-controls:
- with-ids:
- ac-1 # Exclude this control
Control how imported controls are combined:
merge:
combine:
method: merge # or "use-first", "keep"
as-is: true # Preserve source structure
flat: true # Flatten into single list
custom: # Custom organization
groups:
- id: access
title: "Access Controls"
insert-controls:
- include-controls:
- with-ids:
- ac-1
- ac-2
| Method | Behavior |
|---|---|
merge | Combine duplicate controls |
use-first | Keep first occurrence only |
keep | Keep all occurrences |
Override parameter values:
modify:
set-parameters:
- param-id: ac-1_prm_1
values:
- "Chief Information Security Officer"
- param-id: ac-2_prm_1
select:
how-many: one-or-more
choice:
- annually
- upon significant change
Add, remove, or modify control content:
modify:
alters:
- control-id: ac-1
adds:
- position: ending
parts:
- id: ac-1_org_smt
name: item
prose: "Organization-specific requirement..."
removes:
- by-name: guidance
| Position | Description |
|---|---|
before | Insert before target |
after | Insert after target |
starting | Insert at beginning |
ending | Insert at end |
Profiles are resolved to produce a catalog representing the final baseline:
# Resolve profile to catalog
oscal-cli resolve-profile profile.json -o resolved-catalog.json
# Validate resolved output
oscal-cli validate resolved-catalog.json
The resolved catalog:
Profiles can build on other profiles:
NIST 800-53 Catalog
↓
FedRAMP Moderate Profile (selects ~325 controls)
↓
Agency-Specific Profile (adds agency requirements)
↓
System-Specific Profile (sets organization parameters)
profile:
uuid: "550e8400-e29b-41d4-a716-446655440000"
metadata:
title: "Custom Agency Baseline"
version: "1.0.0"
oscal-version: "1.1.2"
imports:
- href: "https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/rev5/baselines/json/FedRAMP_rev5_MODERATE-baseline-resolved-profile_catalog.json"
include-all: {}
modify:
set-parameters:
- param-id: ac-1_prm_1
values:
- "Agency CISO"
alters:
- control-id: ac-1
adds:
- position: ending
parts:
- name: item
prose: "Agency-specific: Review annually."
NIST and FedRAMP provide official OSCAL profiles:
| Profile | Location |
|---|---|
| NIST 800-53 Rev 5 LOW | JSON |
| NIST 800-53 Rev 5 MODERATE | JSON |
| NIST 800-53 Rev 5 HIGH | JSON |
| NIST 800-53 Rev 5 PRIVACY | JSON |
| FedRAMP Rev 5 Baselines | GitHub Repository |
Sample profiles for learning:
Annotated sample profiles in this repository (all formats validated):
| Format | File | Notes |
|---|---|---|
| YAML | examples/profile/sample-profile.yaml | Inline comments explaining each section |
| XML | examples/profile/sample-profile.xml | Inline comments explaining each section |
| JSON | examples/profile/sample-profile.json | No comments (JSON limitation) |
These examples demonstrate:
alterWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
oscal, security-baselines, fedramp, nist-800-53, control-tailoring
npx claudepluginhub metaschema-framework/claude-plugins --plugin oscalOther plugins' skills for the same job
9 skills in this plugin
/oscal-assessment-planUse when creating, understanding, or working with OSCAL Security Assessment Plans (SAP) that define assessment scope and activities/oscal-assessment-resultsUse when creating, understanding, or working with OSCAL Security Assessment Results (SAR) that document assessment findings/oscal-basicsUse when working with OSCAL documents, security controls, or compliance artifacts - routes to specific model skills