> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AIsa Twitter Post & Engage

> 授权后发布、点赞、关注并检查 X/Twitter 关系。

[View on GitHub ->](https://github.com/AIsa-team/agent-skills/tree/main/aisa-twitter-post-engage)

该 Skill 聚焦 X/Twitter 写操作：发帖、点赞、关注，以及检查账号关系。它应当只在用户授权并确认动作后使用。

## 安装

```bash theme={null}
npm install -g @aisa-one/cli
aisa skills install aisa-twitter-post-engage
```

## Agent 可以做什么？

<CardGroup cols={2}>
  <Card title="发布推文" icon="paper-plane">
    在用户批准后发布单条推文或 thread。
  </Card>

  <Card title="互动" icon="heart">
    点赞、关注或取消关注指定对象。
  </Card>

  <Card title="关系检查" icon="link">
    检查两个用户之间的关注关系。
  </Card>

  <Card title="安全执行" icon="shield-halved">
    把草稿、确认、授权和执行结果分开处理。
  </Card>
</CardGroup>

## 何时使用

* 用户已经明确要执行写操作。
* 用户已经确认最终文本、目标推文或目标账号。
* OAuth/本地 relay 已配置且可用。

## 何时不要使用

* 用户只是让你“建议”或“草拟”。
* 用户没有明确批准发布。
* 内容涉及骚扰、欺骗、刷量或规避平台规则。

## 快速参考

```bash theme={null}
export AISA_API_KEY="YOUR_AISA_API_KEY"
```

## 常见命令

```txt theme={null}
把这段内容作为推文草稿展示给我，等我确认再发
点赞这条推文：<tweet_url>，先告诉我将执行什么
检查 @a 是否关注 @b
```

## 工作流

1. 明确操作类型：post、like、follow、unfollow 或 check relationship。
2. 展示目标和内容。
3. 等用户确认。
4. 调用授权写操作。
5. 返回结果 ID、URL 或错误信息。

## 防护规则

* 默认不执行写操作。
* 不自动重试可能导致重复发布的请求。
* 不记录或展示 OAuth token。
* 失败时报告真实错误，不编造发布成功。

## 相关

<CardGroup cols={3}>
  <Card title="Twitter Command Center" icon="paper-plane" href="/zh/agent-skills/aisa-twitter-command-center">
    搜索、草稿和审批流程。
  </Card>

  <Card title="AIsa Twitter API" icon="code" href="/zh/agent-skills/aisa-twitter-api">
    读取和研究 X/Twitter 数据。
  </Card>

  <Card title="Twitter Autopilot" icon="x-twitter" href="/zh/agent-skills/twitter-autopilot">
    更完整的 X/Twitter 自动化能力。
  </Card>
</CardGroup>
