agentleFS
danielrosehilldanielrosehill/Claude-Image-Production-Plugin/skills/ai-graphics/SKILL.md

ai-graphics

Skill19 starsChanged 4 months agoMITView on GitHub

Generate AI graphics (banners, illustrations, hero images, social cards, etc.) using Fal AI's Nano Banana 2. Use when the user asks to create, generate, or make an image, banner, illustration, graphic, or artwork. Always render at 1K resolution.

  • Sends data out

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 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.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always use resolution: "1K": Do not use 0.5K, 2K, or 4K unless the user explicitly overrides.

    line 18
  2. Very specific:

    Default output_format to png unless the user asks otherwise.

    line 25
  3. Distinctive:

    Keep prompts one dense paragraph rather than a bullet list.

    line 38
  4. Very specific:

    Ensure the target directory exists (mkdir -p via Bash).

    line 43
  5. Very specific:

    Call mcp__gateway__nano-tech-diagrams__text_to_image with the prompt, aspect ratio, and output_format.

    line 44
  6. Very specific:

    Call mcp__gateway__nano-tech-diagrams__image_to_image with image_path="$URL", plus your prompt, aspect ratio, and output_format.

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Graphics

Generate AI graphics — banners, hero images, illustrations, social cards, README artwork — using Fal AI's Nano Banana 2 model via the nano-tech-diagrams MCP server.

MCP Server Location

Always use mcp__jungle-shared__nano-tech-diagrams__* (runs on residencehome).

Do not use jungle-local — it claims to accept local filesystem paths but runs in an environment that cannot read the workstation's filesystem, so every local-path call fails with ENOENT. The shared instance is the working path; pair it with the staging endpoint below for any image input.

Hard rules

  • Always use resolution: "1K". Do not use 0.5K, 2K, or 4K unless the user explicitly overrides. 1K is the standard for this workflow.
  • Pick an appropriate aspect_ratio for the use case:
    • Banners / hero images: 21:9 or 16:9
    • Social cards / OG images: 16:9
    • Square avatars / icons: 1:1
    • Portraits: 2:3 or 9:16
  • Save to a sensible path using download_to (e.g., assets/banner.png, images/hero.png) — don't just leave the fal.media URL floating.
  • Default output_format to png unless the user asks otherwise.

Prompt style

Nano Banana 2 rewards detailed, descriptive prompts. Include:

  • Subject and pose
  • Setting / background
  • Lighting and mood
  • Color palette
  • Style descriptors (e.g., "polished digital illustration", "cinematic", "flat vector", "watercolor")
  • Intended use (e.g., "suitable for a GitHub repository banner")

Keep prompts one dense paragraph rather than a bullet list.

Procedure: text-to-image

  1. Confirm subject, vibe, aspect ratio with the user if unclear.
  2. Ensure the target directory exists (mkdir -p via Bash).
  3. Call mcp__gateway__nano-tech-diagrams__text_to_image with the prompt, aspect ratio, and output_format.
  4. The MCP returns a fal.media URL. Do not rely on the MCP's download_to parameter — the residencehome process cannot write to the workstation filesystem. Instead, capture the URL and download it yourself:
    curl -sSL -o "/absolute/target/path.png" "<fal.media URL>"
  5. Report the local path to the user.

Example:

mcp__gateway__nano-tech-diagrams__text_to_image(
  prompt="<detailed paragraph>",
  aspect_ratio="21:9",
  output_format="png"
)
# then: curl -sSL -o /abs/path/banner.png <returned URL>

Procedure: image-to-image (and whiteboard_cleanup)

Local input files must be staged to S3 first — the MCP cannot read local paths directly, but it accepts http(s) URLs.

  1. Confirm the transformation with the user (prompt, aspect ratio, target output path).
  2. Stage the input file via the minio MCP (gateway namespace): presign a PUT URL (minio__presign_url(bucket="personal-transient", key="staging/input.jpg", method="put")), upload with
    curl -sSf -X PUT -T /local/path/to/input.jpg "<put-url>"
    then presign a GET URL for the same key (method="get", default 1-hour TTL). (The old s3-stage helper and mcp-staging bucket were decommissioned 2026-07-23.)
  3. Call mcp__gateway__nano-tech-diagrams__image_to_image with image_path="$URL", plus your prompt, aspect ratio, and output_format. Use dictionary_words for any text that must be spelled correctly.
  4. The MCP returns a fal.media URL. Download to the target folder:
    curl -sSL -o "/absolute/target/path.jpg" "<fal.media URL>"
  5. Report the local path to the user.

Staged objects expire after 1 day (bucket lifecycle), so you don't need to clean them up.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.