Agent skill
pack-validate
Validates that a pack is complete, correctly structured, and navigable.
Stars
0
Forks
0
Install this agent skill to your Project
npx add-skill https://github.com/Reneromero08/agent-governance-system/tree/main/CAPABILITY/SKILLS/utilities/pack-validate
SKILL.md
required_canon_version: >=3.0.0
Skill: pack-validate
Version: 0.1.0
Status: Active
Purpose
Validates that a pack is complete, correctly structured, and navigable.
Checks Performed
-
Structure Validation
meta/directory existsrepo/directory exists- Required meta files present (PACK_INFO.json, REPO_STATE.json, FILE_INDEX.json)
-
Manifest Integrity
- All files in manifest exist in pack
- File hashes match manifest
-
Navigation Validation
- START_HERE.md or ENTRYPOINTS.md accessible
- Split files have correct naming (AGS-00_INDEX.md, etc.)
-
Token Validation
- CONTEXT.txt exists
- Token warnings noted
-
PRUNED Validation (if PRUNED/ exists)
- PRUNED/PACK_MANIFEST_PRUNED.json exists and has valid schema
- PRUNED/meta/PRUNED_RULES.json exists
- Manifest entries include path, hash, and size
- Hashes and sizes match actual files
- Manifest entries are in canonical (lexicographic) order
- No staging directories (.pruned_staging_*) or backup directories (PRUNED._old) present
Inputs
pack_path: Path to the pack directory to validate
Outputs
valid: Boolean - whether pack passes all checkserrors: List of validation errorswarnings: List of warnings (non-fatal)stats: Pack statistics (file count, bytes, tokens)
required_canon_version: >=3.0.0
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
mcp-adapter
0
0
Explore
pipeline-dag-scheduler
0
0
Explore
cortex-summaries
0
0
Explore
llm-packer-smoke
0
0
Explore
artifact-escape-hatch
0
0
Explore
mcp-message-board
0
0
Explore
Didn't find tool you were looking for?