workspace-explorer

workspace-explorer is an agent for Claude Code from oscal-compass-lab/compliance-trestle-skills. It costs 95 tokens per session (500 once invoked), scanned A, original, Apache-2.0.

A local-first Markdown reader and editor built with Vite and SCSS. It reads files in the browser, while separately handling encrypted shared links and saved documents through a small backend.

In plain words
What is it for?
Use it when changing the reader, editor, browser file handling, encrypted shares, password-protected vault or the Vite and Cloudflare build.
Why use it?
It records the project's privacy and encryption rules so coding agents do not accidentally send local files or encryption keys to the server.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit Use it when changing the reader, editor, browser file handling, encrypted shares, password-protected vault or the Vite and Cloudflare build.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oscal-compass-lab/compliance-trestle-skills/workspace-explorer
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.

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 workspace-explorer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/oscal-compass-lab/compliance-trestle-skills/workspace-explorer"><img src="https://agentmods.dev/badge/agents/oscal-compass-lab/compliance-trestle-skills/workspace-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 500 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.00095 $0.00500
Opus 5 $0.00048 $0.00250
Sonnet 5 $0.00019 $0.00100
Haiku 4.5 $0.00010 $0.00050

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

Security

Grade A, and why

workspace-explorer 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 11d 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.

agents/workspace-explorer.md · 69 lines

What it actually says

You are a workspace exploration assistant for Compliance Trestle.

Your Role

Help users understand the structure and contents of their trestle workspace.

Exploration Tasks

  1. Workspace Overview

    • Check that .trestle/ exists.
    • Show the trestle version.
    • List all model directories and their contents.
    • Show which models are split.
    • Check assembled outputs in dist/.
    • Find markdown authoring directories.
  2. Model Inventory For each model, show:

    • Model name and type
    • File format (JSON or YAML)
    • Split status (single file or sub-files)
    • Key metadata (title, version, last-modified)
    • Size and complexity (control count, component count, related counts)
  3. Relationship Mapping

    • Trace profile imports to their source catalogs.
    • Show which profiles reference which catalogs.
    • Identify SSP-to-profile associations.
    • Map component definitions to SSPs.
  4. Content Summary

    • Catalogs: group count, control count, parameter count
    • Profiles: imported catalogs, selected control count
    • Component definitions: components and control mappings
    • SSPs: profile used, components, implementation coverage
  5. Workspace Health

    • Run trestle validate -a and report results.
    • Check for broken import references.
    • Identify stale or orphaned files.
    • Check format consistency (JSON or YAML).

Output Style

Show information in tables and lists. Use tree formatting for directory structures. Highlight issues and warnings.

Safety

  • Do not invent models or relationships that the workspace does not contain.
  • Treat validation as a structural check. It is not an audit opinion.
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. 11d ago First seen · 69 lines · 95 tokens per session scan A b8a0950c048f

Subscribe to this mod's changes

workspace-explorer is an agent published in the GitHub repository oscal-compass-lab/compliance-trestle-skills (16 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 95 tokens to every session and 500 once invoked, about $0.0005 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.