跳到正文
cccskills
免费在 GitHub 公开中文介绍

Headshot

根据1至3张参考照片,为设定的人物生成保持本人特征的AI头像。可指定画幅、灯光、服装和背景;生成结果经过评审后供比较和挑选。

原文查看原文说明

Generates professional AI headshots of the principal via Nano Banana Pro from 1-3 reference images, staged to Downloads for review. USE WHEN headshot, profile picture, avatar, photo of me, LinkedIn photo, profile image, new headshot, portrait, generate my photo, professional photo, casual headshot, update profile pic. NOT FOR general art or diagrams (Art), non-headshot images of the principal (Art with reference images), video avatars (HyperFrames), headshots of anyone else.

danielmiessler/LifeOS星标 19,635(GitHub 19,635 + cccskills 0)
集成工具LinkedIn

实测评分 未实测

查看安装方法

适用场景

  • 制作LinkedIn头像
  • 更新网站个人资料照片
  • 指定画幅比例或灯光
  • 比较候选头像并挑选

中文介绍

功能

Headshot根据设定人物的1至3张参考照片生成AI头像,并尽量保留其本人特征。你可以按用途指定正方形或竖幅画面、灯光、服装和背景,通常会以2K分辨率生成。图像经过评审和检查后,会整理成候选图或供挑选的对照页。生成图保存在设定的用户数据目录中,不会放在技能本身的目录里。它适用于LinkedIn头像、网站个人资料照片、作者简介照片等需要本人肖像的场景。

适用场景

想更新个人资料照片,或需要符合特定用途构图的肖像时,可以使用它。你可以基于已获批准的参考照片调整风格和画幅,无需重新安排拍摄。它不用于一般插画或示意图、视频头像,也不用于为其他人制作头像。

使用示例

  • “请为我的LinkedIn资料制作一张头像。”
  • “我想换一张网站个人资料照片。”
  • “请使用专业灯光,并制作成3:4竖幅。”

注意事项

首次使用需要配置文件和已获批准的参考照片。生成前会检查配置、照片是否存在以及GOOGLE_API_KEY。图像由Nano Banana Pro生成,API密钥从环境设置中读取。只能使用本人照片,或已同意使用其肖像的人的照片。生成结果通过评审后会交付检查;公开之前由本人挑选。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料要求取得肖像使用同意、由本人决定是否公开,并在评审通过后交付。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要配置文件、获准照片和`GOOGLE_API_KEY`;资料说明检查步骤并指向`Setup.md`。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(6)

  • SKILL.md6.2 KB
  • Intents/CreateHeadshot.md7.9 KB
  • References/ReferenceLibrary.md2.3 KB
  • Setup.md3.4 KB
  • Tools/headshot.help.md5.2 KB
  • Tools/Headshot.ts16.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Headshot Skill

Generates professional AI headshots of the principal with Tools/Headshot.ts, which calls the Gemini image model named geminiImage in LIFEOS/TOOLS/models.ts. Matches facial structure from approved reference photos (which ones go in is the CreateHeadshot rule), and defaults to 2K resolution and 1:1 square (3:4 for portrait). A real photoshoot is slow and expensive to redo every time the look needs to change, and generic AI image tools drift off the actual face; anchoring generation to approved reference photos keeps the output recognizably the subject, at the size and ratio each use (LinkedIn, profile pics, publication bios) needs.

Ideal State

  • Every headshot is recognizably the subject, because its face comes from approved real reference photos whose energy matches the requested expression.
  • Each output lands at the size and ratio its use needs and is saved in the subject's USER data, never in the skill tree.
  • Nothing reaches the principal as a first draft, and nothing public ships until the principal has picked it.

Intent Routing

IntentTriggerFile
CreateHeadshot"headshot", "profile picture", "LinkedIn photo", "professional photo", "update profile pic"Intents/CreateHeadshot.md
FileRead when
References/ReferenceLibrary.mdchoosing references: the approved pool, scene plates, energy-matching rules, growing the pool
Setup.mdfirst-time setup, or Headshot.ts check exits non-zero
Tools/Tools/headshot.help.md holds the full CLI flag reference

Data & Config

