Token导航 LogoToken导航TokenDH.com
图像处理执行命令github未标认证来源可访问许可证需确认审计提醒

image-batch-runner图像批处理运行器

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image-batch-runner(图像批处理运行器)
来源仓库:https://github.com/postplusai/postplus-skills
仓库路径:skills/image-batch-runner
安装命令:
npx skills add https://github.com/postplusai/postplus-skills --skill image-batch-runner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/postplusai/postplus-skills --skill image-batch-runner

简介

image-batch-runner 用于辅助图像生成、编辑和视觉素材处理。

  • 适合根据文本生成图片或调用图像模型工具。
  • 使用时需确认输入图片、版权来源和输出格式。
  • 涉及人物或品牌素材时,应额外核对授权和合规边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Image Batch Runner

Follow shared release-shell rules in:

  • postplus-shared release-shell rules

Use this skill after persona and concept work already exists.

This skill is for:

  • batch-generating persona candidates
  • generating first-frame / cover candidates
  • applying light consistency edits to approved images
  • saving local image assets plus model-call metadata

This skill is not for unconstrained concept art.

Quality Default

When realism matters, default to the strongest provider quality settings that are practically available.

Default quality assumption:

  • higher image quality usually lowers visible AI artifacts
  • lower-quality first passes can exaggerate fake skin, eyes, and texture
  • it is better to step down only when cost, latency, or provider limits force it

Capture the chosen quality settings in the local request record so later QA can trace realism issues back to generation parameters.

Fact Rule

Image generation inputs must be grounded in upstream research artifacts.

Required upstream inputs:

  • a benchmark-backed persona lock
  • a concept or shot need
  • visual constraints derived from benchmark evidence

Do not let the image model invent:

  • a new creator archetype
  • ad-like polish not supported by references
  • wardrobes or environments that break persona continuity

If the visual request is not supported by benchmark evidence, mark it as an explicit variant test.

Source Selection Rule

Use source files from the active project or client context.

If a current task already lives inside one project folder, keep the evidence lookup there first.

Do not assume one client's reports are the default source basis for all image work.

Hosted Media

Current hosted image endpoint keys:

  • image-nano-banana-2-text
  • image-nano-banana-2-edit
  • image-seedream-v5-lite-text
  • image-seedream-v5-lite-edit
  • image-seedream-v5-lite-sequential
  • image-seedream-v5-lite-edit-sequential

Read references/hosted-image-models.md for endpoint request notes.

If you need image and video outputs to live under one durable asset folder instead of separate job folders, also read references/unified-asset-contract-v1.md.

Core Scripts

  • scripts/generate_image.mjs
  • scripts/poll_prediction.mjs
  • scripts/upload_media.mjs
  • scripts/edit_image.mjs

These scripts take normalized request JSON files and write:

  • run metadata under runs/image/<run-id>/ or runs/upload/<run-id>/
  • downloaded image assets under images/candidates/
  • asset-level records such as asset.json and index.json

Hosted Boundary Rule

  • keep request files, raw provider responses, and polling state under <work-folder>/.postplus/image-batch-runner/ when they are internal execution state
  • keep only final user-facing assets outside .postplus/
  • if hosted image capability is unavailable, unauthorized, or returns a stable network error, stop immediately instead of switching to ad hoc shell glue

Default Workflow

1. Lock the generation brief

Before generating any image, write down:

  • assetId
  • runId
  • campaignId
  • personaId
  • conceptId if relevant
  • assetPurpose

- persona_candidate - cover_frame - shot_support - edit_fix

  • sourceBasis
  • mustKeep
  • canVary
  • mustAvoid

Do not jump straight from prose to provider call.

2. Produce a normalized request record

For each generation job, create a local JSON request record containing:

  • asset id
  • run id
  • prompt
  • negative prompt if supported upstream
  • model name
  • mode
  • aspect ratio
  • resolution
  • output format
  • local asset directory
  • source basis

When the provider exposes multiple quality tiers or resolutions, default to the highest practical tier for first-pass realism work unless the job is explicitly a cheap draft or throughput test.

