ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

skill-condenser

Compress verbose SKILL.md files using Chain-of-Density with skill-aware formatting. Use when a skill exceeds 200 lines or needs terse refactoring.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/killerapp/skill-condenser
Or

Skill Condenser

Compress SKILL.md files using CoD with skill-format awareness. Optimized for 2-3 passes (not 5) since skills are structured, not prose.

When to Use

  • SKILL.md exceeds 200 lines
  • Skill contains prose paragraphs instead of bullets
  • Refactoring verbose documentation to terse style

Process

  1. Read the skill to condense
  2. Run 2-3 iterations of cod-iteration with skill-format context
  3. Each iteration: extract key entities, compress to bullets/tables
  4. Output: condensed skill maintaining structure

Orchestration

Iteration 1: Structure Extraction

Pass to cod-iteration:

iteration: 1
target_words: [current_words * 0.6]
format_context: |
  OUTPUT FORMAT: Agent Skills SKILL.md
  - Use ## headers for sections
  - Bullet lists, not prose paragraphs
  - Tables for comparisons/options
  - Code blocks for commands
  - No filler phrases ("this skill helps you...")

text: [FULL SKILL.MD CONTENT]

Iteration 2: Entity Densification

iteration: 2
target_words: [iteration_1_words]
format_context: |
  SKILL.md TERSE RULES:
  - Each bullet = one fact
  - Combine related bullets with semicolons
  - Remove redundant examples (keep 1 best)
  - Tables compress better than lists for options

text: [ITERATION 1 OUTPUT]
source: [ORIGINAL SKILL.MD]

Iteration 3 (Optional): Final Polish

Only if still >150 lines:

iteration: 3
target_words: [iteration_2_words]
format_context: |
  FINAL PASS:
  - Move detailed content to references/ links
  - Keep only: Quick Start, Core Pattern, Troubleshooting
  - Each section <20 lines

text: [ITERATION 2 OUTPUT]
source: [ORIGINAL SKILL.MD]

Expected Output Format

Each iteration returns:

Missing_Entities: "entity1"; "entity2"; "entity3"

Denser_Summary:
---
name: skill-name
description: ...
---
# Skill Name
[Condensed content in proper SKILL.md format]

Skill-Specific Entities

When condensing skills, prioritize these entity types:

Entity TypeKeepRemove
Commandsdeploy.py --env prodVerbose explanations
OptionsTable rowParagraph per option
ErrorsError → FixLong troubleshooting prose
Examples1 best exampleMultiple similar examples
PrerequisitesBullet listExplanation of why needed

Target Compression

OriginalTargetIterations
200-300 lines100-1502
300-500 lines150-2002-3
500+ lines200 + refs3 + refactor

Example: Compressing Verbose Section

Before (45 words):

## Configuration
The configuration system allows you to customize various aspects of the deployment.
You can set environment variables, adjust timeouts, and configure retry behavior.
Each setting has sensible defaults but can be overridden as needed.

Metadata

Author@killerapp
Stars1776
Views0
Updated2026-03-02
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-killerapp-skill-condenser": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

agentskills-io

Create, validate, and publish Agent Skills following the official open standard from agentskills.io. Use when (1) creating new skills for AI agents, (2) validating skill structure and metadata, (3) understanding the Agent Skills specification, (4) converting existing documentation into portable skills, or (5) ensuring cross-platform compatibility with Claude Code, Cursor, GitHub Copilot, and other tools.

killerapp 1776

aws-agentcore-langgraph

Deploy production LangGraph agents on AWS Bedrock AgentCore. Use for (1) multi-agent systems with orchestrator and specialist agent patterns, (2) building stateful agents with persistent cross-session memory, (3) connecting external tools via AgentCore Gateway (MCP, Lambda, APIs), (4) managing shared context across distributed agents, or (5) deploying complex agent ecosystems via CLI with production observability and scaling.

killerapp 1776

baml-codegen

Use when generating BAML code for type-safe LLM extraction, classification, RAG, or agent workflows - creates complete .baml files with types, functions, clients, tests, and framework integrations from natural language requirements. Queries official BoundaryML repositories via MCP for real-time patterns. Supports multimodal inputs (images, audio), Python/TypeScript/Ruby/Go, 10+ frameworks, 50-70% token optimization, 95%+ compilation success.

killerapp 1776

adversarial-coach

Adversarial implementation review based on Block's g3 dialectical autocoding research. Use when validating implementation completeness against requirements with fresh objectivity.

killerapp 1776

chain-of-density

Iteratively densify text summaries using Chain-of-Density technique. Use when compressing verbose documentation, condensing requirements, or creating executive summaries while preserving information density.

killerapp 1776