Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计异常

bulkgenbulkgen 命令行

Agent Skill

bulkgen 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

380

周安装

16

GitHub Stars

1

下载量

133
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oil-oil/bulkgen-skill --skill bulkgen

简介

通过命令行批量生成 AI 图像,支持多种风格和参数设置,提升设计产出速度。

  • 适用于快速原型开发、插画生成或多图测试等前端设计相关需求。
  • 需配置 BULKGEN_API_KEY 并调用指定脚本路径,遵守平台使用条款防止滥用。
  • 涉及 API 调用和网络请求,需确保密钥安全并关注配额与合规风险。
  • 建议先验证本地环境配置和脚本路径正确性,避免因权限问题导致失败。

SKILL.md

BulkGen Agent Skill

Generate AI images with BulkGen. Scripts are bundled at ~/.claude/skills/bulkgen/scripts/ — always use this full path.

Language: Always respond in the user's language. This skill is written in English for consistency, but all replies to the user should match their language.


API Key

No environment variable setup needed. When the user asks to generate images:

  1. Check if BULKGEN_API_KEY is already set in the environment.
  2. If not set, ask the user in their language to share their key (format: sk_live_...). They can get one at bulk-gen.com → user menu → API Keys.
  3. Once received, pass it inline — do not export it or persist it anywhere:
BULKGEN_API_KEY="sk_live_..." node $SCRIPTS/generate.js ...

If the user gets a 401 error, ask them to check their key or get a new one at bulk-gen.com.


Workflow

  1. Clarify → If parameters are ambiguous, ask ratio + mode before generating
  2. Generate → Run generate.js with the user's key inline
  3. Preview → Always run build_preview.js and open the HTML immediately after

Before generating: clarify parameters

When the user asks for multiple images without specifying ratio or mode, ask before generating.

Ask when: User requests N images without specifying ratio or mode.

Skip asking when: Single image (solo mode), or all parameters already specified.

When asking, explain the two choices in the user's language:

  • Ratio: square (1:1), portrait (9:16), landscape (16:9) — default square
  • Mode: variation (one prompt, multiple styles) vs batch (different prompt per cell) — default variation

If the user says they don't mind or leaves it to you, use defaults (1:1 + variation) and confirm briefly.


Quick start

SCRIPTS=~/.claude/skills/bulkgen/scripts
KEY="sk_live_..."   # key provided by the user

# Single image
BULKGEN_API_KEY=$KEY node $SCRIPTS/generate.js --prompts "a sunset" --mode solo

# 3x3 variations (same prompt, different styles)
BULKGEN_API_KEY=$KEY node $SCRIPTS/generate.js --prompts "cyberpunk city" --mode variation --cols 3 --rows 3 --canvas-ratio 1:1

# 2x2 batch (different prompts per cell)
BULKGEN_API_KEY=$KEY node $SCRIPTS/generate.js --prompts "cat" "dog" "bird" "fish" --cols 2 --rows 2

# Edit with reference image
BULKGEN_API_KEY=$KEY node $SCRIPTS/generate.js --prompts "watercolor style" --input ./photo.jpg

# Build preview and open (always do this after generating)
node $SCRIPTS/build_preview.js ./bulkgen-result.json ./bulkgen-preview.html && open ./bulkgen-preview.html

Options

OptionValuesDefault
--modesolo, batch, variationvariation
--cols, --rowsGrid dimensionsauto
--canvas-ratio1:1, 16:9, 9:16, 4:5, 3:4, 3:2, 2:3, 4:3, 5:4, 21:91:1
--resolution1K, 2K, 4K1K
--inputReference image pathnone

Modes

ModeUse when
soloSingle image
variationOne prompt → multiple creative variants (same subject, different styles)
batchDifferent prompts → each cell gets its own independent scene

Layouts

Valid: 1x1, 2x1, 1x2, 3x1, 1x3, 2x2, 3x2, 2x3, 4x2, 2x4, 3x3, 4x3, 3x4, 4x4

--canvas-ratio is the aspect ratio of the full grid, not a single cell. Some layout/ratio combinations are unsupported — the script will error and suggest alternatives.


Reference images

Use --input for style transfer or editing. Up to 14 images, 7 MB each. Formats: PNG, JPG, WebP, HEIC, HEIF.


Post-generation

Image URLs expire in 12 hours — always build the preview immediately.

SCRIPTS=~/.claude/skills/bulkgen/scripts

# Build HTML preview (always run this)
node $SCRIPTS/build_preview.js ./bulkgen-result.json ./bulkgen-preview.html && open ./bulkgen-preview.html

# Download permanent local copies (only if user explicitly asks)
node $SCRIPTS/download_images.js ./bulkgen-result.json ./downloads

Errors

StatusAction
401Invalid key — ask user to check or get a new one at bulk-gen.com
402Insufficient credits — ask user to top up at bulk-gen.com
400Invalid params — check layout/ratio compatibility
500Server error — retry once

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.33%
按下载量换算47

Claude

32.28%
按下载量换算43

Cursor

20.03%
按下载量换算27

Gemini CLI

8.99%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills