agnes-free-image

agnes-free-image is a skill for Codex from kangarooking/agnes-free-model-skills. It costs 90 tokens per session (654 once invoked), scanned A, original, MIT.

A guide for generating or transforming images with Sapiens AI's Agnes Image 2.1 Flash model. It covers text-to-image and image-to-image requests, prompts, image sizes, and local downloads.

In plain words
What is it for?
Use it to generate an image from a description, transform an existing image, test a request without sending it, or download the result locally.
Why use it?
It provides a repeatable way to create images through the Agnes API while keeping credentials out of code and supporting request validation.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --output-dir ./outputs/agnes-free-image.

Good fit Use it to generate an image from a description, transform an existing image, test a request without sending it, or download the result locally.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kangarooking/agnes-free-model-skills
agentmods
npx agentmods add skills/kangarooking/agnes-free-model-skills/agnes-free-image

Made for: Codex.

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 agnes-free-image

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kangarooking/agnes-free-model-skills/agnes-free-image"><img src="https://agentmods.dev/badge/skills/kangarooking/agnes-free-model-skills/agnes-free-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 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.00090 $0.00654
Opus 5 $0.00045 $0.00327
Sonnet 5 $0.00018 $0.00131
Haiku 4.5 $0.00009 $0.00065

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

Security

Grade A, and why

agnes-free-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 12d ago.

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

agnes-free-image/SKILL.md · 81 lines

How it starts

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

Agnes Free Image

Use this skill to generate or transform images with agnes-image-2.1-flash.

Credential Rule

Read the API key from the environment. Do not hardcode keys in prompts, scripts, skill files, commits, or shell history.

Preferred variable:

export AGNES_API_KEY="..."

The helper also accepts AGNES_TOKEN as a fallback.

Quick Start

Text-to-image:

python3 scripts/agnes_image.py generate \
  --prompt "A luminous floating city above a misty canyon at sunrise, cinematic realism" \
  --size 1024x768 \
  --output-dir ./outputs/agnes-free-image

Image-to-image with a public image URL:

python3 scripts/agnes_image.py generate \
  --prompt "Transform the scene into a rain-soaked cyberpunk night while preserving the composition" \
  --image-url "https://example.com/input.png" \
  --size 1024x768 \
  --output-dir ./outputs/agnes-free-image

Validate the request shape without calling the API:

python3 scripts/agnes_image.py generate \
  --prompt "A detailed AI workflow dashboard poster, clean editorial style" \
  --size 1024x1024 \
  --dry-run

Prompt Pattern

Use this structure for text-to-image:

[Subject] + [Scene / Environment] + [Style] + [Lighting] + [Composition] + [Quality Requirements]

For image-to-image, say both what should change and what should remain unchanged.

Workflow

  1. Decide whether the request is text-to-image or image-to-image.
  2. Turn vague visual requests into a concrete prompt with subject, environment, style, lighting, composition, and detail level.
  3. Use scripts/agnes_image.py generate. Prefer --dry-run first for complex prompts or reference images.
  4. Save returned image URLs locally with --output-dir when the response includes downloadable URLs.
  5. Read references/api.md when the raw response shape or advanced parameters matter.

Notes

  • Endpoint: POST https://apihub.agnes-ai.com/v1/images/generations
  • Model: agnes-image-2.1-flash
  • Default size in the helper is 1024x768.
  • For image-to-image, input images must be URL-accessible and are sent under extra_body.image.
  • The helper asks for URL responses with extra_body.response_format: "url".

Read the full file on GitHub · 81 lines

Files

What ships with it

3 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 · 81 lines · 90 tokens per session scan A 9c399cb1e264

Subscribe to this mod's changes

agnes-free-image is a skill published in the GitHub repository kangarooking/agnes-free-model-skills (194 stars, last pushed 3mo ago), licensed MIT. It adds 90 tokens to every session and 654 once invoked, about $0.0005 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