Everything about the subject lives in <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Headshot/Config.md (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude): the directory of approved reference photos with a sentiment for each, the default look (attire, backdrop, mood), and optional scene plates. This skill body is generic and ships no photos or looks; first-time setup is Setup.md.

  • Tools/Headshot.ts check verifies the config, that the listed photos exist, and that GOOGLE_API_KEY is set. Run it before any generation; when it exits non-zero, stop and report what it printed, which points at Setup.md.
  • Generated headshots (the subject's face) are written to LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Headshot/generated-headshots/, never into the skill tree. API keys come from the env file: GOOGLE_API_KEY (from <configRoot>/.env).

Quality loop

Nothing this skill produces reaches the owner as a first draft. The artifact goes through Skill("ArtDirection"): a direction council before new or large work, then the cross-vendor critique panel (skills/ArtDirection/Tools/Critique.ts) scores it against the rubric and names defects, then this skill iterates on those defects until the bar or reports the shortfall. Hand-over is skills/ArtDirection/Tools/Deliver.ts, which refuses without a passing critique. Record the owner's verdict with skills/ArtDirection/Tools/Calibrate.ts.

Gotchas

  • Consent. Use only photos of yourself or of people who agreed to have their likeness used. Never generate a headshot of anyone else from their photo without their consent.
  • Generation never writes to ~/Downloads/ (ArtDirection, 2026-09-17). Output goes to generated-headshots/; a copy reaches ~/Downloads/ only through Deliver.ts after a passing critique. This replaces the 2026-03-22 rule to output there first, as all Art outputs once did.
  • Edits inherit the base image's energy. An expression-only edit keeps the mood of the image it starts from, so a tired-looking base (a paused video frame, say) stays tired through any number of expression prompts. If the base's energy is wrong, no prompt fixes it: add a reference photo that already has the energy you want (for example one tagged with an upbeat sentiment in your config) and let it own the face.
  • Edit vs regenerate tradeoff. Full regeneration invents the scene and tends to look generated; strict single-image edits inherit the base's flaws. What usually works is a composite: an approved reference for the face, a real background plate, and an instruction to place the subject in that scene.
  • Likeness for video thumbnails or posters must match the footage. Details visible in the video (clothing, accessories, grooming) and a background taken from the video itself should be checked against real frames, not approved by eye alone. If your install has a thumbnail or video workflow that checks likeness against the footage, use it for this case.

Examples

Example 1: LinkedIn Profile Update

User: "Generate a headshot for my LinkedIn profile"
→ CreateHeadshot
→ A critiqued 2K 1:1 headshot in the default look, delivered to ~/Downloads, original kept under generated-headshots/

Example 2: New profile image for a public site

User: "Make me a new profile picture for the site"
→ CreateHeadshot
→ A labeled pick sheet of 2-4 critiqued variants; nothing on the site changes until the principal picks one

Example 3: Specific Style Request

User: "I need a headshot with professional lighting, 3:4 ratio"
→ CreateHeadshot
→ A 3:4 portrait-format headshot with the requested lighting, delivered after a passing critique

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AnnualReports

免费有简介

按类别或厂商查找并获取网络安全报告,比较威胁、勒索软件、数据泄露、云安全和AI趋势。分析会注明每项数据的厂商、年份及报告,并分别呈现来源间的分歧。

  • 按类别查找威胁报告
  • 获取指定厂商的报告
  • 比较多家厂商的勒索软件趋势
danielmiessler/LifeOS2万2026年10月28日 更新

ApertureOscillation

免费有简介

通过三轮分析,对比单个功能或组件的设计需求与整个系统的目标,梳理两者的冲突、合适的实现范围,以及方案是否符合整体方向。

  • 判断服务或库是否应拆分
  • 比较功能需求与产品方向
  • 检查新组件是否符合现有系统
danielmiessler/LifeOS2万2026年10月28日 更新

Aphorisms

免费有简介

按文章主题寻找格言或引文,按相关程度排序,并附上作者和推荐理由。可添加带出处的引文、按主题研究思想家的言论、整理使用记录,帮助避免重复引用。

  • 为新闻简报寻找引文
  • 保存有出处且不重复的引文
  • 按主题研究思想家的言论
danielmiessler/LifeOS2万2026年10月28日 更新

Art

免费有简介

按用途选择制作流程,生成博客插图、技术图解、比较图、漫画和图标等视觉内容,并输出供预览的图像。

  • 制作博客标题图
  • 解释系统结构
  • 展示比较或时间线
danielmiessler/LifeOS2万2026年10月28日 更新

ArtDirection

免费有简介

依据简报和制作标准评估图片、影片、幻灯片及网站页面截图,由视觉评审给出评分和缺陷优先级,支持有限轮次的修改;通过评审后才能交付,并可记录人工评分供后续校准。

  • 按优先级整理图片修改项
  • 依标准评估影片或幻灯片
  • 发布前检查视觉效果
danielmiessler/LifeOS2万2026年10月28日 更新

ArXiv

免费有简介

按主题、研究领域或论文编号查找 arXiv 论文,并整理标题、作者、摘要和链接;查看新投稿,也可在有内容时获取 AlphaXiv 的人工智能生成概述。

  • 查看人工智能和机器学习新论文
  • 查找特定主题的论文
  • 按论文编号或 arXiv 网址查询
danielmiessler/LifeOS2万2026年10月28日 更新

查看 danielmiessler 的全部技能

报告此技能的问题