AI Agent Hub
Back to skills
Docroom Document Compression Engine icon

Docroom Document Compression Engine

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_9c50a897/docroom according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Large tool outputs, JSON, logs, and search results can consume context quickly, but replacing them with summaries can hide fields, versions, anomalies, and evidence locations. docroom targets large, reconstructable, navigable office materials and provides a compress-and-retrieve workflow instead of an unauditable summary.

How It Works

  • Classify before compressing: A–E responsibility levels decide eligibility. Only structured, repetitive, retrievable A/B tool outputs proceed; C/D/E source facts, Office/HTML structure, and sensitive material remain intact.
  • Use the official Headroom MCP: calls headroom_compress, headroom_retrieve, and headroom_stats for native compression, CCR original-text cache, and token accounting.
  • Fidelity gates: preserve source tool, field names, URLs, IDs, versions, pagination boundaries, anomalies, and evidence locations before compression; trim only duplicate templates, irrelevant fields, and exact duplicates.
  • Validate benefit: requires tokens_saved > 0, recoverable metadata, and consistent CCR retrieval; otherwise falls back to pagination, narrower reads, or keeping the original.

Boundaries

Best for large, repetitive, structured tool outputs that will be reused later. Not suitable for exact citations, final conclusions, native Word/Excel/PPT structure, images, charts, formulas, DOM/CSS, sensitive material, or unauthorized content. The runtime must expose the official Headroom MCP, and factual answers should be verified by headroom_retrieve(hash).

Use Cases

  • Compress repetitive JSON tool outputs while keeping fields, IDs, pagination boundaries, and CCR retrieval.
  • Reduce noisy logs or search results by trimming duplicate templates, then use CCR to locate exact values or anomalies.
  • Generate navigation diagnostics beside Office originals, recording counts, field completeness, and resource locations without compressing structure.
  • Reuse large API results by compressing navigation and retrieving original text before citing versions or URLs.

Best For

  • Engineers processing large tool outputs who need compressed JSON, logs, and search results with retrievable evidence.
  • Developers maintaining MCP workflows who need Headroom compression behind classification gates, quality checks, and fallbacks.
  • Office automation engineers who need navigation diagnostics beside Office/HTML materials without compressing native structure.
  • Analysts consolidating structured results who need lower context usage while verifying fields, versions, and IDs.