SC

Sandboxed Tool-Output Compactor

Route Claude's tool calls through a sandbox so raw command output gets compressed before it hits the context window.

AI Systemsai-systemsp4
Or just install the prompt above — no subscription needed

About this skill


name: sandboxed-output-compactor description: Route Claude's tool calls through a sandbox so raw command output gets compressed before it hits the context window. Use when working on sandboxed tool-output compactor.

Sandboxed Tool-Output Compactor

Every shell command, Playwright snapshot, or HTTP fetch runs in an isolated subprocess. Only the semantically useful slice returns to Claude. A local SQL journal captures files edited, tasks opened, and errors so that compaction never loses state. Sessions stretch from 30 minutes to multi-hour. Use during any long-running Claude Code build where tool output is noisy.

What you get

  • Sandbox routing hook
  • Output-compression rules
  • SQL session journal
  • /ctx-stats reporter
  • Per-tool compression tier
  • Rollback command

Customize your output

  • Compression aggressiveness per tool: shell, browser, HTTP
  • Sandbox runtime: Docker, local
  • Journal retention: 7, 30, 90 days
  • Auto-clean thresholds: 50k, 100k tokens
  • Whitelist tools: comma list
  • Log format: JSON, SQLite

Example output

'A 315 KB session footprint compressed to 5 KB while preserving every file-edit decision.'

Best for

Heavy Claude Code users, long-running agent operators.


Note: Real plugin exists under similar name. Skill formalizes install and tuning. High confidence.

Source: AI Agencies Creator (unnamed) · https://www.youtube.com/watch?v=eRS3CmvrOvA Category: AI Systems · Priority: P4

SKILL.md preview

---
name: sandboxed-output-compactor
description: Route Claude's tool calls through a sandbox so raw command output gets compressed before it hits the context window. Use when working on sandboxed tool-output compactor.
---

# Sandboxed Tool-Output Compactor

Every shell command, Playwright snapshot, or HTTP fetch runs in an isolated subprocess. Only the semantically useful slice returns to Claude. A local SQL journal captures files edited, tasks opened, and errors so that compaction never loses state. Sessions stretch from 30 minutes to multi-hour. Use during any long-running Claude Code build where tool output is noisy.

## What you get

- Sandbox routing hook
- Output-compression rules
- SQL session journal
- /ctx-stats reporter
- Per-tool compression tier
- Rollback...