Xpersona
A

AI 书稿图片重设计

CLAWHUB · Unverified

将用户提供的 HTML/前端原型整理成一个可复用的网页应用 skill。适用于用户说“把这段 HTML 做成 skill” “把这个网页原型封装成 skill”“生成一个可落地的静态页面 skill”“把图片重设计工具做成 skill”等场景。 该 skill 会把现成前端页面模板落到本地,默认输出为静态 HTM... Skill: AI 书稿图片重设计 Owner: kelcey2023 Summary: 将用户提供的 HTML/前端原型整理成一个可复用的网页应用 skill。适用于用户说“把这段 HTML 做成 skill” “把这个网页原型封装成 skill”“生成一个可落地的静态页面 skill”“把图片重设计工具做成 skill”等场景。 该 skill 会把现成前端页面模板落到本地,默认输出为静态 HTM... Tags: latest:1.0.100 Version history: v1.0.100 | 2026-04-30T04:00:54.220Z | user Batch upload from OpenClaw workspace v1.0.99 | 2026-04-03T03:07:54.415Z | auto - No user-visible changes in this version. - Documenta

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17d0yeqck74np9sh3ks2p1xx583hjnj:ai-book-image-redesign
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-kelcey2023-ai-book-image-redesign/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

19,808 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: AI 书稿图片重设计
description: >
  将用户提供的 HTML/前端原型整理成一个可复用的网页应用 skill。适用于用户说“把这段 HTML 做成 skill”
  “把这个网页原型封装成 skill”“生成一个可落地的静态页面 skill”“把图片重设计工具做成 skill”等场景。
  该 skill 会把现成前端页面模板落到本地,默认输出为静态 HTML,并支持让最终用户自行填写 API URL 和 API Key。
user-invocable: true
metadata: {"openclaw":{"emoji":"🖼️","skillKey":"ai-book-image-redesign"}}
---

# AI 书稿图片重设计 🖼️

把现成的网页原型(尤其是单文件 HTML/CSS/JS)整理成一个可复用 skill。

## 适用场景

当用户说这些话时使用:

- 「把这段 HTML 做成 skill」
- 「把这个网页原型封成 skill」
- 「做一个静态网页工具 skill」
- 「把这个 AI 图片重设计页面做成 skill」
- 「把前端 demo 打包成可复用 skill」

## 默认工作方式

1. **优先保留用户原始界面风格**,不要擅自大改视觉结构
2. **先做成本地可运行版本**,再考虑发布或接 API
3. **不在模板里写死密钥**,改为让最终用户自行输入 API Base URL 和 API Key
4. **静态资源放到 `assets/`**,便于直接复制、部署、二次修改
5. **如需脚本化初始化**,用 `scripts/` 放置生成脚本

## 目录说明

- `assets/index.html`:可直接打开的静态页面模板
- `assets/vercel.json`:Vercel 静态部署配置
- `scripts/setup.sh`:把模板复制到目标目录,快速落地
- `scripts/export-static.sh`:导出可直接部署到 Vercel / 静态站的文件

## 使用方式

### 1)快速落地页面

执行:

```bash
bash scripts/setup.sh /目标目录
```

默认会输出:

```text
/目标目录/
└── index.html
```

### 1.1)导出可部署到 Vercel / 静态站的版本

执行:

```bash
bash scripts/export-static.sh /目标目录
```

会输出:

```text
/目标目录/
├── index.html
└── vercel.json
```

部署方式:

- **Vercel**:把该目录导入 Vercel,或在目录内执行 `vercel`
- **静态站托管**:直接上传 `index.html`(以及 `vercel.json` 可忽略)

### 2)页面中的 API 连接方式

当前模板改成由最终用户自行填写:

- API Base URL
- API Key
- Model 名称
- 可选的异步轮询路径(例如 `/v1/tasks/{id}`)

填写后即可直接使用。页面默认请求:

```text
POST {API_BASE_URL}/v1/images/generations
```

支持能力:

1. **同步返回结果图**
2. **异步返回任务 ID 后自动轮询**
3. **多图批量处理(最多 10 张)**
4. **自定义 model 名称**

并优先兼容这些返回字段:

- `data[0].url`
- `data[0].b64_json`
- `images[0].url`
- `result.url`
- `image_url`
- `b64_json`

任务 ID 兼容字段:

- `task_id`
- `taskId`
- `id`
- `data.id`

适合快速验证页面交互和图片生成流程。

**但正式商用仍推荐:**

- 后端代理
- 环境变量注入
- 服务端签名中转

避免在浏览器前端长期直接暴露密钥。

## 修改建议

如果用户后续要求:

- 批量处理多张图
- 登录与额度系统
- 支付升级
- 服务端任务轮询
- OSS / S3 图片存储

优先在现有模板基础上增量改,而不是推倒重写。

_meta.json

{
  "ownerId": "kn7d7abxx9rgep0964z4ykh3eh827fd6",
  "slug": "ai-book-image-redesign",
  "version": "1.0.100",
  "publishedAt": 1777521654220
}

skill-card.md

## Description:

将用户提供的 HTML/前端原型整理成一个可复用的网页应用 skill,默认输出为静态 HTML,并支持最终用户自行填写 API URL、API Key 和模型配置来运行图片重设计流程。

This skill is ready for commercial/non-commercial use.

## Publisher:

[kelcey2023](https://clawhub.ai/user/kelcey2023)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and creators use this skill to package an existing HTML/front-end prototype as a reusable static web app for AI book-manuscript image redesign. The generated app lets end users upload manuscript images, configure an image generation API endpoint, and export deployable static files.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Browser-side API key handling can expose credentials.

Mitigation: Use test or low-privilege API keys for evaluation, and prefer a backend proxy or server-side environment variable injection before real deployment.

Risk: Uploaded manuscript images and generated results are sent to the configured external API endpoint.

Mitigation: Avoid unpublished or sensitive manuscript images unless the endpoint is trusted, and enforce HTTPS for API calls and polling.

Risk: External API responses may include untrusted URLs or messages.

Mitigation: Validate result URLs, keep polling same-origin or explicitly trusted, and render API messages as text rather than HTML.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/kelcey2023/skills/ai-book-image-redesign)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with bash commands and generated static HTML/configuration files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces a static HTML image-redesign web app, Vercel configuration, and setup/export shell scripts.]

## Skill Version(s):

1.0.100 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

assets/vercel.json

{
  "cleanUrls": true,
  "trailingSlash": false,
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        { "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" }
      ]
    }
  ]
}

Sponsored

Ads related to AI 书稿图片重设计 and adjacent AI workflows.