jig-doctor

jig-doctor is a skill for Codex from 0x0w1/jig. It costs 75 tokens per session (4,480 once invoked), scanned B, original, MIT.

A read-only diagnostic guide for checking Jig installations across Claude Code, Codex, and Antigravity.

In plain words
What is it for?
It inventories project and user installations, checks managed files and records, and reports repository or migration state.
Why use it?
It helps distinguish missing, outdated, legacy, and healthy installations without changing them.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit It inventories project and user installations, checks managed files and records, and reports repository or migration state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0x0w1/jig/jig-doctor
View source ↗ 0x0w1/jig
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 0x0w1/jig --skill jig-doctor
Clone the repo
git clone --depth 1 https://github.com/0x0w1/jig

Made for: Codex.

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-doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x0w1/jig/jig-doctor"><img src="https://agentmods.dev/badge/skills/0x0w1/jig/jig-doctor.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 4,480 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.00075 $0.04480
Opus 5 $0.00037 $0.02240
Sonnet 5 $0.00015 $0.00896
Haiku 4.5 $0.00007 $0.00448

Measured 9d ago against content hash 1f8e93285814, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

jig-doctor 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/inspect-claude-standalone.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

| Claude Code | user | `jig@jig` enabled in `~/.claude/settings.json` |
.agents/skills/jig-doctor/SKILL.md · 190 lines

How it starts

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

jig Doctor

Use this repository skill to diagnose the installed jig state across every supported target and scope. This skill never modifies files or settings.

Distribution Model

Each CLI is installed on its own, but diagnosis inventories all of them before judging any one instance.

  • Claude Code plugin is host-managed and may be enabled at project, local, user, or managed scope. Its skills are namespaced as /jig:<skill> and its host version is not compared with file payload tags.
  • Claude Code standalone is a compatibility installation under .claude/skills or ~/.claude/skills. A current installation has a .jig-installation ledger plus per-skill .jig-provenance; a verified legacy copy may have no ledger yet.
  • Codex and Antigravity have no plugin system. Their project and global rules files carry independent managed blocks and version stamps; skill roots differ by target and scope.

Installation Inventory

Use this exact contract, shared with jig-update. Inventory all rows before deciding that jig is absent or healthy.

Target Scope Installation evidence
Claude Code project jig@jig enabled in .claude/settings.json
Claude Code local jig@jig enabled in .claude/settings.local.json
Claude Code user jig@jig enabled in ~/.claude/settings.json
Claude Code managed jig@jig reported at managed scope by claude plugin list --json
Claude Code standalone project valid .jig-installation or verified legacy jig skill set under ./.claude/skills
Claude Code standalone user valid .jig-installation or verified legacy jig skill set under ~/.claude/skills
Codex project jig managed block in ./AGENTS.md
Codex global jig managed block in ~/.codex/AGENTS.md
Antigravity project jig managed block in ./GEMINI.md
Antigravity global jig managed block in ~/.gemini/GEMINI.md

Read the full file on GitHub · 190 lines

Files

What ships with it

1 file 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. 9d ago Changed · +15 lines · +6 tokens per session 1f8e93285814
  2. 12d ago First seen · 175 lines · 69 tokens per session scan B 31451ad92afc

Subscribe to this mod's changes

jig-doctor is a skill published in the GitHub repository 0x0w1/jig (5 stars, last pushed 9d ago), licensed MIT. It adds 75 tokens to every session and 4,480 once invoked, about $0.0004 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.