x-ray

x-ray is a skill for Claude Code, Codex from wildcat-finance/skills. It costs 93 tokens per session (9,698 once invoked), scanned A, a copy of x-ray, Apache-2.0.

An audit-readiness report generator for a software project. It creates an x-ray folder containing findings about the codebase, threats, entry points, invariants, integrations, documentation, tests, and development history.

In plain words
What is it for?
Use it before a smart-contract or software security audit to inspect the project and organize the results. Its workflow measures the codebase, reviews sources and risks, and writes the report files.
Why use it?
It gathers several kinds of preparation evidence into a structured report before an audit. The threat review includes protocol type, attack surfaces, time-related risks, and dependencies between connected systems.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents; names the TodoWrite tool.

Part of the hexaemeron plugin — 15 skills shipped together

Good fit Use it before a smart-contract or software security audit to inspect the project and organize the results. Its workflow measures the codebase, reviews sources and risks, and writes the report files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wildcat-finance/skills/x-ray
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 wildcat-finance/skills --skill x-ray
Clone the repo
git clone --depth 1 https://github.com/wildcat-finance/skills

Made for: Claude Code, Codex.

Or install hexaemeron, the plugin that ships this one along with the rest of its 15 skills.

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 x-ray

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wildcat-finance/skills/x-ray"><img src="https://agentmods.dev/badge/skills/wildcat-finance/skills/x-ray.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00093 $0.09698
Opus 5 $0.00046 $0.04849
Sonnet 5 $0.00019 $0.01940
Haiku 4.5 $0.00009 $0.00970

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

Security

Grade A, and why

x-ray scanned grade A 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/analyze_git_security.py, scripts/enumerate.sh, scripts/generate_svg.py), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash `curl -sf https://raw.githubusercontent.com/pashov/skills/main/x-ray/VERSION`
Origin

This is a copy

100% identical to x-ray — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/hexaemeron/skills/x-ray/SKILL.md · 402 lines

How it starts

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

X-Ray

Generate an x-ray/ folder at the project root containing all output files. Pipeline: 3 steps, always sequential.

$SKILL_DIR = the directory containing this SKILL.md file. Resolve it from the path you loaded this skill from (e.g. if this file is at /path/to/x-ray/SKILL.md, then $SKILL_DIR = /path/to/x-ray).

Progress tracking (MANDATORY)

Before doing anything else, call TodoWrite with these 3 todos (all pending):

  1. Phase 1: Enumerate & measure codebase
  2. Phase 2: Read sources, classify entry points, synthesize invariants
  3. Phase 3: Write x-ray report files

Transitions (update via TodoWrite — never batch):

  • Mark Phase 1 in_progress immediately, before running enumerate.sh.
  • When Step 1's parallel batch returns, in ONE TodoWrite call mark Phase 1 completed and Phase 2 in_progress.
  • When Step 2 (including 2b–2g) finishes, in ONE TodoWrite call mark Phase 2 completed and Phase 3 in_progress.
  • After all Step 3 output files are written, mark Phase 3 completed.

Rule: exactly one todo is in_progress at any time. Status updates happen the moment a phase starts or ends.

Step 1: Enumerate & Measure

If the user specifies a path, use it as project root. Otherwise use cwd. If no .sol files or foundry.toml/hardhat.config.* at root, check one level deep.

Source directory detection: Auto-detect from foundry.toml (src = "...") or hardhat.config.*. If no config, try both src/ and contracts/. Read foundry.toml first if present.

Run enumeration (single Bash call — includes output directory creation):

mkdir -p [project-root]/x-ray && bash $SKILL_DIR/scripts/enumerate.sh [project-root] [src-dir]

Immediately after, launch ALL of the following in a single message (parallel):

0. Version check (foreground):

  • Read the local VERSION file from $SKILL_DIR/VERSION
  • Bash curl -sf https://raw.githubusercontent.com/pashov/skills/main/x-ray/VERSION
  • If the remote VERSION fetch succeeds and differs from local, print ⚠️ You are not using the latest version. Please upgrade for best security coverage. See https://github.com/pashov/skills. If it fails, skip silently.

Read the full file on GitHub · 402 lines

Files

What ships with it

9 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. 12d ago First seen · 402 lines · 93 tokens per session scan A b23bb9451780

Subscribe to this mod's changes

x-ray is a skill published in the GitHub repository wildcat-finance/skills (12 stars, last pushed today), licensed Apache-2.0. It adds 93 tokens to every session and 9,698 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to x-ray, differing in 0 lines, and is treated as a copy.