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.

๐Ÿข About

kimi-caveman is a token-efficient communication skill for Kimi Code CLI. It reduces agent output verbosity by 60-75% while maintaining 100% technical accuracy, making sessions faster, cheaper, and more readable.

Part of the caveman ecosystem: less tokens, same brain.


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.1.tar.gz (10.7 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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kimi_caveman-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dbaa16850795f3ecfad37b1270e5f04fc33ef95b1f6cf85f41ce6470f9857a11
MD5 acdd4ffbc544b4cc38986036d4552fa3
BLAKE2b-256 90700bdb4468a7c65e5294b3a2eaa34ba1472e2a839f2df8c4ae7be6bffb0c89

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kimi_caveman-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f36ac461700e3ffe04bbda14b1bd3ce8442644d27eb74a71c294fac68daa4092
MD5 1062e3d34c7e11f18f40ab3f72e35857
BLAKE2b-256 e619a8f28ec934cf2767cda5b5a76dccdd1a4da400e51185b2073e749afb3fb6

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