generate-image SKILL.md skillA

generate-image from k-dense-ai/scientific-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add k-dense-ai/scientific-agent-skills/generate-image@v3.3

Pins v3.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
k-dense-ai/scientific-agent-skills
Path
skills/generate-image/SKILL.md
Versions recorded
7
Latest version
v3.3, committed Oct 1, 2026
First version recorded
Jun 11, 2026
Size
17,865 bytes
Repository stars
53,159
License
MIT

Generates or edits images with AI models through the OpenRouter Image API (Gemini, Seedream, Recraft, GPT-Image, Riverflow). Use for photos, illustrations, artwork, concept art, visual assets, logos, and image editing or compositing from reference images. For flowcharts, circuits, pathways, and other technical diagrams, use the scientific-schematics skill instead.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Generate Image

Generate and edit images through OpenRouter's Image API, which reaches Gemini, Seedream, Recraft,
GPT-Image, Riverflow, and other models behind one request shape.

## When to use

**Use this skill for:** photos and photorealistic images, illustrations and artwork, concept art,
presentation and poster visuals, logos and vector marks, image editing, and compositing from
reference images.

**Use `scientific-schematics` instead for:** flowcharts, circuit diagrams, biological pathways,
system architecture diagrams, CONSORT diagrams, and other technical schematics.

## API key

Generation requires an OpenRouter key. The script resolves it in this order:

1. `--api-key`
2. the `OPENROUTER_API_KEY` environment variable
3. `OPENROUTER_API_KEY=` in a `.env` file, searching the working directory upward, then the
   script's own directory

If none is present the script exits with setup instructions. Keys: https://openrouter.ai/keys

`--list-models`, `--model-info`, and `--dry-run` need no key.

## Quick start

```bash
# Generate
python scripts/generate_image.py "A beautiful sunset over mountains"

# Edit an existing image
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add k-dense-ai/scientific-agent-skills/generate-image@sha256:42438be890c5ba87

The line at the top of this page pins the label v3.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5yxzoef2eur4u4pb.svg)](https://markdownregistry.com/a/art_5yxzoef2eur4u4pb)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Jun 11, 2026 and Oct 1, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
v3.3 latest2026-10-01 a92663a 17,865 BA view · diff
v3.22026-09-30 ce9e6e9 15,668 BA view · diff
v3.12026-09-02 1e5eeff 15,458 BA view · diff
v3.02026-07-31 bd99c01 14,500 BA view · diff
v2.02026-07-26 3f530cf 8,650 BA view · diff
v1.02026-07-26 b085e11 7,063 BA view · diff
git:20260611.1b8fae32026-06-11 1b8fae3 7,068 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (17865 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

k-dense-ai/scientific-agent-skills · 53,159 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5yxzoef2eur4u4pb
GET https://markdownregistry.com/api/v1/resolve?ref=k-dense-ai/scientific-agent-skills/generate-image
GET https://markdownregistry.com/api/v1/blob/42438be890c5ba875ddee1bbbf505e623433886a2b180f21b2012f72d038f92a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from k-dense-ai/scientific-agent-skills

AGENTS.md AGENTS.md file
k-dense-ai/scientific-agent-skills · AGENTS.md
git:20261001.f7a50ed · audit A · 53,159 stars
13c-metabolic-flux SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/13c-metabolic-flux/SKILL.md · Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom…
v1.2 · audit A · 53,159 stars
adaptyv SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/adaptyv/SKILL.md · Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit…
v1.5 · audit A · 53,159 stars
aeon SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/aeon/SKILL.md · This skill should be used for time series machine learning tasks including classification, regression, clustering…
v1.3 · audit A · 53,159 stars
alphagenome SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/alphagenome/SKILL.md · Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18…
v1.2 · audit A · 53,159 stars
analytical-method-validation SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/analytical-method-validation/SKILL.md · Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing…
v2.0 · audit A · 53,159 stars
anndata SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/anndata/SKILL.md · Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem…
v1.4 · audit A · 53,159 stars
arbor SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arbor/SKILL.md · Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training…
v1.6 · audit A · 53,159 stars
arboreto SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arboreto/SKILL.md · Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2…
v1.3 · audit A · 53,159 stars
astropy SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/astropy/SKILL.md · Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities…
v1.5 · audit A · 53,159 stars
autoskill SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/autoskill/SKILL.md · Analyzes user-requested Screenpipe history windows to detect repeated research workflows, match existing scientific…
v1.6 · audit A · 53,159 stars
benchling-integration SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/benchling-integration/SKILL.md · Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps…
v1.7 · audit A · 53,159 stars

Every file in k-dense-ai/scientific-agent-skills

Other files named generate-image

generate-image SKILL.md skill
github/awesome-copilot · skills/generate-image/SKILL.md · Generate images using AI. Use when asked to generate, create, or make images, textures, icons, sprites, artwork, visual…
v2.1.0 · audit A · 40,226 stars
generate-image SKILL.md skill
openclaudia/openclaudia-skills · skills/ai-image-gen/SKILL.md · Generate images using AI (OpenAI GPT Image or Stability AI). Use when the user asks to generate an image, create an AI…
git:20260612.86ba2ee · audit A · 718 stars
generate-image SKILL.md skill
labs21-dev/agents-stack · agent-plugin/generate-image/SKILL.md · Generate or edit raster images with OpenRouter. Use when the user asks to create, draw, illustrate, or restyle an…
git:20260915.ee027f0 · audit A · 27 stars
generate-image SKILL.md skill
getedgehq/skills · generate-image/SKILL.md · Generate images with OpenAI GPT Image 2 via the Codex CLI, billed through the user's ChatGPT Plus subscription (no…
git:20260910.badf951 · audit A · 4 stars
generate-image SKILL.md skill
marielynneblock/arcanum-artifex · skills/scientific/generate-image/SKILL.md · Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including…
git:20260710.0115f49 · audit A · 4 stars

Browse by kind, by grade A, or by owner.