> Free primers included in this bundle:
> - Context Death Spiral Prevention — understand compaction before installing
> - OpenClaw Bash Safety — understand the security threat model first
>
> These are free on ClawHub. Read them before installing this bundle.
7 production architecture files built for production Claude Code deployments.
Each one is a complete SKILL.md with behavioral specification, exact constants,
and setup guide.
Token thresholds, 6-condition autocompact gate, 3-strike circuit breaker,
post-compaction cleanup, microcompaction, recursion guards, summary structure.
Eliminates context death spirals.
BudgetTracker state object, 5-condition termination logic, diminishing returns
detection, stop hook execution sequence, recursion safety for nested agents.
Prevents runaway token burn in autonomous loops.
Dual memory systems (session + long-term), extraction agent protocol, UUID
cursor integrity, forked agent cache-sharing pattern, drain protocol on shutdown.
Your agent remembers what matters across sessions.
23 validators across 7 categories: text, structural, encoding, Bash-specific,
Zsh-specific, persistence vectors, escalation vectors.
Closes the attack surface ClawHavoc exploited.
Three memory scopes, CLAUDE_CODE_REMOTE_MEMORY_DIR env var, snapshot system,
file scanning, cost attribution, tiered model routing for memory operations.
Persistent memory that survives WSL2 resets and session restarts.
Mode mismatch correction on session resume, coordinator operational rules,
worker spawning, continue-vs-spawn decision logic, verification standards,
failure handling.
Multi-agent coordination without losing state on resume.
Forked agent pattern, cache-safe params (critical five fields), fork isolation,
skill architecture, resolution order, change detection (300ms debounce),
skillify workflow.
50-70% token cost reduction on extraction tasks via cache-sharing forks.
# Create skills directory
mkdir -p ~/.openclaw/workspace/skills/production-agent-ops
# Copy all 7 SKILL.md files (downloaded from this package)
cp *.md ~/.openclaw/workspace/skills/production-agent-ops/
# Reload OpenClaw
openclaw gateway restart
Install phases in sequence. Each phase builds on the previous:
Phase 5 requires this env var to persist memory across WSL2 resets:
export CLAUDE_CODE_REMOTE_MEMORY_DIR=/home/aegis/.openclaw/workspace/.memory
Add to ~/.bashrc and set in openclaw.json env vars. Without this,
memory is WSL2-local and can be lost on reset.
These are not theoretical values or documentation approximations. They were
extracted from production Claude Code deployments and cross-referenced
against production telemetry:
If Anthropic changes these values in Claude Code, this package will be updated.
Current extraction date: 2026-03-31.
Individual skills: $19 each × 2 = $38 minimum for compaction + bash security alone.
This bundle: $69 for all 7 phases.
The two phases not sold individually (loop termination, session memory, memory
scoping, coordinator mode, forked agent) are available only in this bundle.
共 1 个版本