🛍️ 更多精选好物 ›
100,270
⭐ GitHub Stars
fork 5820💻 Go · NOASSERTION · 🐛 开放 Issue:359
📝 工具简介
品味技能,让AI生成有设计感的界面,避免无聊俗套的输出。
📖 怎么用
安装方式很多,挑一个顺手的:`npm install -g @caveman-ai/cli && caveman setup --install`,或者 `npx skills add JuliusBrussee/caveman`,也可以用 `curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/v2.2.0/install.sh | bash`(Mac/Linux)或 PowerShell 执行 `irm https://raw.githubusercontent.com/JuliusBrussee/caveman/v2.2.0/install.ps1 | iex`(Windows)。装完要初始化,比如 `caveman setup --install caveman claude`,然后按提示选你的工具(Claude、Codex、Gemini 等)。开始用后,它会自动把你的输出压缩成“原始人风格”,省 token 省上下文,实测能省 33% 输入 token。
📋 迷你测评
用HTML写代码直接渲染视频的注册表,专为AI代理设计。亮点是让代理直接产出可视内容,省掉中间转换。没有数据,但思路挺新鲜。
📄 README 要点
这个工具的核心思想就是"少说废话"。它让 AI 智能体用更少的 token 表达同样的意思,在 Claude Code 的基准测试里,输入 token 减少了 33.2%。比如正常 AI 回答 React 重渲染问题要用 69 个 token,用了它只要 19 个。它有两个产品:Caveman Proxy 能在 AI 读取之前就压缩内容,节省输入;另一个是包装器,让 AI 输出也更精简。安装很简单,选一个或两个都装。适合那些觉得 AI 太啰嗦、想省 token 费用或者让上下文更精简的开发者。
查看英文原文
why use many token when few do trick Original skill made agents say less. Caveman 2 makes them read less too. 33.2% fewer provider reported input tokens in a pinned Claude Code benchmark. benchmark counterfactual Keep your agent. Brain big. Context small. See it · Install · Learn · Proxy · Pixel · Wrap · Docs · License See it 🗣️ Normal agent — 69 tokens Caveman agent — 19 tokens The reason your React component is re rendering is likely because you're creating a new object reference on each render cycle. When you pass an inline object as a prop, React's shallow comparison sees it as a different object every time, which triggers a re render. I'd recommend using useMemo to memoize the object. New object ref each render. Inline object prop = new ref = re render. Wrap in useMemo . Install Two products. Pick one or both. 1 · Save input — Caveman Proxy shrinks what your agent reads before every provider call, with byte exact recovery. BSL 1.1 runtime, MIT CLI. [安装/使用命令见下方] 2 · Save output — the skill, the original. Your agent answers in tight caveman speak while code, commands, and errors stay exact. MIT, 30+ agents. [安装/使用命令见下方] Other ways in — full installer with hooks, Windows, one agent only The full installer also wires the Claude Code hooks and statusline, finds every supported agent on your machine, and is safe to rerun (Node.js 18+): [安装/使用命令见下方] Windows (PowerShell 5.1+): [安装/使用命令见下方] One agent only: [安装/使用命令见下方] Full 30+ agent matrix, dry run, flags, verification, and uninstall: INSTALL.md. Where your tokens go You have months of agent history on disk. caveman learn reads it and scores your setup. Local, read only, no account. [安装/使用命令见下方] The report shows your Cave Score, every token sink ranked by flow with a one line fix behind each row, how deep each session ran into its context window, a replay of what the fixes would have cut from your past sessions, and a list price illustration of what the ranked sinks cost over 30 days. [安装/使用命令见下方] learn implement opens
💬 评论(0)
交流使用体验、避坑建议;违规内容将被删除