搜索

PythonReactSEOPDF
OpenClaw

paperbox

Upload AI-generated HTML games, apps, or generative art to PaperBox (paperbox-beta.vercel.app) and return a shareable link. Use when the agent has created an HTML game, app, generative art, or interactive project and the user wants to share it. Triggers on phrases like "share this", "upload to PaperBox", "publish my app", "get a link", or after any HTML game/app/art creation task.

felixdaga0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install felixdaga/paperbox

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

PaperBox

Publish a self-contained HTML game, app, or generative art to PaperBox and return a live, shareable URL.

Endpoint (confirmed working)

POST https://paperbox-beta.vercel.app/api/games

Workflow

  1. Ensure the HTML is complete and self-contained (all CSS/JS inlined).
  2. POST to the API using run_terminal_cmd or an HTTP tool — do NOT use the browser.
  3. Parse the JSON response and extract data.shareableUrl.
  4. Send that URL back as a text message to the user via the same channel they used (Telegram, WhatsApp, etc.). Do not open any browser or navigate anywhere.
Request
curl -X POST https://paperbox-beta.vercel.app/api/games \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <from openclaw.json skills.entries.paperbox.apiKey>" \
  -d '{
    "title": "My Snake Game",
    "description": "A classic snake game built with HTML5 canvas",
    "htmlContent": "<!DOCTYPE html><html>...</html>"
  }'
Response (success)
{
  "success": true,
  "data": {
    "projectId": "cmmk7bame0003gywakm5c0ora",
    "slug": "my-snake-game-1773122429317",
    "shareableUrl": "https://paperbox-beta.vercel.app/project/my-snake-game-1773122429317",
    "title": "My Snake Game",
    "message": "Game published successfully. Share this link with others."
  }
}

The shareable link is at data.shareableUrl — use this exact value. Do not construct the URL manually from the slug.

Field reference
Field Type Required Notes
title string yes Max 100 chars
description string yes Max 500 chars
htmlContent string yes Full self-contained HTML

Output to user

After a successful upload:

  • Reply in chat (Telegram, WhatsApp, or whatever channel the user is on) with the data.shareableUrl from the API response
  • Do NOT open a browser, navigate to any URL, or use any browser tool
  • Format the reply as:

✅ Your project is li...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/felixdaga/paperbox
Version
—
Commit
b960fe6de6cda19eb1ca18afccffe152861e7360
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

PaperBox

Upload AI-generated HTML games, apps, or generative art to PaperBox and get a shareable link. When your OpenClaw agent creates an HTML game, app, or art project, this skill publishes it via the PaperBox API and returns a live URL to view and share. You can also explore others' projects on PaperBox.

What It Does

  1. Agent builds an HTML game, app, or generative art in the workspace
  2. Agent POSTs the HTML to the PaperBox Games API
  3. Agent returns the shareableUrl in chat (Telegram, WhatsApp, etc.)
  4. User clicks the link to view — no account needed

Requirements

  • PaperBox API key — Log in (create a profile if needed), then go to Profile settings to generate your API key
  • Network — Skill needs outbound HTTP to POST to the PaperBox API

How to Use

  1. Install the skill: clawhub install paperbox
  2. Add your API key to openclaw.json under skills.entries.paperbox.apiKey
  3. When your agent creates an HTML game, app, or art, say "share this to PaperBox" or "upload to PaperBox"

The agent will POST the HTML and reply with the shareable link.

Permission: network

This skill requests network:outbound to send the HTML content to the PaperBox API at https://paperbox-beta.vercel.app/api/games. No other endpoints or network access are used. The skill does not read external data; it only uploads.

Troubleshooting

Error Cause Fix
401 Unauthorized Invalid or missing API key Check openclaw.json → skills.entries.paperbox.apiKey
400 Bad request Missing title/description or invalid HTML Ensure htmlContent is valid, complete HTML
413 Payload too large HTML exceeds 2 MB Minify CSS/JS, remove unused assets
500 Server error PaperBox backend issue Retry; if it persists, check PaperBox status

