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.
npx skills add rexleimo/aios --skill portrait-916git clone --depth 1 https://github.com/rexleimo/aiosWrote 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.
[](https://agentmods.dev/skills/rexleimo/aios/portrait-916)<a href="https://agentmods.dev/skills/rexleimo/aios/portrait-916"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/portrait-916/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.
<a href="https://agentmods.dev/skills/rexleimo/aios/portrait-916"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/portrait-916.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00829 |
| Opus 5.5 | $0.00022 | $0.00332 |
| Sonnet 5.5 | $0.00011 | $0.00166 |
| Haiku 4.5 | $0.00006 | $0.00083 |
Grade A, and why
portrait-916 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.
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.
What it actually says
Portrait 9:16 — 人像生图画幅升格规则
生成人像(portrait)图片时,默认一律用 9:16 竖幅。这是实测结论,不是偏好。
核心规则
- 人像 → 9:16:
gpt-image-2用--size 1024x1792。不要用 3:4 直接出人像。 - 为什么:3:4 画幅下模型把人脸摊进更宽的画面,五官更扁、皮肤纹理更弱、"抓拍感"更差;9:16 对应手机竖屏自拍的真实取景,人脸占比和景深逻辑都更对。2026-09-12 kr-realism 任务实测:同风格下 3:4 出图(gen/probe 时期)人脸明显弱于 9:16 v4(见 rex-videos
.workspace/2026-09-12-kr-realism/对比记录)。 - 下游要 3:4 时:先 9:16 生成,再用 Python(Pillow)裁成 3:4,禁止直接 3:4 生成后凑合。
- 提示词里同步声明画幅:prompt 首句写
9:16 vertical ...,与--size 1024x1792保持一致。
尺寸对照(gpt-image-2 支持值)
| 画幅 | size | 用途 |
|---|---|---|
| 9:16 | 1024x1792 |
人像默认 |
| 1:1 | 1024x1024 |
头像/方形位、快速试 prompt |
| 16:9 | 1792x1024 |
横版场景/背景图 |
执行要点
- 执行器用
rexai-image-generation技能的 Python 版rexai-image.py(进度可见、超时 600s、熔断/内容策略自动重试)。 - 9:16 大尺寸出图常需 60-180s,属正常,勿中途 kill(job 在服务端继续跑,kill 会丢 job id 上下文)。
- 内容安全过滤是概率性的:同一 prompt 可能过可能拦;被拦时脚本自动重试,仍失败就替换高危措辞(实测 "one hand ... in foreground" 易拦,"leaning forward with hands on the bed edge" 稳定过)。
验证记录
- 2026-09-12:kr-realism 任务,ref-01 参考图拆解 → v4 prompt(9:16, 1024x1792)一次通过,8 项场景锚点全中,人脸立体度显著优于 3:4 对照图。
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.
- 1mo ago Changed eb856a1e240f
- 1mo ago Changed 68dff48e72dc
- 1mo ago First seen · 43 lines · 55 tokens per session scan A dd8a74250d24
portrait-916 is a skill published in the GitHub repository rexleimo/aios (61 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 829 once invoked, about $0.0002 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-09-14.
Other skills, from other repositories
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
opencli-usage
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
apple-reminders
Manage Apple Reminders via the remindctl CLI on macOS — list, add, complete, delete, manage lists.
obsidian
Read, search, and create Markdown notes inside an Obsidian vault on disk.
ffmpeg
Process audio and video with the ffmpeg / ffprobe CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.
pandoc
Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the pandoc CLI. Use to transform a document from one format to another.