office

Repackage and validate OOXML archives for DOCX, XLSX, and PPTX workflows.

126|11|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/HybridAIOne/hybridclaw --skill office-hybridaione
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office
Source: https://github.com/HybridAIOne/hybridclaw/tree/main/skills/office
Command: npx skills add https://github.com/HybridAIOne/hybridclaw --skill office-hybridaione

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the need to safely unpack, validate, compact, and repack Office Open XML (DOCX/XLSX/PPTX) documents without corrupting structure.

Core Features & Use Cases

  • OOXML unpacking with optional run merging: Extracts OOXML parts from an archive while optionally merging adjacent text runs for cleaner XML output.
  • Package validation for structural correctness: Checks OOXML relationships, namespaces, content-types overrides, and that relationship targets exist.
  • XML compaction and safe repacking: Compacts XML for efficiency and repacks while preserving required OOXML member ordering.

Use case: You receive multiple DOCX files and need a deterministic preprocessing step that (1) unpacks and normalizes XML, (2) validates the package structure before downstream processing, and (3) repacks it for consistent ingestion.

Quick Start

Use the office skill to unpack and validate an uploaded DOCX before any conversion-dependent QA: “Unpack the file into a working directory, validate the OOXML structure, and report any structural issues.”

Frequently Asked Questions about office

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate OOXML structure in DOCX and XLSX files?

To validate OOXML structure, the skill checks relationships, namespaces, and content-types overrides while ensuring relationship targets exist. This package validation identifies structural issues in DOCX and XLSX files before any downstream processing.

How do I unpack an Office Open XML archive without corrupting the file structure?

You can unpack OOXML zip packages safely using extraction path checks that enforce deterministic member handling. This ensures DOCX, XLSX, and PPTX files are extracted without corrupting their internal structure.

What is XML compaction and run merging for Office documents?

XML compaction and run merging normalize Office Open XML by merging adjacent text runs for cleaner output and compacting XML for efficiency. This preprocessing step produces consistent, normalized XML before repacking.

Can I repackage OOXML files while preserving the required member ordering?

Yes, you can repackage OOXML archives while preserving required member ordering. The skill compacts XML and safely repacks the zip package, maintaining the structural integrity needed for valid DOCX and XLSX workflows.

Does this OOXML validation approach work with PPTX files?

Yes, this approach works with PPTX files alongside DOCX and XLSX formats. It supports format detection and spec-based validation across all three Office Open XML document types for consistent structural correctness.

Why do I need to validate [Content_Types].xml and .rels relationships before processing DOCX files?

Validating [Content_Types].xml and .rels relationships is required to ensure package structural correctness. Checking these OOXML components prevents corruption and verifies that all relationship targets exist before downstream ingestion.