caveman-compress by juliusbrussee/caveman
npx skills add https://github.com/juliusbrussee/caveman --skill caveman-compress将自然语言文件(CLAUDE.md、待办事项、偏好设置)压缩成原始人语言,以减少输入令牌数。压缩版本会覆盖原始文件。人类可读的备份保存为 <文件名>.original.md。
/caveman-compress <文件路径> 或当用户要求压缩记忆文件时。
此 SKILL.md 文件与 memory/ 目录位于同一目录中。找到该目录。
运行:
cd <包含此_SKILL.md_的目录> && python3 -m scripts <绝对文件路径>
CLI 将执行以下操作:
将结果返回给用户
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
反引号内容)/src/components/..., ./config.yaml)npm install, git commit, docker build)$HOME, NODE_ENV)关键规则:... 内的任何内容必须完全复制。不得:
行内代码(...)必须完全保留。不要修改反引号内的任何内容。
如果文件包含代码块:
原始文本:
You should always make sure to run the test suite before pushing any changes to the main branch. This is important because it helps catch bugs early and prevents broken builds from being deployed to production.
压缩后:
Run tests before push to main. Catch bugs early, prevent broken prod deploys.
原始文本:
The application uses a microservices architecture with the following components. The API gateway handles all incoming requests and routes them to the appropriate service. The authentication service is responsible for managing user sessions and JWT tokens.
压缩后:
Microservices architecture. API gateway route all requests to services. Auth service manage user sessions + JWT tokens.
每周安装量
1.5K
代码仓库
GitHub 星标数
5.3K
首次出现
1 天前
安全审计
安装于
cursor1.3K
github-copilot1.3K
opencode1.3K
codex1.3K
antigravity1.2K
cline1.2K
Compress natural language files (CLAUDE.md, todos, preferences) into caveman-speak to reduce input tokens. Compressed version overwrites original. Human-readable backup saved as <filename>.original.md.
/caveman-compress <filepath> or when user asks to compress a memory file.
This SKILL.md lives alongside memory/ in the same directory. Find that directory.
Run:
cd <directory_containing_this_SKILL.md> && python3 -m scripts <absolute_filepath>
The CLI will:
Return result to user
backtick content)/src/components/..., ./config.yaml)npm install, git commit, docker build)$HOME, NODE_ENV)CRITICAL RULE: Anything inside ... must be copied EXACTLY. Do not:
Inline code (...) must be preserved EXACTLY. Do not modify anything inside backticks.
If file contains code blocks:
Original:
You should always make sure to run the test suite before pushing any changes to the main branch. This is important because it helps catch bugs early and prevents broken builds from being deployed to production.
Compressed:
Run tests before push to main. Catch bugs early, prevent broken prod deploys.
Original:
The application uses a microservices architecture with the following components. The API gateway handles all incoming requests and routes them to the appropriate service. The authentication service is responsible for managing user sessions and JWT tokens.
Compressed:
Microservices architecture. API gateway route all requests to services. Auth service manage user sessions + JWT tokens.
Weekly Installs
1.5K
Repository
GitHub Stars
5.3K
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
cursor1.3K
github-copilot1.3K
opencode1.3K
codex1.3K
antigravity1.2K
cline1.2K
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
65,000 周安装