Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

free-compaction-primer免压实底漆

Agent Skill

free-compaction-primer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,650

周安装

175

GitHub Stars

公开资料未说明

下载量

1,220
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:free-compaction-primer(免压实底漆)
来源仓库:https://github.com/thebrierfox/free-compaction-primer
安装命令:
openclaw skills install free-compaction-primer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install free-compaction-primer

简介

用于识别与防止 OpenClaw 代理中上下文死亡螺旋。

  • 涵盖症状识别、根本原因分析与配置类别说明。
  • 帮助维持长对话连贯性与任务执行稳定性。free-compaction-primer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install free-compaction-primer。
  • 建议结合具体会话日志排查上下文退化问题。

SKILL.md

name
Context Death Spiral Prevention — OpenClaw Compaction Primer
slug
context-death-spiral-prevention-compaction-primer
version
1.0.1
author
IntuiTek
tags
[production, engineering, compaction, context-management, hardening]
description
Learn to recognize and prevent context death spirals in OpenClaw agents. Covers symptoms, root causes, configuration categories, and why most default setups have no protection. Free primer for the Production Agent Ops bundle.

Context Death Spiral Prevention — OpenClaw Compaction Primer

What Is a Context Death Spiral?

A context death spiral is what happens when an OpenClaw agent accumulates so much conversation history that its reasoning quality degrades — and then the degradation makes it handle the accumulation worse, which accelerates the degradation.

You've seen the symptoms:

  • Agent starts forgetting instructions it acknowledged 20 turns ago
  • Response quality drops noticeably mid-session without any obvious trigger
  • Agent begins contradicting itself or repeating earlier failed attempts
  • Sudden unexplained context resets that wipe work in progress
  • Tool calls become erratic — the agent loses track of what it already tried

These aren't model failures. They're architecture failures. The agent isn't broken — its context management is.

Why Default OpenClaw Setups Don't Handle This

Out of the box, OpenClaw has no compaction architecture. There is no:

  • Threshold configuration that triggers compaction before quality degrades
  • Circuit breaker that catches failed compactions before they cascade
  • Post-compaction cleanup sequence that verifies the context was actually reduced
  • Sequencing logic that governs what gets compacted in what order
  • Guard against recursive compaction (compacting a compaction summary)

Without these, the agent operates until it hits the model's hard context limit. At that point, OpenClaw either crashes, truncates silently, or enters an error loop. None of these are recoverable without manual intervention.

The Four Categories That Control Compaction Behavior

Production compaction architecture covers four distinct areas. You need all four:

1. Threshold Management

The threshold determines when compaction fires. Set it too high and the agent degrades before compaction helps. Set it too low and you waste tokens on unnecessary compaction. The right thresholds are not intuitive — they depend on the model's actual quality degradation curve, not its advertised context window.

Most operators guess. Production deployments measure.

2. Autocompact Gate Logic

Compaction shouldn't fire on every threshold breach — some breaches are transient. A production gate evaluates multiple conditions before triggering: token count, session age, tool call density, the shape of recent content. A simple token threshold is not a gate. It's a single condition, and it fires at the wrong time roughly 30% of the time in active sessions.

3. Circuit Breaker

Compaction can fail. When it does, naive implementations retry immediately — which can send the agent into an infinite compaction loop that burns tokens and produces nothing. A production circuit breaker counts consecutive failures, backs off, and eventually halts with a recoverable state.

Without a circuit breaker, one bad compaction attempt can destroy a session.

4. Post-Compaction Cleanup

After compaction runs, the context window needs to be verified. Did it actually reduce? Was the summary written correctly? Are there orphaned references to content that no longer exists? Post-compaction cleanup is not optional — without it, you have no guarantee compaction worked.

Why This Is Harder Than It Looks

The threshold problem alone has three sub-problems:

  • Warning threshold — when to signal that compaction is approaching
  • Trigger threshold — when to actually compact
  • Block threshold — when the context is too full to compact safely and

the session must halt

These three values interact. Setting any one of them wrong creates either unnecessary interruptions or silent degradation. Production deployments derive all three from the same empirical baseline. Guessing independently at each one is how operators end up with agents that compact too aggressively, lose important context, and then compound the problem on the next session.

The Bottom Line

If your OpenClaw agent runs sessions longer than 30 minutes, handles multi-step autonomous tasks, or operates without supervision — you have a context management problem, whether you've seen the symptoms yet or not.

Most operators discover this the hard way.


*Full production architecture with all 7 SKILL.md files — including exact production-validated constants validated in production Claude Code deployments — available in the Production Agent Ops bundle on Claw Mart:*

*https://www.shopclawmart.com/listings/production-agent-ops-battle-tested-architecture-pack-0d1bb129*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.01%
按下载量换算1,098

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills