sip-attest-image

sip-attest-image is a command for Claude Code from frankxai/Starlight-Intelligence-System. It costs 55 tokens per session (1,865 once invoked), scanned A, original, MIT.

A command for attaching a record of how an image was created to the image file and to a separate JSON file. It can inspect image metadata and nearby prompt files, but the full implementation is still pending.

In plain words
What is it for?
Use it to check image files and prepare SIP attestation data, with optional canon checks and visible watermarks when implemented.
Why use it?
It helps preserve information about an image's origin and avoids adding an attestation merely for decoration. It supports common image files such as PNG, JPEG, WebP, GIF, and TIFF.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the starlight-intelligence-system plugin — 6 skills, 121 commands, 7 agents shipped together

Good fit Use it to check image files and prepare SIP attestation data, with optional canon checks and visible watermarks when implemented.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/frankxai/starlight-intelligence-system/sip-attest-image
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.

Clone the repo
git clone --depth 1 https://github.com/frankxai/Starlight-Intelligence-System

Made for: Claude Code.

Or install starlight-intelligence-system, the plugin that ships this one along with the rest of its 6 skills, 121 commands, 7 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 sip-attest-image

README.md
[![agentmods](https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/sip-attest-image/github.svg)](https://agentmods.dev/commands/frankxai/starlight-intelligence-system/sip-attest-image)
Your own site
<a href="https://agentmods.dev/commands/frankxai/starlight-intelligence-system/sip-attest-image"><img src="https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/sip-attest-image/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 sip-attest-image

Your own site · 80×15
<a href="https://agentmods.dev/commands/frankxai/starlight-intelligence-system/sip-attest-image"><img src="https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/sip-attest-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,865 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.00055 $0.01865
Opus 5 $0.00028 $0.00932
Sonnet 5 $0.00011 $0.00373
Haiku 4.5 $0.00006 $0.00186

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

Security

Grade A, and why

sip-attest-image 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 6d 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.

.claude/commands/sip-attest-image.md · 144 lines

How it starts

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

/sip-attest-image

Load SIP.md, docs/attested-modalities.md, and ATTESTATIONS.md. Attach Starlight Intelligence Protocol attestation to an image artifact (book cover, character art, infographic, world-map render, brand drop).

Artifact

$ARGUMENTS

Process

  1. Validate input.

    • Parse <image-file-path> from $ARGUMENTS. Resolve to absolute path.
    • Verify file exists. If not, emit: Cannot attest — file not found: <path>. Halt.
    • Verify extension in {.png, .jpg, .jpeg, .webp, .gif, .tiff}. If not, emit: Cannot attest — not an image container. Supported: png, jpg, jpeg, webp, gif, tiff. Halt.
    • Parse optional flags --tool (default generic), --canon (default none), --watermark (default off).
  2. Scan for real composition. Refuse decorative attestation — same rule as /sip-attest for text.

    • Check for tool-reported EXIF (e.g., Imagen and Nano Banana write generator tags; Midjourney and DALL-E often embed model/version).
    • Check for prompt provenance in a co-located <filename>.prompt.txt or <filename>.json if present.
    • If --canon arcanea, verify canonical element references (Guardian names, Vel'Tara sites, Hz-bound visual motifs) in prompt metadata.
    • If no composition signals found AND --tool generic AND --canon none, emit: Cannot attest — no SIP composition detected. Attestation would be decorative, which corrodes the protocol. Halt.
  3. Compute composition hash.

    • Emit a sha256sum <image-file-path> Bash command. Capture the hash.
    • Hash binds to the exact pixel payload. Any re-compression breaks the bind (expected behavior — the re-encoded image is a derivative and must be re-attested).
  4. Generate SIP attestation block. Image-specific fields extend the base format:

    • Standard fields: substrate version, layers used, verticals, canon, nodes, generated timestamp.
    • Image-specific fields: width_px, height_px, format (PNG/JPEG/WEBP/...), color_space (sRGB/P3/...), tool, tool_version (if reported), prompt_hash (sha256 of prompt text if provided), canon_refs (list if canon composed), payload_sha256 (from step 3).

Read the full file on GitHub · 144 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. 6d ago First seen · 144 lines · 55 tokens per session scan A d2366e19ead0

Subscribe to this mod's changes

sip-attest-image is a command published in the GitHub repository frankxai/Starlight-Intelligence-System (8 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 1,865 once invoked, about $0.0003 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.