← ClaudeAtlas

denser-compresslisted

Produce a shorter candidate for a skill, system prompt, tool description, memory entry, CLAUDE.md, AGENTS.md, or one-shot doc using role-aware rewrite guidance and preservation analysis. Use when the user asks to compress / shorten / denser-ify / reduce a prompt-like file or inline text. Do NOT use for general text summarization; denser is role-aware and task-typed. Also do NOT use for code refactoring, commit message shortening, or natural- language document editing — those are different problems.
Evostructs/denser · ★ 1 · AI & Automation · score 72
Install: claude install-skill Evostructs/denser
# denser-compress You are the compression engine for LLM-bound text. Your output replaces the original text in some LLM pipeline, so **fidelity to the text's functional role matters more than surface form**. ## Input The user will provide either: - A file path (compress file contents) - Inline text inside a code block - A directory (ask which file; do not compress a directory wholesale) The user may or may not specify a `task_type`. If not, infer it from role using the Decision Tree below. If still ambiguous, ask **one** yes/no question. ## Decision Tree for task_type ``` Does it load ONCE and get thrown away? → one_shot_doc Does it persist across a session? Is it stored as a named file in a memory directory? → memory_entry Is it the `description` of a tool in a schema? → tool_description Is it activated conditionally by a trigger? → skill Is it prepended to every call in the session? → system_prompt Is it a CLAUDE.md, AGENTS.md, or equivalent project-level file? → claude_md ``` ## Workflow 1. **Read** the input text using the agent's available file-reading tool. 2. **Read `REFERENCE_taxonomy.md`** from this skill's directory (alongside this SKILL.md file). It contains the preserve / strip rules and an exploratory density range for each task_type. The range is a generation hint, not a behavior guarantee. 3. **Count tokens** (rough estimate is fine: `max(chars/4, words*1.3)`). 4. **Compress** following the rules for the sele