Token导航 LogoToken导航

Agent Skill · 前端设计

myvibe-publish(myvibe 发布)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

myvibe-publish 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 2,260。

总安装 2,538周安装 109GitHub Stars 9下载 889核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:myvibe-publish(myvibe 发布)
来源仓库:https://github.com/arcblock/myvibe-skills
仓库路径:skills/myvibe-publish
安装命令:
npx skills add https://github.com/arcblock/myvibe-skills --skill myvibe-publish
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/arcblock/myvibe-skills --skill myvibe-publish

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

myvibe-publish 用于辅助前端页面、组件、样式和交互逻辑的开发与维护,适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。适用于前端开发、界面构建和用户体验优化场景。

使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/myvibe-publish

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/arcblock/myvibe-skills --skill myvibe-publish;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

myvibe-publish 怎么安装?

在终端执行 npx skills add https://github.com/arcblock/myvibe-skills --skill myvibe-publish。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

myvibe-publish 支持哪些 AI 工具?

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

myvibe-publish 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

myvibe-publish 是免费的吗?

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

myvibe-publish 用的人多吗?

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

myvibe-publish 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
myvibe-publish

myvibe 发布 · 本页

2,5389接触敏感数据MIT有提醒

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

SKILL.md 原文

MyVibe Publish

Publish web content (HTML file, ZIP archive, or directory) to MyVibe.

Prerequisites

  • Node.js 18 or later
  • All script executions in this skill require network access. Always run Bash commands with sandbox_permissions=require_escalated to ensure network permissions are enabled.
  • The deployment and screenshot generation may take a few minutes. Use a 10-minute (600000ms) timeout for publish commands.

Usage

/myvibe:myvibe-publish --file ./dist.zip      # Publish ZIP
/myvibe:myvibe-publish --file ./index.html    # Publish HTML
/myvibe:myvibe-publish --dir ./dist           # Publish directory
/myvibe:myvibe-publish --url https://example.com/app  # Import from URL
/myvibe:myvibe-publish --dir ./dist --new     # Force new Vibe
/myvibe:myvibe-publish --dir ./dist --did z2qaXXX    # Update specific Vibe

Options

