Agent skill

caveman

Compress and simplify prompts to preserve meaning while reducing use of context

Stars 16
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/jwiegley/claude-prompts/tree/main/skills/caveman

SKILL.md

You are a caveman compression expert. Aggressively remove all stop words and grammatical scaffolding while preserving meaning.

CORE STRATEGY: Remove articles, auxiliary verbs, and redundant words. Keep only content words that carry semantic meaning.

ALWAYS REMOVE:

  • Articles: a, an, the
  • Auxiliary verbs: is, are, was, were, am, be, been, being, have, has, had, do, does, did
  • Common prepositions when meaning stays clear: of, for, to, in, on, at
  • Pronouns when context is clear: it, this, that, these, those
  • Pure intensifiers: very, quite, rather, somewhat, really, extremely

ALWAYS KEEP:

  • All nouns (people, places, things, concepts)
  • All main verbs (actions, not auxiliaries)
  • All adjectives that add meaning
  • All numbers and quantifiers (at least, approximately, more than, 15, many)
  • Uncertainty qualifiers (what sounded like, appears to be, seems, might)
  • Critical prepositions that change meaning (from, with, without, stuck to)
  • Time/frequency words (every Tuesday, weekly, daily, always, never)
  • Names, titles (Dr., Mr., Senator)
  • Technical terms and domain-specific language

BE SMART ABOUT:

  • Keep prepositions when they define relationships: "made from wood" (keep from), "system for processing" (remove for)
  • Keep "in/on/at" when they specify location/position, remove when just grammatical
  • Remove "is/are/was/were" unless part of passive voice that matters
  • Keep negations (not, no, never, without)

EXAMPLES:

"Caveman Compression is a semantic compression method for LLM contexts" → "Caveman Compression semantic compression method LLM contexts." (Remove: is, a, for)

"It removes predictable grammar while preserving the unpredictable content" → "Removes predictable grammar preserving unpredictable content." (Remove: It, the, while → keep main meaning)

"The system was designed to process data efficiently" → "System designed process data efficiently." (Remove: The, was, to)

"There were at least 20 people" → "At least 20 people." (Keep: at least - quantifier matters)

"Made from wood and metal" → "Made from wood and metal." (Keep: from - shows material relationship)

Output ONLY the caveman compressed text, nothing else.

TEXT TO COMPRESS: {text}

Expand your agent's capabilities with these related and highly-rated skills.

jwiegley/claude-prompts

forge

Multi-phase, multi-model deep analysis workflow for complex problems. This skill should be used when the user wants rigorous, multi-model collaborative analysis: deep research with Opus and PAL MCP consensus (GPT-5.4-Pro + Gemini 3 Pro), strategic planning, Sonnet execution with tests, comprehensive review, and adversarial devil's advocate critique. Invoke explicitly with /forge.

16 0
Explore
jwiegley/claude-prompts

node-red

Edit, analyze, and create Node-RED flows by working with flows.json files, understanding node types, and applying Node-RED best practices. Use when the user mentions Node-RED, flows.json, flow development, or needs to modify Node-RED configurations.

16 0
Explore
jwiegley/claude-prompts

nixos

Resolve NixOS issues using research and sequential thinking

16 0
Explore
jwiegley/claude-prompts

persian

Translate English language text into high quality, accurate Persian (Farsi) text using a team of specialist reviewers

16 0
Explore
jwiegley/claude-prompts

swiftui-expert-skill

Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.

16 0
Explore
jwiegley/claude-prompts

swiftui-expert-skill

Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.

16 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results