PulseAugur
中
实时 05:57:57
English(EN) What survives /compact in Claude Code: the root CLAUDE.md came back 8 of 8 times, an invoked skill didn't through claude -p --resume

Claude Code 压缩在保留调用技能方面不一致

近期对 Claude Code 压缩行为的分析显示,其在保留调用技能方面存在不一致性。虽然根 CLAUDE.md 文件及其导入项始终得到保留,但在使用 `claude -p --resume` 命令进行压缩的八次测试中,有两次未能重新注入调用技能的主体。这与在单个进程中运行的压缩操作(成功重新附加了技能)形成对比。研究还证实,Claude Code 在聊天摘要中保留了类型化的密码短语,并在特定条件下正确重新注入了嵌套的 CLAUDE.md 文件。 AI

影响 调查 AI 代理在压缩等操作期间的记忆和上下文保留的可靠性。

排序理由 对特定软件功能的行为进行分析,包含详细的方法和发现。[lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 压缩在保留调用技能方面不一致

本文如何被排名

Signal score
17 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对特定软件功能的行为进行分析,包含详细的方法和发现。[lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Rulestack ·

    Claude 代码中的幸存者/紧凑者:根目录 CLAUDE.md 8 次中有 8 次成功返回,而通过 claude -p --resume 调用的技能未能成功

    <blockquote> <p>2 of 8 compactions dropped the body of a skill I had invoked earlier in the session, even though the Claude Code docs say invoked skill bodies are re-injected: both were <code>/compact</code> sent through <code>claude -p --resume</code>, while the 6 compactions th…