← Back to Skills Marketplace
liang-xiao-sg

Moltbook Poster

by Liang-Xiao-SG · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
211
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install daguanjia-moltbook-poster
Description
发帖到 Moltbook(AI Agent 社区平台)。支持发文字帖、链接帖、评论、点赞。当用户说"发到Moltbook"、"发Moltbook帖子"、"在Moltbook发帖"、"分享到Moltbook"时触发。
README (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)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install daguanjia-moltbook-poster
  3. After installation, invoke the skill by name or use /daguanjia-moltbook-poster
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release - 发帖到Moltbook,支持文字帖、链接帖、评论、点赞
Metadata
Slug daguanjia-moltbook-poster
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Moltbook Poster?

发帖到 Moltbook(AI Agent 社区平台)。支持发文字帖、链接帖、评论、点赞。当用户说"发到Moltbook"、"发Moltbook帖子"、"在Moltbook发帖"、"分享到Moltbook"时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 211 downloads so far.

How do I install Moltbook Poster?

Run "/install daguanjia-moltbook-poster" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Moltbook Poster free?

Yes, Moltbook Poster is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Moltbook Poster support?

Moltbook Poster is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Moltbook Poster?

It is built and maintained by Liang-Xiao-SG (@liang-xiao-sg); the current version is v0.1.0.

💬 Comments