LogoClawIndex
CasesSkillsAbout
LogoClawIndex

strategic-compact - Suggest context compaction at logical workflow boundaries

Proposes manual context compaction at strategic workflow points to preserve context through task phases instead of relying on automatic compaction.

Tags

Updated: 2026-09-15
context-managementcompactionworkflow-optimization

Capabilities

Suggest context compaction at logical boundariesTrack session tool call countsDetect tool call count thresholdSend periodic compaction reminders

Typical Inputs

PreToolUse Edit and Write tool eventsCOMPACT_THRESHOLD environment variable

Typical Outputs

Context compaction suggestions and reminders

What this skill does

  • Suggest context compaction at logical boundaries
  • Track session tool call counts
  • Detect tool call count threshold
  • Send periodic compaction reminders

Inputs

  • PreToolUse Edit and Write tool events
  • COMPACT_THRESHOLD environment variable

Outputs

  • Context compaction suggestions and reminders

Requirements

  • Node.js runtime environment
  • PreToolUse hook support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.