flux-kontext

flux-kontext is a skill for Claude Code, Codex from doany-ai/skills. It costs 167 tokens per session (2,028 once invoked), scanned A, a copy of flux-kontext, MIT.

An image-editing skill for Flux Kontext Pro, an AI model that changes selected parts of an existing image while preserving the rest.

In plain words
What is it for?
Making local changes to one image, such as changing what someone holds while keeping the person's appearance consistent.
Why use it?
It helps turn precise editing requests into suitable model prompts and RunComfy commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Making local changes to one image, such as changing what someone holds while keeping the person's appearance consistent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/doany-ai/skills/flux-kontext
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.

Any agent
npx skills add doany-ai/skills --skill flux-kontext
Clone the repo
git clone --depth 1 https://github.com/doany-ai/skills

Made for: Claude Code, 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 flux-kontext

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/doany-ai/skills/flux-kontext"><img src="https://agentmods.dev/badge/skills/doany-ai/skills/flux-kontext.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,028 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. Third-party audits
  • Socket pass 20 May 2026
  • Snyk warn 20 May 2026
How audits are shown
Origin 100% copy Near-identical to another mod 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.00167 $0.02028
Opus 5 $0.00084 $0.01014
Sonnet 5 $0.00033 $0.00406
Haiku 4.5 $0.00017 $0.00203

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

Security

Grade A, and why

flux-kontext 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.

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.

Origin

This is a copy

100% identical to flux-kontext — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

flux-kontext/SKILL.md · 168 lines

How it starts

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

Flux Kontext Pro — Pro Pack on RunComfy

runcomfy.com · Model page · GitHub

Black Forest Labs' Flux 1 Kontext Pro — single-reference precise local image edit — hosted on the RunComfy Model API. Strong prompt control, consistent outputs, high fidelity.

npx skills add agentspace-so/runcomfy-skills --skill flux-kontext -g

When to pick this model (vs siblings)

You want Use
Single-image precise local edit ("she's now holding X") Flux Kontext
High-fidelity preservation of source identity Flux Kontext
Batch edits across 1–20 images Nano Banana Edit
Edit multilingual / embedded text in image GPT Image 2 edit
Generate from scratch, no source image Flux 2 Klein

If the user said "Flux Kontext" / "kontext" / "BFL Kontext" explicitly, route here regardless.

Prerequisites

  1. RunComfy CLInpm i -g @runcomfy/cli
  2. RunComfy accountruncomfy login opens a browser device-code flow.
  3. CI / containers — set RUNCOMFY_TOKEN=<token> instead of runcomfy login.

Endpoints + input schema

blackforestlabs/flux-1-kontext/pro/edit

Field Type Required Default Notes
prompt string yes Single declarative edit instruction.
image string yes Single source image URL (publicly fetchable HTTPS).
aspect_ratio enum no (input) Pick from supported W:H options on the model page.
seed int no Reuse for variant comparisons.

The schema is intentionally minimal — Kontext leans on prompt + single ref. For multi-image or web-grounded edits, route to Nano Banana Edit.

How to invoke

Default — local edit, preserve everything else:

Read the full file on GitHub · 168 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. 11d ago First seen · 168 lines · 167 tokens per session scan A 1ae706a2a0e8

Subscribe to this mod's changes

flux-kontext is a skill published in the GitHub repository doany-ai/skills (6 stars, last pushed 3mo ago), licensed MIT. It adds 167 tokens to every session and 2,028 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to flux-kontext, differing in 0 lines, and is treated as a copy.

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