annotation
Handles user-provided annotated images. When the user submits a drawing or mark-up on top of an image alongside a message, this skill wires the last generated…
от szprivate★ 53 звезды на GitHub
Установить annotation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Annotation Skill
Activate this skill whenever the user attaches an annotated image to their message — i.e. an image the user drew on, circled, scribbled over, or otherwise marked up to indicate what should change.
Typical trigger signals (any of these is sufficient):
- The user's message contains words like: annotation, annotated, I marked, I drew, I circled, here's my edit, see the marking, the scribble, my sketch, highlighted area, indicated area
- The user's message explicitly states they have drawn on an image
- An image is attached and the context makes clear it is a user-made mark-up rather than a raw photo
Researcher — Annotation handling
Follow these steps instead of the normal template-selection and input-image steps for the current turn:
A. Identify the annotation image
- The user-attached image IS the annotation. Record it as the second input (
role: control_image). - Do not confuse the annotation with the primary subject image.
B. Identify the primary image (first input)
The orchestrator stages images before delegating — you do not upload (there is
no upload_image in your set). Work from the staged filenames it provides.
Priority order:
- User-specified image: If the user's message explicitly names or describes a different image as the edit target, use the staged filename the orchestrator provided for that image.
- Last output image: If no specific image is named, use the staged filename the orchestrator provided for the most recent prior output (it re-stages the base image when the request references one).
- Fallback: If no base image was staged for you (no prior output and none specified), set a BLOCKER: "Annotation workflow requires a base image staged by the orchestrator. None was provided."
C. Select the workflow template
Priority order:
- History match: Look in the
[CONVERSATION SUMMARY FROM PRIOR ROUND]for anytemplate_namefield (or equivalent template reference) from the previous turn(s). If a valid image-editing template is found there, reuse it exactly. - Fallback: If no prior template is available or the prior template is not an image-editing template, use
qwen2511_imageEdit.
Call get_workflow_template(<chosen_template_name>) to load the template and retrieve its node metadata.
D. Set brainbriefing fields
input_image_count: 2input_images: two entries —[{ "filename": "<base_image>" }, { "filename": "<annotation_image>" }]input_nodes: populate fromio.inputsreturned byget_workflow_template:- First input node →
role: master_image, filename = base image - Second input node →
role: control_image, filename = annotation image
- First input node →
task.type:image edittask.description: summarise what the annotation instructs (e.g. "Edit the marked area of the base image according to the user's annotation")template.name: the selected template nameprompt.positive: describe the desired change based on the annotation and user message. Be explicit about what area or element the annotation targets.
E. Normal steps continue
After setting the above: continue with standard steps 6–9 of the researcher (output nodes, parameters, blockers). Do NOT re-run template selection or input-image steps — they are already resolved above.
Brain — Annotation workflow assembly
When the brainbriefing contains an annotation-based task (input_image_count == 2 with role: control_image on the second input), follow these additional constraints during assemble-from-template:
- Load the template via
get_workflow_templateas normal. - Patch both input nodes:
- Node with
role: master_image→ patch with the base image filename. - Node with
role: control_image→ patch with the annotation image filename.
- Node with
- If the chosen template is a Nano Banana / Nano Banana 2 / Nano Banana Pro variant: activate the
nano-bananaskill. In the prompt, refer to the base image as@img1and the annotation as@img2. Add an instruction like: "@img2 is a user annotation showing what to change — apply the indicated edit to @img1." - If the chosen template is
qwen2511_imageEdit: the template already expects up to 3 images; place the base image in the first LoadImage node and the annotation in the second LoadImage node. - Otherwise: proceed with standard
assemble-from-templatepatching, ensuring both input nodes are populated.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
get_workflow_template - 02
get_workflow_catalog - 03
get_image_resolution
FAQ
Что делает скилл annotation?
Handles user-provided annotated images. When the user submits a drawing or mark-up on top of an image alongside a message, this skill wires the last generated output as the primary edit target and the annotation as the second (control/reference) input, then selects an appropriate image-editing template.
Как установить скилл annotation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл annotation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…