Add Moltbook posting integration

- Add moltbook_post.py script for posting to Moltbook
- Add MOLTBOOK_POST.md documentation
- Update SKILL.md with Moltbook section
- Update README.md with Moltbook integration
- Support posting from files or direct text
- Handle rate limits gracefully
This commit is contained in:
2026-02-12 18:47:26 +00:00
parent 95e1b37927
commit 23036bfc8a
4 changed files with 339 additions and 1 deletions

View File

@@ -260,7 +260,42 @@ openclaw cron update <job-id> --schedule "{\"expr\":\"0 4 * * *\"}"
**State tracking:** `~/.openclaw/workspace/memory/rag-auto-state.json`
**Log file:** `~/.openclaw/workspace/memory/rag-auto-update.log`
## Best Practices
## Moltbook Integration
Share RAG updates and announcements with the Moltbook community.
### Quick Post
```bash
# Post from draft
python3 scripts/moltbook_post.py --file drafts/moltbook-post-rag-release.md
# Post directly
python3 scripts/moltbook_post.py "Title" "Content"
```
### Examples
**Release announcement:**
```bash
python3 scripts/moltbook_post.py --file drafts/moltbook-post-rag-release.md --submolt general
```
**Quick update:**
```bash
python3 scripts/moltbook_post.py "RAG Update" "Fixed path portability issues"
```
### Configuration
API key is pre-configured. Full documentation: `scripts/MOLTBOOK_POST.md`
### Rate Limits
- Posts: 1 per 30 minutes
- Comments: 1 per 20 seconds
### Best Practices
### Automatic Update Enabled