new-workflow
Skill21 starsChanged 7 days agoMITView on GitHub
Scaffold a multi-touchpoint image workflow inside the registered image workspace — a structured pipeline with explicit human review gates and optional cloud-AI generation/edit steps (Fal nano-banana via MCP). Use when the user says "new image workflow", "scaffold a workflow", "set up an image pipeline", "iterative image project", or describes a job that needs multiple rounds of generation → review → revision → export.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cortexa-consulting/rita-agenttheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- cortexa-consulting/rita-agent★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- ai-graphicsSkill
- auto-deskewSkill
- auto-toneSkill
- auto-white-balanceSkill
- batch-set-copyrightSkill
- check-model-pricingSkill
- convert-to-avifSkill
- fast-resizeSkill
- fast-thumbnailSkill
- from-jxlSkill
- images-to-pdfSkill
- install-depsSkill
- new-projectSkill
- open-workspaceSkill
- optimize-jpegSkill
- optimize-pngSkill
- pdf-extract-embedded-imagesSkill
- pdf-to-imagesSkill
- read-metadataSkill
- scrub-metadataSkill
- set-metadataSkill
- svg-to-rasterSkill
- to-jxlSkill
- transcode-jpeg-to-jxl-losslessSkill
- upscale-imageSkill
- vectorizeSkill
- web-readySkill
- workspace-setupSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Ask (or infer if obvious):
- Very specific: line 88
If the workspace itself is a git repo (check git -C "$WS" rev-parse --git-dir), the new workflow is automatically tracked — no separate …
- Very specific: line 103
When the active stage is ai-typed and the driver is fal-nano-banana:
- Very specific: line 105
Read the brief + references.
- Very specific: line 121
After the user records the decision, mark the stage done and advance.
- Very specific: line 125
When all revision rounds are done:
- Very specific: line 129
Write to 06-export/ with stable filenames (<slug>-<variant>.<ext>).
- Very specific: line 134
Don't overwrite existing files in 03-generation/ or 05-revision/round-*/ — always timestamp-prefix.
- Very specific: line 136
If the user changes the driver mid-flow (e.g., switches from cloud-AI to bringing their own), update workflow.json and note it in …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
New Image Workflow
Scaffold a structured, multi-stage image workflow inside the user's registered image workspace. Unlike new-project (a flat source/working/exports layout), a workflow expects iteration: generation, human review, revision, and export are explicit stages, each with their own folder and manifest entry.
Cloud AI (Fal nano-banana via the fal REST queue API) is wired in as an optional driver for the generation and revision stages.
When to use this vs. new-project
new-project— single batch of images, photo-editing style, no iteration loop.new-workflow— generative or hybrid work with multiple touchpoints: brief → references → generate → review → revise → export. Use when the user expects to come back to the project across several sessions and wants a stable structure to resume into.
Procedure
1. Resolve the workspace
CONFIG="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/image-production/workspace.json"
test -f "$CONFIG" || { echo "No workspace registered — run workspace-setup first."; exit 1; }
WS=$(jq -r .path "$CONFIG")2. Gather workflow metadata
Ask (or infer if obvious):
- Name — required. Slugify (lowercase, hyphens).
- Brief — one or two sentences describing the deliverable.
- Cloud-AI driver — default
fal-nano-banana(via the fal REST queue API, see skillai-graphics).noneif the user is bringing their own images. - Expected rounds — how many revision cycles to scaffold (default 3).
- Final aspect ratio / resolution — for export-stage placeholders.
3. Create the layout
PROJ="$WS/<slug>"
test -e "$PROJ" && { echo "Already exists: $PROJ"; exit 1; }
mkdir -p "$PROJ"/{01-brief,02-references,03-generation,04-review,05-revision,06-export,_manifest}
mkdir -p "$PROJ"/05-revision/round-{1..N} # N = expected rounds| Stage | Purpose | Touchpoint? |
01-brief/ | brief.md — goal, audience, constraints, do/don't list | ✓ user |
02-references/ | Mood board, reference images, prompt fragments | ✓ user |
03-generation/ | First-pass generations (Fal output lives here) | ai |
04-review/ | Selected candidates from 03-generation/ + review notes | ✓ user |
05-revision/ | Per-round subfolders with revised generations + notes | ai + user |
06-export/ | Final deliverables — sized, formatted, metadata-scrubbed | ai |
_manifest/ | workflow.json — pipeline state; prompts.md — running prompt log | ai |
4. Write the manifest
$PROJ/_manifest/workflow.json:
{
"slug": "<slug>",
"created": "<ISO date>",
"brief": "<one-line summary>",
"driver": "fal-nano-banana | none",
"stages": [
{"id": "01-brief", "status": "pending", "type": "human"},
{"id": "02-references", "status": "pending", "type": "human"},
{"id": "03-generation", "status": "pending", "type": "ai"},
{"id": "04-review", "status": "pending", "type": "human"},
{"id": "05-revision", "status": "pending", "type": "ai+human", "rounds": N, "current_round": 0},
{"id": "06-export", "status": "pending", "type": "ai"}
],
"final": {"aspect_ratio": "<...>", "resolution": "1K", "format": "png"}
}5. Seed templates
01-brief/brief.md— markdown template with sections: Goal, Audience, Deliverables, Constraints, Do, Don't, Reference Links._manifest/prompts.md— append-only log; one heading per generation call with the prompt, model params, and resulting filenames.README.mdat project root — slug, brief, driver, ISO date, stage checklist (mirrorsworkflow.json), and a "Resume here" pointer to the first non-donestage.
6. (Optional) git init
If the workspace itself is a git repo (check git -C "$WS" rev-parse --git-dir), the new workflow is automatically tracked — no separate init. Otherwise, ask whether to git init the project folder.
7. Confirm and hand off
Report:
- Project path
- Current stage (
01-brief) - Next action (open
01-brief/brief.mdand fill in)
Driving the workflow
Subsequent sessions resume by reading _manifest/workflow.json and continuing from the first stage with status != "done".
Cloud AI generation (stage 03 + 05)
When the active stage is ai-typed and the driver is fal-nano-banana:
- Read the brief + references; compose a dense one-paragraph prompt (see
ai-graphicsskill for prompt style). - Submit to
https://queue.fal.run/fal-ai/nano-banana-2withprompt,image_size(enum:square,landscape_4_3,landscape_16_9,portrait_3_4,portrait_9_16; no resolution parameter) andoutput_format, then poll and fetch as in skillai-graphics("Run it"). For revision rounds that build on a prior image, usefal-ai/nano-banana-2/editwithimage_urls(URLs ordata:URIs, so a local file can be base64-encoded inline), falling back tofal-ai/flux-2/editif rejected. - Download the returned image URL into the stage folder:
curl -sSL -o "$PROJ/03-generation/$(date +%s)-<slug>.png" "<fal URL>" - Append a log entry to
_manifest/prompts.md: stage, round, prompt, params, output filename. - Mark the stage
awaiting-reviewinworkflow.jsonand surface the candidates to the user.
Human touchpoints (stage 01, 02, 04, 05-review)
At each human stage, stop and prompt the user. Do not auto-advance. Show:
- What was just produced (file list, thumbnails if available)
- The decision needed (which candidates to keep, what to change, etc.)
- Where to record the decision (a
notes.mdin the stage folder)
After the user records the decision, mark the stage done and advance.
Export (stage 06)
When all revision rounds are done:
- Take the selected final images from the last
05-revision/round-N/folder. - Apply: resize to target resolution, convert to target format, scrub metadata (use
optimize-jpeg/convert-to-webp/scrub-metadataskills as appropriate). - Write to
06-export/with stable filenames (<slug>-<variant>.<ext>). - Mark stage
done.
Notes
- Don't overwrite existing files in
03-generation/or05-revision/round-*/— always timestamp-prefix. - The manifest is the source of truth; the README is a human-readable mirror, regenerate it from the manifest when state changes.
- If the user changes the driver mid-flow (e.g., switches from cloud-AI to bringing their own), update
workflow.jsonand note it inprompts.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

