Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Paid Compaction V1.1

v1.1.1

Production token thresholds, circuit breaker, and compaction sequence from production Claude Code deployments. Eliminates context death spirals permanently.

0· 75·1 current·1 all-time
by~K¹yle Million@thebrierfox

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for thebrierfox/paid-compaction-v1-1.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Paid Compaction V1.1" (thebrierfox/paid-compaction-v1-1) from ClawHub.
Skill page: https://clawhub.ai/thebrierfox/paid-compaction-v1-1
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install paid-compaction-v1-1

ClawHub CLI

Package manager switcher

npx clawhub@latest install paid-compaction-v1-1
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The SKILL.md claims 'production-validated' thresholds sourced from Anthropic and says the package includes a COMPACTION_ARCHITECTURE.md file and other bundle materials, but the provided package only contains a single SKILL.md and the source/homepage are unknown. The claimed provenance and included files are not supported by the manifest.
Instruction Scope
Runtime instructions are limited: copy SKILL.md into the skills directory and add the given compaction settings to openclaw.json, then reload. The instructions do not request secrets or run arbitrary commands. However they prescribe large, exact threshold values and tell you not to change them, and they refer to an included COMPACTION_ARCHITECTURE.md that is missing—this reduces transparency and is risky to apply blindly.
Install Mechanism
Instruction-only skill with no install spec and no code files—nothing is written to disk automatically beyond the user copying SKILL.md. Low install risk.
Credentials
No environment variables, credentials, or config paths are requested. The skill only instructs manual edits to openclaw.json, which is proportionate to its stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request automatic persistent privileges or claim to modify other skills. No elevated persistence observed.
What to consider before installing
Do not copy these thresholds directly into production without verification. Steps to take before installing/applying: 1) Verify the package contents—the SKILL.md references COMPACTION_ARCHITECTURE.md and other bundle files that are not present; ask the publisher for the missing documents or a canonical source. 2) Confirm provenance—the doc claims 'production-validated' values from Anthropic; verify this claim or treat it as untrusted. 3) Backup your openclaw.json and test changes in a staging environment to observe behaviour before rolling to prod. 4) Check OpenClaw version compatibility and model availability (the skill references specific Anthropic models). 5) Be cautious about paid bundle links and external sites; do not share secrets or paste credentials. If the author can produce the missing COMPACTION_ARCHITECTURE.md, test vectors, or independent evidence of the thresholds, re-evaluate and consider lower-confidence staged deployment.

Like a lobster shell, security has layers — review code before you run it.

latestvk97a9yztga7jtcf90chp90fgh5845vs2
75downloads
0stars
1versions
Updated 3w ago
v1.1.1
MIT-0

Agent Compaction Architecture — Production Context Management

New to context management? Read the free primer first: Context Death Spiral Prevention It explains the problem this skill solves and why default OpenClaw setups don't protect you.


What This Skill Does

This skill installs the exact compaction architecture Anthropic runs in production Claude Code. It configures your OpenClaw agent with:

  • Empirically validated thresholds — not guessed. These values were measured against real production workloads (p99.99 summary output, circuit breaker failure distribution data).
  • 6-condition autocompact gate — prevents premature and thrashing compaction.
  • 3-strike circuit breaker — stops infinite compaction loops cold.
  • Post-compaction cleanup sequence — verifies compaction actually worked.
  • Microcompaction scheduling — handles time-based degradation, not just token count.
  • Recursion guards — prevents compacting a compaction summary.
  • Summary content structure — specifies what a compaction summary must contain.

Setup

Step 1 — Install

Place this SKILL.md in your OpenClaw skills directory and reload:

mkdir -p ~/.openclaw/workspace/skills/agent-compaction
cp SKILL.md ~/.openclaw/workspace/skills/agent-compaction/

Then reload OpenClaw or restart the gateway.

Step 2 — Configure Thresholds

Add these values to your openclaw.json compaction config:

{
  "compaction": {
    "mode": "safeguard",
    "keepRecentTokens": 200000,
    "reserveTokensFloor": 20000,
    "model": "anthropic/claude-haiku-4-5"
  }
}

These are the production-validated constants. Do not guess alternatives — the values interact, and changing one without adjusting the others breaks the gate logic.

Step 3 — Verify

After 1–2 sessions, check your agent logs for:

  • [compaction] autocompact gate evaluated — gate is running
  • [compaction] circuit breaker — breaker initialized
  • No [compaction] error entries without recovery

If you see [compaction] threshold breach without gate — your OpenClaw version doesn't support the full gate. Check the version requirements below.


Production Thresholds (Exact Values)

ThresholdTokensPurpose
Warning160,000Signal approaching limit
Autocompact trigger167,000Gate evaluation begins
Block177,000Context too full to compact safely
Context window200,000Hard limit
Reserve floor20,000Always reserved for output

These are derived from production Claude Code deployment baselines. The 167k trigger gives enough room for compaction output without hitting the block threshold. The 20k reserve prevents output truncation during compaction.


Architecture Reference

The full behavioral specification is in COMPACTION_ARCHITECTURE.md (included in this package). It covers:

  • Section 1: Token threshold management (all 5 values with rationale)
  • Section 2: Autocompact gate logic (all 6 conditions)
  • Section 3: Circuit breaker specification (3-strike with backoff)
  • Section 4: Post-compaction cleanup requirements
  • Section 5: Time-based microcompaction
  • Section 6: Recursion guard implementation
  • Section 7: Summary content structure requirements
  • Section 8: Self-audit triggers

Compatibility

  • OpenClaw 2026.3.x and above
  • Works with: claude-haiku-4-5, claude-sonnet-4-6, claude-opus-4-6
  • Recommended compaction model: claude-haiku-4-5 (cost-efficient)

Bundle

This skill is included in the Production Agent Ops — Battle-Tested Architecture Pack along with 6 other production architecture files covering loop termination, session memory, bash security, agent memory scoping, coordinator mode, and forked agent architecture.

If you need all 7 systems, the bundle ($69) costs less than buying them individually.

Comments

Loading comments...