trestle-task-system

trestle-task-system is a skill for Claude Code from oscal-compass-lab/compliance-trestle-skills. It costs 68 tokens per session (3,771 once invoked), scanned A, original, Apache-2.0.

A conversion system for moving security and compliance data between common file formats and OSCAL documents. It supports inputs such as CSV, Excel spreadsheets, XCCDF results, Tanium results, and CIS benchmarks.

In plain words
What is it for?
Use it to create OSCAL catalogs, profiles, component definitions, and assessment results from supported files, or export OSCAL catalogs and profiles for use elsewhere.
Why use it?
It avoids manually re-entering scan results or spreadsheet content into compliance documents. Configured tasks can convert external data into OSCAL or export selected OSCAL models to other formats.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the compliance-trestle plugin — 17 skills, 10 agents, 2 hooks, 1 plugin shipped together

Good fit Use it to create OSCAL catalogs, profiles, component definitions, and assessment results from supported files, or export OSCAL catalogs and profiles for use elsewhere.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oscal-compass-lab/compliance-trestle-skills --skill trestle-task-system
Clone the repo
git clone --depth 1 https://github.com/oscal-compass-lab/compliance-trestle-skills

Made for: Claude Code.

Or install compliance-trestle, the plugin that ships this one along with the rest of its 17 skills, 10 agents, 2 hooks, 1 plugin.

Wrote 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.

agentmods badge for trestle-task-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system/github.svg)](https://agentmods.dev/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system)
Your own site
<a href="https://agentmods.dev/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system"><img src="https://agentmods.dev/badge/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system/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.

agentmods 80×15 button for trestle-task-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system"><img src="https://agentmods.dev/badge/skills/oscal-compass-lab/compliance-trestle-skills/trestle-task-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.03771
Opus 5 $0.00034 $0.01886
Sonnet 5 $0.00014 $0.00754
Haiku 4.5 $0.00007 $0.00377

Measured 12d ago against content hash 95eb99987e8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

trestle-task-system scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trestle-task-system/SKILL.md · 340 lines

How it starts

The opening of the file, as written. The whole thing — 340 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trestle Task System

The trestle task system converts external data formats into OSCAL documents. It also converts OSCAL documents into external formats. Supported formats include CSV, XLSX, XCCDF, Tanium, and CIS benchmarks. Configure tasks in config.ini sections. Run a task with trestle task <name>.

Available Tasks

Into OSCAL

Task Name Input Format Output OSCAL Type
csv-to-oscal-cd CSV Component Definition
xlsx-to-oscal-cd XLSX Component Definition
xlsx-to-oscal-profile XLSX Profile
xccdf-result-to-oscal-ar XCCDF XML results Assessment Results
tanium-result-to-oscal-ar Tanium JSON results Assessment Results
cis-xlsx-to-oscal-catalog CIS benchmark XLSX Catalog
cis-xlsx-to-oscal-cd CIS benchmark XLSX Component Definition
ocp4-cis-profile-to-oscal-catalog OCP4 CIS profile YAML Catalog
ocp4-cis-profile-to-oscal-cd OCP4 CIS profile YAML Component Definition

From OSCAL

Task Name Input OSCAL Type Output Format
oscal-catalog-to-csv Catalog CSV
oscal-profile-to-osco-profile Profile OSCO YAML

Configuration Format

Configure tasks in .trestle/config.ini with INI-style sections:

[task.csv-to-oscal-cd]
title = My Component Definition
version = 1.0
csv-file = data/controls.csv
output-dir = component-definitions/my-component
output-overwrite = true

The section name follows the pattern [task.<task-name>].

Task-Specific Configuration

csv-to-oscal-cd

This task is used often. It converts a CSV file with control mappings into an OSCAL Component Definition.

Required keys:

  • title: Component definition title
  • version: Component definition version
  • csv-file: Path to the CSV file
  • output-dir: Output directory for the generated OSCAL JSON

Optional keys:

  • component-definition: Path to an existing component-definition to merge with
  • class.column-name: Class to associate with a CSV column name
  • output-overwrite: true (default) or false
  • validate-controls: on, warn, or off (default)

Read the full file on GitHub · 340 lines

Changes

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.

  1. 12d ago First seen · 340 lines · 68 tokens per session scan A 95eb99987e8b

Subscribe to this mod's changes

trestle-task-system is a skill published in the GitHub repository oscal-compass-lab/compliance-trestle-skills (16 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 3,771 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nist-800-53

Use when the user asks about NIST SP 800-53 Rev. 5 from an engineering perspective — selecting baselines, tailoring controls, modeling control inheritance from cloud providers and shared services, emitting OSCAL artifacts, or implementing controls in IaC and code rather than running them as a documentation exercise.…

grcwarlock/compliance-as-code · 76 tokens

iso-27001

Use when the user asks about ISO/IEC 27001:2022 from an engineering perspective — building an ISMS that runs on systems and code rather than spreadsheets, instrumenting Annex A controls, designing risk registers as data, and producing evidence pipelines that hold up to a certification audit. Engineer-voice, not…

grcwarlock/compliance-as-code · 72 tokens

soc-2

Use when the user asks about SOC 2 from an engineering perspective — Trust Services Criteria (TSC) implementation, evidence-as-code, continuous monitoring patterns, instrumenting controls, or designing systems that produce audit-ready evidence by default. Engineer-voice, not auditor-voice.

grcwarlock/compliance-as-code · 59 tokens

control-mapping

Maps NIST controls to FedRAMP requirements and documents. Use when helping with control implementation, compliance mapping, security baseline alignment, or understanding control requirements.

hackIDLE/fedramp-docs-mcp · 35 tokens

frmr-analysis

Analyzes FedRAMP FRMR documents to extract control mappings, KSI entries, and version changes. Use when the user asks about FedRAMP requirements, control mappings, compliance data, or needs to understand FRMR document content.

hackIDLE/fedramp-docs-mcp · 51 tokens

fedramp

Expert guidance for FedRAMP certification and compliance under CR26 (FedRAMP Consolidated Rules for 2026). Use this skill whenever a user asks about FedRAMP authorization, ATO (Authority to Operate), cloud security for federal government, NIST SP 800-53 controls, CSP compliance, or any of the core FedRAMP document…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 236 tokens