微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🛠️

AI建站内容一键托管管家

nicebox-site-manager · v1.0.1
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
办公 安全 B 级 作者 ravchen 公开目录收录
794 下载 0 安装 1.7k 收藏 5 浏览

简介

基于NiceBox官方OpenClaw API的站点管理工具,支持文章发布、消息查看与状态监控,为AI建站用户提供便捷的自动化运营能力。

原始描述

Manage AI-built websites via NiceBox OpenClaw API. Supports article publishing, viewing messages, and checking site status.

通过你的 Agent 添加

安装目录:nicebox-site-manager/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/nicebox-site-manager/
Codex CLI~/.codex/skills/nicebox-site-manager/
DeepSeek Harness~/.agents/skills/nicebox-site-manager/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

NiceBox Site Manager 是一款面向 AI 建站场景的技能,通过调用 NiceBox OpenClaw API 实现网站后台管理功能。该技能提供三大核心能力:文章发布、消息管理和站点状态监控。

文章发布功能支持完整的 CMS 操作,用户可指定标题、HTML 内容、摘要、作者、封面图及发布状态(草稿/已发布)。消息查看功能支持分页查询与已读状态筛选,便于处理用户留言、询盘或线索。站点状态检测则提供一键式的健康检查能力。

使用方式上,用户需配置 AIBOX_API_KEY 环境变量完成认证,随后通过 Python 脚本调用对应功能模块。所有接口返回格式化 JSON 结果,便于 Agent 解析和后续自动化处理。

显著优点

  1. 官方 API 支持:直接对接 NiceBox 平台原生接口,数据一致性和稳定性有保障
  2. 场景聚焦:精准覆盖 AI 建站后的日常运营刚需——内容更新、用户互动、状态监控
  3. 轻量易用:基于 Python3 环境,无需复杂依赖,脚本化调用适合自动化工作流
  4. 输出友好:统一的 JSON 格式返回,降低 Agent 理解和处理成本

潜在缺点与局限性

  1. 平台绑定性强:仅支持 NiceBox 生态,无法通用于其他建站平台
  2. 功能边界有限:目前仅覆盖基础 CMS 操作,缺乏主题管理、SEO 设置、数据分析等进阶功能
  3. 认证方式单一:仅支持 API Key 明文传输,缺乏 OAuth 2.0 等更安全的认证机制
  4. 可配置性一般:端点路径需手动修改源码常量,不支持动态配置或环境变量覆盖全部参数
  5. 无沙箱环境:未提供测试模式,操作直接作用于生产站点

适合的目标群体

  • 使用 NiceBox AI 建站服务的站长与运营人员
  • 需要自动化内容发布流程的内容创作者和营销团队
  • 构建网站运营 Agent 的开发者,需集成标准化的站点管理接口
  • 中小企业数字化运营场景,追求低代码/无代码建站后的自动化增效

常规风险提示

  1. API 密钥安全:AIBOX_API_KEY 以明文形式存储于环境变量和请求头中,存在泄露风险,建议配合密钥管理服务使用
  2. 操作不可逆性:文章直接发布至生产环境,无审核或回滚机制,误操作可能导致内容错误公开
  3. 依赖平台稳定性:功能完全依赖 NiceBox 服务端可用性,存在第三方服务中断风险
  4. 网络与性能:API 调用受网络延迟影响,批量操作时建议控制并发和重试策略
  5. 版本兼容性:API 路径和字段名硬编码于脚本中,平台接口变更可能导致技能失效

技能正文


name: nicebox-site-manager description: Manage AI-built websites via NiceBox OpenClaw API. Supports article publishing, viewing messages, and checking site status. metadata: {"clawdbot":{"emoji":"🛠️","requires":{"bins":["python3"],"env":["AIBOX_API_KEY"]},"primaryEnv":"AIBOX_API_KEY"}}

NiceBox Site Manager

Manage AI-built websites through the NiceBox OpenClaw API.

Base URL:

https://ai.nicebox.cn/api/openclaw

Authentication:

Authorization: $AIBOX_API_KEY

This skill provides 3 main capabilities:

  • Publish article
  • View messages
  • Check site status

Publish article

Publish an article to your site.

python3 {baseDir}/scripts/publish_article.py \
  --title "Hello World" \
  --content "<p>This is article content</p>" \
  --summary "Optional summary" \
  --author "NiceBox AI" \
  --cover "https://example.com/cover.jpg" \
  --status publish

Options:

  • --title: Article title (required)
  • --content: Article content, usually HTML (required)
  • --summary: Article summary (optional)
  • --author: Author name (optional)
  • --cover: Cover image URL (optional)
  • --status: draft or publish (default: publish)

View messages

List messages, inquiries, or leads from your site.

python3 {baseDir}/scripts/list_messages.py
python3 {baseDir}/scripts/list_messages.py --page 1 --page-size 20
python3 {baseDir}/scripts/list_messages.py --is-read 0

Options:

  • --page: Page number (default: 1)
  • --page-size: Number of items per page (default: 20)
  • --is-read: Filter by read status, 0 unread / 1 read (optional)

Check site status

Check the current status of your site.

python3 {baseDir}/scripts/site_status.py

No additional options required.

Environment

Set your API key before using this skill:

export AIBOX_API_KEY="your_api_key"

Optional override for base URL:

export AIBOX_BASE_URL="https://ai.nicebox.cn/api/openclaw"

Default endpoint assumptions

This skill assumes the following API paths:

  • POST /article/publish
  • GET /message/getlist
  • GET /site/status

If your actual backend uses different paths, update the ENDPOINT_* constants in the Python scripts.

Notes

  • All requests use the HTTP Authorization header.

  • The API key is sent as plain header value:

    • Authorization: YOUR_KEY
  • Output is printed as formatted JSON for easier debugging and agent use.

  • If your API field names differ, update the payload fields in the scripts.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

apicontent-mediaautomationbackendproductivity

同类 Skill