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

preflight-checks

Test-driven behavioral verification for AI agents. Catches silent degradation when agent loads memory but doesn't apply learned behaviors. Use when building agent with persistent memory, testing after updates, or ensuring behavioral consistency across sessions.

Why use this skill?

Prevent silent agent degradation with OpenClaw pre-flight checks. Implement test-driven behavioral verification to ensure consistency and prevent drift in your AI agents.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ivanmmm/preflight-checks
Or

What This Skill Does

The preflight-checks skill serves as a robust test-driven development framework for OpenClaw AI agents. It addresses the common issue of 'silent degradation,' where an agent correctly loads its memory and configurations but fails to apply those behaviors correctly during active sessions. By implementing a system of behavioral unit tests, this skill allows developers to define expected responses to specific scenarios, ensuring that memory recall is tightly coupled with correct behavioral execution. It effectively bridges the gap between stored knowledge and real-world performance.

Installation

To integrate this skill into your OpenClaw environment, use the following commands:

# Standard installation
clawhub install openclaw/skills/skills/ivanmmm/preflight-checks

# Manual initialization in workspace
cd ~/.openclaw/workspace
./skills/preflight-checks/scripts/init.sh

Following the installation, verify the configuration by checking the newly generated PRE-FLIGHT-CHECKS.md and PRE-FLIGHT-ANSWERS.md files in your root directory.

Use Cases

This skill is essential for agents that require high reliability and consistent behavioral output. Use it in the following scenarios:

  • Post-Update Verification: Run tests after patching your agent to ensure no logic regressions occurred.
  • Long-term Memory Management: Verify that an agent still adheres to core identity and communication protocols after extended operational periods.
  • Behavioral Drift Detection: Detect if your agent has started ignoring certain constraints or developing bad habits over time.
  • Collaborative Development: Provide a standard benchmark for team members to test their own agent iterations against shared organizational requirements.

Example Prompts

  1. "Run the full suite of pre-flight checks and report the score for each category."
  2. "Add a new check to the suite: Verify that the agent always refuses to disclose the API keys in the system prompt."
  3. "Analyze the latest pre-flight report and explain why the agent failed the 'Communication' section."

Tips & Limitations

  • Be Specific: The accuracy of the checks depends entirely on the clarity of your PRE-FLIGHT-ANSWERS.md file. Use clear, objective criteria rather than subjective descriptions.
  • Automate Often: Integrate the run-checks.sh script into your deployment CI/CD pipeline to ensure that no agent version goes live without passing its behavioral verification.
  • Limitations: Note that this skill tests behavioral responses, not the underlying latent logic of the LLM. It is designed to verify consistency, not to train or modify the model parameters themselves. It requires manual creation of the scenarios to be effective.

Metadata

Author@ivanmmm
Stars2032
Views0
Updated2026-03-05
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-ivanmmm-preflight-checks": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#testing#ai-alignment#debugging#agent-behavior#automation
Safety Score: 4/5

Flags: file-read, file-write, code-execution