CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

caveman-compress

The skill requires an explicit filepath and directs the agent to run a Python script that compresses eligible text files, validates the result, and retries targeted fixes before reporting failure. It preserves code and other exact content, leaves unsupported file types unchanged, and stores backups outside the source directory. Because compression sends file text to a configured model provider, it refuses files that appear to contain secrets or credentials.

Quality

78%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./plugins/caveman/skills/caveman-compress/SKILL.md

The canonical home for this skill is caveman-compress in JuliusBrussee/caveman

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

73%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An executable, well-sequenced skill with strong validation and retry feedback loops around a destructive overwrite, and a correctly externalized script bundle. The main weakness is redundancy: the Compression Rules section repeats the code-preservation rules four times and restates rules the script's own prompt already enforces.

Suggestions

Consolidate the code-preservation rule into a single statement — it currently appears four times (the Preserve EXACTLY list, the CRITICAL RULE block, the inline-code paragraph, and the 'If file contains code blocks' list).

Trim or split the Compression Rules section: scripts/compress.py's build_compress_prompt() already enforces the preserve rules (code blocks, inline backticks, URLs, headings, paths), so SKILL.md only needs the style summary plus the word-level Remove/Compress lists.

Name the provider-configuration mechanism (e.g. the CAVEMAN_COMPRESS_PROVIDER / CAVEMAN_COMPRESS_MODEL env vars in scripts/compress.py) so users know how to point the skill at their provider.

DimensionReasoningScore

Conciseness

The body is mostly tight, scannable lists, but the code-preservation rule is stated four times ("Preserve EXACTLY (never modify) - Code blocks", "CRITICAL RULE: Anything inside ``` ... ``` must be copied EXACTLY", "Inline code (`...`) must be preserved EXACTLY", and "If file contains code blocks: Treat code blocks as read-only regions"), the backup location is explained twice (Purpose and Boundaries), and the ~65-line Compression Rules block restates rules that scripts/compress.py's own prompt already enforces. This matches anchor 3 (mostly efficient but could be tightened) rather than 4, where redundancy would be minor; it is above 2 because there is no padding with concepts Claude already knows.

3 / 5

Actionability

The core command "python3 -m scripts <absolute_filepath>" is copy-paste ready and verified against the actual scripts/__main__.py entry point, with a numbered process and a concrete failure path ("report error to user, leave original file untouched"). Minor gaps keep it from 5: the fallback "search for scripts/__main__.py next to this SKILL.md" is vague, and provider configuration is delegated to compress.py without naming the configuration mechanism (env vars like CAVEMAN_COMPRESS_PROVIDER).

4 / 5

Workflow Clarity

The numbered process includes explicit validation checkpoints and a feedback loop for a destructive operation: "validate output (no tokens)", "if errors: cherry-pick fix with same provider (targeted fixes only, no recompression)", "retry up to 2 times", and "if still failing... leave original file untouched", plus a backup before the overwrite. This matches anchor 5 (clear sequence, explicit validation, error-recovery loops); the destructive-operation cap does not apply because validation is explicit, and it is above 4 since checkpoints are not merely present but fully specified.

5 / 5

Progressive Disclosure

The body is a well-sectioned overview (Purpose, Trigger, Process, Compression Rules, Pattern, Boundaries) with implementation properly externalized to a real scripts/ bundle — both referenced paths (scripts/__main__.py, scripts/compress.py) exist and are one level deep. It falls short of 5 because the ~65-line inlined Compression Rules section substantially duplicates the strict rules already embedded in build_compress_prompt() inside scripts/compress.py, i.e. content that could be slimmed or split; it is above 3 because the references that do exist are clearly signaled and accurate, and structure is good.

4 / 5

Total

16

/

20

Passed

Description

71%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A solid, third-person description with a clear 'what', an explicit slash-command trigger, and a distinctive niche. The main weaknesses are the absence of natural-language trigger conditions and of synonyms users would plausibly say when reaching for this skill.

Suggestions

Add a natural-language trigger clause, e.g. "Use when the user asks to compress, shorten, or trim a memory file (CLAUDE.md, AGENTS.md, todo lists, notes) to save input tokens."

Broaden trigger-term coverage with synonyms and related file names: "shorten", "trim", "shrink", "reduce tokens", "AGENTS.md", "notes", "todo.txt".

DimensionReasoningScore

Specificity

The description names the domain ("memory file such as CLAUDE.md or a todo list") and several concrete actions — "Compress... into caveman format to save input tokens, keeping a readable backup" and "Sends the file's text to the configured model provider" — which goes beyond the 1-2 actions of anchor 3. It is not 5 because coverage has gaps: no mention of validation, retries, or the sensitive-file refusal behavior.

4 / 5

Completeness

The 'what' is clear and concrete, and the 'when' is explicitly present via "Trigger: /caveman-compress" — explicit trigger guidance, so the score-3 cap for a missing 'Use when' equivalent does not apply. It is not 5 because the trigger is only the command name, with no concrete natural-language trigger phrases (e.g. 'when the user asks to compress or shorten a memory file') as in the anchor-5 example.

4 / 5

Trigger Term Quality

Natural terms like "compress", "memory file", "CLAUDE.md", "todo list", and "input tokens" are present, but common variations and synonyms users would actually say ("shorten", "trim", "shrink", "reduce tokens") are missing, and the only trigger phrasing is the slash command "/caveman-compress". This matches anchor 3 (relevant keywords, missing variations); it is above 2 because several genuinely natural domain terms appear, and below 4 because natural-language trigger phrases are absent.

3 / 5

Distinctiveness Conflict Risk

"Caveman format", "CLAUDE.md", "todo list", "memory file", and the distinct "/caveman-compress" command define a clear niche with minimal conflict risk. The one ambiguity — 'compress' overlapping archive/zip skills — is resolved in-text by "to save input tokens" and "caveman format", so it fits anchor 5 rather than anchor 4's minor-overlap case.

5 / 5

Total

16

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

JuliusBrussee/caveman

Path

plugins/caveman/skills/caveman-compress/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.