Agent skill
export-oscal
NIST OSCAL JSON export of compliance evidence from ArangoDB graph
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/export-oscal
SKILL.md
Export OSCAL
Export NIST OSCAL (Open Security Controls Assessment Language) JSON from compliance evidence stored in the ArangoDB graph. Supports NIST 800-171 and CMMC Level 2 frameworks.
Usage
Export compliance evidence
./run.sh export --framework NIST-800-171
./run.sh export --framework CMMC-L2
Dry run (no ArangoDB required)
./run.sh export --framework NIST-800-171 --dry-run
Generates a valid OSCAL assessment-results structure with example data. Useful for testing downstream consumers without a running database.
Validate an OSCAL file
./run.sh validate <file.json>
Checks that the JSON file contains required OSCAL assessment-results fields:
uuid, metadata, and results.
Output
All output goes to stdout as formatted JSON. Redirect to a file as needed:
./run.sh export --framework NIST-800-171 > oscal-export.json
OSCAL Structure
The exported JSON follows the OSCAL assessment-results model:
uuid-- unique identifier for this exportmetadata.title-- framework name and export contextmetadata.last-modified-- ISO 8601 timestampmetadata.version-- export versionmetadata.oscal-version-- OSCAL specification versionresults[]-- array of assessment results, each mapping a control to evidenceuuid-- unique result identifiertitle-- control identifier and namestart-- assessment timestampfindings[]-- evidence entries from QRA and lessons collections
Data Sources
Queries three ArangoDB collections in the sparta database:
| Collection | Purpose |
|---|---|
sparta_controls |
Control definitions and status |
sparta_qra |
QRA (Question-Response-Action) evidence entries |
lessons |
Lessons learned linked to controls |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?