Headshot

Headshot is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 106 tokens per session (1,438 once invoked), scanned A, original, MIT.

An image-generation tool for making professional headshots from one to three approved reference photos. The resulting images are staged for review rather than treated as ready for publication.

In plain words
What is it for?
Use it to create profile pictures, LinkedIn photos, avatars and other professional portraits, then review the generated images before choosing one.
Why use it?
It provides a consistent way to create profile portraits while keeping the subject recognisable from real reference images. It also supports different image shapes for uses such as profiles or publication biographies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to create profile pictures, LinkedIn photos, avatars and other professional portraits, then review the generated images before choosing one.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielmiessler/lifeos/headshot
About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 20,481 stars · on GitHub · ourlifeos.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add danielmiessler/LifeOS --skill headshot
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Headshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/headshot/github.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/headshot)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/headshot"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/headshot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Headshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/headshot"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/headshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.01438
Opus 5.5 $0.00042 $0.00575
Sonnet 5.5 $0.00021 $0.00288
Haiku 4.5 $0.00011 $0.00144

Measured 1mo ago against content hash ad2e365df75c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Headshot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (Tools/Headshot.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

LifeOS/install/skills/Headshot/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 76 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 76 lines · 106 tokens per session scan A ad2e365df75c

Subscribe to this mod's changes

Headshot is a skill published in the GitHub repository danielmiessler/LifeOS (20,481 stars, last pushed 11d ago), licensed MIT. It adds 106 tokens to every session and 1,438 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

Headshot compared with skills from other repositories

Headshot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Headshotdanielmiessler/LifeOSSkill20k11d agoMITA106Claude Code, Codex
long-running-workZfinix/asterSkill14329d agoApache-2.0A0Claude Code, Codex
i-have-adhdZfinix/asterSkill14329d agoApache-2.0A60Claude Code, Codex
shortcutsZfinix/asterSkill14329d agoApache-2.0A0Claude Code, Codex
plan-devex-reviewGlobal-mindee/WAYSkill112mo agoMITA156Codex
aster-capabilitiesZfinix/asterSkill14329d agoApache-2.0C0Claude Code, Codex
plan-tuneGlobal-mindee/WAYSkill112mo agoMITA170Codex