nicar2026_skills_in_codex_claude: Skill for Claude Code

.claude/skills/image-rotator/SKILL.md

image-rotator is a skill for Claude Code from amkessler/nicar2026_skills_in_codex_claude. It costs 61 tokens per session (587 once invoked), scanned A, original, Apache-2.0.

A tool for rotating PNG, JPG, GIF, BMP, or TIFF images by 90-degree steps while preserving image quality.

In plain words
What is it for?
Use it to rotate one image or a batch of images clockwise, counter-clockwise, or by 180 degrees.
Why use it?
It fixes incorrectly oriented or misaligned images without requiring custom image-processing code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is amkessler/nicar2026_skills_in_codex_claude's own configuration. It tells Claude Code how to work on nicar2026_skills_in_codex_claude 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 nicar2026_skills_in_codex_claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to amkessler/nicar2026_skills_in_codex_claude. 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/amkessler/nicar2026_skills_in_codex_claude/main/.claude/skills/image-rotator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/amkessler/nicar2026_skills_in_codex_claude

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 image-rotator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amkessler/nicar2026_skills_in_codex_claude/image-rotator"><img src="https://agentmods.dev/badge/skills/amkessler/nicar2026_skills_in_codex_claude/image-rotator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 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.00061 $0.00587
Opus 5 $0.00030 $0.00293
Sonnet 5 $0.00012 $0.00117
Haiku 4.5 $0.00006 $0.00059

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

Security

Grade A, and why

image-rotator 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/rotate_image.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.

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/skills/image-rotator/SKILL.md · 98 lines

How it starts

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

Image Rotator

Overview

Rotate images by 90-degree increments while preserving quality. This skill provides a deterministic Python script for image rotation tasks, eliminating the need to rewrite image manipulation code.

When to Use

Use this skill when users request:

  • Rotating images by 90, 180, or 270 degrees
  • Fixing image orientation
  • Adjusting image alignment for documents or presentations
  • Batch rotation operations

Quick Start

The skill includes scripts/rotate_image.py, a command-line utility for rotating images. The script uses PIL/Pillow for reliable image processing.

Basic Usage

Rotate an image clockwise by 90 degrees:

uv run python skills/image-rotator/scripts/rotate_image.py input.jpg

This creates input_rotated.jpg in the same directory.

Common Options

Specify output path:

uv run python skills/image-rotator/scripts/rotate_image.py input.jpg --output rotated.jpg

Rotate counter-clockwise:

uv run python skills/image-rotator/scripts/rotate_image.py input.jpg --direction counter-clockwise

Rotate 180 degrees (2x 90-degree rotations):

uv run python skills/image-rotator/scripts/rotate_image.py input.jpg --times 2

Rotate 270 degrees clockwise (or 90 counter-clockwise):

uv run python skills/image-rotator/scripts/rotate_image.py input.jpg --times 3

Supported Formats

  • PNG
  • JPG/JPEG
  • GIF
  • BMP
  • TIFF

Implementation Notes

Prerequisites

The script requires Pillow (PIL fork):

uv add Pillow

Script Details

The rotation script (scripts/rotate_image.py):

  • Uses PIL's rotate() method with expand=True to prevent cropping
  • Preserves image metadata when possible
  • Returns clear success/error messages
  • Handles edge cases (missing files, unsupported formats)

Workflow

When users request image rotation:

  1. Verify the input image path exists
  2. Determine rotation direction and amount (default: 90 degrees clockwise)
  3. Execute scripts/rotate_image.py with appropriate parameters
  4. Report the output file location to the user

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 61 tokens per session scan A 83669a507849

Subscribe to this mod's changes

image-rotator is a skill published in the GitHub repository amkessler/nicar2026_skills_in_codex_claude (20 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 61 tokens to every session and 587 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-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens