context-audit

Audit OpenClaw workspace context files for token bloat and growth drift.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/kesslerio/context-audit-openclaw-skill --skill context-audit-kesslerio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-audit
Source: https://github.com/kesslerio/context-audit-openclaw-skill/tree/main
Command: npx skills add https://github.com/kesslerio/context-audit-openclaw-skill --skill context-audit-kesslerio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, fd, md5sum, awk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps teams detect when agent workspace context files are silently growing too large, drifting month to month, or duplicating the same guidance across workspaces.

Core Features & Use Cases

  • Token Bloat Detection: Estimates file size in tokens and flags files that exceed configurable warning or critical thresholds.
  • Growth Drift Tracking: Compares current files against stored baselines to surface month-over-month expansion or shrinkage.
  • Duplicate Context Review: Finds repeated long paragraphs across workspaces so humans can trim redundant guidance.
  • Memory Folder Monitoring: Counts files in memory/ directories to catch uncontrolled accumulation.
  • Use Case: Run it monthly across multiple OpenClaw workspaces to produce a report that shows what needs review without modifying any files automatically.

Quick Start

Ask the skill to audit your configured OpenClaw workspaces and return a monthly context health report.

Frequently Asked Questions about context-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect token bloat in agent workspace context files?

To detect token bloat in agent workspace context files, you can run a context audit that estimates file sizes in tokens and flags files exceeding configurable warning or critical thresholds.

What is context drift and how does month-over-month growth tracking work?

Context drift is the silent month-over-month expansion of workspace files. Growth tracking compares current files against stored baselines to surface expansion or shrinkage trends.

How do I find duplicate guidance paragraphs across multiple OpenClaw workspaces?

To find duplicate guidance across multiple OpenClaw workspaces, a duplicate context review scans files using md5sum and awk to identify repeated long paragraphs that humans can trim.

Do I need jq and bash to monitor memory folder accumulation in workspaces?

Yes, you need bash, jq, fd, md5sum, and awk to monitor memory folder accumulation, as these utilities scan directories, count files, and generate the context health reports.

Does the context audit automatically modify or trim large workspace context files?

No, the context audit does not automatically modify or trim workspace context files. It generates a monthly health report highlighting token bloat and duplicates for manual review.