Skip to content
Back to skills

Determinism

ASecurity

Use when verifying outcomes with code instead of LLM judgment, versioning prompts with hashes, or ensuring reproducible agent behavior. Load for any critical verification. Scripts return boolean exit codes, not subjective assessments. Prompts use semantic versioning with SHA256 validation.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
data-aipythongo

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add ingpoc/SKILLS --skill determinism --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Determinism?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Determinism
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ingpoc-determinism/badge)](https://www.skillsdirectory.com/skills/ingpoc-determinism)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: determinism
description: "Use when verifying outcomes with code instead of LLM judgment, versioning prompts with hashes, or ensuring reproducible agent behavior. Load for any critical verification. Scripts return boolean exit codes, not subjective assessments. Prompts use semantic versioning with SHA256 validation."
keywords: verification, deterministic, hash, version, reproducible, code-not-judgment
---

# Determinism

Reproducible outcomes through code verification and prompt versioning.

## Core Principle

> "Claude can run scripts without loading either the script or the PDF into context. And because code is deterministic, this workflow is consistent and repeatable." - Anthropic Engineering

## Instructions

1. Replace LLM judgment with script verification
2. Version prompts with semantic versioning
3. Hash-validate critical prompts: `scripts/validate-prompt.sh`
4. Use exit codes (0 = pass, 1 = fail), not text

## LLM Judgment vs Code Verification

| Task | LLM (Bad) | Code (Good) |
|------|-----------|-------------|
| Tests passed? | "The tests appear to pass" | `pytest; echo $?` → 0 or 1 |
| Valid JSON? | "This looks like valid JSON" | `python -c "json.load(f)"` |
| Server running? | "The server should be up" | `curl -s localhost/health` |

## References

| File | Load When |
|------|-----------|
| references/code-verification.md | Writing verification scripts |
| references/prompt-versioning.md | Versioning/hashing prompts |

Files in this skill

  • SKILL.md1.4 KB
  • references/code-verification.md6.5 KB
  • references/prompt-versioning.md7.5 KB
  • scripts/validate-prompt.sh947 B
  • scripts/verify-json.sh351 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.