# Pstack Schema Validate

> Validate pstack snapshots, verification receipts, durable handoffs, or Markdown plans against the plugin's versioned contracts. Use for "validate this pstack artifact", checking pstack JSON, or verifying a pstack plan profile. Not for general JSON schema validation.

- Skill: `scaryrawr/pstack-schema-validate` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add scaryrawr/pstack-schema-validate`
- Raw SKILL.md: https://api.skillmd.com/api/skills/scaryrawr/pstack-schema-validate/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: scaryrawr (https://skillmd.com/u/scaryrawr)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/scaryrawr/pstack-schema-validate

---


# Validate pstack contracts

Run the bundled validator rather than inspecting pstack artifacts by eye.

## Commands

Resolve `scripts/validate.mjs` relative to this skill directory.

```sh
node scripts/validate.mjs snapshot <snapshot.json>
node scripts/validate.mjs receipt <receipt.json>
node scripts/validate.mjs handoff <handoff.json>
node scripts/validate.mjs plan <plan.md> [basic|verified-stack]
```

The command exits `0` on success, `1` for contract violations, and `2` for
invalid invocation or unreadable input. Report every finding with its path or
line number. Do not reinterpret a failed contract as a warning.

