Token导航 LogoToken导航TokenDH.com
待分类操作浏览器github未标认证来源可访问许可证需确认审计通过

team-group-photo团队合影

Agent Skill

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

总安装

329

周安装

14

GitHub Stars

3

下载量

115
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/b-open-io/gemskills --skill team-group-photo

简介

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。

  • 它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。
  • 使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。
  • 适用于视觉内容创作、素材制作或图像处理等场景。
  • 支持多宿主环境,便于在不同 AI 工具间迁移使用。

SKILL.md

Team Group Photo

Generate team group portraits by first creating individual styled portraits, then compositing them into a group scene. Supports any art style from the 169 style library.

Workflow Overview

  1. Gather inputs from the user (original headshots, names, background preferences)
  2. Pick style for individual portraits via style picker
  3. Generate individual styled portraits for each team member
  4. Pick style for group composite (can be same or different)
  5. Generate group composite using individual portraits as inputs
  6. Optimize all outputs for web (original + optimized copies)

Do not skip steps. Prompt the user for anything not provided.

Step 1: Gather Inputs

Ask the user for the following. Do not proceed until all required inputs are collected:

  • Team member names (required) - Who is in the photo, left-to-right order
  • Original headshot photos (required) - Path to each person's unmodified photo
  • Background preference (required) - Ask: "Do you have a background image, or should I describe one in the prompt?"
  • Output directory (required) - Where to save results

If the user hasn't provided headshots, ask for them. Do not use previously styled/generated images as source material - always start from original photos.

Step 2: Style Selection for Individual Portraits

Launch the interactive style picker so the user can choose a style for individual portraits:

STYLE_JSON=$(bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/browsing-styles/scripts/preview_server.ts --pick --port=3456)

The picker opens a browser. The user clicks a style and STYLE_JSON receives:

{
  "id": "sci-fi-pulp",
  "shortName": "sfpl",
  "name": "Sci-Fi Pulp",
  "promptHints": "retro science fiction, chrome spaceships..."
}

If the user already specified a style (e.g. "make it in pixel art"), skip the picker and use --style <id> directly.

Step 3: Generate Individual Styled Portraits

For each team member, generate an individual portrait using the selected style. Use the generate-image script with each person's original headshot as input:

bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/generate-image/scripts/generate.ts \
  "[Style name] portrait of [Name]. Transfer exact likeness from the reference photo. [Style-specific details]. No text. No border." \
  --style <style-id> \
  --input /path/to/original-headshot.png \
  --size 1K \
  --output /path/to/output/name-styled.png

Repeat for each team member. Show each result to the user for approval before continuing.

Step 4: Style Selection for Group Composite

Ask the user: "Use the same style for the group photo, or pick a different one?"

  • Same style: Reuse the style from Step 2
  • Different style: Launch the style picker again

Step 5: Generate Group Composite

Use all individual styled portraits as inputs along with the background:

bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/generate-image/scripts/generate.ts \
  "[Style name] team group portrait. Arrange left to right: [Name1], [Name2], [etc]. Transfer exact likeness from each input reference. [Background instruction]. Uniform [style] style. No text. No border." \
  --style <style-id> \
  --input /path/to/name1-styled.png \
  --input /path/to/name2-styled.png \
  --input /path/to/name3-styled.png \
  --input /path/to/background.png \
  --aspect 16:9 --size 2K \
  --output /path/to/output/team-group.png

If the user provided a background image, include it as --input and say "Use the background image exactly" in the prompt. If no background image, describe the scene in the prompt instead.

Step 6: Optimize for Web

Run the optimize-images script on all generated outputs. Save both original and optimized copies:

IMAGES_DIR=/path/to/output bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/optimize-images/scripts/optimize-images.ts

Report file sizes before and after optimization.

Context Discipline

Do not read generated images back into context. Scripts output only file paths. Ask the user to visually inspect individual portraits and group composites before proceeding to the next step. To inspect programmatically, optimize images first (via Step 6). Reading multiple uncompressed portrait and group images will quickly exhaust the context window.

Key Insight: Transfer, Don't Describe

DO NOT describe faces in the prompt. The more facial features are described, the more the model GENERATES new faces instead of TRANSFERRING likeness from input images.

  • Provide reference images as --input flags
  • Use simple "Transfer exact likeness from the reference photo" language
  • Let the input images speak for themselves

What NOT to Do

BAD - Describing faces:

1. **KURT** - Bald head, brown beard, navy suit, friendly smile
2. **LUKE** - Dark curly hair, beard, pink shirt

GOOD - Simple transfer instruction:

"Transfer exact likeness from each input reference"

Light vs Dark Variants

For theme-aware websites, generate both variants by running Step 5 twice:

  1. Light mode: Bright/day background image as input
  2. Dark mode: Dark/night background image as input

Same individual portraits, different background input.

Options Reference

  • --style <id> - Art style from the style library (pixel-art, simpsons, studio-ghibli, etc.)
  • --input <path> - Reference image (up to 14 total)
  • --aspect <ratio> - 1:1, 16:9, 9:16, 4:3, 3:4, 21:9
  • --size <1K|2K|4K> - Image resolution
  • --output <path> - Output file path

Troubleshooting

Faces don't match references

  • Remove ALL facial descriptions from the prompt
  • Ensure each reference image is included as --input
  • Use simpler prompt focused on "transfer" language

Style inconsistent across characters

  • Generate individual portraits first (Step 3) to lock in style per person
  • Add "Uniform [style name] style" to group prompt
  • Generate at 2K for better detail consistency

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.62%
按下载量换算43

Claude

32.45%
按下载量换算37

Cursor

17.09%
按下载量换算20

Gemini CLI

8.93%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills