prompt-versioning-hygiene

prompt-versioning-hygiene is a skill for Claude Code, Codex from sigistry/marketplace. It costs 75 tokens per session (838 once invoked), scanned A, original, MIT.

A set of practices for treating prompts—the instructions sent to an AI model—as versioned project files instead of hidden text inside application code. It makes prompt changes identifiable, reviewable, and testable.

In plain words
What is it for?
Use it to organize system prompts and templates, give them identities and versions, track changes in Git, and connect prompt edits to tests or evaluations.
Why use it?
It prevents silent behavior changes when someone edits a prompt and makes it easier to compare, review, roll back, or test those edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the llm-app-hardener plugin — 4 skills, 4 commands, 2 agents shipped together

Good fit Use it to organize system prompts and templates, give them identities and versions, track changes in Git, and connect prompt edits to tests or evaluations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sigistry/marketplace/prompt-versioning-hygiene
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sigistry/marketplace --skill prompt-versioning-hygiene
Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Made for: Claude Code, Codex.

Or install llm-app-hardener, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-versioning-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/sigistry/marketplace/prompt-versioning-hygiene/github.svg)](https://agentmods.dev/skills/sigistry/marketplace/prompt-versioning-hygiene)
Your own site
<a href="https://agentmods.dev/skills/sigistry/marketplace/prompt-versioning-hygiene"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/prompt-versioning-hygiene/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-versioning-hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/sigistry/marketplace/prompt-versioning-hygiene"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/prompt-versioning-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00838
Opus 5 $0.00037 $0.00419
Sonnet 5 $0.00015 $0.00168
Haiku 4.5 $0.00007 $0.00084

Measured 8d ago against content hash 204b8746dd5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

prompt-versioning-hygiene scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/llm-app-hardener/skills/prompt-versioning-hygiene/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prompt Versioning Hygiene

Purpose

Prompts are the highest-leverage, least-governed artifact in most LLM apps: a one-line edit to a system prompt can change behavior across every request, yet prompts are typically inline string literals that ship with no version, no review, and no test. This skill standardizes treating prompts as code, externalized, versioned, diffable, reviewed, and tested, so a prompt change is a deliberate, traceable, gated event instead of a silent regression waiting to happen. It is the connective tissue between the eval-authoring skill (which grades prompts) and the day-to-day discipline of changing them.

The core problem: prompts as magic strings

# The anti-pattern: prompt buried in logic, no version, no test, no review trail
def summarize(doc):
    return llm(f"You are a helpful assistant. Summarize this in 3 bullets: {doc}")

Nothing here can be diffed meaningfully, reviewed as a unit, rolled back independently, or A/B-tested. A behavior change and a prompt change are indistinguishable in the git history. The fix is to give every prompt an identity.

The hygiene checklist

Practice Why it matters
Externalize prompts from logic (dedicated files/modules or a prompt registry) Makes prompts findable, diffable, and reviewable on their own
Version each prompt (semantic version or content hash) Lets you pin, roll back, and correlate an output to the exact prompt that produced it
Review prompt changes like code (PR, required approval) A prompt edit is a behavior change; it deserves the same gate as a code change
Test every prompt against the eval suite before merge Proves the change improved rather than regressed (see eval-authoring)
Separate prompt data from prompt logic Keep the template text apart from the interpolation/assembly code
Environment-aware rendering (dev/staging/prod) Iterate safely without touching production behavior
Log the version with each request An incident is traceable to the exact prompt version live at the time

Read the full file on GitHub · 47 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 47 lines · 75 tokens per session scan A 204b8746dd5c

Subscribe to this mod's changes

prompt-versioning-hygiene is a skill published in the GitHub repository sigistry/marketplace (3 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 838 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

nano-banana-prompting

This skill should be used when crafting prompts for Nano Banana Pro (Gemini image generation). Use when users want help writing image generation prompts, need guidance on prompt structure, or want to optimize their prompts for better results.

NikiforovAll/claude-code-rules · 51 tokens

nano-banana

This skill should be used for Python scripting and Gemini image generation. Use when users ask to generate images, create AI art, edit images with AI, or run Python scripts with uv. Trigger phrases include "generate an image", "create a picture", "draw", "make an image of", "nano banana", or any image generation…

NikiforovAll/claude-code-rules · 73 tokens

seedance-prompter

Expert prompt engineering for Seedance 2.0. Use when the user wants to generate a video with multimodal assets (images, videos, audio) and needs the best possible prompt.

wells1137/media-skills · 44 tokens

gemini-prompting

Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks inside the Gemini Claude Code plugin.

ByteLandTechnology/gemini-cc · 28 tokens

skill-meta-prompt

Craft better prompts using proven optimization techniques — use when your prompt needs refinement.

nyldn/claude-octopus · 19 tokens

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens