AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Image Processing

skill-graysurf-agent-kit-image-processing · by graysurf

Validate SVG inputs and convert svg/png/jpg/jpeg/webp inputs to png/webp/jpg

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-graysurf-agent-kit-image-processing

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-graysurf-agent-kit-image-processing)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Image Processing? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Image Processing

Translate a user’s natural-language request into a safe invocation of the image-processing CLI.

Contract

Prereqs:

  • Run inside a git work tree (recommended; enables stable out/ paths).
  • image-processing available on PATH (install via brew install nils-cli).
  • No external image binaries required for standard use.

Inputs:

  • Natural-language user intent (assistant translates into a command).
  • Exactly one operation:
  • convert: --in + --to png|webp|jpg + --out ; accepts svg|png|jpg|jpeg|webp inputs
  • svg-validate: exactly one --in + --out
  • Optional sizing for raster convert output: --width / --height.
  • Optional output controls: --overwrite, --dry-run, --json, --report.

Outputs:

  • One requested output file per successful non-dry-run invocation.
  • Optional artifacts under out/image-processing/runs//:
  • summary.json (when --json or --report is used)
  • report.md (when --report is used)
  • Assistant response (outside the script) must include:
  • Output file/folder paths as clickable markdown file links
  • A suggested “next time” prompt to repeat the same task

Exit codes:

  • 0: success
  • 1: failure
  • 2: usage error

Failure modes:

  • Missing required tool (image-processing binary).
  • Invalid or ambiguous flags (missing required params, unsupported combinations).
  • Output already exists without --overwrite.
  • Invalid convert contract:
  • missing --in / --to / --out
  • repeated --in
  • --out extension mismatch vs --to (.jpeg is valid for --to jpg)
  • unsupported target format
  • unsupported input format
  • invalid --width / --height values
  • Invalid svg-validate contract:
  • missing or repeated --in
  • missing --out
  • convert-only flags like --to/--width/--height

Guidance

Preferences (optional; honor when provided)

  • Operation: convert or svg-validate.
  • Target format (for convert): png / webp / jpg.
  • Raster sizing (for convert): --width, --height.
  • Reproducibility/audit flags: --dry-run, --json, --report, --overwrite.
  • Output extension detail (for --to jpg): .jpg or .jpeg.
  • JPG background behavior: transparent pixels are flattened onto white.

Policies (must-follow per request)

  1. If underspecified enough to block a valid image-processing command: ask must-have questions first
  • Follow the blocking-question format in skills/workflows/conversation/requirements-gap-scan/SKILL.md.
  • Ask 1-5 "Need to know" questions with explicit defaults.
  • Do not run commands until the user answers or explicitly approves assumptions.
  1. Single entrypoint (do not bypass)
  • Only run: image-processing (from PATH; install via brew install nils-cli)
  • Do not call ImageMagick binaries directly unless debugging the image-processing CLI itself.
  1. Contract gate (exactly one operation path)
  • convert: require exactly one --in, plus --to and --out.
  • convert: accept svg|png|jpg|jpeg|webp inputs; require --out extension to match --to (.jpeg allowed for --to jpg).
  • svg-validate: require exactly one --in and --out; forbid --to/--width/--height.
  1. Completion response (fixed)
  • After a successful run, respond using:
  • skills/tools/media/image-processing/references/ASSISTANT_RESPONSE_TEMPLATE.md
  • Include clickable markdown file links and a one-sentence “next prompt” that repeats the same task with concrete paths/options.

References

  • skills/tools/media/image-processing/references/IMAGE_PROCESSING_GUIDE.md
  • skills/tools/media/image-processing/references/ASSISTANT_RESPONSE_TEMPLATE.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.