Version-Sentinel: Instructions file for Codex

AGENTS.md

Version-Sentinel AGENTS.md is an instructions file for Codex, OpenCode from KSEGIT/Version-Sentinel. It costs 936 tokens per session, scanned A, original, MIT.

Dependency-checking instructions for Version Sentinel, a guardrail that verifies package versions against their upstream registries before changes are made. A dependency is an external package a project relies on.

In plain words
What is it for?
Use them when changing dependencies in npm, Python, Rust, or .NET project manifests, including recording the checked version and handling blocked changes.
Why use it?
They prevent stale, invented, or potentially compromised versions from being added, upgraded, downgraded, or installed without a recorded source check.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions AGENTS.md.

This is KSEGIT/Version-Sentinel's own configuration. It tells Codex and OpenCode how to work on Version-Sentinel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Version-Sentinel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to KSEGIT/Version-Sentinel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KSEGIT/Version-Sentinel/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/KSEGIT/Version-Sentinel

Made for: Codex, OpenCode.

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 Version-Sentinel AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ksegit/version-sentinel/agents-md/github.svg)](https://agentmods.dev/instructions/ksegit/version-sentinel/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ksegit/version-sentinel/agents-md"><img src="https://agentmods.dev/badge/instructions/ksegit/version-sentinel/agents-md/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 Version-Sentinel AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ksegit/version-sentinel/agents-md"><img src="https://agentmods.dev/badge/instructions/ksegit/version-sentinel/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 936 This file is loaded in full into every session.
When invoked 936 The same file — it is already loaded in full.
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.00936 $0.00936
Opus 5.5 $0.00374 $0.00374
Sonnet 5.5 $0.00187 $0.00187
Haiku 4.5 $0.00094 $0.00094

Measured 11d ago against content hash 668da426d00b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Version-Sentinel AGENTS.md 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 11d 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.

AGENTS.md · 53 lines

How it starts

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

Version Sentinel — Cross-Agent Instructions

Version Sentinel gives dependency warnings only. Hooks always return status 0 and allow the tool call. Missing or failed audits, stale checks, unsupported syntax, private registries, missing prerequisites, and missing or invalid manifests never become permission gates. Continue the user-authorized task and report the relevant limitation. Do not ask for approval merely because Version Sentinel warns.

Look up the intended version on its upstream registry when practical:

  • npm: https://www.npmjs.com/package/<pkg>
  • pip / pyproject: https://pypi.org/project/<pkg>/
  • Cargo: https://crates.io/crates/<pkg>
  • NuGet: https://www.nuget.org/packages/<pkg>

Record a successful check from the project directory:

bash <plugin-root>/scripts/vs-record.sh <ecosystem> <pkg> <version> <source-url-or-intentional:reason>

Use a canonical https:// source you actually consulted when the version is the registry's latest. Use intentional:<reason> for any other version, including a prerelease or an older pin. The recorder makes its own online check. Report failures truthfully; do not claim verification when it failed. Exact versions make checks reproducible, but floating versions and versionless installs remain allowed.

Audits and limitations

Startup only suggests an optional explicit audit; it makes no registry requests.

Run bash <plugin-root>/scripts/check-versions.sh to compare supported manifests against upstream releases. Report the exit status and diagnostics. Direct audit and recorder commands can return nonzero when validation fails; that reports their result and does not prohibit other work.

Preserve valid dependencies, overrides, selectors, and sources when the parser cannot understand them. Do not rewrite a manifest merely to satisfy the tool. Resolve missing or invalid manifests within the user's authorized task using repository evidence. Normal approval rules for destructive changes still apply separately; no recovery-consent command is needed to continue.

Read the full file on GitHub · 53 lines

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. 11d ago Changed · -25 lines · -364 tokens per session 668da426d00b
  2. 26d ago Changed · +5 lines · +89 tokens per session 8079a8617044
  3. 2mo ago Changed · +2 lines · +113 tokens per session 4df34e3989b9
  4. 2mo ago Changed · +4 lines · +71 tokens per session aa20fa7ebec8
  5. 3mo ago First seen · 67 lines · 1,027 tokens per session scan A 21d968db1eba

Subscribe to this mod's changes

Version-Sentinel AGENTS.md is an instructions file published in the GitHub repository KSEGIT/Version-Sentinel (6 stars, last pushed 6d ago), licensed MIT. It adds 936 tokens to every session, about $0.0037 per session on Opus 5.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-08-31.

Related

Version-Sentinel AGENTS.md compared with instructions from other repositories

Version-Sentinel AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Version-Sentinel AGENTS.mdKSEGIT/Version-SentinelInstructions file66d agoMITA936Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot