将自然语言记忆文件(CLAUDE.md、待办事项、偏好设置)压缩为原始人格式以节省输入token。保留所有技术内容、代码、URL等。
Caveman 压缩是一项面向实际任务的技能,主要用于Compress 自然语言文件( CLAUDE. md, todos, 偏好) 变成洞穴人语, 减少输入符.;Compressed version overwrites orricent.... 人可读备份.。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;
涉及批量任务时,还应保存进度,避免中断后重复操作。该技能适合用于一次性任务,也可以接入自动化工作流,与其他技能或上层代理配合完成更完整的业务链路;在组合使用时,应明确每一步的输入输出关系,并避免不同步骤之间出现参数冲突。
将自然语言文件(如 CLAUDE.md、todos、preferences)压缩为“原始人语”(caveman-speak),以减少输入 token 数量。压缩后的内容将直接覆盖原文件,同时生成人类可读的备份文件,命名为 。
/caveman:compress ,或当用户要求压缩某份记忆文件时自动触发。
本 SKILL.md 与 scripts/ 目录位于同一目录下。请先定位该目录。
执行以下命令:
cd <包含本 SKILL.md 的目录路径> && python3 -m scripts
backtick content)/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.
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章