UI Inspiration Library
Archive UI references in a structured library, then retrieve the right ones later when someone actually needs them.
This skill has three core promises:
- 1. Save images cleanly into a reusable inspiration library.
- Make them searchable with retrieval-friendly metadata.
- Return matching images during search, not just text summaries.
Treat the library as a working visual search system, not a dead archive. Retrieval quality matters as much as ingestion quality.
Core capabilities
1. Archive mode
Use when the user wants to:
- - save a UI screenshot,
- collect inspiration,
- archive a design reference,
- tag an image for future reuse,
- build up a team or personal UI library.
Goal:
- - normalize the incoming image,
- analyze it as a reusable design reference,
- create retrieval-friendly metadata,
- store both metadata and original image in the target library.
Return:
- - concise title,
- key tags,
- archive result,
- item link when useful.
2. Retrieval mode
Use when the user wants to:
- - search the inspiration library,
- browse references for a design goal,
- compare visual directions,
- find references by keyword, style, page type, or use case,
- get actual matching images back.
Goal:
- - interpret the user’s visual/design intent,
- query the backing library,
- rank strong matches,
- return the actual images whenever possible,
- explain briefly why each match fits.
If the user is clearly browsing references, prefer an image-first response over a text-only report.
Mode selection rules
Choose the workflow based on the user input:
- - If the user provides one or more screenshots or asks to save/archive/tag them, use archive mode.
- If the user asks for references, examples, inspiration, comparisons, or similar visuals, use retrieval mode.
- If the user provides screenshots and also asks to compare, shortlist, or find related references, archive first when needed, then run retrieval or comparison.
- If the user intent is ambiguous, ask one short clarification question instead of guessing.
Backend configuration discovery
Assume backend identifiers and access details come from runtime configuration, environment variables, user-provided parameters, or existing project documentation.
Before writing to a backend:
- - determine which backend should be used,
- determine whether archive and retrieval use the same backend,
- determine how to locate the target database or collection,
- verify read/write permission before attempting a full archive flow.
If the target backend is not specified or not discoverable:
- - ask the user one short question before writing,
- explicitly ask where the target library should live,
- ask whether the user wants help creating a new library if none exists,
- do not guess private database identifiers,
- do not auto-create a new library unless the parent location is already known and the runtime is clearly allowed to create it,
- still offer image analysis and structured metadata output without persistence.
Default workflow
Archive workflow
- 1. Detect the source channel and obtain the image locally.
- Normalize the input into a stable image source or file.
- Analyze the image as a UI inspiration reference.
- Generate structured metadata optimized for future retrieval.
- Create the target library record.
- Upload or attach the original image to that record.
- Return a short archive confirmation.
Retrieval workflow
- 1. Parse the user’s intent.
- Map it to one or more retrieval dimensions:
- visual goal,
- page type,
- style tags,
- component tags,
- use case,
- keyword signals in summaries/highlights/source.
- 3. Query the library.
- Rank results by real design usefulness.
- Return 1-5 strong matches, preferring 3 when many exist.
- Send the actual images whenever possible.
- Add 1-2 lines of rationale per result.
Retrieval-first rules
When a user says things like:
- - "show me some references"
- "find similar examples"
- "which ones work well for a cover?"
- "find AI-style hero references"
- "pick a few dashboard references"
assume they want usable visual references, not only text.
Preferred retrieval output order:
- 1. image preview,
- short title,
- why it matches,
- optional item link.
A few strong matches are better than many weak ones.
Multi-image, duplicate, and update rules
Use these defaults unless the user says otherwise:
- - create one record per image,
- analyze each image separately,
- group multiple images into one record only when the user explicitly asks for a grouped reference set,
- update an existing record only when the user clearly refers to that record,
- append images by default when adding to an existing record,
- replace existing images only when the user explicitly says replace or overwrite.
Handle possible duplicates conservatively:
- - if the same image appears to have been archived already, prefer warning or asking before creating another near-identical record,
- if the title collides but the image is meaningfully different, create a new record instead of silently merging,
- if duplicate detection is weak or uncertain, preserve the new item and state the uncertainty.
Classification rules
Optimize for future retrieval, not exhaustive critique.
Use this minimum metadata set unless the storage backend cannot support it:
- - title,
- summary,
- page type,
- style tags,
- component tags,
- use-case tags,
- original image or source link.
Apply these constraints:
- - Keep titles short, concrete, and searchable.
- Prefer stable reusable tags over clever one-off wording.
- Use 1-3 page types.
- Use 2-5 style tags.
- Use 2-6 component tags.
- Use 1-3 use-case tags.
- Write 2-5 short highlights in the user's language when helpful.
- Write one concise summary focused on reference value in the user's language.
- If uncertain, choose broader categories instead of hallucinating precision.
Source and privacy rules
Use the source field carefully.
Preferred source order:
- 1. public source URL when the user provides one,
- canonical page URL when safely derivable,
- channel or source label such as
telegram upload or manual upload, - user-provided source note.
Avoid storing private local filesystem paths, temporary download URLs, access tokens, or account-specific transport details in long-term records unless the user explicitly asks for that behavior.
Before archiving, watch for low-value or sensitive images:
- - unreadable, heavily cropped, or extremely low-resolution screenshots,
- screenshots dominated by personal data,
- screenshots containing private internal dashboards, customer data, or secrets,
- images whose reference value is too weak to justify storage.
Default behavior:
- - warn before storing obviously sensitive screenshots,
- do not archive sensitive internal or personal screenshots by default unless the user explicitly confirms they want them stored,
- ask before archiving low-value or ambiguous material when the user intent is unclear,
- if the user clearly wants it archived anyway, proceed and record the limitations concisely.
Output requirements
Minimum archive output
Return at least:
- - title,
- 3-8 important tags or category labels,
- archive status,
- item link or identifier when available.
Clearly separate:
- - metadata write success,
- image upload success,
- partial success.
Minimum retrieval output
Return at least:
- - 1-3 strong matches by default,
- short title for each match,
- 1-2 lines of rationale,
- image preview when supported, otherwise item link.
Do not dump raw database records unless explicitly asked.
Storage model guidance
This skill is storage-backend aware but should stay backend-neutral at the top level.
Prerequisites and backend requirements
Use this skill only when the runtime already has access to a suitable storage backend.
This skill may require backend-specific credentials depending on the chosen storage backend.
For Notion-backed archive or retrieval flows that read or write a Notion database, NOTION_API_KEY should already be configured in the runtime.
Metadata-only analysis can still proceed without backend write access.
Requirements for Notion-backed use
To use this skill with Notion as the storage backend, the user should already have:
- - a Notion account,
- a Notion integration or API key,
- a target Notion database, or a parent page where a new database can be created,
- permission to connect that database or page to the integration.
Without these prerequisites, the skill can still analyze images and produce structured metadata, but it cannot complete Notion-backed archiving.
Minimum requirements:
- - the runtime can read the source image from the current channel or local path,
- the runtime can analyze images or at least preserve them with low-confidence metadata,
- the runtime can create, update, and query records in the target backend,
- the runtime can attach or reference the original image in that backend,
- the runtime can return image previews or links back to the user.
If using Notion as the backing store:
- - the runtime must already have working Notion integration or API access,
- the target database must already exist or be creatable by the runtime,
- the runtime must have permission to read and write the target database,
- database IDs, page IDs, and similar identifiers must remain configurable,
- if no target database can be found, ask the user where the library should live and whether a new database should be created there,
- only auto-create a Notion database when the parent page/location is already known and unambiguous,
- this public skill does not include personal credentials or private workspace configuration.
In OpenClaw-based setups, assume backend integrations must be configured outside the skill itself.
If backend access is missing, do not pretend archive or retrieval succeeded. Fall back to image analysis, broad tagging, and structured metadata output when possible.
A good backing store should support:
- - a title field,
- an image/file field,
- structured metadata fields,
- text search,
- filtering by select/multi-select style properties,
- stable item links.
If using Notion as the backing store:
- - keep the database ID and related identifiers configurable,
- store original images in a dedicated file/image property,
- separate database/page creation from file upload if the API path requires it,
- document any API version split in implementation notes rather than hardcoding personal IDs into the public skill.
Capability and fallback rules
Prefer this execution order:
- 1. obtain image,
- analyze image,
- write structured metadata,
- attach original image,
- deliver preview or result links.
If a capability is unavailable, degrade gracefully:
- - If image analysis is unavailable, store the image with a broad title and broad tags, and clearly mark metadata as low-confidence.
- If direct image attachment is unavailable, store a source link or local-path reference when safe and supported.
- If image preview delivery is unavailable, return title, rationale, tags, and item link instead.
- If the backend supports only partial structured fields, preserve the most retrieval-critical fields first: title, summary, page type, style tags, and image/source.
Result quality rules
Good archive result
- - confirms success or partial success,
- shows the generated title,
- shows the most important tags,
- clearly separates metadata-write success from image-upload success.
Good retrieval result
- - returns images directly when possible,
- includes concise rationale,
- helps the user decide quickly,
- avoids dumping raw database records.
Failure handling
For archive flows, separate failures into:
- - image retrieval failure,
- analysis failure,
- record creation failure,
- image upload/attachment failure,
- final patch/update failure.
For retrieval flows, separate failures into:
- - query interpretation failure,
- database query failure,
- image download failure,
- result-delivery failure.
Partial success is acceptable when the user still receives a usable result.
If image return fails but text retrieval succeeds, still return:
- - title,
- rationale,
- key tags,
- item link,
- and clearly state that preview delivery failed.
Public packaging rules
When publishing this skill publicly:
- - remove private workspace IDs, URLs, and account-specific paths,
- keep channel handling generic,
- keep the backing store configurable,
- document both archive and retrieval as first-class capabilities,
- explicitly state that retrieval should return matching images whenever possible,
- avoid embedding personal workflows or private credentials.
Read these references when needed
- - Read
references/analysis-schema.md when generating structured metadata for new images. - Read
references/channel-flow.md when adapting image intake from chat channels. - Read
references/notion-database-schema.md when creating or reviewing the target Notion schema. - Read
references/notion-mapping-spec.md when implementing field mapping and normalized writes. - Read
references/notion-file-upload.md when attaching original images to Notion records. - Read
references/query-flow.md when implementing retrieval, ranking, and image-first result delivery. - Read
references/tag-vocabulary-v1.md when selecting or extending bilingual tags.
Scope
Use this skill for:
- - inspiration archiving,
- design-reference retrieval,
- visual shortlist generation,
- inspiration-library workflows.
Do not use this skill as the primary tool for:
- - formal UX audits,
- accessibility review,
- redesign critique,
- production UI specification writing.
UI灵感库
将UI参考素材归档到结构化库中,待他人真正需要时精准检索。
该技能包含三大核心承诺:
- 1. 干净保存图像至可复用的灵感库
- 实现可检索性,配备便于检索的元数据
- 返回匹配图像而非仅文本摘要
将灵感库视为可运行的视觉检索系统,而非死档案。检索质量与入库质量同等重要。
核心能力
1. 归档模式
适用于用户希望:
- - 保存UI截图
- 收集灵感素材
- 归档设计参考
- 为图像添加标签以便复用
- 构建团队或个人UI库
目标:
- - 标准化输入图像
- 将其分析为可复用的设计参考
- 创建便于检索的元数据
- 将元数据和原始图像存储至目标库
返回内容:
2. 检索模式
适用于用户希望:
- - 搜索灵感库
- 浏览设计目标的参考素材
- 比较视觉方向
- 通过关键词、风格、页面类型或使用场景查找参考
- 获取实际匹配的图像
目标:
- - 解读用户的视觉/设计意图
- 查询底层数据库
- 对强匹配结果排序
- 尽可能返回实际图像
- 简要说明每个匹配的适用理由
若用户明显在浏览参考素材,优先采用图像优先响应而非纯文本报告。
模式选择规则
根据用户输入选择工作流程:
- - 若用户提供一张或多张截图,或要求保存/归档/添加标签,使用归档模式
- 若用户要求参考素材、示例、灵感、比较或类似视觉内容,使用检索模式
- 若用户提供截图并要求比较、筛选或查找相关参考,先按需归档,再执行检索或比较
- 若用户意图不明确,提出一个简短澄清问题,而非自行猜测
后端配置发现
假设后端标识符和访问详情来自运行时配置、环境变量、用户提供的参数或现有项目文档。
在写入后端前:
- - 确定应使用哪个后端
- 确定归档和检索是否使用同一后端
- 确定如何定位目标数据库或集合
- 在尝试完整归档流程前验证读写权限
若目标后端未指定或无法发现:
- - 在写入前向用户提出一个简短问题
- 明确询问目标库应存放位置
- 若不存在现有库,询问用户是否需要协助创建新库
- 不猜测私有数据库标识符
- 除非父级位置已知且运行时明确允许创建,否则不自动创建新库
- 仍可提供图像分析和结构化元数据输出,但不进行持久化
默认工作流程
归档工作流程
- 1. 检测来源渠道并在本地获取图像
- 将输入标准化为稳定的图像源或文件
- 将图像分析为UI灵感参考
- 生成针对未来检索优化的结构化元数据
- 创建目标库记录
- 将原始图像上传或附加至该记录
- 返回简短归档确认
检索工作流程
- 1. 解析用户意图
- 将其映射至一个或多个检索维度:
- 视觉目标
- 页面类型
- 风格标签
- 组件标签
- 使用场景
- 摘要/亮点/来源中的关键词信号
- 3. 查询库
- 按实际设计实用性对结果排序
- 返回1-5个强匹配结果,存在多个时优先返回3个
- 尽可能发送实际图像
- 为每个结果添加1-2行理由说明
检索优先规则
当用户表达类似:
- - 给我看些参考
- 找类似的例子
- 哪些适合做封面?
- 找AI风格的英雄区参考
- 挑几个仪表盘参考
假设他们需要可用的视觉参考,而非仅文本。
优先检索输出顺序:
- 1. 图像预览
- 简短标题
- 匹配理由
- 可选条目链接
几个强匹配优于多个弱匹配。
多图像、重复与更新规则
除非用户另有说明,使用以下默认规则:
- - 每张图像创建一条记录
- 分别分析每张图像
- 仅当用户明确要求分组参考集时,才将多张图像归入一条记录
- 仅当用户明确提及某条记录时才更新该记录
- 向现有记录添加内容时默认追加图像
- 仅当用户明确要求替换或覆盖时才替换现有图像
保守处理可能的重复:
- - 若同一图像似乎已归档,在创建另一条近似记录前优先警告或询问
- 若标题冲突但图像有实质差异,创建新记录而非静默合并
- 若重复检测较弱或不确定,保留新项目并说明不确定性
分类规则
优化未来检索,而非详尽评判。
除非存储后端不支持,使用以下最小元数据集:
- - 标题
- 摘要
- 页面类型
- 风格标签
- 组件标签
- 使用场景标签
- 原始图像或来源链接
应用以下约束:
- - 保持标题简短、具体且可检索
- 优先使用稳定的可复用标签,而非巧妙的临时措辞
- 使用1-3个页面类型
- 使用2-5个风格标签
- 使用2-6个组件标签
- 使用1-3个使用场景标签
- 必要时用用户语言撰写2-5个简短亮点
- 用用户语言撰写一个聚焦参考价值的简洁摘要
- 若不确定,选择更宽泛的类别而非虚构精确性
来源与隐私规则
谨慎使用来源字段。
优先来源顺序:
- 1. 用户提供的公开来源URL
- 可安全推导的规范页面URL
- 渠道或来源标签,如telegram上传或手动上传
- 用户提供的来源备注
避免在长期记录中存储私有本地文件路径、临时下载URL、访问令牌或账户特定传输详情,除非用户明确要求。
归档前,注意低价值或敏感图像:
- - 不可读、严重裁剪或极低分辨率的截图
- 以个人数据为主的截图
- 包含私有内部仪表盘、客户数据或机密的截图
- 参考价值过弱不足以证明存储合理性的图像
默认行为:
- - 在存储明显敏感截图前发出警告
- 默认不归档敏感内部或个人截图,除非用户明确确认希望存储
- 当用户意图不明确时,在归档低价值或模糊素材前询问
- 若用户明确希望归档,继续执行并简洁记录限制条件
输出要求
最小归档输出
至少返回:
- - 标题
- 3-8个重要标签或类别标签
- 归档状态
- 可用时的条目链接或标识符
清晰区分:
最小检索输出
至少返回:
- - 默认1-3个强匹配
- 每个匹配的简短标题
- 1-2行理由说明
- 支持时的图像预览,否则提供条目链接
除非明确要求,不转储原始数据库记录。
存储模型指导
本技能感知存储后端,但在顶层应保持后端中立。
前提条件与后端要求
仅当运行时已具备合适的存储后端访问权限时使用本技能。
根据所选存储后端,本技能可能需要后端特定凭证。
对于基于Notion的归档或检索流程(读取或写入Notion数据库),运行时应已配置NOTIONAPIKEY。
无后端写入权限时仍可进行纯元数据分析。
Notion后端使用要求
要将本技能与Notion作为存储后端配合使用,用户应已具备:
- - Notion账户
- Notion集成或API密钥
- 目标Notion数据库,或可创建新数据库的父级页面
- 将该数据库或页面连接到集成的权限
缺少这些前提条件时,本技能仍可分析图像并生成结构化元数据,但无法完成基于Notion的归档。
最低要求:
- - 运行时能从当前渠道或本地路径读取源图像
- 运行时能分析图像或至少以低置信度元数据保存图像
- 运行时能在目标后端创建、更新和查询记录
- 运行时能在该后端附加或引用原始图像
- 运行时能向用户返回图像预览或链接
若使用Notion作为存储后端:
- - 运行时必须已有可用的Notion集成或API访问权限
- 目标数据库必须已存在或可由运行时创建
- 运行时必须具有目标数据库的读写权限
- 数据库ID、页面ID及类似标识符必须保持可配置
- 若找不到目标数据库,询问用户库应存放位置以及是否应在该位置创建新数据库
- 仅当父级页面/位置已知且明确时,才自动创建Notion数据库
- 本公开技能不包含个人凭证或私有工作区配置
在基于OpenClaw的设置中,假设后端集成必须在技能外部配置。
若缺少后端访问权限,不假装归档或检索成功。