skill-context-compress

Compress long documents, READMEs, and code into compact YAML context.

4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-context-compress
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-context-compress
Source: https://github.com/ryan-nguyen-01/agent-platform/tree/main/.claude/skills/skill-context-compress
Command: npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-context-compress

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nén tài liệu dài, README, code thành YAML context ngắn gọn tối đa mà vẫn giữ đủ thông tin cần thiết cho agents.

Core Features & Use Cases

  • Chuyển đổi README / tài liệu kỹ thuật và mã nguồn thành YAML context tối giản, dễ tích hợp vào các agent.
  • Giữ lại các thông tin quan trọng như mục đích, dependencies, environment variables và cấu trúc thư mục chính.
  • Ứng dụng đa dạng: README, docs, config files và phần mềm, phục vụ tự động hoá rút ngắn dữ liệu cho AI.

Quick Start

Provide the target document or directory (README, code, or config) to compress into a YAML context and receive a compact result.

Frequently Asked Questions about skill-context-compress

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

FAQPage Schema
How do I compress a README into a YAML context for AI agents?

To compress a README into a YAML context, provide the document to the Skill. It extracts essential facts like purpose and dependencies, discarding noncritical details to output a compact YAML structure suitable for agent reasoning.

What is the best way to condense source code and configuration files for automated reasoning?

Condensing source code and configuration files is best handled by extracting core facts and environment notes into a minimal YAML context. This preserves essential information while stripping out noncritical details for automated reasoning.

Can I use this to convert technical documentation into a structured format?

Yes, you can convert technical documentation into a structured YAML format. The Skill processes diverse inputs including docs and config files, retaining directory structures and key variables to provide a compact context.

Does the compressed YAML context preserve environment variables and dependencies?

Yes, the compressed YAML context preserves environment variables and dependencies. It specifically retains important information such as purpose, dependencies, and environment notes while discarding noncritical details from the original input.

What types of files are supported for context compression?

Supported file types for context compression include READMEs, technical documentation, source code, and configuration files. The Skill applies its compression logic across these diverse inputs to produce a unified YAML context.

When should I avoid using YAML context compression for documents?

You should avoid using YAML context compression when your document's noncritical details are actually essential for agent reasoning. The Skill discards noncritical details to maximize compactness, which might remove context needed for complex edge-case analysis.