License

MIT

来源内容

SKILL.md
# PaperBox

Publish a self-contained HTML game, app, or generative art to [PaperBox](https://paperbox-beta.vercel.app) and return a live, shareable URL.

## Endpoint (confirmed working)

```
POST https://paperbox-beta.vercel.app/api/games
```

## Workflow

1. Ensure the HTML is complete and self-contained (all CSS/JS inlined).
2. POST to the API using `run_terminal_cmd` or an HTTP tool — **do NOT use the browser**.
3. Parse the JSON response and extract `data.shareableUrl`.
4. Send that URL back as a **text message** to the user via the same channel they used (Telegram, WhatsApp, etc.). Do not open any browser or navigate anywhere.

### Request

```bash
curl -X POST https://paperbox-beta.vercel.app/api/games \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <from openclaw.json skills.entries.paperbox.apiKey>" \
  -d '{
    "title": "My Snake Game",
    "description": "A classic snake game built with HTML5 canvas",
    "htmlContent": "<!DOCTYPE html><html>...</html>"
  }'
```

### Response (success)

```json
{
  "success": true,
  "data": {
    "projectId": "cmmk7bame0003gywakm5c0ora",
    "slug": "my-snake-game-1773122429317",
    "shareableUrl": "https://paperbox-beta.vercel.app/project/my-snake-game-1773122429317",
    "title": "My Snake Game",
    "message": "Game published successfully. Share this link with others."
  }
}
```

The shareable link is at `data.shareableUrl` — use this exact value. Do not construct the URL manually from the slug.

### Field reference

| Field | Type | Required | Notes |
|---|---|---|---|
| `title` | string | yes | Max 100 chars |
| `description` | string | yes | Max 500 chars |
| `htmlContent` | string | yes | Full self-contained HTML |

## Output to user

After a successful upload:
- **Reply in chat** (Telegram, WhatsApp, or whatever channel the user is on) with the `data.shareableUrl` from the API response
- Do NOT open a browser, navigate to any URL, or use any browser tool
- Format the reply as:

> ✅ Your project is li...
README
# PaperBox

Upload AI-generated HTML games, apps, or generative art to [PaperBox](https://paperbox-beta.vercel.app) and get a shareable link. When your OpenClaw agent creates an HTML game, app, or art project, this skill publishes it via the PaperBox API and returns a live URL to view and share. You can also [explore others' projects](https://paperbox-beta.vercel.app/explore) on PaperBox.

## What It Does

1. Agent builds an HTML game, app, or generative art in the workspace
2. Agent POSTs the HTML to the PaperBox Games API
3. Agent returns the `shareableUrl` in chat (Telegram, WhatsApp, etc.)
4. User clicks the link to view — no account needed

## Requirements

- **PaperBox API key** — [Log in](https://paperbox-beta.vercel.app/login) (create a profile if needed), then go to Profile settings to generate your API key
- **Network** — Skill needs outbound HTTP to POST to the PaperBox API

## How to Use

1. Install the skill: `clawhub install paperbox`
2. Add your API key to `openclaw.json` under `skills.entries.paperbox.apiKey`
3. When your agent creates an HTML game, app, or art, say "share this to PaperBox" or "upload to PaperBox"

The agent will POST the HTML and reply with the shareable link.

## Permission: network

This skill requests `network:outbound` to send the HTML content to the PaperBox API at `https://paperbox-beta.vercel.app/api/games`. No other endpoints or network access are used. The skill does not read external data; it only uploads.

## Troubleshooting

| Error | Cause | Fix |
|-------|-------|-----|
| 401 Unauthorized | Invalid or missing API key | Check `openclaw.json` → `skills.entries.paperbox.apiKey` |
| 400 Bad request | Missing title/description or invalid HTML | Ensure htmlContent is valid, complete HTML |
| 413 Payload too large | HTML exceeds 2 MB | Minify CSS/JS, remove unused assets |
| 500 Server error | PaperBox backend issue | Retry; if it persists, check PaperBox status |

## License

MIT

相关技能

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...