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

emojigen-nano-banana表情符号纳米香蕉

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

公开资料未说明

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lesonky/emojigen-pro --skill emojigen-nano-banana

简介

emojigen-nano-banana 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行整理。

  • 重现 EmojiGen Pro 工作流程的代理工作流工具。
  • 需先阅读完整 SOP 再开始生成工作。
  • 必须收集参考图片路径、输出模式和风格目标等信息。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

EmojiGen Nano Banana

Use this skill to reproduce the EmojiGen Pro workflow as a reusable agent workflow instead of a browser app.

Read this skill end to end before you start work. Do not jump straight to writing a config, building a prompt, or calling a model until you have read the SOP and decided how you will satisfy every step.

What to collect before doing work

Do not start generation until you have either explicit answers or safe defaults for:

  1. Reference image path.
  2. Output mode: animated or static.
  3. Emotion list, or a category prompt that can be expanded into emotions.
  4. Style target, such as 皮克斯 3D, 吉卜力, Q版 LINE.
  5. Optional custom text and color.
  6. Output directory.
  7. Backend choice:

- Gemini Developer API via GEMINI_API_KEY, GOOGLE_API_KEY, or API_KEY - Vertex AI via GOOGLE_GENAI_USE_VERTEXAI=true plus GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION - Another image tool chosen by the agent when Gemini access is unavailable

Before generation, inspect the current reference image and rewrite characterNotes for this exact subject. Never reuse stale characterNotes, propNotes, or style notes from a previous run on a different person.

If the user is adapting the original EmojiGen Pro repository, first reconstruct the workflow from the codebase before you rewrite anything. Preserve the original sequence:

  1. Collect or generate emotion labels.
  2. Assemble one long prompt for a strict 4x6 sticker sheet.
  3. Generate the sheet image from the reference image.
  4. Slice the sheet into frames or stickers.
  5. Encode GIFs for animated mode.

Default decisions

  • Only use these image models:

- Nano Banana Pro -> gemini-3-pro-image-preview - Nano Banana 2 -> gemini-3.1-flash-image-preview

  • Default to Nano Banana Pro unless the user explicitly asks for Nano Banana 2.
  • Default style: 皮克斯 3D
  • Default removeBackground: false
  • Random emotions should be generated by the agent locally by default. Do not depend on a Gemini text model unless the user explicitly wants model-generated wording.
  • Keep count constraints hard:

- static mode always resolves to exactly 24 stickers - animated mode only allows 1, 2, or 4 GIFs

  • Force image generation settings to:

- aspect ratio 3:2 - image size 2K

  • Keep the output contract stable even if image generation uses a fallback tool:

- prompt.txt - resolved-config.json - grid.* - extracted stickers/ - manifest.json

Working sequence

0. Stage the source image when the path is unstable

If the image came from the clipboard, a pasted chat image, or any source whose original path is unreliable, save it into /tmp first:

node skills/emojigen-nano-banana/scripts/emojigen.mjs stage-image \
  --from-clipboard

Or copy a known file into /tmp so later steps use a stable path:

node skills/emojigen-nano-banana/scripts/emojigen.mjs stage-image \
  --input /abs/path/to/source.png

Use the staged path for all later steps.

1. Prepare config

Start from assets/example-config.json. Fill only the fields needed for the current task.

If the user did not give an emotion list, leave emotions empty and provide categoryPrompt.

Then:

  • infer a category prompt from the request and let the agent produce the random emotions directly, or
  • only if the user explicitly wants model-generated wording, run:
node skills/emojigen-nano-banana/scripts/emojigen.mjs suggest-emotions \
  --category "职场打工人, 加班, 摸鱼, 收到, 崩溃, 阴阳怪气" \
  --count 4

2. Run preflight before generation

Preflight checks the backend, confirms the staged reference path, and resolves missing random emotions without starting image generation:

node skills/emojigen-nano-banana/scripts/emojigen.mjs preflight \
  --config path/to/config.json \
  --reference /tmp/emojigen-input-123.png

3. Build the prompt

Always build the prompt through the script so the wording stays consistent:

node skills/emojigen-nano-banana/scripts/emojigen.mjs build-prompt \
  --config path/to/config.json \
  --out path/to/output/prompt.txt

Do not stop here. build-prompt is not the delivery workflow.

4. Generate the 4x6 grid

If Gemini or Vertex AI is available, prefer the built-in generator:

node skills/emojigen-nano-banana/scripts/emojigen.mjs generate-grid \
  --config path/to/config.json \
  --reference path/to/reference.png \
  --out path/to/output/grid.png

The script rejects image models outside Nano Banana Pro and Nano Banana 2, and always sends 3:2 + 2K.

Do not take prompt.txt and call a raw image model yourself when the built-in workflow is available. That bypasses the skill's staging, preflight, slicing, background-removal, and quality gates.

If another image tool is a better fit, still use this skill. Build the prompt with this skill, generate the grid elsewhere, then continue with make-assets.

5. Produce GIFs or static stickers

If you already have a grid image, run:

node skills/emojigen-nano-banana/scripts/emojigen.mjs make-assets \
  --config path/to/config.json \
  --grid path/to/output/grid.png \
  --out-dir path/to/output

This creates square crops, optional background removal, and GIF outputs for animated mode.

Keep removeBackground: false by default. Only enable background removal when the user explicitly wants transparent stickers and the generated sheet clearly uses a flat, separable background.

Read manifest.json after make-assets or run. If manifest.quality.status is warn, do not deliver the result yet. Rerun with stricter characterNotes, stronger square-safe composition constraints, or removeBackground: false.

Background removal uses a corner-connected flood-fill strategy. This is safer than making every near-background color transparent, and avoids punching holes in faces or clothing when skin tones are similar to the background.

Treat square-safe composition as a hard requirement, not a style preference. The final assets are cropped to square cells, so the subject must stay centered and stable across frames or the GIF will jitter after slicing.

6. Full end-to-end run

When no step needs manual intervention, use the orchestration command:

node skills/emojigen-nano-banana/scripts/emojigen.mjs run \
  --config path/to/config.json \
  --reference path/to/reference.png \
  --out-dir /tmp/emojigen-run \
  --deliver-dir path/to/workspace-output \
  --cleanup-temp

Use --deliver-dir to copy the finished assets into the working directory or a client delivery folder.

Use --cleanup-temp after delivery when the outputs were generated under /tmp/emojigen-*. macOS may eventually clear /tmp, but not immediately enough for agent workflows.

Treat this as the preferred path. The default expectation is:

  1. stage-image
  2. preflight
  3. run
  4. inspect manifest.quality
  5. deliver only if quality is acceptable

Do not skip any of these steps unless the user explicitly narrows the task and you can still preserve output quality.

Fallback rules

  • If no Gemini credentials are present, say that explicitly and either ask for credentials or use another image-capable tool.
  • If another tool generated the grid, say that the final GIF packaging still came from this skill.
  • If background removal damages line art or text, rerun with removeBackground: false and keep the pure solid background from prompt-time constraints.
  • Do not proactively enable background removal just because the script supports it.
  • If the input image arrived as a pasted or clipboard image, stage it to /tmp before any prompt or generation step.
  • If the user only asked for random emotions, do not call a text model by default. Generate them directly unless the user explicitly wants a model to brainstorm them.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.47%
按下载量换算25

Claude

31.04%
按下载量换算23

Cursor

18.51%
按下载量换算14

Gemini CLI

9.93%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills