agentleFS
oscal-compass-laboscal-compass-lab/compliance-trestle-skills/.cursor/skills/import-legacy-ssp/SKILL.md

import-legacy-ssp

Skill16 starsChanged 4 months agoApache-2.0View on GitHub

Import a legacy SSP, PDF, DOCX, or Markdown package into a traceable OSCAL Document Workbench workspace using extraction, source mapping, Trestle bootstrap, and validation.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the full legacy SSP import workflow for Cursor.

    line 9
  2. Very specific:

    Make sure you know the source files and the target workspace path.

    line 26
  3. Distinctive:

    Do not change the original files.

    line 28
  4. Very specific:

    Keep unmatched sections needs_review.

    line 56
  5. Distinctive:

    Do not commit real customer SSPs or sensitive evidence.

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Import Legacy SSP

Run the full legacy SSP import workflow for Cursor.

Before you start

Read:

  • AGENTS.md
  • agent-skills/oscal-document-engineering/SKILL.md
  • agent-skills/compliance-trestle-engineering/SKILL.md
  • plugins/document-transform/oscal-document-workbench/commands/ingest-ssp.md

This repository is an OSCAL and Compliance Trestle toolkit. FedRAMP Rev 5 heading maps and 20x KSI coverage are optional adapters. They are not the default product claim.

Steps

  1. Make sure you know the source files and the target workspace path. Usual path: workspaces/<system>-ssp-import/.
  2. Copy source documents into input/.
  3. Do not change the original files.
  4. Extract source text and section structure:
bash plugins/document-transform/oscal-document-workbench/scripts/extract-legacy-doc.sh <input> --output <workspace>/extracted
  1. Bootstrap or reuse a Compliance Trestle workspace:
bash plugins/document-transform/oscal-document-workbench/scripts/bootstrap-trestle-workspace.sh <workspace> [--profile <name>]
  1. Optionally import a real NIST or FedRAMP baseline when the source is a FedRAMP-style SSP:
bash plugins/document-transform/oscal-document-workbench/scripts/fetch-oscal-baseline.sh <workspace>/trestle-workspace --baseline moderate
  1. Draft a schema-valid SSP from extracted sections when Trestle is available:
bash plugins/document-transform/oscal-document-workbench/scripts/draft-ssp-from-extraction.sh <workspace> [--baseline-profile fedramp-rev5-moderate] [--overwrite]

Omit --baseline-profile to make offline stub catalog and profile models. Replace stubs before authorization use. For non-FedRAMP sources, do not treat the FedRAMP heading map as authoritative. Keep unmatched sections needs_review.

  1. Map remaining content in source-map.csv. Mark uncertain mappings as needs_review. Do not invent compliance facts.
  2. Build the review queue:
bash plugins/document-transform/oscal-document-workbench/scripts/build-review-queue.sh <workspace>/extracted/source-map.csv --output <workspace>/reports/review-queue.md
  1. Validate the package or document missing tools explicitly:
bash plugins/document-transform/oscal-document-workbench/scripts/validate-oscal-package.sh <workspace>/trestle-workspace --output <workspace>/reports/validation-report.json
  1. Optionally report FedRAMP 20x KSI documentation coverage:
bash plugins/document-transform/oscal-document-workbench/scripts/fetch-fedramp-2026-rules.sh
bash plugins/document-transform/oscal-document-workbench/scripts/ksi-coverage-report.sh <ssp.json> --output <workspace>/reports/ksi-coverage.md
  1. Make:
  • reports/import-summary.md
  • reports/validation-report.json
  • reports/unmapped-items.md
  • reports/review-queue.md

Synthetic example

bash examples/legacy-ssp-to-oscal/scripts/run-example.sh

Safety

  • Do not commit real customer SSPs or sensitive evidence.
  • Schema-valid OSCAL does not prove compliance effectiveness.
  • Require human review for all needs_review and unmapped rows before assessment use.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.