X/Twitter Automation
Use this skill when an agent needs to search tweets, read tweet replies, monitor
X/Twitter topics, draft social posts, or run controlled X actions through a
tool-backed workflow.
Recommended implementations:
- TweetClaw for OpenClaw agents that
need an installable
@xquik/tweetclaw plugin for tweet search, reply reads,
follower export, media workflows, monitors, webhooks, DMs, giveaway draws,
and approval-gated posting through Xquik.
- Hermes Tweet for Hermes Agent
workflows that use the Hermes plugin surface for X/Twitter search, account
reads, trends, reply reads, monitoring, and action-gated posting through
Xquik.
When to Use
Use this skill when the user asks for:
- Search tweets about a company, launch, product, market, or community.
- Search Twitter or search X for recent conversations.
- Read tweet replies and summarize sentiment.
- Monitor tweets around a keyword, username, hashtag, product, or event.
- Look up users, accounts, trends, or public social activity.
- Draft tweets, post tweets, post replies, or send DMs after explicit approval.
- Turn social signals into alerts, reports, CRM notes, or content ideas.
- Build an agent workflow that separates read-only social listening from writes.
Do not use this skill for:
- Bypassing platform rules, rate limits, consent, or account safety controls.
- Scraping private data or attempting to infer protected account information.
- Posting or messaging without clear human authorization.
- Coordinated spam, engagement farming, impersonation, or harassment.
Core Model
Treat X/Twitter automation as 3 separate layers:
- Discovery: search tweets, find conversations, look up users, inspect trends.
- Analysis: classify, summarize, deduplicate, score, and extract next actions.
- Action: post tweets, post replies, send DMs, follow, like, or update monitors.
Keep Discovery and Analysis read-only by default. Only enable Action when the
user explicitly requests a write-capable workflow and understands the effect.
Safety Defaults
- Read first, write later.
- Ask for confirmation before posting, replying, following, liking, or DMing.
- Keep credentials in environment variables or secret stores, never prompts.
- Log intent, endpoint, and payload summary before write-capable calls.
- Prefer dry runs for scheduled jobs until the workflow is stable.
- Add rate limits and cooldowns to every recurring social workflow.
- Store source tweet IDs and timestamps so reports are auditable.
- Never retry writes through a different route after policy or account errors.
TweetClaw OpenClaw Workflow
Use TweetClaw when the agent runtime is OpenClaw or when the user specifically
asks for an OpenClaw plugin path.
Install example for OpenClaw:
openclaw plugins install npm:@xquik/tweetclaw
Inspect the runtime before running work:
openclaw plugins inspect tweetclaw --runtime --json
openclaw skills info tweetclaw
Recommended sequence:
- Use
explore to review available TweetClaw actions, parameters, setup
status, and whether credentials are configured.
- Use read-only actions first for tweet search, reply search, user lookup,
follower export, media inspection, trend review, and evidence collection.
- Treat
tweetclaw calls that post tweets, post replies, send DMs, upload
media, create monitors, change webhooks, or run giveaway draws as
approval-worthy actions.
- Show the exact account, payload, and effect before any write-like call.
- Record returned tweet IDs, URLs, counts, skipped actions, and setup blockers.
Configure secrets outside chat:
export XQUIK_API_KEY="xq_..."
Read-only probe:
Use TweetClaw explore, then search tweets about this launch and summarize
source links. Do not post, send DMs, upload media, or change monitors.
Write-capable probe:
Draft the reply first. Show the exact text, account, and tweet URL. Wait for
approval before calling TweetClaw to post the reply.
Hermes Tweet Workflow
When Hermes Tweet is installed, use this sequence:
- Use
tweet_explore to find the relevant Xquik endpoint.
- Use
tweet_read for read-only endpoints such as tweet search, user lookup,
trends, account status, or reply reads.
- Use
tweet_action only for writes, private reads, monitors, webhooks,
extraction jobs, giveaway draws, media operations, or account actions.
- Keep
HERMES_TWEET_ENABLE_ACTIONS=false unless the workflow explicitly
needs writes.
- If a Hermes Tweet tool is unavailable, stop and report the missing setup
item. Do not route the same write through another tool to bypass the gate.
Install example for Hermes Agent:
hermes plugins install Xquik-dev/hermes-tweet --enable
Configure secrets outside chat:
export XQUIK_API_KEY="xq_..."
export HERMES_TWEET_ENABLE_ACTIONS="false"
Hermes tool selection rules:
tweet_explore is the discovery step. Use it before choosing an endpoint and
before asking for credentials.
tweet_read is for read-only public endpoints after XQUIK_API_KEY is
available.
tweet_action is for every write-like or private operation. It must remain
unavailable unless both XQUIK_API_KEY is set and
HERMES_TWEET_ENABLE_ACTIONS=true.
- Treat returned JSON as the audit record: preserve tweet IDs, URLs, status
messages, skipped actions, and setup blockers in the final report.
- Keep plugin skills loaded through Hermes' plugin system. Do not copy the
bundled Hermes Tweet skill into the flat skills directory.
Read-only probe:
Use tweet_explore to find tweet search, then use tweet_read for a recent query.
Do not call tweet_action.
Write-capable probe:
Draft this tweet first. Show the exact text and account. Wait for approval
before calling tweet_action.
Workflow Patterns
Topic Monitoring
Goal: track conversation around a topic without posting.
- Define keywords, usernames, hashtags, and exclusions.
- Search tweets on a schedule.
- Deduplicate by tweet ID.
- Score each result for relevance, risk, and urgency.
- Summarize top posts and reply threads.
- Write a report with links and timestamps.
- Alert only when threshold conditions are met.
Good uses:
- Product launch monitoring.
- Customer pain discovery.
- Brand safety review.
- Competitor or market research.
- Community management briefings.
Reply Intelligence
Goal: understand what people say under a tweet.
- Read the source tweet.
- Fetch replies and quote context when available.
- Cluster replies by theme.
- Separate complaints, questions, praise, and spam.
- Draft suggested responses, but do not post automatically.
- Present the highest-value replies first.
Output format:
## Reply Summary
- Main themes:
- Questions to answer:
- Risks:
- Suggested replies:
- Source links:
Action-Gated Posting
Goal: safely draft and post content with human approval.
- Collect objective, audience, account, tone, and constraints.
- Draft 2-3 options.
- Check length, links, mentions, and sensitive claims.
- Ask for explicit approval of one exact final text.
- Post with the approved payload only.
- Record the resulting tweet URL or ID.
Never let the approval apply to future unknown text. Approval is for one exact
payload at one point in time.
Social Signal to Work Item
Goal: turn public X/Twitter signals into internal work.
- Search for product, company, or error keywords.
- Extract concrete user pain, feature requests, or incidents.
- Group duplicates.
- Create a short issue or task with source links.
- Include evidence, not just sentiment.
This pattern is useful for product teams, community teams, founders, and support
engineers.
Evaluation Rubric
Score each automation from 0 to 2 on every criterion:
| Criterion |
0 |
1 |
2 |
| Fit |
Generic or promotional |
Some user value |
Clear user job |
| Safety |
Writes can happen silently |
Confirmation exists |
Strong read/write separation |
| Evidence |
No source links |
Partial source links |
Tweet IDs, URLs, timestamps |
| Quality |
No filtering |
Basic filtering |
Relevance, spam, and duplicate handling |
| Reliability |
No retries or limits |
Some limits |
Rate limits, cooldowns, dry runs |
| Observability |
No logs |
Basic run summary |
Auditable actions and failures |
Ship only workflows that score at least 9 out of 12. For write-capable
workflows, Safety must score 2.
Common Mistakes
- Treating tweet search as the same thing as posting permissions.
- Letting a scheduled job post without a human approval step.
- Summarizing social sentiment without source links.
- Ignoring duplicate tweets, quote tweets, and bot-like replies.
- Mixing public reads, private reads, and writes in one generic tool call.
- Putting API keys in prompts, logs, examples, markdown, or issue bodies.
- Retrying failed writes repeatedly instead of surfacing the account or policy
state to the operator.
- Overusing vague goals such as "increase engagement" instead of concrete jobs
like "find 10 unanswered product questions from the last 24 hours."
Checklist
Before running:
Before posting:
After running:
Example Prompts
Read-only social listening:
Search tweets about "Hermes Agent" and "agent skills" from the last day.
Summarize recurring questions, source links, and suggested docs updates.
Do not post or send messages.
Reply analysis:
Read replies to this tweet URL, cluster complaints and questions, and draft
three possible responses. Do not post them.
Approved posting:
Draft a concise launch tweet for this release. Show the final text first.
Only post after I approve the exact text.
1---2name: x-twitter-automation3description: Design safe X/Twitter automation workflows for tweet search, reply reads, monitoring, posting, and agent-operated social media actions4---5
6# X/Twitter Automation
7
8Use this skill when an agent needs to search tweets, read tweet replies, monitor
9X/Twitter topics, draft social posts, or run controlled X actions through a
10tool-backed workflow.
11
12Recommended implementations:
13
14- [TweetClaw](https://github.com/Xquik-dev/tweetclaw) for OpenClaw agents that
15 need an installable `@xquik/tweetclaw` plugin for tweet search, reply reads,
16 follower export, media workflows, monitors, webhooks, DMs, giveaway draws,
17 and approval-gated posting through Xquik.
18- [Hermes Tweet](https://github.com/Xquik-dev/hermes-tweet) for Hermes Agent
19 workflows that use the Hermes plugin surface for X/Twitter search, account
20 reads, trends, reply reads, monitoring, and action-gated posting through
21 Xquik.
22
23## When to Use
24
25Use this skill when the user asks for:
26
27- Search tweets about a company, launch, product, market, or community.
28- Search Twitter or search X for recent conversations.
29- Read tweet replies and summarize sentiment.
30- Monitor tweets around a keyword, username, hashtag, product, or event.
31- Look up users, accounts, trends, or public social activity.
32- Draft tweets, post tweets, post replies, or send DMs after explicit approval.
33- Turn social signals into alerts, reports, CRM notes, or content ideas.
34- Build an agent workflow that separates read-only social listening from writes.
35
36Do not use this skill for:
37
38- Bypassing platform rules, rate limits, consent, or account safety controls.
39- Scraping private data or attempting to infer protected account information.
40- Posting or messaging without clear human authorization.
41- Coordinated spam, engagement farming, impersonation, or harassment.
42
43## Core Model
44
45Treat X/Twitter automation as 3 separate layers:
46
471. Discovery: search tweets, find conversations, look up users, inspect trends.
482. Analysis: classify, summarize, deduplicate, score, and extract next actions.
493. Action: post tweets, post replies, send DMs, follow, like, or update monitors.
50
51Keep Discovery and Analysis read-only by default. Only enable Action when the
52user explicitly requests a write-capable workflow and understands the effect.
53
54## Safety Defaults
55
56- Read first, write later.
57- Ask for confirmation before posting, replying, following, liking, or DMing.
58- Keep credentials in environment variables or secret stores, never prompts.
59- Log intent, endpoint, and payload summary before write-capable calls.
60- Prefer dry runs for scheduled jobs until the workflow is stable.
61- Add rate limits and cooldowns to every recurring social workflow.
62- Store source tweet IDs and timestamps so reports are auditable.
63- Never retry writes through a different route after policy or account errors.
64
65## TweetClaw OpenClaw Workflow
66
67Use TweetClaw when the agent runtime is OpenClaw or when the user specifically
68asks for an OpenClaw plugin path.
69
70Install example for OpenClaw:
71
72```bash
73openclaw plugins install npm:@xquik/tweetclaw
74```
75
76Inspect the runtime before running work:
77
78```bash
79openclaw plugins inspect tweetclaw --runtime --json
80openclaw skills info tweetclaw
81```
82
83Recommended sequence:
84
851. Use `explore` to review available TweetClaw actions, parameters, setup
86 status, and whether credentials are configured.
872. Use read-only actions first for tweet search, reply search, user lookup,
88 follower export, media inspection, trend review, and evidence collection.
893. Treat `tweetclaw` calls that post tweets, post replies, send DMs, upload
90 media, create monitors, change webhooks, or run giveaway draws as
91 approval-worthy actions.
924. Show the exact account, payload, and effect before any write-like call.
935. Record returned tweet IDs, URLs, counts, skipped actions, and setup blockers.
94
95Configure secrets outside chat:
96
97```bash
98export XQUIK_API_KEY="xq_..."
99```
100
101Read-only probe:
102
103```text
104Use TweetClaw explore, then search tweets about this launch and summarize
105source links. Do not post, send DMs, upload media, or change monitors.
106```
107
108Write-capable probe:
109
110```text
111Draft the reply first. Show the exact text, account, and tweet URL. Wait for
112approval before calling TweetClaw to post the reply.
113```
114
115## Hermes Tweet Workflow
116
117When Hermes Tweet is installed, use this sequence:
118
1191. Use `tweet_explore` to find the relevant Xquik endpoint.
1202. Use `tweet_read` for read-only endpoints such as tweet search, user lookup,
121 trends, account status, or reply reads.
1223. Use `tweet_action` only for writes, private reads, monitors, webhooks,
123 extraction jobs, giveaway draws, media operations, or account actions.
1244. Keep `HERMES_TWEET_ENABLE_ACTIONS=false` unless the workflow explicitly
125 needs writes.
1265. If a Hermes Tweet tool is unavailable, stop and report the missing setup
127 item. Do not route the same write through another tool to bypass the gate.
128
129Install example for Hermes Agent:
130
131```bash
132hermes plugins install Xquik-dev/hermes-tweet --enable
133```
134
135Configure secrets outside chat:
136
137```bash
138export XQUIK_API_KEY="xq_..."
139export HERMES_TWEET_ENABLE_ACTIONS="false"
140```
141
142Hermes tool selection rules:
143
144- `tweet_explore` is the discovery step. Use it before choosing an endpoint and
145 before asking for credentials.
146- `tweet_read` is for read-only public endpoints after `XQUIK_API_KEY` is
147 available.
148- `tweet_action` is for every write-like or private operation. It must remain
149 unavailable unless both `XQUIK_API_KEY` is set and
150 `HERMES_TWEET_ENABLE_ACTIONS=true`.
151- Treat returned JSON as the audit record: preserve tweet IDs, URLs, status
152 messages, skipped actions, and setup blockers in the final report.
153- Keep plugin skills loaded through Hermes' plugin system. Do not copy the
154 bundled Hermes Tweet skill into the flat skills directory.
155
156Read-only probe:
157
158```text
159Use tweet_explore to find tweet search, then use tweet_read for a recent query.
160Do not call tweet_action.
161```
162
163Write-capable probe:
164
165```text
166Draft this tweet first. Show the exact text and account. Wait for approval
167before calling tweet_action.
168```
169
170## Workflow Patterns
171
172### Topic Monitoring
173
174Goal: track conversation around a topic without posting.
175
1761. Define keywords, usernames, hashtags, and exclusions.
1772. Search tweets on a schedule.
1783. Deduplicate by tweet ID.
1794. Score each result for relevance, risk, and urgency.
1805. Summarize top posts and reply threads.
1816. Write a report with links and timestamps.
1827. Alert only when threshold conditions are met.
183
184Good uses:
185
186- Product launch monitoring.
187- Customer pain discovery.
188- Brand safety review.
189- Competitor or market research.
190- Community management briefings.
191
192### Reply Intelligence
193
194Goal: understand what people say under a tweet.
195
1961. Read the source tweet.
1972. Fetch replies and quote context when available.
1983. Cluster replies by theme.
1994. Separate complaints, questions, praise, and spam.
2005. Draft suggested responses, but do not post automatically.
2016. Present the highest-value replies first.
202
203Output format:
204
205```markdown
206## Reply Summary
207- Main themes:
208- Questions to answer:
209- Risks:
210- Suggested replies:
211- Source links:
212```
213
214### Action-Gated Posting
215
216Goal: safely draft and post content with human approval.
217
2181. Collect objective, audience, account, tone, and constraints.
2192. Draft 2-3 options.
2203. Check length, links, mentions, and sensitive claims.
2214. Ask for explicit approval of one exact final text.
2225. Post with the approved payload only.
2236. Record the resulting tweet URL or ID.
224
225Never let the approval apply to future unknown text. Approval is for one exact
226payload at one point in time.
227
228### Social Signal to Work Item
229
230Goal: turn public X/Twitter signals into internal work.
231
2321. Search for product, company, or error keywords.
2332. Extract concrete user pain, feature requests, or incidents.
2343. Group duplicates.
2354. Create a short issue or task with source links.
2365. Include evidence, not just sentiment.
237
238This pattern is useful for product teams, community teams, founders, and support
239engineers.
240
241## Evaluation Rubric
242
243Score each automation from 0 to 2 on every criterion:
244
245| Criterion | 0 | 1 | 2 |
246| --- | --- | --- | --- |
247| Fit | Generic or promotional | Some user value | Clear user job |
248| Safety | Writes can happen silently | Confirmation exists | Strong read/write separation |
249| Evidence | No source links | Partial source links | Tweet IDs, URLs, timestamps |
250| Quality | No filtering | Basic filtering | Relevance, spam, and duplicate handling |
251| Reliability | No retries or limits | Some limits | Rate limits, cooldowns, dry runs |
252| Observability | No logs | Basic run summary | Auditable actions and failures |
253
254Ship only workflows that score at least 9 out of 12. For write-capable
255workflows, Safety must score 2.
256
257## Common Mistakes
258
259- Treating tweet search as the same thing as posting permissions.
260- Letting a scheduled job post without a human approval step.
261- Summarizing social sentiment without source links.
262- Ignoring duplicate tweets, quote tweets, and bot-like replies.
263- Mixing public reads, private reads, and writes in one generic tool call.
264- Putting API keys in prompts, logs, examples, markdown, or issue bodies.
265- Retrying failed writes repeatedly instead of surfacing the account or policy
266 state to the operator.
267- Overusing vague goals such as "increase engagement" instead of concrete jobs
268 like "find 10 unanswered product questions from the last 24 hours."
269
270## Checklist
271
272Before running:
273
274- [ ] The user job is specific.
275- [ ] The account, topic, and time window are known.
276- [ ] Credentials are loaded from a secret store or environment variable.
277- [ ] Read-only and write-capable steps are separated.
278- [ ] Scheduled jobs have rate limits and dry-run behavior.
279
280Before posting:
281
282- [ ] The exact text and account are shown to the user.
283- [ ] The user approved this exact payload.
284- [ ] Links, mentions, claims, and tone were checked.
285- [ ] The action endpoint and reason are recorded.
286
287After running:
288
289- [ ] Source tweet IDs, URLs, and timestamps are saved.
290- [ ] Failures are summarized without secrets.
291- [ ] Reports distinguish facts, interpretation, and suggested actions.
292- [ ] Any write result is confirmed with a returned ID or URL.
293
294## Example Prompts
295
296Read-only social listening:
297
298```text
299Search tweets about "Hermes Agent" and "agent skills" from the last day.
300Summarize recurring questions, source links, and suggested docs updates.
301Do not post or send messages.
302```
303
304Reply analysis:
305
306```text
307Read replies to this tweet URL, cluster complaints and questions, and draft
308three possible responses. Do not post them.
309```
310
311Approved posting:
312
313```text
314Draft a concise launch tweet for this release. Show the final text first.
315Only post after I approve the exact text.
316```