← 返回
未分类 Key 中文

VVVLINK Site Builder

Build and publish websites on vvvlink.com. Creates HTML sites, uploads to VVVLink API, publishes with unique subdomain URLs. Triggers on: "create a site", "b...
在 vvvlink.com 上构建并发布 HTML 网站,上传至 VVVLink API,使用唯一子域名 URL。触发词:“create a site”等。
vladlat vladlat 来源
未分类 clawhub v1.8.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 438
下载
💾 2
安装
1
版本
#latest

概述

VVVLink Sitebuilder

Use this skill when the user wants to create, redesign, or

publish a website, landing page, portfolio, or any HTML page

that should be accessible online.

Before ANY work, announce to the user:

"Using vvvlink-site-builder to create and publish your site."

Quick Reference

  • API Base: https://publish.vvvlink.com
  • Site creation rules: See [website-development-rules.md](

references/website-development-rules.md)

  • Full API docs: See [api-reference.md](

references/api-reference.md)

Direct Invocation

When the user invokes this skill directly (without a specific task),

show an intro and check for existing sites. Use Telegram formatting.

  1. Load API key from ~/.vvvlink/config.json and call

GET /sites (if config exists)

  1. Split sites by status: "live" and non-live ("uploading", etc.)
  2. Show intro message based on result:

If user has live sites:

VVVLink Site Builder

Your sites:
1. my-site.vvvlink.com
2. cool-page.vvvlink.com

+2 drafts (uploading). Ask me to show or clean them up.

I can update any of these or create a new one.
What would you like to do?

Only show the drafts line if there are non-live sites.

If the user asks to see or manage drafts, list them with

subdomain, status, and offer to delete individual ones or

all at once via DELETE /sites/:siteId.

If no sites or no API key:

VVVLink Site Builder

I build and publish websites on vvvlink.com in seconds.

Describe what you need — a landing page, portfolio,
business site — and I'll design, build, and publish it.

Your site will be live with a unique URL right away.

When user picks an existing site to update, go to Step 10

(Updates) in the flow below.

Flow (strict order, no skipping)

Step 1: Announce and show progress

THIS IS THE MOST IMPORTANT RULE IN THIS SKILL.

The user sees your text output as a stream. While you write

text — they see it appearing live. When you make a tool call —

they see nothing until the tool returns and you write more text.

Therefore: WRITE TEXT BEFORE AND AFTER EVERY TOOL CALL.

In practice, your response should look like this (the user

sees each line appear as you stream it):

⚡ Building your site with VVVLink Site Builder...

🔍 Searching for photos of [topic]...
[tool call: curl image search]
📸 Found 5 great shots!

🎨 Designing layout with [palette] and [fonts]...
🏗️ Building hero section...
[tool call: write first part of HTML]
✨ Adding content sections...
[tool call: write rest of HTML]
📦 HTML ready!

🚀 Publishing to vvvlink.com...
[tool call: create site]
[tool call: upload file]
[tool call: publish]
[tool call: rename subdomain]

✅ Your site is live!
🌐 https://your-site.vvvlink.com

KEY RULES:

  • Write at least one emoji + text line BEFORE each tool call
  • The user must always see what you're doing RIGHT NOW
  • NEVER make 2+ tool calls in a row without text between them
  • If a tool call takes time, the preceding text is what the

user will see while waiting — make it informative

IMPORTANT: These progress rules apply ONLY when BUILDING a site

(multi-step process: photos → HTML → upload → publish).

For simple operations like listing sites or checking status —

just do it quickly, no need for multiple progress messages.

One short message before + result is enough.

Step 1.5: Ask for business details (if missing)

If the site looks like a business page (cafe, shop, studio,

agency, etc.) and the user did NOT provide key info, gently

ask ONCE before building. Keep it short — one message:

"📋 Before I start — want to add any of these to make it real?

📞 Phone / email / address

🕐 Opening hours

🔗 Social media links

Or I can build it now and you'll add details later."

If user says "just build it" or similar — proceed immediately.

Do NOT block the build. This is optional, not a gate.

Skip this step entirely for non-business sites (portfolios,

personal pages, experiments).

Step 2: Find photos for the site

Before writing any code, search for relevant photos:

# Search by keywords matching the site's topic
curl -s "https://publish.vvvlink.com/images/search?q=KEYWORD&count=5&orientation=landscape"

Pick 3-6 keywords based on the site content (e.g., "office",

"team", "technology"). Select the best photo for each section

(hero, about, features, etc.). Use the url field from

the response directly in tags.

Add &w=1600&h=900&fit=crop to URLs for hero images,

&w=600&h=400&fit=crop for cards.

