Token导航 LogoToken导航

Agent Skill · 效率

imgtohtml(imgtohtml 图像)

imgtohtml 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

imgtohtml 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 6,044。

总安装 9,913周安装 401GitHub Stars 1下载 3,112核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:imgtohtml(imgtohtml 图像)
来源仓库:https://github.com/jinqiu193/imgtohtml
安装命令:
openclaw skills install imgtohtml
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install imgtohtml

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

imgtohtml 将 UI 截图自动转换为功能完整的 HTML/CSS 代码,保留布局和样式。适用于 OpenClaw 中前端开发、组件还原或界面实现检查等场景。通过 clawhub 安装并使用 openclaw skills install imgtohtml 命令集成。

需确认是否涉及文件读写和网络访问,注意维护状态与兼容性。建议结合项目实际需求核验输出精度与响应式适配能力。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install imgtohtml;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

imgtohtml 怎么安装?

在终端执行 openclaw skills install imgtohtml。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

imgtohtml 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

imgtohtml 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

imgtohtml 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

imgtohtml 用的人多吗?

公开数据是累计安装 9,913 次,近一周安装 401 次,下载 3,112 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

imgtohtml 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
imgtohtml

imgtohtml 图像 · 本页

9,9131只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
img2html
description
Convert UI screenshots/images into fully functional HTML/CSS copies. This skill is used when a user provides images of a website, application interface, dashboard, or any UI design and wants to recreate it as working HTML code with accurate styles, layout, and visual details.
license
Complete terms in LICENSE.txt

This skill converts UI screenshots or design images into production-ready HTML/CSS code that accurately replicates the visual appearance and layout of the original.

The user provides an image (screenshot, mockup, or design reference) showing a UI interface they want replicated.

Analysis Process

First, carefully analyze the image to understand:

  1. Layout Structure

- Identify sections, containers, and nesting hierarchy - Determine grid/flexbox patterns needed - Note spacing relationships and alignment

  1. Visual Elements

- Colors (hex/rgb values from the image) - Typography (font families, sizes, weights) - Icons and imagery - Borders, shadows, gradients, effects

  1. Component Types

- Headers, navigation, cards, buttons, inputs, tables, etc. - Interactive elements and their states - Data displays, labels, badges

  1. Responsive Behavior

- How the layout might adapt to different screen sizes - Mobile-first or desktop-first approach

Implementation Guidelines

HTML Structure:

  • Use semantic HTML5 elements (header, nav, main, section, article, footer)
  • Create logical nesting that matches the visual hierarchy
  • Use meaningful class names (BEM or similar convention)

CSS Styling:

  • Replicate colors exactly using values from the image
  • Match typography (font family, size, weight, line-height, letter-spacing)
  • Recreate spacing (margins, padding, gaps) accurately
  • Implement visual effects (box-shadow, border-radius, gradients, backdrop-filter)
  • Use CSS variables for theming when appropriate

Layout Techniques:

  • Flexbox for 1D layouts (rows or columns)
  • CSS Grid for 2D layouts
  • Position properties for overlays and absolute positioning
  • Transform for rotations and scaling

Interactive Elements:

  • Add :hover, :focus states for buttons and links
  • Include transitions for smooth state changes
  • Consider adding basic JavaScript if the UI implies interactivity

Output Format

Provide a complete, self-contained HTML file with:

  • Proper DOCTYPE and HTML structure
  • Embedded CSS in <style> tags (or separate CSS file if complex)
  • All necessary meta tags for viewport/responsiveness
  • Comments explaining major sections if helpful

If the design is complex, you may split into multiple files (HTML, CSS, JS).

Accuracy Priorities

  1. Visual Fidelity: Match the original image as closely as possible
  2. Proportions: Maintain correct size ratios between elements
  3. Colors: Use exact or nearest-match color values
  4. Typography: Match font styles accurately
  5. Spacing: Replicate padding, margins, and gaps faithfully

Limitations to Communicate

  • Exact font matching may require web fonts (Google Fonts, etc.)
  • Some effects may be approximated if the exact technique isn't visible
  • Interactive behavior beyond hover states requires user specification
  • Dynamic content should be represented with placeholder data

Multi-Image Handling

When the user provides multiple images at once, process each image individually and sequentially to ensure maximum quality:

Sequential Processing Workflow:

  1. Process ONE image at a time through the complete conversion pipeline
  2. For each image:

- Analyze its unique layout, colors, typography, and components - Create a dedicated HTML/CSS replica - Verify visual fidelity before moving to the next

  1. Maintain consistent naming conventions across all generated files
  2. After processing all images, provide a summary of all converted files

Output Organization:

  • Name files descriptively based on each image's content (e.g., login-page.html, dashboard.html)
  • If images represent different pages of the same site, maintain shared styles in a common CSS file when appropriate
  • If images are unrelated, create self-contained HTML files for each

Quality Assurance:

  • Do NOT batch-process images together - each deserves full analysis attention
  • If images are related (e.g., different screens of the same app), note shared components and reuse CSS where sensible
  • Communicate progress to the user as you work through each image

Example Workflow

  1. User provides UI screenshot(s)
  2. For each image:

- Analyze layout, colors, typography, components - Create HTML structure matching the hierarchy - Apply CSS to replicate visual appearance - Add polish (hover states, transitions, responsive considerations)

  1. Deliver complete HTML file(s) - one per input image (or split logically for multi-page designs)

Remember: The goal is a pixel-perfect replica that functions as a real web page, not just a close approximation. Pay attention to details like shadows, borders, gradients, and spacing - these make the difference between "close" and "indistinguishable."

平台分布

OpenClaw

79.04%
按下载量换算2,460

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills