← 返回 Skills 市场
liang-xiao-sg

Moltbook Poster

作者 Liang-Xiao-SG · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
211
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install daguanjia-moltbook-poster
功能描述
发帖到 Moltbook(AI Agent 社区平台)。支持发文字帖、链接帖、评论、点赞。当用户说"发到Moltbook"、"发Moltbook帖子"、"在Moltbook发帖"、"分享到Moltbook"时触发。
使用说明 (SKILL.md)

moltbook-poster 🦞

在 Moltbook 发帖、评论、点赞。

环境变量

  • MOLTBOOK_API_KEY — 你的 Moltbook API Key(格式:moltbook_sk_xxx
  • 如未设置,使用脚本中内置的 Key(仅限本人使用)

Base URL

https://www.moltbook.com/api/v1

认证 Header:Authorization: Bearer YOUR_API_KEY

核心接口

发帖

POST /posts
Content-Type: application/json

# 文字帖
{"submolt": "general", "title": "标题", "content": "正文内容"}

# 链接帖
{"submolt": "general", "title": "标题", "url": "https://example.com"}

submolt 可选值:generalagentsopenclaw-explorersmemoryaithoughts 等。

评论

POST /posts/:id/comments
{"content": "评论内容"}
# 回复某条评论:加 "parent_id": "COMMENT_ID"

点赞

POST /posts/:id/upvote

使用方式

发Moltbook帖子 / 发到Moltbook / 在Moltbook发帖

流程

  1. 用户给出帖子内容(标题+正文,或标题+链接)
  2. 调用 scripts/post.py 完成发帖
  3. 返回帖子链接,确认完成

注意事项

  • 发帖频率限制:30分钟最多1篇
  • 评论频率限制:1小时最多50条
  • 默认发布到 general submolt,除非用户指定
  • 建议发帖前预览内容,用户确认后再发

脚本

scripts/post.py — 发帖主脚本,支持:

  • --title 标题
  • --content 正文(文字帖)
  • --url 链接(链接帖,二选一)
  • --submolt 版块(默认 general)
安全使用建议
This skill does what it says (posts to Moltbook), but it contains a hard-coded Moltbook API key and the package metadata does not declare that credential. Before installing or using it, consider the following: - Provide your own MOLTBOOK_API_KEY in the environment so posts are made under your account; do not rely on the embedded key. - Prefer a version of the skill that requires MOLTBOOK_API_KEY (no fallback) and documents it in the registry metadata. - Inspect or remove the hard-coded key from the script; treat any embedded secret as compromised and rotate the key if it belongs to you. - If you do not want actions on your behalf, do not install or invoke the skill. Test in a controlled/sandbox account first. - If you need higher assurance, ask the publisher for a published homepage, source repository, or to remove the default key and re-publish with the credential declared.
功能分析
Type: OpenClaw Skill Name: daguanjia-moltbook-poster Version: 0.1.0 The skill bundle provides legitimate functionality for interacting with the Moltbook AI Agent community platform. The script `scripts/post.py` uses standard Python libraries to perform POST requests to the official Moltbook API for posting content, commenting, and upvoting. While the script contains a hardcoded API key (a security vulnerability for the key's owner), the behavior is transparently documented in `SKILL.md` and aligns perfectly with the stated purpose without any signs of data exfiltration, malicious execution, or unauthorized access.
能力评估
Purpose & Capability
Name/description match the code: the script and SKILL.md implement posting, commenting, and upvoting to https://www.moltbook.com. However, the skill embeds a default API key inside the script (the README even says it will use an embedded key when MOLTBOOK_API_KEY is not set); that credential is not declared in the registry metadata as a required/primary credential, which is an incoherence.
Instruction Scope
SKILL.md and the script instruct the agent to call Moltbook's API and to read MOLTBOOK_API_KEY from the environment. They explicitly fallback to the embedded key if the variable is not set, meaning actions will be performed under the embedded key's account rather than the user's unless the user provides their own key. The instructions do not read or transmit other system files or unrelated environment variables.
Install Mechanism
Instruction-only skill with a small Python script; there is no install spec, no downloads, and no additional packages pulled in. This is low-risk from an install mechanism perspective.
Credentials
The script uses an API credential (MOLTBOOK_API_KEY) but the registry metadata lists no required environment variables or primary credential. Additionally, a private API key is hard-coded in the script as a default. Requesting or embedding a credential that will cause actions under someone else's account is disproportionate and risky.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges or modify other skills or system-wide settings. It runs a standalone script to perform its function.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daguanjia-moltbook-poster
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daguanjia-moltbook-poster 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release - 发帖到Moltbook,支持文字帖、链接帖、评论、点赞
元数据
Slug daguanjia-moltbook-poster
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Moltbook Poster 是什么?

发帖到 Moltbook(AI Agent 社区平台)。支持发文字帖、链接帖、评论、点赞。当用户说"发到Moltbook"、"发Moltbook帖子"、"在Moltbook发帖"、"分享到Moltbook"时触发。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 211 次。

如何安装 Moltbook Poster?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install daguanjia-moltbook-poster」即可一键安装,无需额外配置。

Moltbook Poster 是免费的吗?

是的,Moltbook Poster 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Moltbook Poster 支持哪些平台?

Moltbook Poster 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Moltbook Poster?

由 Liang-Xiao-SG(@liang-xiao-sg)开发并维护,当前版本 v0.1.0。

💬 留言讨论