Community写作与编辑github.com

geovanejunior92-debug/caveman-compress

将自然语言记忆文件(如 CLAUDE.md / AGENTS.md、待办事项、偏好设置)压缩为原始格式,以节省输入令牌。保留所有技术内容、代码、URL 和结构。压缩版本会覆盖原文件,同时生成人类可读的备份文件(FILE.original.md)。触发命令:/caveman-compress FILEPATH 或“压缩记忆文件”。

caveman-compress 是什么?

caveman-compress 是一个 AI 代理技能,专门针对 Claude Code、Cursor 或 Codex 等平台中使用的自然语言记忆文件进行压缩,以节约昂贵的输入令牌。它通过将 CLAUDE.md、AGENTS.md、待办列表和偏好设置等文件转化为“原始人”风格的精简格式,去除冗余表达但完整保留所有技术细节、代码片段、URL 和文档结构。压缩后的版本直接覆盖原文件,同时自动创建一个带有 **.original.md** 后缀的人类可读备份,确保不会丢失信息。该技能支持通过 `/caveman-compress FILEPATH` 命令或自然语言短语“compress memory file”触发,适合需要频繁更新记忆文件并追求令牌效率的高级用户。它不需要额外配置,即可与现有的 AI 代理工作流无缝集成。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/geovanejunior92-debug/claude-skills/tree/main/skills/caveman-compress

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

caveman-compress 是做什么的?

将自然语言记忆文件(CLAUDE.md / AGENTS.md、待办事项、偏好设置)压缩为原始格式,以节省输入令牌。保留所有技术内容、代码、URL 和结构。压缩版本覆盖原文件,同时生成人类可读的备份文件 FILE.original.md。触发命令:/caveman-compress FILEPATH 或“压缩记忆文件”。

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

geovanejunior92-debug/caveman-learn

Close the loop on a Caveman learn report — review the ranked token sinks and apply cost-lowering fixes (trim config, offload recurring context to cavemem) with per-edit consent. Use when the user runs "caveman learn", asks to lower their agent's token cost, wants to trim a heavy CLAUDE.md / AGENTS.md, or wants to offload context they re-paste every session into cavemem.

geovanejunior92-debug/graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools.

geovanejunior92-debug/task-observer

Monitors task execution for skill improvement opportunities. Use this skill during ANY multi-step task, agentic workflow, or substantive work session where the agent is using tools and producing deliverables. It captures patterns, user corrections, workflow insights, and methodology worth preserving as reusable skills. Also triggers during post-task feedback discussions and when the user explicitly mentions skill observations, improvements, the observation log, skill taxonomy, or asks the agent to watch for skill opportunities. Also known as "One Skill to Rule Them All" — trigger on this phrase too. IMPORTANT: this skill should be invoked at the start of every task-oriented session — if you are about to use tools to produce deliverables, invoke this skill first. For reliable activation, pair this description with a CLAUDE.md / AGENTS.md instruction or harness-level session-start hook (see Recommended Activation Setup) — description-level matching alone is not enforceable.

相关技能