Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/oscal-compass-lab/compliance-trestle-skillsnpx agentmods add commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baselineWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baseline)<a href="https://agentmods.dev/commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baseline"><img src="https://agentmods.dev/badge/commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baseline/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baseline"><img src="https://agentmods.dev/badge/commands/oscal-compass-lab/compliance-trestle-skills/fetch-oscal-baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.00674 |
| Opus 5 | $0.00023 | $0.00337 |
| Sonnet 5 | $0.00009 | $0.00135 |
| Haiku 4.5 | $0.00005 | $0.00067 |
Grade A, and why
Fetch OSCAL Baseline scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `5` : missing dependency (`trestle`, `curl`) or download failure How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/oscal-document-workbench:fetch-oscal-baseline
Download the NIST SP 800-53 Rev 5 OSCAL catalog and a FedRAMP Rev 5 baseline profile. Cache them locally. Import both into a Compliance Trestle workspace.
How to run
bash plugins/document-transform/oscal-document-workbench/scripts/fetch-oscal-baseline.sh <trestle-workspace> [--baseline low|moderate|high|li-saas] [--cache-dir <dir>] [--overwrite]
Then draft the SSP against the real baseline:
bash plugins/document-transform/oscal-document-workbench/scripts/draft-ssp-from-extraction.sh <workspace> --baseline-profile fedramp-rev5-moderate --overwrite
Arguments
<trestle-workspace>: an initialized Trestle workspace (contains.trestle/).--baseline <level>: FedRAMP Rev 5 baseline:low,moderate(default),high, orli-saas.--cache-dir <dir>: download cache (default~/.cache/oscal-baselines, override withOSCAL_BASELINE_CACHE).--overwrite: replace existing imported catalog and profile models.--skip-validate: skip post-import profile validation.
Sources
- NIST SP 800-53 Rev 5 catalog:
usnistgov/oscal-contenton GitHub. - FedRAMP Rev 5 baseline profiles:
OSCAL-Foundation/fedramp-resourceson GitHub. See fedramp.gov Rev 5 documents and templates. OSCAL packages are managed through the FedRAMP automation GitHub ecosystem.
Override source URLs with OSCAL_NIST_CATALOG_URL and OSCAL_FEDRAMP_BASE_URL for mirrors or air-gapped environments.
Pre-populate the cache directory when network egress is restricted.
Outputs
catalogs/nist-800-53-rev5/: imported NIST catalog.profiles/fedramp-rev5-<baseline>/: imported FedRAMP profile with its import href rewritten to the local trestle catalog.- Cached downloads under the cache directory.
Exit codes
0: success2: bad arguments or not a trestle workspace3: import or validation failed5: missing dependency (trestle,curl) or download failure
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 60 lines · 47 tokens per session scan A 50bad3158b87
Fetch OSCAL Baseline is a command published in the GitHub repository oscal-compass-lab/compliance-trestle-skills (16 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 674 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
evidence-examples
Get evidence examples for FedRAMP compliance.
list-ksi
List Key Security Indicators from FedRAMP.
search
Search FedRAMP documentation for compliance guidance.
list-documents
List all FedRAMP FRMR documents.
service-auditor-prep
Generate complete auditor-ready evidence package for SOC 2.
soa-generator
Generate ISO 27001 Statement of Applicability (SOA) with control selection justifications.