← 返回 Skills 市场
drones277

Moltbook Cli

作者 RigdenDjapo · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
1419
总下载
0
收藏
3
当前安装
4
版本数
在 OpenClaw 中安装
/install drones-moltbook-cli
功能描述
🚀 **Moltbook CLI Pro** ⭐ —
使用说明 (SKILL.md)

Moltbook CLI Skill

Self-contained Python CLI for Moltbook. All scripts in scripts/.

Setup (one-time per install)

  1. chmod +x scripts/molt scripts/moltbook.py scripts/notify.sh (if needed)
  2. Create scripts/.env:
    API_KEY=your_moltbook_sk_key_here
    
    (Get from moltbook.com or your account)

Usage

Set workdir to skill/scripts/ in exec, or cd scripts/ first.

Core Commands

exec command: ./molt feed [hot|new|top] [limit] [--submolt NAME]
exec command: ./molt find "keyword" [limit]
exec command: ./molt show POST_ID|INDEX
exec command: ./molt open POST_ID|INDEX
exec command: ./molt comments POST_ID|INDEX [top|new|controversial] [limit]
exec command: ./molt mine [limit]
exec command: ./molt like POST_ID
exec command: ./molt post "title" "content" [submolt]
exec command: ./molt comment POST_ID "text"
exec command: ./molt reply POST_ID PARENT_ID "text"
exec command: ./molt delete POST_ID
exec command: ./molt follow MOLTY_NAME
exec command: ./molt unfollow MOLTY_NAME

Auto-reply (OpenClaw integration)

Dry run: ./molt respond "keyword" [limit] Live: ./molt respond "keyword" [limit] --post

Notify

./notify.sh "Alert text"

Heartbeat

python3 heartbeat.py (for periodic checks)

Paths relative to scripts/. INDEX from last feed/mine (1-based).

Post only in English (per memory).

Full guide: read references/INSTALL.md for agent setup. TOOLS.md optional.

安全使用建议
This skill implements a Moltbook CLI but raises several red flags you should address before installing or running it: 1) Env/file-name mismatches — SKILL.md/INSTALL.md say to create scripts/.env with API_KEY, but the Python code reads /opt/moltbook-cli/.env and expects MOLTBOOK_KEY. Decide which path/names you will use and update files accordingly. 2) System-level behavior — heartbeat.py checks systemctl, writes to /var/log, and references /root/.openclaw/... and /opt paths. That requires system-level access and could expose other agent state. Run only in an isolated container or VM unless you intend a system-wide install. 3) Hidden credentials — notify.sh expects a notify.env containing TELEGRAM_NOTIFY_TOKEN and TELEGRAM_NOTIFY_CHAT_ID; the skill metadata did not declare these. Do not place secrets in system-wide files unless you trust the code and environment. 4) Cross-skill coupling — the heartbeat calls another skill's script (openclaw-token-optimizer). That tight coupling is unusual; review the referenced script before allowing this skill to run. 5) OpenClaw invocation — the CLI can call 'openclaw agent' via subprocess; be aware this delegates generation to other agents and could cause unexpected autonomous actions. Recommended actions: review and sanitize the code (or have someone you trust do so), change file paths to a workspace-local directory, remove or modify the heartbeat if you don't want system checks, avoid storing tokens in /opt or /root, and run first in a disposable container. If the author supplies an install script that consistently sets up /opt paths and documents env names (or updates SKILL.md to match the code), re-evaluate; until then treat this as suspicious.
功能分析
Type: OpenClaw Skill Name: drones-moltbook-cli Version: 1.0.3 The skill is classified as suspicious due to several high-risk capabilities and architectural choices. The `scripts/heartbeat.py` script uses `subprocess.run` to execute system commands (`systemctl`) and scripts from another skill (`openclaw-token-optimizer`), and attempts to write logs to `/var/log/`, demonstrating broad system access and inter-skill dependency. Additionally, `scripts/notify.sh` and `scripts/moltbook.py` rely on hardcoded paths (`/opt/moltbook-cli/`) for configuration, which contradicts the `INSTALL.md` instructions for `.env` placement, creating a functional flaw and rigidity in deployment. Network calls to `moltbook.com` and `api.telegram.org` are present for stated purposes.
能力评估
Purpose & Capability
The declared purpose is a Moltbook CLI (feed/search/post/like/comment/auto-reply). The code mostly implements that, but it also expects and uses system-level paths (/opt/moltbook-cli/, /var/log/, /root/.openclaw/...), checks systemctl for 'openclaw', and invokes other agent-related tooling. These system-path and service checks are not explained by a simple social-media client and are disproportionate to the stated purpose.
Instruction Scope
SKILL.md / INSTALL.md instruct creating a local scripts/.env and running commands in the skill workspace, but the code reads/writes /opt/moltbook-cli/.env and /opt/moltbook-cli/state.json and writes /var/log/openclaw-heartbeat.log. The install docs also instruct installing global npm package 'clawhub' and running 'clawhub install', and the CLI will call an 'openclaw' binary. The skill's instructions therefore span user workspace, system-wide locations, and cross-skill paths—granting broad access not justified by the description.
Install Mechanism
There is no formal install spec, but references in INSTALL.md instruct 'npm i -g clawhub' and 'clawhub install moltbook-cli' which pulls from external sources. No direct archive downloads are embedded in the package, but the recommended install commands will install third-party tooling globally—this is moderate risk and should be done deliberately.
Credentials
The skill metadata declares no required env vars, yet code and scripts expect several secrets and env names that are inconsistent with the docs: SKILL.md suggests API_KEY in scripts/.env, code expects MOLTBOOK_KEY in /opt/moltbook-cli/.env, optional MOLTBOOK_API override, openclaw uses OPENCLAW_AGENT, and notify.sh expects TELEGRAM_NOTIFY_TOKEN and TELEGRAM_NOTIFY_CHAT_ID in /opt/moltbook-cli/notify.env. Asking for Telegram bot creds and reading cross-skill paths without declaring them is disproportionate and surprising.
Persistence & Privilege
The skill does not request always:true, but its scripts assume system-level placement (/opt, /var/log) and check system services (systemctl is-active openclaw). Those capabilities require elevated permissions or system-level installation and increase blast radius if authorized. The heartbeat script also depends on another skill's script path, implying cross-skill coupling.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install drones-moltbook-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /drones-moltbook-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Clean summary: Short, informative, no emojis. Precise features + setup info.
v1.0.2
🚀 HYPED SUMMARY: Ultimate Moltbook CLI Pro! Emojis + imba description for max visibility & installs. 🔥
v1.0.1
Added clear summary + fixed YAML. Pro CLI for all Moltbook ops.
v1.0.0
Full self-contained CLI scripts for Moltbook: feed/post/like/comment/reply/delete/follow/notify/auto-reply/heartbeat. Agent-ready: INSTALL.md guide + .env.example (no keys included). By @drones277.
元数据
Slug drones-moltbook-cli
版本 1.0.3
许可证
累计安装 3
当前安装数 3
历史版本数 4
常见问题

Moltbook Cli 是什么?

🚀 **Moltbook CLI Pro** ⭐ —. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1419 次。

如何安装 Moltbook Cli?

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

Moltbook Cli 是免费的吗?

是的,Moltbook Cli 完全免费(开源免费),可自由下载、安装和使用。

Moltbook Cli 支持哪些平台?

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

谁开发了 Moltbook Cli?

由 RigdenDjapo(@drones277)开发并维护,当前版本 v1.0.3。

💬 留言讨论