ingest-screenshot

Used to analyze user-uploaded images (design screenshots, website or app UI) and extract design tokens (e.g., colors, fonts, spacing) as a starting point. Use when a user pastes or attaches an image and requests to “recreate this,” “match this image,” or “use this style.”

Last repository push
GitHub Stars
112
Forks
11
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ingest-screenshot" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0a2904603be0c3ffa00ec45ab44d9cc0cc059697c12930b9ffa31695f204d7f6. Verify the upstream source and version against https://github.com/bluzir/claude-code-design before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Used to analyze user-uploaded images (design screenshots, website or app UI) and extract design tokens (e.g., colors, fonts, spacing) as a starting point. Use when a user pastes or attaches an image and requests to “recreate this,” “match this image,” or “use this style.”

0 Downloads

Introduction source: third_party · bluzir · 0.0.1 Reference

SkillPi interpretation

Tasks
Analyze an uploaded image (screenshot of a design, website, app) and extract design tokens to use as a starting point. Use when user pastes or attaches an image and says "recreate this", "match this image", "use this style".
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Vision returns approximate hex, not exact. For production accuracy, provide source files. Multiple overlapping colors → Claude picks representative samples, not all variations Typography recognition is fuzzy — "looks like Inter" ≠ "is Inter" Pixel dimensions require the image's actual resolution to be readable
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ingest-screenshot
description: Analyze an uploaded image (screenshot of a design, website, app) and extract design tokens to use as a starting point. Use when user pastes or attaches an image and says "recreate this", "match this image", "use this style".
argument-hint: <image-path>
allowed-tools: Read Write Bash(mkdir:*) Bash(realpath:*) Bash(file:*)

Ingest Screenshot

Extract design tokens from a static image using Claude's vision. Honest caveats: exact hex codes are approximate without source files. Claude recreates UIs more reliably from code than from screenshots.

Steps

  1. Resolve image path: $0. Bash(file <path>) to confirm it's an image (png/jpg/webp/heic).

  2. Read via multimodal Read: this loads the image for vision. Claude can see it.

  3. Analyze systematically. From the image, identify:

    • Dominant colors — pick 5-8 swatches with hex approximations. Flag uncertain ones ("looks like #2A4B6D but vision hex is approximate").
    • Typography — font family (match to common families: Inter-like, serif-like, display, mono), sizes (relative), weights (light/regular/medium/bold), line-height impression
    • Spacing rhythm — estimate base unit (4/6/8px) from gaps + padding
    • Radii — sharp / small / medium / pill
    • Component patterns — what types of elements appear (buttons, cards, navigation, inputs)
    • Aesthetic register — minimal / dense / decorative / playful / corporate / brutalist
  4. Write output:

    artifacts/ingested/screenshot-<timestamp>-tokens.json

    Same schema as ingest-github + "source": { "image": "<path>", "ingested_at": "..." } + "confidence": "low|medium|high" per category.

  5. Preview confidence: for each uncertain value, add a "confidence" field (low | medium | high). Vision-derived hex codes should be low or medium.

  6. Offer next step:

    • "Extracted tokens saved. Colors are approximate — do you have the source file (CSS, design system, brand guide) to cross-check?"
    • Follow-up: /create-design-system or start /make-deck / /interactive-prototype using these as starting point.

Limitations — tell the user

  • Vision returns approximate hex, not exact. For production accuracy, provide source files.
  • Multiple overlapping colors → Claude picks representative samples, not all variations
  • Typography recognition is fuzzy — "looks like Inter" ≠ "is Inter"
  • Pixel dimensions require the image's actual resolution to be readable

Workflow integration

After ingest, always offer to pair with a real source (Figma, codebase) to lock in exact values — the screenshot gives a starting direction, not ground truth.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决设计师和开发者从截图快速提取设计令牌的刚需场景
  • 明确区分了图像识别的近似性与生产级精度的差异,诚实告知用户局限性
Trigger Precision85/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    触发场景描述完整但未独立成节,不利于快速查阅

    Recommendation: 建议在 Steps 前增加独立 'When to Use' 章节,强化触发指引

Highlights

  • 触发词覆盖多种自然语言变体('recreate this', 'match this image' 等)
  • argument-hint 明确指定 <image-path>,参数边界清晰
Structure and Standards92/100

Areas to improve

  • 示例可更具体 Reported severity: Minor

    输出 tokens.json 的 schema 描述较抽象,缺少具体字段示例

    Recommendation: 建议补充一个简短的 JSON 片段示例,展示关键结构(如 colors、typography、confidence 字段)

Highlights

  • Phase 划分清晰(Resolve → Read → Analyze → Write → Preview → Offer next step)
  • 包含明确的出口条件与后续工作流集成建议
Execution Reliability88/100

Highlights

  • 工具调用规范(Bash(file <path>) 校验图像格式)
  • 对不可靠输出(hex 近似值)标注置信度,避免误导用户
  • 关键操作(写文件)有明确路径命名规则(timestamp)防止冲突
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.