搜索

PythonReactSEOPDF
OpenClaw

tc-protohub

在 ProtoHub 上管理原型。当用户想要上传目录或 ZIP 文件作为原型、更新现有原型、列出原型或获取预览链接时,请使用此技能。它支持自动打包文件夹、强制校验入口文件 (index.html),以及按名称搜索原型以便更新。

airclear0 来源安装数☆ 0 仓库 Stars

安装与使用

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

SkillHub CLI

skillhub install airclear/tc-protohub

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

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

查看来源 ↗使用指南

技能说明

Skill: ProtoHub AI Agent Integration

Purpose

This skill allows AI Agents to manage prototypes on ProtoHub. It provides automated tools for packaging, publishing, and discovering prototypes (folders or ZIP files) in the ProtoHub Private Sandbox.

Capabilities

  • Automated Publishing: Package a directory or use a ZIP file to create/update prototypes.
  • Entry Point Validation: Automatically checks for index.html before uploading.
  • Prototype Discovery: List existing prototypes or search by name to find IDs.
  • Preview Management: Retrieve public URLs for demonstration.

Mandatory Configuration

Before performing any action, the AI Agent MUST verify that the following environment variables are set:

  • PROTOHUB_API_KEY: Required for authentication.
  • PROTOHUB_URL: Base URL of the ProtoHub server (default: http://localhost:48080).

Strict Validation Rule: If either of these is missing from the environment and has not been provided by the user in the current session, the Agent MUST NOT attempt to run the script and MUST NOT retry with placeholder values. Instead, immediately ask the user to provide the missing configuration.

How to set:
export PROTOHUB_API_KEY="your-api-key"
export PROTOHUB_URL="http://localhost:48080"

Recommended Tool: publish.py

Usage Examples
1. Upload a Directory as a New Prototype
python skills/tc-protohub/scripts/publish.py publish ./my-dist-folder --name "My Prototype Name"
2. Update an Existing Prototype

Overwrites content while maintaining the same ID and URL.

python skills/tc-protohub/scripts/publish.py publish ./my-dist-folder --id 1024
3. List Prototypes (Search by Name)

Useful for finding the ID when the user says "Update the 'Login Page' prototype".

python skills/tc-protohub/scripts/publish.py list --name "Login Page"
4. Get Preview Link
python skills/tc-protohub/scripts/publish.py get-link 1024

Bes...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/airclear/tc-protohub
Version
—
Commit
76ab351bd36ae4f3623bb3aaee8a87e49e67a80d
分类来源
rules
状态
active
可见性
public

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

来源内容

SKILL.md
# Skill: ProtoHub AI Agent Integration

## Purpose
This skill allows AI Agents to manage prototypes on ProtoHub. It provides automated tools for packaging, publishing, and discovering prototypes (folders or ZIP files) in the ProtoHub Private Sandbox.

## Capabilities
- **Automated Publishing:** Package a directory or use a ZIP file to create/update prototypes.
- **Entry Point Validation:** Automatically checks for `index.html` before uploading.
- **Prototype Discovery:** List existing prototypes or search by name to find IDs.
- **Preview Management:** Retrieve public URLs for demonstration.

## Mandatory Configuration
Before performing any action, the AI Agent MUST verify that the following environment variables are set:
- `PROTOHUB_API_KEY`: Required for authentication.
- `PROTOHUB_URL`: Base URL of the ProtoHub server (default: `http://localhost:48080`).

**Strict Validation Rule:**
If either of these is missing from the environment and has not been provided by the user in the current session, the Agent **MUST NOT** attempt to run the script and **MUST NOT** retry with placeholder values. Instead, immediately ask the user to provide the missing configuration.

### How to set:
```bash
export PROTOHUB_API_KEY="your-api-key"
export PROTOHUB_URL="http://localhost:48080"
```

## Recommended Tool: publish.py

### Usage Examples

#### 1. Upload a Directory as a New Prototype
```bash
python skills/tc-protohub/scripts/publish.py publish ./my-dist-folder --name "My Prototype Name"
```

#### 2. Update an Existing Prototype
Overwrites content while maintaining the same ID and URL.
```bash
python skills/tc-protohub/scripts/publish.py publish ./my-dist-folder --id 1024
```

#### 3. List Prototypes (Search by Name)
Useful for finding the ID when the user says "Update the 'Login Page' prototype".
```bash
python skills/tc-protohub/scripts/publish.py list --name "Login Page"
```

#### 4. Get Preview Link
```bash
python skills/tc-protohub/scripts/publish.py get-link 1024
```

## Bes...

相关技能

OpenClaw

ad-compliance-reviewer

danyangliu-sandwichlab

Review ads and campaign setup for policy compliance on Meta (Facebook/Instagram), Google Ads, TikTok Ads, YouTube Ads, Amazon Ads, and DSP/programmatic.

OpenClaw

afrexai-seo-content-engine

1kalin

Complete SEO content creation system for AI agents. Research keywords, analyze competitors, write optimized articles, and track rankings — all through natural conversation. No APIs required.