sn-image-resume
БесплатноБез исполняемых скриптовНе проверенGenerates a designed portfolio-resume image from resume content provided in conversation text. Extracts optional style instructions, converts the resume into…
от OpenSenseNova★ 6 124 звезды на GitHubОб этом скилле
sn-image-resume
Resume image generation scene skill (tier 1), relying on the sn-text-optimize and sn-image-generate tools provided by sn-image-base (tier 0).
Features:
- Accepts resume content directly from conversational text
- Supports optional user-provided style direction
- Applies the fixed portfolio-resume layout rules in
prompts/resume.md - Generates a tall designed resume image through
sn-image-generate
Non-goals
- Editing or polishing a plain text resume document without generating an image
- Parsing uploaded resume files as the primary input format
- Creating a conventional single-column ATS resume
- Guaranteeing exact preservation of every long paragraph when the image layout requires compression
Input Specification
| Parameter | Type | Default Value | Description |
|---|---|---|---|
resume_content |
string | Required | Resume text provided by the user in conversation, including name, profile, education, experience, skills, projects, contact details, etc. |
style |
string | Optional | User-specified visual style, tone, color palette, profession aesthetic, or reference mood. May be embedded in resume_content. |
aspect_ratio |
string | 9:16 |
Output aspect ratio. Allowed values: 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 1:1, 16:9, 9:16, 21:9, 9:21. Default is 9:16 (vertical) because the template is a tall stacked portfolio-resume page. |
image_size |
string | 2k |
Image size preset, 1k or 2k. |
output_mode |
string | friendly |
Output mode: friendly or verbose. |
API Configuration
All API calls in this skill are executed through the sn_agent_runner.py of the sn-image-base skill, with authentication parameters using default values (CLI > environment variables > built-in defaults), so they do not need to be passed explicitly in normal use.
| Call Type | Tool | Authentication Parameters | Description |
|---|---|---|---|
| LLM | sn-text-optimize |
Default reads SN_TEXT_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY |
Converts user resume text into a detailed image generation prompt using prompts/resume.md as the system prompt |
| Image Generation | sn-image-generate |
Default reads SN_IMAGE_GEN_API_KEY -> SN_API_KEY |
Generates the final resume image |
If all capabilities use the same gateway, configure only:
SN_BASE_URL="https://your-api-endpoint.com/v1"
SN_API_KEY="your-api-key"
When encountering MissingApiKeyError or needing to specify a model: pass parameters explicitly via CLI. See $SN_IMAGE_BASE/references/api_spec.md.
$SN_IMAGE_BASE path explanation: $SN_IMAGE_BASE is the installation directory of the sn-image-base skill (SKILL.md exists). The agent can locate this path by skill name sn-image-base.
Architecture: Main Agent + Worker Agent
This skill uses a two-tier agent architecture:
| Role | Responsibility |
|---|---|
| Main Agent | Receive user request, normalize parameters, send preflight, start Worker, collect result, and send final text/image to user |
| Worker Agent | Execute prompt generation and image generation, then return structured JSON |
Responsibility Boundaries:
- Worker Agent does not send any messages to the user directly, only returns structured JSON
- Main Agent is responsible for all user-visible messages
- Worker Agent's last message must be and only be the JSON string defined in the Return Contract
- Worker Agent's low-level API calls execute directly through
sn-image-base, without spawning nested subagents
Workflow
Main Agent Workflow
- Extract
resume_content, optionalstyle,aspect_ratio(default9:16),image_size(default2k), andoutput_mode(defaultfriendly) from the user request - Validate that
resume_contentis non-empty and contains enough resume information to generate a meaningful page - Validate
aspect_ratioagainst the allowed values:2:3,3:2,3:4,4:3,4:5,5:4,1:1,16:9,9:16,21:9,9:21. If the user-provided value is not in this list, inform the user and fall back to the default9:16 - Send uniform preflight message:
"Using sn-image-resume skill to generate a resume image, please wait..." - Start Worker Agent, passing in complete parameters and working directory
- When Worker Agent returns:
status=ok: send a short summary and the generated imagestatus=error: report the realerrorfield content to the user
Worker Agent Workflow
Worker Agent receives resume_content, style, aspect_ratio, image_size, output_mode, and the working directory of this skill (SKILL_DIR).
Step 0 — Initialization
- Generate
task_idusing timestamp formatYYYYMMDD_HHMMSS - Create temporary directory:
/tmp/openclaw/sn-image-resume/<task_id>/asTEMP_DIR - Persist normalized inputs:
echo "$RESUME_CONTENT" > "$TEMP_DIR/resume-content.txt"
echo "$STYLE" > "$TEMP_DIR/style.txt"
Step 1 — Resume Prompt Generation
Use prompts/resume.md as the system prompt and call `sn-tex
Установить sn-image-resume в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sn-image-resume?
Generates a designed portfolio-resume image from resume content provided in conversation text. Extracts optional style instructions, converts the resume into a fixed portfolio-resume layout prompt, and generates the final image through sn-image-base. Use when user asks to create "resume image", "portfolio resume", "简历图", "简历海报", or "个人简历视觉设计".
Как установить скилл sn-image-resume?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sn-image-resume запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic