discord-post-news
Installation
SKILL.md
HONEST CLASSIFICATION: This is a prompt template, not an executable plugin. OpenClaw injects this as context to guide LLM behavior. It does NOT enforce rules at runtime. Real enforcement requires the shell scripts in
OpenClawData/scripts/.
Discord Post News Skill
Trigger: /discord-post-news
When this skill runs, it should post the current AI‑industry brief (the same short 6‑line version you receive on WhatsApp) to the Discord webhook you supplied.
Steps the model should follow
- Locate the latest newsletter file in
memory/approval/whose name matches the patternai-news-*-newsletter.md. (The most recent file is the one with the latest date prefix.) - Read that file and extract its first 6‑line summary (the concise bullet list). If the file already contains a short “📰 AI‑Industry Brief” block, use that whole block as the message.
- POST the extracted text to the webhook using
curl:
Replacecurl -X POST -H "Content-Type: application/json" \ -d "{\"content\":\"<MESSAGE_TEXT>\"}" \ WEBHOOK_URL_IN_KEYCHAIN<MESSAGE_TEXT>with the text you extracted in step 2 (properly escaped for JSON).