用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/blueif16/2X --skill 2x-post-reddit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Turn your daily activity into authentic social media posts across X, LinkedIn, and Reddit. Use when the user says '2x', '2x now', 'set up 2x', 'post to x/linkedin/reddit', or wants help turning their work into social media content.
Collects activity from configured sources, summarizes each independently, writes a local session index.
Generates a draft for ONE platform. Called once per platform by the orchestrator. Writes to local file — sync daemon handles cloud.
正在显示 SKILL.md
基于 SOC 职业分类
| name | 2x-post-reddit |
| description | Posts or replies on Reddit via browser automation. Reads local draft, posts, calls publish-draft. |
| user-invocable | false |
Post or reply on Reddit via browser. Two modes: reply to thread (primary) or new post.
cat ~/.openclaw/workspace/2x-sessions/{session_number}/drafts/reddit.md
If file doesn't exist, stop: "No Reddit draft found."
thread_url provided → reply modesubreddit provided → new post modebrowser open "{thread_url}"browser snapshot --interactivebrowser snapshot --interactivebrowser type <ref> "{content}"browser snapshot --interactive → verify text visiblebrowser click <ref>browser snapshot → verify comment appearedFind your comment in the page. Reddit comment URLs: {thread_url}/comment/{comment_id}/
browser open "https://www.reddit.com/r/{subreddit}/submit"browser snapshot --interactivebrowser type <ref> "{title}"
browser type <ref> "{body}"browser snapshot --interactive → verifySESSION_UUID=$(cat ~/.openclaw/workspace/2x-sessions/{session_number}/.supabase_session_id)
node ~/.openclaw/workspace/skills/2x/db/client.js publish-draft \
--session "$SESSION_UUID" \
--platform reddit \
--platform-post-id "{extracted_id}" \
--posted-url "{extracted_url}"
Local log:
echo '{"platform":"reddit","post_id":"{id}","url":"{url}","subreddit":"{subreddit}","posted_at":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","session":{session_number}}' \
>> ~/.openclaw/workspace/2x-posted.jsonl
✅ Posted to Reddit (r/{subreddit}): {url}
Or: ❌ Reddit posting failed: {reason}