ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

safety-checks

Verify before you trust — model pinning, fallbacks, and runtime safety validation

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/leegitw/safety-checks
Or

safety-checks (安全)

Unified skill for runtime safety verification including model version pinning, fallback chain validation, cache staleness detection, and cross-session state checks. Consolidates 4 granular skills into a single safety verification suite.

Trigger: 事前検証 (pre-flight) or HEARTBEAT

Source skills: model-pinner, fallback-checker, cache-validator, cross-session-safety-check (from extensions)

Installation

openclaw install leegitw/safety-checks

Dependencies: leegitw/constraint-engine (for enforcement integration)

# Install with dependencies
openclaw install leegitw/context-verifier
openclaw install leegitw/failure-memory
openclaw install leegitw/constraint-engine
openclaw install leegitw/safety-checks

Standalone usage: Model pinning and cache checks work independently. Full integration with constraint enforcement requires constraint-engine.

Data handling: This skill performs local-only operations. All checks (model version comparison, cache age verification, file lock detection) are local file/metadata operations — no data is sent to any model, API, or external service. Results are written to output/safety/ in your workspace.

What This Solves

AI systems can silently degrade — model versions drift, caches go stale, sessions accumulate state. This skill catches these issues before they cause problems:

  1. Model pinning — verify you're using the model you expect
  2. Fallback validation — ensure degraded-mode paths exist and work
  3. Cache checks — detect stale or corrupted cached data
  4. Session hygiene — identify cross-session state contamination

The insight: Runtime verification catches what static rules miss. Check the system state, not just the configuration.

Usage

/sc <sub-command> [arguments]

Sub-Commands

CommandCJKLogicTrigger
/sc model機種model.version→pinned✓∨drift✗HEARTBEAT
/sc fallback代替chain.exists→safe✓∨missing✗HEARTBEAT
/sc cache快取response.age>TTL→stale✗HEARTBEAT
/sc session会話cross_session.state→clean✓∨interference✗HEARTBEAT

Arguments

/sc model

ArgumentRequiredDescription
--expectedNoExpected model version (default: from config)
--strictNoFail on any version mismatch

/sc fallback

ArgumentRequiredDescription
--chainNoSpecific fallback chain to check in config

Note: This command validates that fallback configurations exist in your config file. It does NOT make network calls or test actual connectivity. It's a config file audit.

/sc cache

ArgumentRequiredDescription
--ttlNoTTL in seconds (default: 3600)
--clearNoClear stale cache entries

/sc session

Metadata

Author@leegitw
Stars1656
Views1
Updated2026-02-28
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-leegitw-safety-checks": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#agentic#safety#validation#model-pinning#fallback#runtime-verification#cache#guardrails
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.