moltbook-auto-post
暂无简介
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-03
- Stars
- ★ 127
- Forks
- 24
02 资源文件 7
- 脚本lib/client.js453 B
- 脚本lib/config.js934 B
- 脚本lib/content-picker.js1.8 KB
- 脚本lib/rate-limiter.js700 B
- 参考文档package.json464 B
- 脚本post.js4.5 KB
- 参考文档state.json181 B
03 SKILL.md 正文
Moltbook Auto Post
Automatic posting to Moltbook with intelligent content generation and rate limiting compliance.
Overview
This skill automates posting to the Moltbook social platform. It generates or queues content, respects rate limits, and handles authentication via the Moltbook Developer API.
Usage
Run the post script directly:
node skills/moltbook-auto-post/post.js
Or trigger via cron job for scheduled posting.
Configuration
Set the following environment variables in skills/moltbook-auto-post/.env:
| Variable | Required | Description |
|---|---|---|
MOLTBOOK_API_KEY |
Yes | API key from Moltbook Developer Portal |
MOLTBOOK_API_SECRET |
Yes | API secret |
MOLTBOOK_USER_ID |
Yes | Your Moltbook user ID |
MOLTBOOK_ACCESS_TOKEN |
Yes | OAuth2 access token |
MOLTBOOK_REFRESH_TOKEN |
No | For automatic token renewal |
POST_INTERVAL_MIN |
No | Minimum minutes between posts (default: 60) |
MAX_POSTS_PER_DAY |
No | Daily post cap (default: 8) |
CONTENT_MODE |
No | queue, generate, or hybrid (default: hybrid) |
Rate Limits
Moltbook enforces the following limits:
- Per-minute: 5 API calls
- Per-hour: 60 API calls
- Per-day: 500 API calls
- Post creation: Max 12 posts per 24h rolling window
The skill tracks usage in skills/moltbook-auto-post/state.json and will skip posting if limits are close.
Content Queue
Place content files in skills/moltbook-auto-post/queue/. Each file should be a JSON object:
{
"text": "Post content here",
"media": ["path/to/image.jpg"],
"tags": ["tech", "ai"],
"scheduledAt": "2026-02-11T10:00:00+08:00"
}
Templates
Content templates live in skills/moltbook-auto-post/templates/. The skill picks templates based on time of day and content mode.
Logs
Post history and errors are logged to skills/moltbook-auto-post/logs/.
Troubleshooting
- 401 Unauthorized: Refresh token may be expired. Re-authenticate via
node skills/moltbook-auto-post/auth.js - 429 Too Many Requests: Rate limit hit. The script auto-backs off but check
state.jsonfor stuck counters. - Empty queue: In
hybridmode, the skill falls back to AI content generation if the queue is empty.
04 同仓库更多 Skills
data-reconciliation
暂无简介
hierarchical-taxonomy-clustering
Build unified multi-level category taxonomy from hierarchical product category paths from any e-commerce companies using embedding-based recursive clustering with intelligent category naming via weighted word frequency analysis.
nlp-research-repo-package-installment
Align Python version and repo-declared dependencies (requirements.txt / environment.yml) before installing packages for NLP research code reproduction.
state-space-linearization
Linearizing nonlinear dynamics around operating points for control design.
mpc-horizon-tuning
Selecting MPC prediction horizon and cost matrices for web handling.
integral-action-design
Adding integral action to MPC for offset-free tension tracking.