post-to-x

仓库创建 2026年3月18日最近提交 1 天前SkillHot 收录 6 小时前
▸ 精选理由

方便复用本地登录快速发帖,适合桌面自动化场景

▸ 风险提示

使用本地浏览器用户数据,可能暴露账户信息或被滥用

这个 Skill 做什么

利用系统浏览器的登录态自动在 X.com(Twitter)发布推文

用系统浏览器的登录态直接在 X.com(Twitter)发推:复用本机 Edge/Chrome 的用户数据,无需每次登录。适合自动化发布或代发推文的场景,它会自动检测登录状态并在未登录时提示你处理,支持多行内容。优点是省去重复登录流程,能用已登录的账户直接发帖。

▸ 展开 SKILL.md 英文原文

Post tweets to X.com (Twitter) using the system browser's login state

自动化集成社交自动发帖浏览器登录复用通用
0
Stars
0
Forks
23
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/post-to-x/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/post-to-x/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Post to X

Automatically post tweets to X.com (Twitter) using the system Edge/Chrome browser's login state.

## Features

- **Automatic login state reuse** - Directly uses system browser user data, no need to log in each time
- **Smart login detection** - Automatically detects login status, prompts user if not logged in
- **Multi-line content support** - Can post tweets containing line breaks
- **Edge/Chrome compatible** - Prefers Edge, falls back to Chrome

## Prerequisites

```bash
pip install playwright
playwright install chromium
```

## Usage

### Basic usage

```bash
python scripts/post_to_x.py "Your tweet content"
```

### Multi-line content

```bash
python scripts/post_to_x.py "Fir
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有