This request record is the stable local truth even if provider parameters evolve.

3. Call the provider and save raw response

Use the PostPlus-supported Node scripts in this skill directory for provider calls. Do not replace them with curl, inline fetch, node -e, or ad hoc shell glue.

Always save:

  • raw request JSON
  • raw provider response JSON
  • normalized asset manifest JSON
  • final downloaded image files

Do not treat the provider response alone as the asset store.

Current first-version execution path:

  1. generate_image for new persona or cover candidates
  2. poll_prediction if a high-quality or async image job returns before outputs are ready
  3. upload_media if an edit job starts from a local file
  4. edit_image using uploaded URLs

4. Normalize local outputs

Every batch should end with a small local manifest containing:

  • assetId
  • runId
  • personaId
  • conceptId
  • provider
  • model
  • mode
  • assets[]

- local path - remote URL if any - prompt hash - source basis - created time

This is the handoff to later review and render stages.

5. Prefer edit over full regeneration once a face is approved

Use edit mode when the user feedback is about:

  • wardrobe tweaks
  • desk setup tweaks
  • lighting tweaks
  • background cleanup
  • microphone / accessory adjustment

Do not regenerate from scratch if the approved face and general structure are already correct.

Path Selection Rule

Store outputs inside the active project's asset structure when one already exists.

If no project-specific asset structure exists yet, choose a clear workspace asset folder and make the chosen path explicit.

If the output location will become a long-lived handoff point, prefer confirming the destination with the user.

Example Persistence Convention

One possible project-local layout is:

assets/<asset-id>/
  asset.json
  index.json
  images/
    candidates/
    approved/
  runs/
    image/<run-id>/
      request.json
      response.json
      manifest.json
    upload/<run-id>/
      request.json
      response.json
      manifest.json

Keep the runs/ intermediates under <work-folder>/.postplus/image-batch-runner/ when they are internal execution state rather than the user-facing handoff.

Do not assume this example layout is the global default.

Avoid /tmp for final assets.

Tool Contract

This skill expects two tool adapters:

  • generate_image
  • upload_media
  • edit_image

The normalized request/response shapes live in references/tool-contracts.md.

For the current hosted integration:

  • generate_image calls the selected model endpoint directly
  • upload_media uploads local files to hosted media storage and returns a reusable URL
  • edit_image must consume uploaded image URLs, not raw local file paths

Model selection rule:

  • set request.model to one of the hosted image endpoint keys above
  • default is image-nano-banana-2-text
  • use Seedream sequential variants when cross-shot identity consistency matters more than single-image iteration speed
  • for Seedream models, prefer explicit size
  • for sequential Seedream models, set maxImages to the intended number of outputs

Review Rule

Before calling an image provider, verify:

  • persona is benchmark-backed
  • image request is tied to a real asset purpose
  • the job records what should stay fixed vs vary

After generation, review:

  • realism
  • benchmark fit
  • repeatability across 10 videos
  • risk of looking like a specific copied creator
  • ad-like drift

Failure Mode

Stop and say the request is under-specified if any of these are missing:

  • no locked persona or visual direction
  • no asset purpose
  • no source basis
  • no local output path

Do not compensate for missing strategic inputs by inventing a style.

Example Commands

Generate from a normalized request file:

node ${CLAUDE_SKILL_DIR}/scripts/generate_image.mjs \
  --request /path/to/request.json

Poll an async prediction later:

node ${CLAUDE_SKILL_DIR}/scripts/poll_prediction.mjs \
  --request /path/to/request.json

Upload a local file for later edit:

node ${CLAUDE_SKILL_DIR}/scripts/upload_media.mjs \
  --request /path/to/upload-request.json

Run an edit job using uploaded URLs:

node ${CLAUDE_SKILL_DIR}/scripts/edit_image.mjs \
  --request /path/to/edit-request.json

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.33%
按下载量换算24

Claude

31.3%
按下载量换算23

Cursor

17.02%
按下载量换算12

Gemini CLI

9.78%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/postplusai/postplus-skills --skill image-batch-runner 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills