ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

reflect-check

Diagnostic tool for validating SpecWeave reflection system health and troubleshooting issues. Use when reflection seems stuck, learnings aren't being captured, or MEMORY.md files aren't updating. Checks configuration, permissions, and system state.

Why use this skill?

Use the reflect-check skill to diagnose and troubleshoot your SpecWeave reflection system. Ensure your OpenClaw agent is learning correctly with automated health reports.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/anton-abyzov/sw-reflect-check
Or

What This Skill Does

The reflect-check skill serves as the primary diagnostic command for the SpecWeave reflection system within the OpenClaw ecosystem. Reflection is a critical process where the agent captures learnings, updates memory files, and refines future performance. When this system stalls, the agent loses its ability to learn from previous interactions. Reflect-check mitigates this by performing a six-point comprehensive audit: it validates the presence and structural integrity of reflect-config.json, scans the reflect.sh script for syntax errors, audits the last 10 execution logs, checks the memory file status to confirm growth, verifies the stop-reflect.sh hook, and runs a battery of pre-flight environment checks. By executing bash plugins/specweave/scripts/reflect-check.sh, the skill returns a color-coded status report, offering an immediate visual health readout. It transforms opaque, silent failures into actionable intelligence, allowing users to identify whether the issue is a broken configuration file, a missing dependency like jq, or a stalled automation hook.

Installation

To integrate this diagnostic tool into your OpenClaw environment, execute the following command via the CLI or terminal: clawhub install openclaw/skills/skills/anton-abyzov/sw-reflect-check Once the installation completes, the reflect-check commands become immediately available to the agent. No further environment variables are required, as the skill leverages existing SpecWeave file structures.

Use Cases

This skill is essential for maintaining high-performance agent behavior. Use it when you observe that the agent is not "learning" from mistakes or failing to update MEMORY.md files after complex tasks. It is also a mandatory step after performing marketplace updates, where script permissions or paths might have shifted. It is the go-to tool for developers debugging agent loops or silent failures, providing a clear audit trail of why the reflection automation might have stopped, been skipped, or failed to trigger.

Example Prompts

  1. "Check if reflection is working; it feels like the agent isn't learning from our previous sessions."
  2. "Run a reflect-check diagnostics scan to see why my memory files aren't updating."
  3. "Reflection seems to be stuck, can you diagnose the issue?"

Tips & Limitations

  • Tip: Run this skill immediately after modifying custom reflection logic to ensure syntax correctness.
  • Tip: If you receive a 'Missing dependency' error in the report, ensure that jq is installed on your host system.
  • Limitation: This tool is limited to the local SpecWeave reflection system. It cannot troubleshoot cloud-based memory synchronization issues.
  • Limitation: The audit logs only track the most recent 10 attempts; for long-term historical analysis, consult the underlying system logs manually.

Metadata

Stars1054
Views1
Updated2026-02-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-anton-abyzov-sw-reflect-check": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#diagnostics#reflection#debugging#specweave#maintenance
Safety Score: 4/5

Flags: file-read, code-execution