safety-checks
由 leegitw 提供
AI & LLMs简介
Verify before you trust — model pinning, fallbacks, and runtime safety validation.
描述
该技能的功能
Runtime safety verification suite that consolidates model version pinning, fallback chain validation, cache staleness detection, and cross-session state checks. All operations are local file and metadata reads with no external API calls or data transmission. Consolidates four separate skills into a single aliased command.
Replaces four separate skill invocations with a single aliased suite that integrates directly with HEARTBEAT for automated periodic verification.
何时使用
- Catching model version drift before a scheduled agent run
- Verifying fallback config entries exist after modifying agent settings
- Clearing stale cache entries during periodic workspace maintenance
- Detecting orphaned lock files left by a previously crashed session
- Running automated pre-flight safety checks on every session start via HEARTBEAT
示例工作流
User asks: run a full safety check before starting the agent workflow
- 1
Run /sc model to compare active model version string against the pinned value in config
- 2
Run /sc fallback to confirm fallback chain entries are declared in safety-checks.yaml
- 3
Run /sc cache to identify cache entries older than the configured TTL
- 4
Run /sc session to check for stale lock files or orphaned temp artifacts in output/safety/
Four-check report with pass/warn/fail status per check; results written to output/safety/ logs
安装
clawhub install leegitw/safety-checks运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。