Skip to main content

Caveman mode for Kimi Code CLI โ€” terse, token-efficient communication that cuts 60-75% of output tokens

Project description

๐Ÿชจ kimi-caveman

PyPI Python License

Why use many token when few do trick.

A Kimi Code CLI skill that makes your agent talk like caveman โ€” cutting ~60-75% of output tokens while keeping full technical accuracy.

Based on the viral observation that terse, telegraphic communication dramatically reduces LLM token usage without losing substance.


โœจ Features

  • ๐Ÿชถ Lite / ๐Ÿชจ Full / ๐Ÿ”ฅ Ultra / ๐Ÿ“œ ๆ–‡่จ€ๆ–‡ โ€” pick your grunt level
  • ๐ŸŽฏ Same accuracy โ€” all technical info kept, only fluff dropped
  • โšก Faster responses โ€” less tokens to generate = speed go brrr
  • ๐Ÿ—œ๏ธ caveman-compress โ€” rewrite markdown/memory files into caveman-speak (~46% input token savings)
  • ๐Ÿ’ฌ caveman-commit โ€” terse commit messages (โ‰ค50 chars)
  • ๐Ÿ” caveman-review โ€” one-line code review comments
  • ๐Ÿ“Š Stats tracking โ€” token savings estimation

๐Ÿ“ฆ Installation

As a Kimi Skill (recommended)

# Clone to your skills directory
git clone https://github.com/theretech/kimi-caveman.git ~/.kimi/skills/caveman-mode

Or install via pip:

pip install kimi-caveman

๐Ÿš€ Usage

Activate caveman mode

Just say to Kimi:

  • "caveman mode"
  • "talk like caveman"
  • "less tokens please"
  • "modo caveman"

Deactivate with: "stop caveman" or "normal mode"

Intensity Levels

Level Trigger Style
๐Ÿชถ Lite caveman lite Drop filler, keep grammar
๐Ÿชจ Full caveman full Default caveman. No articles, fragments
๐Ÿ”ฅ Ultra caveman ultra Maximum compression, telegraphic
๐Ÿ“œ ๆ–‡่จ€ๆ–‡ caveman wenyan Classical Chinese literary compression

Examples

Normal Kimi (69 tokens):

"The reason your React component is re-rendering is likely because you're creating a new object reference on each render cycle. I'd recommend using useMemo to memoize the object."

๐Ÿชจ Caveman Kimi (19 tokens):

"New object ref each render. Inline object prop = new ref = re-render. Wrap in useMemo."

๐Ÿ”ฅ Ultra (12 tokens):

"Inline obj prop โ†’ new ref โ†’ re-render. useMemo."


๐Ÿ—œ๏ธ caveman-compress

Compress markdown/memory files into caveman-speak. Preserves code blocks, URLs, and paths byte-for-byte.

# Compress a file
caveman-compress my-notes.md

# Output: my-notes.caveman.md (backup saved as .original.md)
File Original Compressed Saved
claude-md-preferences.md 706 285 59.6%
project-notes.md 1145 535 53.3%
Average 898 481 46%

๐Ÿ—๏ธ Architecture

kimi-caveman/
โ”œโ”€โ”€ caveman_mode/
โ”‚   โ”œโ”€โ”€ SKILL.md              # Skill instructions for Kimi
โ”‚   โ”œโ”€โ”€ scripts/
โ”‚   โ”‚   โ””โ”€โ”€ compress.py       # Markdown compression tool
โ”‚   โ””โ”€โ”€ references/
โ”‚       โ””โ”€โ”€ modes.md          # Mode reference card
โ”œโ”€โ”€ tests/
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ pyproject.toml

๐Ÿค Contributing

  1. Fork the repo
  2. Create a feature branch
  3. Make your changes
  4. Run tests: pytest
  5. Run linter: ruff check .
  6. Submit a PR

โ˜• Support

Buy Me A Coffee

PIX (Brazil):
54802231000148 โ€” THE RETECH LTDA - EPP


๐Ÿ“„ License

MIT โ€” see LICENSE for details.

Built with ๐Ÿชจ by The Retech and friends.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kimi_caveman-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kimi_caveman-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file kimi_caveman-0.1.0.tar.gz.

File metadata

  • Download URL: kimi_caveman-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kimi_caveman-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd9e9f100c4d4440c352a1fa80f073afd7ff1a5f55b0097abb8a7b2e9386a763
MD5 233d265899e1f5f40648f95f851dccd0
BLAKE2b-256 db4f186985332879b3a2e527a45858398d30d6d96bb4e075052c4221b14873ee

See more details on using hashes here.

File details

Details for the file kimi_caveman-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kimi_caveman-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kimi_caveman-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70088a9d9d04da77f4abcb6efea7b98c02a1d2772fca5ec5b5a01b7e55807d30
MD5 9b3bd2cf311100ffc89fc4bf772ed686
BLAKE2b-256 2d4fbaefc38c440c39f4ba4fb7dbc70738b3526cbbd899c97be7ca9bac3cd17b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page