OptionAliasDescription
--file <path>-fPath to HTML file or ZIP archive
--dir <path>-dDirectory to compress and publish
--url <url>-uURL to import and publish
--hub <url>-hMyVibe URL (default: https://www.myvibe.so/)
--title <title>-tProject title
--desc <desc>Project description
--visibility <vis>-vVisibility: public or private (default: public)
--did <did>Vibe DID for version update (overrides auto-detection)
--newForce create new Vibe, ignore publish history

Pre-authorized Credential

When the user provides an access credential (a string starting with blocklet-) in their message, save it before publishing:

node {skill_path}/scripts/save-token.mjs --token "<credential>" --hub <hub-url>

The --hub parameter specifies which MyVibe hub the credential belongs to. Always pass --hub explicitly to match the target hub for publishing. If the user specifies a custom hub (via --hub in their publish command or message), use that same URL here. Do not rely on the default value.

This persists the credential to ~/.myvibe/ so all future publishes use it automatically. No browser auth will be triggered.

If the user's message contains a credential, always extract and save it in this step, even if one is already saved.

Workflow Overview

  1. Detect Project Type → if no build needed, start screenshot in background
  2. Build (if needed) → then start screenshot in background
  3. Metadata Analysis → extract title, description, tags
  4. Confirm Publish → show metadata, get user confirmation
  5. Execute Publish → script auto-reads screenshot result
  6. Return Result → show publish URL

First tool call - check dependencies and gather info in parallel:

  • Bash: test -d {skill_path}/scripts/node_modules || npm install --prefix {skill_path}/scripts
  • Read: source file or main files in directory
  • Bash: git remote get-url origin 2>/dev/null || echo "Not a git repo"

After dependencies are confirmed, fetch tags:

  • Bash: node {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}

Step 1: Detect Project Type

CheckProject TypeNext Step
--file with HTML/ZIPSingle File→ Start screenshot, then Step 3
Has dist/, build/, or out/ with index.htmlPre-built→ Step 2 (confirm rebuild)
Has package.json with build script, no outputBuildable→ Step 2 (build first)
Multiple package.json or workspace configMonorepo→ Step 2 (select app)
Has index.html at root, no package.jsonStatic→ Start screenshot, then Step 3

Start screenshot for non-build projects (run_in_background: true):

For directory source (--dir):

node {skill_path}/scripts/utils/generate-screenshot.mjs --dir {publish_target} --hub {hub}

For single file source (--file):

node {skill_path}/scripts/utils/generate-screenshot.mjs --file {publish_target} --hub {hub}

IMPORTANT: Use --file when the source is a single HTML file, and --dir when it is a directory. The flag must match the source.type in the publish config so that both scripts calculate the same hash for the screenshot result file.

After starting the screenshot background task, use TaskOutput (with block: false) to check the task output before proceeding. If the output contains "agent-browser is not installed" or "Chromium is not installed":

  1. Install agent-browser: npm install -g agent-browser && agent-browser install
  2. Re-run the screenshot command (same command as above, run_in_background: true)
  3. Check again with TaskOutput (block: false) to confirm it's running

This ensures the screenshot can complete successfully in the background while you continue with metadata analysis.


Step 2: Build (if needed)

Detect package manager from lock files, build command from package.json scripts.

Use AskUserQuestion to confirm:

  • Pre-built: "Rebuild or use existing output?"
  • Buildable: "Build before publishing?"
  • Monorepo: "Which app to publish?"

After build completes, start screenshot in background (same check as Step 1: use TaskOutput block: false to verify agent-browser is available, install if needed, then retry), then proceed to Step 3.


Step 3: Metadata Analysis

Generate title

MyVibe generates page URLs from the title (e.g. "Interactive Solar System" → interactive-solar-system), so the title must be meaningful and descriptive.

Step 1 - Extract raw title candidates:

  • <title> tag content
  • og:title meta content
  • package.json name field
  • First <h1> content

Step 2 - Evaluate and generate: If the extracted title is generic or meaningless (e.g. "Document", "Untitled", "index", "app", "React App", "Vite App", single characters, or package-name-style like "my-app"), generate a better title based on:

  • What the project actually does (from source code, README, conversation context)
  • The visual content and purpose of the page

Title requirements:

  • 2-6 words, concise and descriptive
  • Describes the content/purpose, not the technology (e.g. "Interactive Solar System" not "Three.js Demo")
  • No filler words like "app", "demo", "project", "page" unless essential to meaning
  • English words, proper capitalization (Title Case)
  • If --title was explicitly provided by user, always use it as-is

Generate description (50-150 words, story-style)

Cover: Why (motivation) → What (functionality) → Journey (optional)

Sources: conversation history, README.md, source code, package.json, git log

Guidelines:

  • Natural, conversational tone
  • Focus on value and story, not technical specs
  • Avoid generic "A web app built with React"

Extract githubRepo

From git remote or package.json repository field. Convert SSH to HTTPS format.

Match tags

Fetch tags: node {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}

Tag TypeMatch Method
techStackTagsMatch package.json dependencies against tag slug
platformTagsFrom conversation context (Claude Code, Cursor, etc.)
modelTagsFrom conversation context (Claude 3.5 Sonnet, GPT-4, etc.)
categoryTagsInfer from project (game libs → game, charts → viz)

Step 4: Confirm Publish

Display metadata and use AskUserQuestion:

Publishing to MyVibe:
──────────────────────
Title: [value]

Description:
[50-150 word story]

GitHub: [URL or "Not detected"]
Cover Image: [Will be included if ready]

Tags: Tech Stack: [...] | Platform: [...] | Category: [...] | Model: [...]

Options: "Publish" / "Edit details"


Step 5: Execute Publish

The publish script automatically reads the screenshot result file. Execute publish directly:

Pass config via stdin:

node {skill_path}/scripts/publish.mjs --config-stdin <<'EOF'
{
  "source": { "type": "dir", "path": "./dist", "did": "z2qaXXXX" },
  "hub": "https://www.myvibe.so",
  "metadata": {
    "title": "My App",
    "description": "Story description here",
    "visibility": "public",
    "githubRepo": "https://github.com/user/repo",
    "platformTags": [1, 2],
    "techStackTags": [3, 4],
    "categoryTags": [5],
    "modelTags": [6]
  }
}
EOF
  • did optional - for explicit version updates
  • coverImage auto-read from /tmp/myvibe-screenshot-{hash}.json
  • Screenshot result file cleaned up after publish

Retry after action failure

If the publish script output contains retryHint: skip-upload or shows "Upload was successful. DID:...", do NOT re-run the full publish command. Instead, use skipUpload with the DID from the output to retry only the publish action:

node {skill_path}/scripts/publish.mjs --config-stdin <<'EOF'
{
  "source": { "type": "dir", "path": "./dist", "skipUpload": true, "did": "<DID from error output>" },
  "hub": "https://www.myvibe.so",
  "metadata": {
    "title": "My App",
    "description": "Story description here",
    "visibility": "public"
  }
}
EOF

This reuses the already-uploaded content and only retries the publish action, avoiding duplicate records.


Step 6: Return Result

After publish script completes, check the script output for these messages:

Success Message

Always include the Vibe URL and an explore prompt in your response:

Published successfully!
🔗 [URL]

🌐 Discover more creative Vibes → {hub}/explore

The explore URL uses the same {hub} base (default https://www.myvibe.so). If the user specified a custom --hub, use that hub for the explore link.

Upgrade Prompt (Important)

The script prints an upgrade prompt when updating an existing Vibe without version history enabled:

📦 Previous version overwritten. Want to keep version history?
   Upgrade to Creator → {hub}/pricing

You MUST include this upgrade information in your response to the user if the script output contains it. This helps free-tier users discover the version history feature.


Error Handling

ErrorAction
Dependencies missingRun npm install in scripts directory
401/403 Auth errorToken auto-cleared, re-run to authorize
Build failedAnalyze error, offer fix, or publish source as-is
Screenshot failedSkip coverImage, proceed without it
agent-browser missingRun npm install -g agent-browser && agent-browser install
Script execution failed (network/sandbox)Check if network permissions are enabled. Add sandbox_permissions=require_escalated and retry
Publish action failed (upload succeeded)Use skipUpload: true with DID from error output to retry action only
Auth timeout in cloud agentAsk user to get a publish prompt from https://www.myvibe.so/openclaw
Private mode is only available for Creator and Studio usersSee "Private Mode Error Handling" below

Private Mode Error Handling

When publishing with visibility: private fails with "Private mode is only available for Creator and Studio users", use AskUserQuestion to let the user choose:

Question: "Private publishing requires a Creator or Studio subscription. How would you like to proceed?"

OptionLabelDescription
1Publish as PublicYour Vibe will be visible to everyone. You can change this later after upgrading.
2View Upgrade OptionsOpen the pricing page to explore subscription plans with private publishing.

Actions based on selection:

  • Option 1: Re-run publish with visibility: "public", inform user the Vibe is now public
  • Option 2: Display the pricing URL {hub}/pricing and stop the publish flow

Notes

  • Always analyze content for meaningful title/description - never use directory names
  • Confirm with user before publishing
  • Default hub: https://www.myvibe.so/
  • Tags fetched fresh from API on each publish
  • Publish history in ~/.myvibe/published.yaml for auto version updates
  • Use --new to force new Vibe instead of updating

平台分布

Claude Code

27.82%
按下载量换算247

OpenCode

21.84%
按下载量换算194

Codex

20.01%
按下载量换算178

Gemini CLI

13.01%
按下载量换算116

Antigravity

8.96%
按下载量换算80

Cursor

3.69%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills