Agent skill

cas-integrity-check

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Reneromero08/agent-governance-system/tree/main/MEMORY/ARCHIVE/skills-deprecated/cas-integrity-check

SKILL.md

required_canon_version: >=3.0.0

Skill: cas-integrity-check

Version: 1.0.0

Status: Deprecated

DEPRECATED: This skill has been consolidated into cortex-toolkit. Use {"operation": "verify_cas", ...} with the cortex-toolkit instead.

Purpose

Verify the integrity of a content-addressed storage (CAS) directory by checking that each blob's SHA-256 hash matches its filename.

Trigger

Use when you want to verify that a CAS directory is not corrupted.

Inputs

input.json fields:

  • cas_root (string, required): Path to the CAS root directory (repo-relative recommended).

Outputs

Writes output.json containing:

  • status (string): success or failure
  • total_blobs (int)
  • corrupt_blobs (array): objects with path and reason (+ optional expected, actual)
  • cas_root (string): resolved path checked

Constraints

  • Deterministic (no wall-clock usage).
  • Read-only: must not modify repo files.

Fixtures

  • fixtures/missing_root/

required_canon_version: >=3.0.0

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results