filestack-transform

filestack-transform is a command for Claude Code from filestack/filestack-claude-plugin. It costs 17 tokens per session (597 once invoked), scanned A, original, MIT.

A command that turns a Filestack file handle or CDN URL and a plain-English image request into a Filestack CDN transformation URL. Filestack is a service for storing and delivering files.

In plain words
What is it for?
Use it to resize, crop, rotate, flip, enhance, change colour, or convert images through Filestack CDN URLs.
Why use it?
It removes the need to learn and manually write Filestack's URL syntax for image operations.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Part of the filestack plugin — 5 skills, 1 command, 1 MCP server shipped together

Good fit Use it to resize, crop, rotate, flip, enhance, change colour, or convert images through Filestack CDN URLs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/filestack/filestack-claude-plugin/filestack-transform
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/filestack/filestack-claude-plugin

Made for: Claude Code.

Or install filestack, the plugin that ships this one along with the rest of its 5 skills, 1 command, 1 MCP server.

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 filestack-transform

README.md
[![agentmods](https://agentmods.dev/badge/commands/filestack/filestack-claude-plugin/filestack-transform.svg)](https://agentmods.dev/commands/filestack/filestack-claude-plugin/filestack-transform)
Your own site
<a href="https://agentmods.dev/commands/filestack/filestack-claude-plugin/filestack-transform"><img src="https://agentmods.dev/badge/commands/filestack/filestack-claude-plugin/filestack-transform.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 597 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.00017 $0.00597
Opus 5 $0.00009 $0.00298
Sonnet 5 $0.00003 $0.00119
Haiku 4.5 $0.00002 $0.00060

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

Security

Grade A, and why

filestack-transform 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 7d 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.

commands/filestack-transform.md · 60 lines

What it actually says

/filestack-transform

Build a Filestack CDN transformation URL from a file handle (or existing CDN URL) and a plain-English description of what you want to do.

How to use this command

  1. Parse the first argument as the file handle or CDN URL

    • Bare handle: abc123XYZ
    • Full URL: https://cdn.filestackcontent.com/abc123XYZ
  2. Interpret the rest of the arguments as a plain-English transformation description

  3. Map to Filestack CDN URL syntax and return the full URL with an explanation of each segment

CDN URL format

https://cdn.filestackcontent.com/<operation1>=<param1>:<val1>,<param2>:<val2>/<operation2>/<handle>

Transform reference

What you say CDN segment
resize to 800x600 resize=width:800,height:600
resize width 400 resize=width:400
crop to [50,50,200,200] crop=dim:[50,50,200,200]
detect and crop face crop_faces=faces:1
rotate 90 degrees rotate=deg:90
flip vertically flip
flip horizontally flop
enhance enhance
grayscale / monochrome monochrome
convert to webp output=format:webp
convert to jpg quality 85 output=format:jpg,quality:85
blur (amount 5) blur=amount:5
sharpen sharpen=amount:3

Examples

/filestack-transform abc123XYZ resize to 800x600 and convert to webp
→ https://cdn.filestackcontent.com/resize=width:800,height:600/output=format:webp/abc123XYZ

/filestack-transform abc123XYZ detect face, enhance, and convert to jpg at 85 quality
→ https://cdn.filestackcontent.com/crop_faces=faces:1/enhance/output=format:jpg,quality:85/abc123XYZ

/filestack-transform https://cdn.filestackcontent.com/abc123XYZ rotate 90 and monochrome
→ https://cdn.filestackcontent.com/rotate=deg:90/monochrome/abc123XYZ

If called with no arguments or an invalid handle, output a usage hint and examples — do not error.

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. 7d ago First seen · 60 lines · 17 tokens per session scan A a2494e883c18

Subscribe to this mod's changes

filestack-transform is a command published in the GitHub repository filestack/filestack-claude-plugin (3 stars, last pushed 4d ago), licensed MIT. It adds 17 tokens to every session and 597 once invoked, about $0.0001 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-31.