Step 3: Create the site

Read and follow references/website-development-rules.md.

Build a high-quality static site using the photos from Step 2.

Output all files to ~/.vvvlink/sites//.

Step 4: Get API key

apiKey is SECRET. Never show it to the user, never log it,

never include in messages. It is only for Authorization headers.

UUID is public. It identifies the account. You may show it

to the user if asked.

Storage: ~/.vvvlink/config.json

{
  "uuid": "account-uuid",
  "apiKey": "SECRET-key-never-share"
}

Site files: ~/.vvvlink/sites//

Rules:

  1. NEVER call /auth/create_new_user if ~/.vvvlink/config.json

exists. The apiKey is issued ONCE and cannot be recovered.

  1. Only create a new account if config.json does not exist.
  2. Protect ~/.vvvlink/config.json with chmod 600.

Procedure:

  1. Read ~/.vvvlink/config.json → use .apiKey
  2. If file does not exist → POST /auth/create_new_user {}

→ save response to config.json

# Load or create API credentials
VVVLINK_DIR="$HOME/.vvvlink"
VVVLINK_CONFIG="$VVVLINK_DIR/config.json"

if [ -f "$VVVLINK_CONFIG" ]; then
  VVVLINK_API_KEY=$(jq -r '.apiKey' "$VVVLINK_CONFIG")
else
  mkdir -p "$VVVLINK_DIR"
  RESP=$(curl -s -X POST https://publish.vvvlink.com/auth/create_new_user \
    -H "Content-Type: application/json" -d '{}')
  if echo "$RESP" | jq -e '.apiKey' > /dev/null 2>&1; then
    VVVLINK_API_KEY=$(echo "$RESP" | jq -r '.apiKey')
    echo "$RESP" | jq '{uuid: .uuid, apiKey: .apiKey}' \
      > "$VVVLINK_CONFIG"
    chmod 600 "$VVVLINK_CONFIG"
  else
    echo "Error: could not create account" >&2
    exit 1
  fi
fi

Step 5: Create site and upload

# Create site
curl -s -X POST https://publish.vvvlink.com/sites \
  -H "Authorization: Bearer $API_KEY"

# Upload each file (from ~/.vvvlink/sites/<subdomain>/)
curl -s -X PUT \
  "https://publish.vvvlink.com/sites/$SITE_ID/files/index.html" \
  -H "Authorization: Bearer $API_KEY" \
  --data-binary @~/.vvvlink/sites/$SUBDOMAIN/index.html

Upload ALL files: HTML, CSS, JS, images, fonts.

If POST /sites returns HTTP 429 with "Site limit reached",

the user has hit their plan limit. Handle this gracefully:

  1. Call the upgrade endpoint to get a checkout URL:
  2. curl -s -X POST https://publish.vvvlink.com/billing/upgrade \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"success_url": "https://vvvlink.com"}'
    
  1. Show the user an upgrade message with the payment link.

In Telegram, use an inline link so the user can pay in

the built-in web view:

⚠️ *Site limit reached*

You've used all available sites on the Free plan\.

🚀 [Upgrade to Pro](PAYMENT_URL) to unlock up to 100 sites\.

_After upgrading, I'll publish your site right away\._
  1. After the user pays and confirms, retry POST /sites.

The limit will be updated automatically.

If the upgrade endpoint returns "Already on Pro plan",

the user is already on Pro — this means they've genuinely

used all 100 sites. Tell them to delete unused sites first.

Step 6: Publish

curl -s -X POST \
  "https://publish.vvvlink.com/sites/$SITE_ID/publish" \
  -H "Authorization: Bearer $API_KEY"

Step 7: Choose subdomain BEFORE creating site

