daymade/claude-code-skills

download-gemini-images

Download, export, save, or package images from a Google Gemini conversation/chat/app page, especially uploaded images or generated image previews visible in a Gemini thread.

Ver código-fonte
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

Download Gemini Images

Overview

Download Gemini conversation images from the user's logged-in Chrome session. Prefer the lightbox image over thumbnail/page-preview assets because Gemini often exposes a larger blob: image only after the user opens a preview.

Workflow

  1. Use the Chrome plugin, not a fresh unauthenticated browser, because Gemini conversations usually require the user's existing Google session.
  2. Bootstrap Chrome per the Chrome skill, claim the already-open Gemini tab if it exists, or open the user-provided Gemini URL in Chrome.
  3. Import and run scripts/download_gemini_images.mjs from a node_repl JS call after browser is available.
  4. Package the output directory with scripts/package_images.sh.
  5. Report the ZIP path, image count, and any lower-resolution fallback.
  6. Finalize Chrome control after downloads are complete, keeping the user's original Gemini tab open when appropriate.

Main Script

Resolve the script path relative to this skill directory, then import it in the same Node REPL session used for Chrome automation:

js
var { downloadGeminiImagesFromChrome } = await import("/absolute/path/to/download-gemini-images/scripts/download_gemini_images.mjs");
var result = await downloadGeminiImagesFromChrome({
  browser,
  tabUrlIncludes: "gemini.google.com/app",
  expectedCount: 20,
  outputDir: `${nodeRepl.homeDir}/Downloads/gemini_conversation_images_${new Date().toISOString().slice(0, 10).replaceAll("-", "")}`
});
nodeRepl.write(JSON.stringify(result, null, 2));

Set expectedCount only when the user gave a specific count. Omit it to download every visible Show the uploaded image in a lightbox button.

Packaging

After the main script returns outputDir, run:

bash
/absolute/path/to/download-gemini-images/scripts/package_images.sh "$outputDir" "$HOME/Downloads/gemini_conversation_images.zip"

The packaging script creates the ZIP, runs zip -T, and verifies that the archive contains the same ordered image files as the directory.

Fallback

If lightbox automation fails but the page is visibly loaded, use the tab pageAssets capability:

js
var pageAssets = await tab.capabilities.get("pageAssets");
var inventory = await pageAssets.list();
var uploaded = inventory.assets.filter(a => a.kind === "image" && a.url.includes("lh3.googleusercontent.com/gg/"));
var bundle = await pageAssets.bundle({ inventoryId: inventory.id, assetIds: uploaded.map(a => a.id) });
nodeRepl.write(JSON.stringify(bundle, null, 2));

This usually captures 512px preview JPEGs, not the larger lightbox files. Tell the user when this fallback is used.

Notes

  • Do not inspect browser cookies, local storage, passwords, or session stores.
  • Downloading files is an inbound transfer and does not require confirmation by itself.
  • If Gemini asks the user to log in, pause and ask the user to complete login in Chrome.
  • If the user wants the images in the same order as the thread, use the script's ordered names: image_01.jpg, image_02.jpg, etc.
do mesmo repositório

Mais Skills

Todos os Skills
daymade
Comunidade

i18n-expert

This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the i18n framework, replacing hard-coded strings, ensuring en-US/zh-CN coverage, mapping error codes to localized messages, and validating key parity, pluralization, and formatting.

instalações
1
GitHub Stars
1,4 mil
Atualizado
22 de set.
daymade
Comunidade

frontend-visual-qa

- Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find typography, wrapping, overlap, overflow, responsive, route, overlay, map, transient-state, data-visualization, browser-output, file-dialog, PDF/print, or Electron-shell defects, or to compare a rendered artifact with a visual reference. Do not use for greenfield UI design, extracting a design system from screenshots, general QA-program setup, or nonvisual code debugging.

instalações
2
GitHub Stars
1,4 mil
Atualizado
21 de set.
daymade
Comunidade

github-ops

- Operates GitHub through gh CLI and the REST/GraphQL APIs with explicit target, authorization, impact preview, and independent readback. Use for pull requests, issues, Actions, repositories, collaborators, teams, organization member privileges, base permissions, 2FA enforcement, repository settings, API automation, parallel or superseded PR convergence, and public or enterprise GitHub. Also use when a GitHub write returned success but the requested state did not change, or when deciding whether a setting is writable through CLI, REST, GraphQL, or only the GitHub UI.

instalações
1
GitHub Stars
1,4 mil
Atualizado
20 de set.
daymade
Comunidade

ashare-news-fetcher

- 抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。

instalações
1
GitHub Stars
1,4 mil
Atualizado
16 de set.