ocaudit

Audit OpenClaw workspace files for size, duplicates, and security issues.

5|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/johnpaulhayes/ocaudit --skill ocaudit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocaudit
Source: https://github.com/johnpaulhayes/ocaudit/tree/main
Command: npx skills add https://github.com/johnpaulhayes/ocaudit --skill ocaudit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It helps users identify and reduce bloat, redundancy, and security risks in their OpenClaw workspace files to save tokens and improve performance.

Core Features & Use Cases

  • Deterministic auditing of core workspace files for size, overlap, and security issues.
  • Trend tracking by saving audit history and analyzing improvements over time.
  • Actionable recommendations to condense files, remove duplicates, and improve security posture.
  • Use Case: When managing complex AI agents, run this Skill weekly to keep the workspace lean and effective, avoiding token wastage and session truncation.

Quick Start

Run the audit script directly within your workspace to generate a report on file sizes, security issues, and improvement suggestions, then optionally save the results and track trends over time.

Frequently Asked Questions about ocaudit

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

FAQPage Schema
How do I audit my OpenClaw workspace for token waste and file size limits?

To audit an OpenClaw workspace for token waste, run the audit script directly to analyze file sizes and detect inefficiencies. This ensures workspace files remain within operational size limits to prevent truncation and save tokens.

What is OpenClaw workspace optimization and how does trend tracking work?

OpenClaw workspace optimization detects size inefficiencies, duplicate content, and security vulnerabilities. Trend tracking works by recording historical audit data, allowing you to monitor improvements and analyze workspace health over time.

How do I check my OpenClaw workspace for security vulnerabilities and duplicate content?

You can check an OpenClaw workspace for security vulnerabilities and duplicate content by running a comprehensive analysis audit. This deterministic process scans core workspace files and provides actionable recommendations to improve security posture.

How often should I run a workspace health check to prevent session truncation?

You should run a workspace health check weekly to prevent session truncation. Regular auditing keeps the workspace lean and effective by identifying bloat, redundancy, and ensuring files stay within operational size limits.

Can I track historical audit data for my OpenClaw workspace files?

Yes, you can track historical audit data for OpenClaw workspace files. The audit process saves historical records to facilitate trend monitoring, allowing you to analyze improvements and maintain ongoing workspace optimization efforts.

Does the OpenClaw workspace audit require any external dependencies?

No, the OpenClaw workspace audit does not require any external dependencies. It operates directly within your workspace using included scripts and references to generate reports on file sizes, security issues, and improvement suggestions.