ワンクリックで
2x-post-x
Posts content to X/Twitter via browser automation. Reads local draft, posts, calls publish-draft.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Posts content to X/Twitter via browser automation. Reads local draft, posts, calls publish-draft.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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.
Posts content to LinkedIn via browser automation. Reads local draft, posts, calls publish-draft.
Posts or replies on Reddit via browser automation. Reads local draft, posts, calls publish-draft.
Onboarding wizard for the 2X skill. Configures platforms, data sources, browser logins, and cron schedule.
| name | 2x-post-x |
| description | Posts content to X/Twitter via browser automation. Reads local draft, posts, calls publish-draft. |
| user-invocable | false |
Post a draft to X/Twitter via browser. Read local file, post, record via client.
cat ~/.openclaw/workspace/2x-sessions/{session_number}/drafts/x.md
This file is always fresh — sync daemon pulls any web UI edits. If file doesn't exist, stop and tell orchestrator "No X draft found."
If content contains [1/ markers → thread mode, split into parts.
If ≤ 280 chars with no markers → single tweet.
browser open "https://x.com/compose/post"browser snapshot --interactivebrowser type <ref> "{content}"browser snapshot --interactivebrowser click <ref>browser snapshot → verify compose closedbrowser snapshot --interactiveAfter posting, the URL should redirect to the posted tweet:
https://x.com/{username}/status/{post_id}{post_id} as the platform_post_idIf URL not in redirect, try navigating to profile to grab latest tweet URL.
SESSION_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 x \
--platform-post-id "{extracted_post_id}" \
--posted-url "{extracted_url}"
Also append to local log:
echo '{"platform":"x","post_id":"{post_id}","url":"{url}","posted_at":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","session":{session_number}}' \
>> ~/.openclaw/workspace/2x-posted.jsonl
✅ Posted to X: {url}
Or: ❌ X posting failed: {reason}
grep '"platform":"x"' ~/.openclaw/workspace/2x-posted.jsonl | tail -3