Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

context-verifier

БесплатноБез исполняемых скриптовНе проверен

Know the file you're editing is the file you think it is — verify integrity before you act

lxyeternalот lxyeternal★ 68 звёзд на GitHub

Об этом скилле

context-verifier (検証)

Unified skill for file hash computation, integrity verification, severity tagging, and context packet creation. Consolidates 3 granular skills into a single verification system.

Trigger: 明示呼出 (explicit invocation)

Source skills: context-packet, file-verifier, severity-tagger

Installation

openclaw install leegitw/context-verifier

Dependencies: None (foundational skill)

Standalone usage: This skill is fully functional standalone. It provides file integrity verification that other skills in the suite depend on. Install this first when adopting the Neon Agentic Suite.

Data handling: This skill performs local-only operations. Hash computation uses standard SHA256 algorithms locally — no file contents are sent to any model, API, or external service. Results are written to output/context-packets/ in your workspace. The skill reads config from .openclaw/context-verifier.yaml or .claude/context-verifier.yaml only.

File access scope: This skill reads user-specified files for hash computation. The metadata declares config and output paths only — the skill will read ANY file path you provide to /cv hash, /cv verify, or /cv packet. Use caution with sensitive files.

What This Solves

AI agents sometimes operate on stale data — editing a file that changed since it was read, or trusting cached content that's now outdated. This skill prevents that by:

  1. Computing hashes of files before and after operations
  2. Detecting changes between read and write
  3. Generating context packets with verifiable checksums for review workflows

The insight: Trust but verify. The file you read might not be the file you're about to edit. Check first.

Usage

/cv <sub-command> [arguments]

Sub-Commands

Command CJK Logic Trigger
/cv hash 哈希 file→SHA256(content) Explicit
/cv verify 検証 file×hash→match✓∨mismatch✗ Explicit
/cv tag 標記 file→severity∈{critical,important,minor} Explicit
/cv packet 包装 files[]→{path,hash,severity,timestamp}[] Explicit

Arguments

/cv hash

Argument Required Description
file Yes File path to hash
--algorithm No Hash algorithm: sha256 only (MD5/SHA-1 removed - cryptographically broken)

/cv verify

Argument Required Description
file Yes File path to verify
hash Yes Expected hash value
--algorithm No Hash algorithm: sha256 only

/cv tag

Argument Required Description
file Yes File path to tag
severity No Severity level: critical, important, minor (auto-detected if omitted)

/cv packet

Argument Required Description
files Yes Comma-separated file paths or glob pattern
--name No Packet name (default: auto-generated)
--include-content No Include file content in packet (default: false) - see Security section

⚠️ Security Warning: The --include-content flag stores file contents to disk. Never use this flag with sensitive files (.env, credentials, secrets). See the Security Considerations section below.

Configuration

Configuration is loaded from (in order of precedence):

  1. .openclaw/context-verifier.yaml (OpenClaw standard)
  2. .claude/context-verifier.yaml (Claude Code compatibility)
  3. Defaults (built-in patterns)

Security Considerations

Local-only processing: All hash computation uses standard SHA256 algorithms executed locally. No file contents are ever sent to any LLM, API, or external service. The "agent's model" is only used to interpret your commands — not to process file contents.

What this skill does NOT do:

  • Send file contents to any model or API (hashing is local)
  • Call external APIs or third-party services
  • Modify source files (only writes to output/context-packets/)

What this skill accesses:

  • Configuration files in .openclaw/context-verifier.yaml and .claude/context-verifier.yaml
  • Any user-specified files for hash computation (read-only) — the skill reads whatever paths you provide
  • Its own output directory output/context-packets/ (write)

⚠️ IMPORTANT: Unlike other skills in this suite, context-verifier reads arbitrary files that you specify. The metadata only declares config/output paths. When you run /cv hash myfile.go, the skill reads myfile.go even though it's not in the metadata. This is by design — verification requires reading the files you want to verify.

This skill handles file metadata and optionally file contents. Follow these guidelines:

Sensitive File Detection (Not Reading)

The critical_patterns (e.g., *.env, *credentials*, *secret*) are used for:

  • Detection: Identifying files that should
Полный SKILL.md на GitHub

Установить context-verifier в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.json

FAQ

Что делает скилл context-verifier?

Know the file you're editing is the file you think it is — verify integrity before you act

Как установить скилл context-verifier?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл context-verifier запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить context-verifier с