Do NOT create a site with a random name. Pick a good one first:

  1. Analyze the site content (</code>, <code><h1></code>, topic)</li><li>Generate 10 slug-friendly name candidates</li><li>Check availability via POST /subdomains/check-bulk</li><li>Pick the BEST available name</li><li>Pass it when creating the site:</li></ol><pre><code>curl -s -X POST https://publish.vvvlink.com/sites \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"subdomain": "chosen-name"}' </code></pre><p>The API will use your name if available, or fall back to</p><p>a random one if taken. Check the response <code>subdomain</code> field</p><p>to confirm which name was assigned.</p><ol><li>Show the user the live URL and other available options:</li></ol><pre><code>🚀 Your site is live! 🌐 https://chosen-name.vvvlink.com Want a different name? 1. alternative-one 2. alternative-two 3. alternative-three Reply with a number or type your own. </code></pre><p>If user picks a different name, rename via:</p><pre><code>curl -s -X PUT \ "https://publish.vvvlink.com/sites/$SITE_ID/subdomain" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "new-name"}' </code></pre><h3>Step 8: Show URL and STOP</h3><p>When showing the final URL, add <code>?v=VERSION</code> to bust cache.</p><p>Use the version number from the publish response. Use markdown</p><p>link to hide the param:</p><pre><code>[your-site.vvvlink.com](https://your-site.vvvlink.com?v=2) </code></pre><p>The user sees clean URL but clicks through to the latest version.</p><p>After showing the live URL and rename options — STOP.</p><p>Do NOT automatically start improving, searching more photos,</p><p>or making changes. Wait for the user to respond.</p><p>You may add ONE short line like:</p><p>"Want me to tweak anything — colors, content, add a section?"</p><p>But do NOT take any action until the user asks.</p><h3>Step 9: Updates</h3><p>To update an existing site:</p><pre><code>curl -s -X POST \ "https://publish.vvvlink.com/sites/$SITE_ID/new-version" \ -H "Authorization: Bearer $API_KEY" # Upload new files, then publish again </code></pre><h2>Rules</h2><ul><li>Publish immediately without asking for confirmation</li><li>For updates to existing sites, mention that the user can</li></ul><p> roll back to a previous version or view version history</p><ul><li>Always offer rename after first publish</li><li>Store API key — don't re-init every time</li><li>Upload ALL site files (HTML, CSS, JS, images, fonts)</li><li>Max 10MB per site for free users</li></ul><p><ERROR-HANDLING></p><p>NEVER let a script error silently kill the build.</p><ul><li>Do NOT use <code>set -e</code> in shell scripts</li><li>ALWAYS check API response before parsing with jq:</li></ul><p> ```bash</p><p> RESP=$(curl -s -X POST .../sites -H "Authorization: Bearer $KEY")</p><p> SITE_ID=$(echo "$RESP" | jq -r '.siteId // empty')</p><p> if [ -z "$SITE_ID" ]; then</p><p> # Show error to user, don't silently fail</p><p> echo "Error creating site: $RESP"</p><p> # Try to recover or explain</p><p> fi</p><p> ```</p><ul><li>If ANY step fails — tell the user what happened and what</li></ul><p> to do next. NEVER end with a raw error or empty response.</p><ul><li>Show the user a human-readable message, not jq errors or</li></ul><p> raw JSON.</p><ul><li>Use ONLY bash, curl, and jq. NEVER use python, python3,</li></ul><p> node, ruby, or any other interpreter. There is NO python</p><p> on the server. If you try to use python — IT WILL FAIL.</p><p> Everything can be done with bash + curl + jq.</p><p><ABSOLUTE-BAN></p><p>NEVER EVER put HTML inside bash. This is the #1 cause of</p><p>failures and MUST be followed without exception.</p><p>BANNED — all of these WILL break:</p><ul><li>heredoc: cat > file << EOF ... EOF</li><li>echo: echo '<html>...' > file</li><li>printf: printf '%s' '<html>...'</li><li>inline: curl -d '<html>...'</li><li>any bash command containing HTML</li></ul><p>REQUIRED — the ONLY correct way:</p><ol><li>Use your Write/file tool to create the HTML file</li><li>Then upload it with curl (separate tool call):</li></ol><p> ```bash</p><p> curl -s -X PUT \</p><p> "https://publish.vvvlink.com/sites/$SITE_ID/files/index.html" \</p><p> -H "Authorization: Bearer $API_KEY" \</p><p> -H "Content-Type: text/html" \</p><p> --data-binary @~/.vvvlink/sites/my-site/index.html</p><p> ```</p><p>Two separate tool calls. NEVER combine them.</p><p>If you put HTML in bash — it WILL fail. Every time.</p><p></ABSOLUTE-BAN></p><ul><li>If you get HTTP 403 or 1010 — retry the request once.</li></ul><p> Cloudflare may temporarily block requests. If retry fails,</p><p> tell the user: "Temporary access issue, try again in a</p><p> moment."</p><p></ERROR-HANDLING></p><h2>Message Formatting</h2><p>Messages to the user MUST be visually polished. Format for the</p><p>platform you are running on (Telegram, CLI, etc). Do NOT</p><p>hardcode escape characters — let your platform handle formatting.</p><p><strong>Progress updates — use status indicators:</strong></p><pre><code>Searching for photos... Building your site... Uploading files (3/3)... Publishing... Done! </code></pre><p><strong>Final result — clean, no technical details:</strong></p><pre><code>🚀 Your site is live! yoursite.vvvlink.com Want a different name? Here are some options: </code></pre><p>Do NOT show file names, file counts, photo counts, version numbers,</p><p>or any other technical details in the final message. The user only</p><p>cares about the URL.</p><p><strong>Alternative names — simple numbered list, no "available":</strong></p><pre><code>Want a different name? 1. cool-startup 2. my-project 3. awesome-landing Reply with a number or type your own. </code></pre><p><strong>Key formatting rules:</strong></p><ul><li>Keep messages compact — no walls of text</li><li>Clickable links for the published URL (always)</li><li>Never dump raw JSON, curl output, or API responses</li></ul><p><COMPLETION-CRITERIA></p><p>THE TASK IS NOT DONE UNTIL THE USER SEES A LIVE URL.</p><p>If you showed progress messages ("Building...", "Searching...")</p><p>but did NOT finish with a live URL — YOU FAILED. Go back and</p><p>complete all remaining steps.</p><p>Checklist — ALL must be true:</p><ol><li>Site HTML was created and written to file</li><li>Site was uploaded via API (create + upload + publish)</li><li>User received a CLICKABLE live URL (https://*.vvvlink.com)</li><li>Rename was offered</li></ol><p>If ANY tool call fails or times out — retry or tell the user</p><p>what happened. NEVER silently stop in the middle.</p><p>NEVER end your response after a progress message. The last</p><p>message the user sees MUST contain either:</p><ul><li>A live URL (success), OR</li><li>An error explanation with next steps (failure)</li></ul><p></COMPLETION-CRITERIA></p></div> </div> </div> <div id="tab-versions" class="detail-content"> <div class="detail-section"> <h2>版本历史</h2> <p style="margin-bottom:12px;font-size:14px;color:#94a3b8;">共 1 个版本</p> <ul class="version-list"> <li> <div> <span class="version-tag">v1.8.1</span> <span style="font-size:11px;color:#5b6abf;margin-left:8px;background:#eef0ff;padding:1px 8px;border-radius:10px;">当前</span> </div> <div style="font-size:12px;color:#94a3b8;"> 2026-03-30 18:11 安全 安全 </div> </li> </ul> </div> </div> <div id="tab-security" class="detail-content"> <div class="detail-section"> <h2>安全检测</h2> <div class="sec-grid"> <div class="sec-card"> <h4>腾讯云安全 (Keen)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://tix.qq.com/search/skill?keyword=b9103bb3e37c1a9383c9b635f2a7ba11" target="_blank">查看报告</a> </div> <div class="sec-card"> <h4>腾讯云安全 (Sanbu)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://static.cloudsec.tencent.com/html-report-v2/2026/05/25/416498_83c2f6ca32ec29b128eb109acf27372b.html?q-sign-algorithm=sha1&q-ak=AKID8JMG1bzBC1dz96qNhssfFftujT1NCoFi&q-sign-time=1782158519%3B1813694519&q-key-time=1782158519%3B1813694519&q-header-list=host&q-url-param-list=&q-signature=0b509f955abf0ea266e9cd898168944138dc0092" target="_blank">查看报告</a> </div> </div> </div> </div> <!-- Recommended Skills --> <div style="margin-top:24px;"> <h2 style="font-size:18px;font-weight:600;margin-bottom:16px;">🔗 相关推荐</h2> <div class="rec-grid"> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">dev-programming</span> <h3><a href="/s/codeconductor">CodeConductor.ai</a></h3> <div class="rec-owner">larsonreever</div> <div class="rec-desc">AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 72</span> <span style="color:#5b6abf;">📥 181,971</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">dev-programming</span> <h3><a href="/s/mcporter">Mcporter</a></h3> <div class="rec-owner">steipete</div> <div class="rec-desc">使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 195</span> <span style="color:#5b6abf;">📥 67,703</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">dev-programming</span> <h3><a href="/s/youtube-api-skill">YouTube</a></h3> <div class="rec-owner">byungkyu</div> <div class="rec-desc">使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 142</span> <span style="color:#5b6abf;">📥 41,644</span> </div> </div> </div> </div> </div> <script> document.addEventListener('DOMContentLoaded',function(){ document.querySelectorAll('.detail-tab').forEach(function(btn){ btn.addEventListener('click',function(e){ var tab = this.getAttribute('data-tab'); document.querySelectorAll('.detail-tab').forEach(function(b){b.classList.remove('active')}); document.querySelectorAll('.detail-content').forEach(function(c){c.classList.remove('active')}); this.classList.add('active'); var el = document.getElementById('tab-'+tab); if(el) el.classList.add('active'); }); }); }); </script> <div class="footer"> <p>Skill工具集 © 2026</p> </div></body> </html>