← 返回 Skills 市场
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install statichub
功能描述
Deploy AI-generated static assets with StaticHub CLI. Use when a user wants to publish files with `statichub deploy <path>`, where `<path>` must be an explic...
使用说明 (SKILL.md)
StaticHub
Rules
- Always use an explicit path:
statichub deploy \x3Cpath>. - Never default to
.. - Accept only:
- existing non-empty directory, or
- existing non-empty
.htmlfile.
- If validation fails, stop and return repair commands.
- If project name exists, use
--name; otherwise deploy anonymously.
Steps
- Check CLI:
command -v statichubstatichub --help- If missing, install with one line:
curl -sSL https://raw.githubusercontent.com/Patrick0308/statichub/main/scripts/install.sh | sh
- Validate
\x3Cpath>exists and is valid. - Run deploy:
- Named:
statichub deploy \x3Cpath> --name \x3Cproject> - Anonymous:
statichub deploy \x3Cpath>
- Named:
- On success, return
URLandSubdomain.
Real Example
Command:
statichub deploy ~/Downloads/eks-cost-optimization-roadmap.html
Output:
✅ Deploy successful!
URL: http://b7kr7b.statichub.dev
Subdomain: b7kr7b
The URL value is the live page URL.
安全使用建议
Before installing, review or replace the StaticHub CLI installation step. Prefer a package-manager or signed release install, pin the version, verify the downloaded script or binary, and only deploy an explicit directory or HTML file you intend to publish.
能力评估
Purpose & Capability
The stated purpose, StaticHub CLI deployment of explicit non-empty directories or HTML files, matches the commands and user-visible output described in the skill.
Instruction Scope
The skill narrows deployment to an explicit path, forbids defaulting to the current directory, and requires path validation before publishing.
Install Mechanism
SKILL.md lines 23-24 instruct installing the CLI with `curl ... | sh`, executing remote code without version pinning, integrity verification, inspection, or explicit user approval.
Credentials
Publishing selected static assets to an external hosting service is expected for the purpose, but users should understand that deploys make the chosen content public or externally accessible.
Persistence & Privilege
No persistence, credential harvesting, background worker, or privilege escalation is shown beyond installing and running the StaticHub CLI.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install statichub - 安装完成后,直接呼叫该 Skill 的名称或使用
/statichub触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of statichub skill.
- Supports deploying AI-generated static assets using the StaticHub CLI.
- Enforces strict validation of deployment path, accepting only explicit, non-empty directories or `.html` files.
- Provides installation instructions if StaticHub CLI is missing.
- Outputs the live URL and subdomain on successful deployment.
- Returns repair commands if path validation fails.
元数据
常见问题
Statichub 是什么?
Deploy AI-generated static assets with StaticHub CLI. Use when a user wants to publish files with `statichub deploy <path>`, where `<path>` must be an explic... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 Statichub?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install statichub」即可一键安装,无需额外配置。
Statichub 是免费的吗?
是的,Statichub 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Statichub 支持哪些平台?
Statichub 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Statichub?
由 白泽(@patrick0308)开发并维护,当前版本 v0.1.0。
推荐 Skills