jig-rubric-scan

jig-rubric-scan is a skill for Claude Code from 0x0w1/jig. It costs 63 tokens per session (1,449 once invoked), scanned B, original, MIT.

A read-only checker that identifies what kind of software project a repository is and suggests matching versioning rules. Versioning rules describe when a release should be a patch, minor, or major change.

In plain words
What is it for?
Use it before setting versioning rules for the first time or after the project changes significantly.
Why use it?
It helps choose release rules based on the files and structure actually present in the repository.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit Use it before setting versioning rules for the first time or after the project changes significantly.

Compare 6 skills from other repositories ↓
View source ↗ 0x0w1/jig
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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 jig-rubric-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/0x0w1/jig/jig-rubric-scan/github.svg)](https://agentmods.dev/skills/0x0w1/jig/jig-rubric-scan)
Your own site
<a href="https://agentmods.dev/skills/0x0w1/jig/jig-rubric-scan"><img src="https://agentmods.dev/badge/skills/0x0w1/jig/jig-rubric-scan/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 jig-rubric-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x0w1/jig/jig-rubric-scan"><img src="https://agentmods.dev/badge/skills/0x0w1/jig/jig-rubric-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,449 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00063 $0.01449
Opus 5 $0.00032 $0.00724
Sonnet 5 $0.00013 $0.00290
Haiku 4.5 $0.00006 $0.00145

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

Security

Grade B, and why

jig-rubric-scan scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

5. `~/.agents/skills/jig-version-rubric/rubrics` or `~/.gemini/config/skills/jig-version-rubric/rubrics` (user-scope install).
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/jig-rubric-scan/SKILL.md · 84 lines

How it starts

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

Rubric Scan

Use this repository skill to find out what kind of project this repository is, and which version rubric it should grade releases with. The scan reads the repository, scores it against the rubric catalog, and reports candidates with evidence. Writing .jig/versioning.md belongs to version-rubric; this skill never writes it.

Run it before setting a rubric for the first time, or when a project has changed enough that its old rubric no longer matches what it ships.

Catalog

The catalog is the set of rubric drafts shipped alongside version-rubric. Resolve its directory in this order and stop at the first hit:

  1. JIG_RUBRIC_CATALOG environment variable (session-only override).
  2. ${CLAUDE_PLUGIN_ROOT}/skills/version-rubric/rubrics (Claude Code plugin install).
  3. .agents/skills/jig-version-rubric/rubrics (Codex and Antigravity project install).
  4. skills/version-rubric/rubrics (running inside the jig repository itself).
  5. ~/.agents/skills/jig-version-rubric/rubrics or ~/.gemini/config/skills/jig-version-rubric/rubrics (user-scope install).

Read the rubrics/INDEX.md in that directory first. It carries the type list, the detection signals, and the scoring rules; the per-type bodies are only read for the types that actually become candidates.

If no catalog is found, do not guess type names. Report that the catalog is missing, name the paths that were checked, and fall back to recommending the default rubric through version-rubric.

Scan

Read only. Never modify a file, never install anything, never run a build.

  1. Inventorygit ls-files for the tracked file list. Untracked build output and dependency directories are not evidence.
  2. Shape — count files by extension and top-level directory. A repository whose tracked files are overwhelmingly documents or assets is graded by what those files promise, even when a stray script exists.
  3. Manifests — read the dependency and packaging files that exist (package.json, pyproject.toml, Cargo.toml, go.mod, pubspec.yaml, Gemfile, *.csproj, and the like). Dependency names are the strongest single source of type evidence.
  4. Entrypoints — look for what the project hands to someone: published package metadata, executable names, server routes, deployment manifests, site config, exported assets.
  5. Distribution — check .github/workflows, Dockerfile, install.sh, release automation, and store or registry configuration for how a release reaches its consumers.
  6. Historygit log --oneline -30 and existing tags show what the project actually releases. A repository that only ever ships documents is graded as one.

Read the full file on GitHub · 84 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 First seen · 84 lines · 63 tokens per session scan B f7ed571338c3

Subscribe to this mod's changes

jig-rubric-scan is a skill published in the GitHub repository 0x0w1/jig (5 stars, last pushed 7d ago), licensed MIT. It adds 63 tokens to every session and 1,449 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.