Token导航 LogoToken导航

Agent Skill · 图像处理

gemini-image(Gemini 图像)

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

gemini-image 是图像处理类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在图像处理类的 1,562 个 Skill 里排第 1,350。

总安装 428周安装 18GitHub Stars 165下载 150核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/redf0x1/camofox-browser --skill gemini-image

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

用于图像生成和图片编辑辅助。gemini-image 属于图像处理类 Skill,可作为该场景下的辅助能力补充。适合根据文本提示生成图片或处理视觉素材。通过 npx 命令从 GitHub 仓库安装使用。需确认输入图片版权和输出格式限制。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。建议结合原始 README 核验具体用法和功能边界。

来源仓库内路径:skills/gemini-image

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/redf0x1/camofox-browser --skill gemini-image;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

gemini-image 怎么安装?

在终端执行 npx skills add https://github.com/redf0x1/camofox-browser --skill gemini-image。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

gemini-image 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

gemini-image 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

gemini-image 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

gemini-image 用的人多吗?

公开数据是累计安装 428 次,近一周安装 18 次,下载 150 次,GitHub 165 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gemini-image 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
gemini-image

Gemini 图像 · 本页

428165需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Gemini Image Generation Skill (CLI)

Use this skill for Gemini image generation flows with CamoFox CLI commands only. Use curl only for download file retrieval from the local CamoFox download API.

1. Prerequisites

  • CamoFox server must be running on port 9377.
  • Google account with Gemini access.
  • First-time login requires email/password and 2FA approval on phone.
  • After first login, save and reuse a session profile.

2. Quick Start (Fast Path — Authenticated)

When a valid Gemini session is already saved:

All commands below assume --user gemini. Add it explicitly in multi-session scenarios.

# Load saved session and open Gemini
camofox open https://gemini.google.com/app --user gemini

# Load saved profile
camofox session load <profile-name> --user gemini

# Verify auth (check for profile avatar, no "Sign in" button)
camofox snapshot --user gemini

# Type image prompt
camofox type <prompt-ref> "your image description here" --user gemini

# Submit prompt
camofox press Enter --user gemini

# Wait for image generation to complete (15-180 seconds)
camofox wait 'mat-icon[fonticon="download"]' --timeout 180000 --user gemini

# Download the generated image
camofox click 'mat-icon[fonticon="download"]' --user gemini

# Cleanup
camofox close --user gemini

3. Authentication Flow

Step 3.1: Check Auth State

camofox open https://gemini.google.com/app --user gemini
camofox snapshot --user gemini
# Look for: "Sign in" button -> NOT authenticated
# Look for: Greeting text "Xin chào..." -> authenticated

Step 3.2: Login (if needed)

# Navigate to Google login
camofox navigate https://accounts.google.com --user gemini

# Enter email
camofox fill '[e1]="email@gmail.com"' --user gemini
# OR
camofox type e1 "email@gmail.com" --user gemini
camofox click e4 --user gemini  # Next button

# Wait for password page
camofox wait 'input[type="password"]' --user gemini
camofox snapshot --user gemini

# Enter password
camofox type e2 "password" --user gemini
camofox click e4 --user gemini  # Next button
Security Tip: For production workflows, store credentials in CamoFox Auth Vault: ``bash camofox auth save google-gemini # Follow interactive prompts to save credentials securely camofox auth load google-gemini --user gemini ``

Step 3.3: 2FA (Push Notification)

After entering password, Google may prompt 2FA:

  • Push notification: user taps "Yes" on phone app.
  • Wait for redirect:
camofox wait 'a[href*="myaccount.google.com"]' --timeout 90000 --user gemini
  • Or wait for URL change away from accounts.google.com:
camofox wait navigation --timeout 90000 --user gemini

Step 3.4: Save Session

camofox session save <profile-name> --user gemini
# Reuse next time with: camofox session load <profile-name> --user gemini

4. Image Generation

# Navigate to Gemini (if not already there)
camofox navigate https://gemini.google.com/app --user gemini

# Snapshot to find prompt input ref
camofox snapshot --user gemini
# Prompt textbox is typically the main textarea element

# Type your image description
camofox type <prompt-ref> "Generate an image of a cute red fox wearing sunglasses in digital art style" --user gemini

# Submit the prompt
camofox press Enter --user gemini

# Wait for generation to complete (15-180 seconds)
# The download button appears when generation is done
camofox wait 'mat-icon[fonticon="download"]' --timeout 180000 --user gemini

# Verify the result
camofox snapshot --user gemini
# Key refs after generation:
# - Download button (mat-icon fonticon="download")
# - Like (mat-icon fonticon="thumb_up")
# - Dislike (mat-icon fonticon="thumb_down")
# - Redo
# - Share

5. Download Generated Image

# Click download button (locale-independent CSS selector)
camofox click 'mat-icon[fonticon="download"]' --user gemini

# Check download status
camofox downloads --format json --user gemini
# Parse `downloadId` from JSON output (for example with `jq -r '.[0].id'`)

# Retrieve the file via REST API
# The click response or downloads command shows the download ID
curl -o "generated-image.png" "http://localhost:9377/downloads/<download-id>/content?userId=gemini"

# Cleanup
camofox close --user gemini

6. Tips & Best Practices

  • Session reuse: Always save profile after login. Load before each run to skip login.
  • Locale-agnostic selectors: Use mat-icon[fonticon="..."] instead of text labels.
  • Wait instead of sleep: Use camofox wait with CSS selectors, not fixed delays.
  • Re-snapshot after actions: Element refs (eN) shift after navigation/interaction.
  • Image prompts: Be descriptive; Gemini performs better with detailed prompts.
  • Rate limits: Free tier has daily image generation limits. If limit is reached, wait or switch account.

7. Error Recovery

ErrorSolution
"Sign in" still visible after session loadSession expired (24-48h). Re-login with email/password + 2FA
wait times out for download buttonImage generation may have failed. Run camofox snapshot and inspect error text
"can't create it right now"Not authenticated. Re-check auth state and login again
"Image Generation Limit Reached"Daily limit reached. Wait 24h or use another account
TAB_NOT_FOUNDTab was invalidated. Open a new tab with camofox open
type does not input textGemini may use custom editor. Fallback: camofox eval 'document.querySelector(".ql-editor").innerHTML = "prompt"'

8. Verified Test Results

  • Account: user@gmail.com (User)
  • Profile: gemini-sky (52 cookies)
  • Test prompt: Generate an image of a cute red fox wearing sunglasses in digital art style
  • Result: 8.1MB PNG (Gemini_Generated_Image_ecu3ujecu3ujecu3.png)
  • Generation time: ~30 seconds
  • Download method: click mat-icon[fonticon="download"]

平台分布

Codex

37.17%
按下载量换算56

Claude

28.02%
按下载量换算42

Cursor

16.37%
按下载量换算25

Gemini CLI

10.11%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills