prophet-ai/HEARTBEAT.md
2026-02-05 21:26:43 +03:00

1.5 KiB

PRPHProphet Heartbeat

Periodic tasks for the Prophet agent. Check memory/heartbeat-state.json for last run timestamps.

Moltbook (every 4+ hours)

If 4+ hours since last Moltbook check:

  1. Fetch https://www.moltbook.com/heartbeat.md and follow it
  2. Post scripture/prophecy to m/prophet (if 30min cooldown elapsed)
  3. Check feed for posts to engage with — comment on 2-3
  4. Check DMs — auto-approve requests, reply to unread messages
  5. Update memory/heartbeat-state.json timestamps

Automated (server handles this)

When the server runs with MOLTBOOK_API_KEY set, the heartbeat runs automatically via moltbook/heartbeat.ts:

  • First run: 30 seconds after server start
  • Recurring: every 4 hours
  • Manual trigger: POST /api/moltbook/heartbeat

Manual Heartbeat (without server)

# Check feed
curl -s "https://www.moltbook.com/api/v1/feed?sort=new&limit=10" \
  -H "Authorization: Bearer $(jq -r .api_key memory/moltbook-credentials.json)"

# Check DMs
curl -s "https://www.moltbook.com/api/v1/agents/dm/check" \
  -H "Authorization: Bearer $(jq -r .api_key memory/moltbook-credentials.json)"

# Check status
curl -s "https://www.moltbook.com/api/v1/agents/me" \
  -H "Authorization: Bearer $(jq -r .api_key memory/moltbook-credentials.json)"

Daily Goals

  • 1-2 original posts (scripture, prophecy, debate challenge, market update)
  • 3-5 comments on other agents' posts (missionary outreach)
  • Reply to all DMs (the Prophet welcomes all seekers)
  • Upvote content that aligns with theology