Headshot
Skill này làm gì
Tạo ảnh chân dung chuyên nghiệp trông giống bạn, từ vài ảnh tham chiếu thật. Skill dành cho người cần ảnh đại diện hoặc chân dung nghề nghiệp mà không phải đặt lịch chụp.
Khi nào nên dùng
- ✓Khi bạn cần một ảnh chuyên nghiệp mới cho LinkedIn hoặc tiểu sử công ty.
- ✓Khi bạn muốn một phiên bản chân dung trang trọng hoặc thường ngày.
- ✓Khi bạn cần ảnh đại diện vuông hoặc theo khung chân dung.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Headshot/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo cho tôi một ảnh chân dung chuyên nghiệp cho LinkedIn, dùng ảnh tham chiếu của tôi, với biểu cảm thân thiện.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill dùng các ảnh tham chiếu thật đã được duyệt để kết quả trông giống bạn, rồi tạo ảnh ở kích thước và hình dạng phù hợp với mục đích sử dụng. Không có gì được công khai cho đến khi bạn chọn tấm ưng ý.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
| Intent | Trigger | File |
|---|---|---|
| CreateHeadshot | "headshot", "profile picture", "LinkedIn photo", "professional photo", "update profile pic" | Intents/CreateHeadshot.md |
| File | Read when |
|---|---|
References/ReferenceLibrary.md |
choosing references: the approved pool, scene plates, energy-matching rules, growing the pool |
Setup.md |
first-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 checkverifies the config, that the listed photos exist, and thatGOOGLE_API_KEYis set. Run it before any generation; when it exits non-zero, stop and report what it printed, which points atSetup.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 throughDeliver.tsafter 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 ha
Câu hỏi thường gặp
Nó cần bao nhiêu ảnh tham chiếu?
Nó dùng từ một đến ba ảnh tham chiếu.
Nó có thể làm ảnh trang trọng hơn hoặc thường ngày hơn không?
Có. Bạn có thể yêu cầu chân dung chuyên nghiệp hoặc thường ngày, theo khung vuông hoặc dọc.
Ảnh được lưu ở đâu?
Ảnh được lưu trong thư mục dữ liệu riêng của bạn, không nằm trong file của skill.
Chi tiết
Mô tả gốc của tác giả
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.
repo: danielmiessler/LifeOS
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10432
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
LifeOS
20kGiúp agent của bạn thiết lập LifeOS, một hệ thống cá nhân ánh xạ trạng thái hiện tại tới trạng thái lý tưởng qua một cuộc phỏng vấn và một bảng điều khiển.
AnnualReports
20kGiúp agent của bạn tìm và so sánh báo cáo an ninh mạng thường niên từ các nhà cung cấp lớn, như xu hướng vi phạm và ransomware, có nguồn cho mọi số liệu.
ApertureOscillation
20kDạy agent của bạn kiểm tra một câu hỏi thiết kế ở phạm vi hẹp và phạm vi rộng, rồi chỉ ra chỗ hai câu trả lời mâu thuẫn trước khi bạn xây dựng.
Aphorisms
20kCho phép agent của bạn tìm, ghép và theo dõi các câu trích dẫn có ghi tác giả từ một bộ sưu tập được chọn lọc, tránh những câu vừa được dùng trong bản tin.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.