condense

Condense Markdown files by removing prose filler while preserving instructions and structure.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/vexjoy-agent --skill condense-notque
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: condense
Source: https://github.com/notque/vexjoy-agent/tree/main/skills/code-quality/condense
Command: npx skills add https://github.com/notque/vexjoy-agent --skill condense-notque

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, yaml, grep, and includes scripts (resource) components.

What problem does it solve?

Reduces bloated Markdown files by removing prose filler while preserving every instruction, rule, and gate so the edited docs remain operationally correct.

Core Features & Use Cases

  • Maximize information density in .md: Condenses content while keeping tables, code blocks, YAML frontmatter, and phase structure intact.
  • Deterministic mechanical pre-pass: Removes trailing whitespace and consecutive blank lines before any LLM-style rewriting to prevent token waste.
  • Verification gates against loss: Validates YAML parsing and checks that key terms (phases, gates, commands) still appear after condensing.

Quick Start

Run /condense <file> to condense a targeted Markdown file while preserving all instructions and structure.

Frequently Asked Questions about condense

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

FAQPage Schema
How do I condense Markdown files without losing instructions?

Condense Markdown files by running a mechanical whitespace pre-pass followed by in-place rewriting that removes prose filler while preserving YAML frontmatter, code blocks, tables, and all operational instructions.

Can I batch condense multiple Markdown files at once?

Batch condensing supports glob patterns and larger file sets, applying deterministic whitespace removal and verification gates across all targeted Markdown files to ensure key terms and instructions remain present.

Does condensing Markdown affect YAML frontmatter parsing?

Markdown condensing preserves YAML frontmatter exactly as written and validates it through a verification gate that confirms the YAML still parses correctly after all prose filler is removed.

What is the best way to remove filler text from documentation for faster agent use?

Removing filler text for faster agent use requires a deterministic pre-pass to eliminate trailing whitespace and consecutive blank lines, then in-place rewriting that maximizes information density without altering phase structure or deleting gates.

Do I need Python to condense documentation with this approach?

Condensing documentation requires Python 3 along with yaml and grep dependencies to execute the pre-pass whitespace removal, in-place rewriting, and verification gates that ensure structural integrity and instruction preservation.

Why does Markdown condensing risk breaking code blocks and tables?

Markdown condensing can break code blocks and tables if filler removal is not constrained, so this approach explicitly preserves code blocks, tables, and YAML frontmatter while only targeting prose filler for deletion.