跳到正文
cccskills
免费在 GitHub 公开

twitter-hand-skill

Provides guidance for managing Twitter/X content, including weekly plans, posts, threads, replies, and performance analysis. Includes API v2 examples and review queue templates to help organize publishing and maintain a consistent brand voice.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Expert knowledge for AI Twitter/X management — API v2 reference, content strategy, engagement playbook, safety, and performance tracking

集成工具X (Twitter)
查看安装方法

适用场景

  • Plan a weekly posting calendar around core topics
  • Draft posts and threads in a consistent brand voice
  • Define guidelines for replies and likes
  • Compare performance across content types

包含的文件(2)

  • SKILL.md11.5 KB
  • HAND.toml13.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Twitter/X Management Expert Knowledge

Twitter API v2 Reference

Authentication

Twitter API v2 uses OAuth 2.0 Bearer Token for app-level access and OAuth 1.0a for user-level actions.

Bearer Token (read-only access + tweet creation):

Authorization: Bearer $TWITTER_BEARER_TOKEN

Environment variable: TWITTER_BEARER_TOKEN

Core Endpoints

Get authenticated user info:

curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  "https://api.twitter.com/2/users/me"

Response: {"data": {"id": "123", "name": "User", "username": "user"}}

Post a tweet:

curl -s -X POST "https://api.twitter.com/2/tweets" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world!"}'

Response: {"data": {"id": "tweet_id", "text": "Hello world!"}}

Post a reply:

curl -s -X POST "https://api.twitter.com/2/tweets" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Great point!", "reply": {"in_reply_to_tweet_id": "PARENT_TWEET_ID"}}'

Post a thread (chain of replies to yourself):

  1. Post first tweet → get tweet_id
  2. Post second tweet with reply.in_reply_to_tweet_id = first tweet_id
  3. Repeat for each tweet in thread

Delete a tweet:

curl -s -X DELETE "https://api.twitter.com/2/tweets/TWEET_ID" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN"

Like a tweet:

curl -s -X POST "https://api.twitter.com/2/users/USER_ID/likes" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tweet_id": "TARGET_TWEET_ID"}'

Get mentions:

curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  "https://api.twitter.com/2/users/USER_ID/mentions?max_results=10&tweet.fields=public_metrics,created_at,author_id"

Search recent tweets:

curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  "https://api.twitter.com/2/tweets/search/recent?query=QUERY&max_results=10&tweet.fields=public_metrics"

Get tweet metrics:

curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  "https://api.twitter.com/2/tweets?ids=ID1,ID2,ID3&tweet.fields=public_metrics"

Response includes: retweet_count, reply_count, like_count, quote_count, bookmark_count, impression_count

Rate Limits

EndpointLimitWindow
POST /tweets300 tweets3 hours
DELETE /tweets50 deletes15 minutes
POST /likes50 likes15 minutes
GET /mentions180 requests15 minutes
GET /search/recent180 requests15 minutes

Always check response headers:

  • x-rate-limit-limit: Total requests allowed
  • x-rate-limit-remaining: Requests remaining
  • x-rate-limit-reset: Unix timestamp when limit resets

Content Strategy Framework

Content Pillars

Define 3-5 core topics ("pillars") that all content revolves around:

Example for a tech founder:
  Pillar 1: AI & Machine Learning (40% of content)
  Pillar 2: Startup Building (30% of content)
  Pillar 3: Engineering Culture (20% of content)
  Pillar 4: Personal Growth (10% of content)

Content Mix (7 types)

TypeFrequencyPurposeTemplate
Hot take2-3/weekEngagement"Unpopular opinion: [contrarian view]"
Thread1-2/weekAuthority"I spent X hours researching Y. Here's what I found:"
Tip/How-to2-3/weekValue"How to [solve problem] in [N] steps:"
Question1-2/weekEngagement"[Interesting question]? I'll go first:"
Curated share1-2/weekCuration"This [article/tool/repo] is a game changer for [audience]:"
Story1/weekConnection"3 years ago I [relatable experience]. Here's what happened:"
Data/Stat1/weekAuthority"[Surprising statistic]. Here's why it matters:"

Optimal Posting Times (UTC-based, adjust to audience timezone)

DayBest TimesWhy
Monday8-10 AMStart of work week, checking feeds
Tuesday10 AM, 1 PMPeak engagement day
Wednesday9 AM, 12 PMMid-week focus
Thursday10 AM, 2 PMSecond-highest engagement day
Friday9-11 AMMorning only, engagement drops PM
Saturday10 AMCasual browsing
Sunday4-6 PMPre-work-week planning

Tweet Writing Best Practices

The Hook (first line is everything)

Hooks that work:

  • Contrarian: "Most people think X. They're wrong."
  • Number: "I analyzed 500 [things]. Here's what I found:"
  • Question: "Why do 90% of [things] fail?"
  • Story: "In 2019, I almost [dramatic thing]."
  • How-to: "How to [desirable outcome] without [common pain]:"
  • List: "5 [things] I wish I knew before [milestone]:"
  • Confession: "I used to believe [common thing]. Then I learned..."

Writing Rules

  1. One idea per tweet — don't try to cover everything
  2. Front-load value — the hook must deliver or promise value
  3. Use line breaks — no wall of text, 1-2 sentences per line
  4. 280 character limit — every word must earn its place
  5. Active voice — "We shipped X" not "X was shipped by us"
  6. Specific > vague — "3x faster" not "much faster"
  7. End with a call to action — "Agree? RT" or "What would you add?"

Thread Structure

Tweet 1 (HOOK): Compelling opening that makes people click "Show this thread"
  - Must stand alone as a great tweet
  - End with "A thread:" or "Here's what I found:"

Tweet 2-N (BODY): One key point per tweet
  - Number them: "1/" or use emoji bullets
  - Each tweet should add value independently
  - Include specific examples, data, or stories

Tweet N+1 (CLOSING): Summary + call to action
  - Restate the key takeaway
  - Ask for engagement: "Which resonated most?"
  - Self-reference: "If this was useful, follow @handle for more"

Hashtag Strategy

  • 0-2 hashtags per tweet (more looks spammy)
  • Use hashtags for discovery, not decoration
  • Mix broad (#AI) and specific (#LangChain)
  • Never use hashtags in threads (except maybe tweet 1)
  • Research trending hashtags in your niche before using them

Engagement Playbook

Replying to Mentions

Rules:

  1. Respond within 2 hours during engagement_hours
  2. Add value — don't just say "thanks!" — expand on their point
  3. Ask a follow-up question — drives conversation
  4. Be genuine — match their energy and tone
  5. Never argue — if someone is hostile, ignore or block

Reply templates:

  • Agreement: "Great point! I'd also add [related insight]"
  • Question: "Interesting question. The short answer is [X], but [nuance]"
  • Disagreement: "I see it differently — [respectful counterpoint]. What's your experience?"
  • Gratitude: "Appreciate you sharing this! [Specific thing you liked about their tweet]"

When NOT to Engage

  • Trolls or obviously bad-faith arguments
  • Political flame wars (unless that's your content pillar)
  • Personal attacks (block immediately)
  • Spam or bot accounts
  • Tweets that could create legal liability

Auto-Like Strategy

Like tweets from:

  1. People who regularly engage with your content (reciprocity)
  2. Influencers in your niche (visibility)
  3. Thoughtful content related to your pillars (curation signal)
  4. Replies to your tweets (encourages more replies)

Do NOT auto-like:

  • Controversial or political content
  • Content you haven't actually read
  • Spam or low-quality threads
  • Competitor criticism (looks petty)

Content Calendar Template

WEEK OF [DATE]

Monday:
  - 8 AM: [Tip/How-to] about [Pillar 1]
  - 12 PM: [Curated share] related to [Pillar 2]

Tuesday:
  - 10 AM: [Thread] deep dive on [Pillar 1]
  - 2 PM: [Hot take] about [trending topic]

Wednesday:
  - 9 AM: [Question] to audience about [Pillar 3]
  - 1 PM: [Data/Stat] about [Pillar 2]

Thursday:
  - 10 AM: [Story] about [personal experience in Pillar 3]
  - 3 PM: [Tip/How-to] about [Pillar 1]

Friday:
  - 9 AM: [Hot take] about [week's trending topic]
  - 11 AM: [Curated share] — best thing I read this week

Performance Metrics

Key Metrics

MetricWhat It MeasuresGood Benchmark
ImpressionsHow many people saw the tweetVaries by follower count
Engagement rate(likes+RTs+replies)/impressions>2% is good, >5% is great
Reply ratereplies/impressions>0.5% is good
Retweet rateRTs/impressions>1% is good
Profile visitsPeople checking your profile after tweetTrack trend
Follower growthNet new followers per periodTrack trend

Engagement Rate Formula

engagement_rate = (likes + retweets + replies + quotes) / impressions * 100

Example:
  50 likes + 10 RTs + 5 replies + 2 quotes = 67 engagements
  67 / 2000 impressions = 3.35% engagement rate

Content Performance Analysis

Track which content types and topics perform best:

| Content Type | Avg Impressions | Avg Engagement Rate | Best Performing |
|-------------|-----------------|--------------------|--------------------|
| Hot take | 2500 | 4.2% | "Unpopular opinion: ..." |
| Thread | 5000 | 3.1% | "I analyzed 500 ..." |
| Tip | 1800 | 5.5% | "How to ... in 3 steps" |

Use this data to optimize future content mix.


Brand Voice Guide

Voice Dimensions

DimensionRangeDescription
Formal ↔ Casual1-51=corporate, 5=texting a friend
Serious ↔ Humorous1-51=all business, 5=comedy account
Reserved ↔ Bold1-51=diplomatic, 5=no-filter
General ↔ Technical1-51=anyone can understand, 5=deep expert

Consistency Rules

  • Use the same voice across ALL tweets (hot takes and how-tos)
  • Develop 3-5 "signature phrases" you reuse naturally
  • If the brand voice says "casual," don't suddenly write a formal thread
  • Read tweets aloud — does it sound like the same person?

Safety & Compliance

Content Guidelines

NEVER post:

  • Discriminatory content (race, gender, religion, sexuality, disability)
  • Defamatory claims about real people or companies
  • Private or confidential information
  • Threats, harassment, or incitement to violence
  • Impersonation of other accounts
  • Misleading claims presented as fact
  • Content that violates Twitter Terms of Service

Approval Mode Queue Format

[
  {
    "id": "q_001",
    "content": "Tweet text here",
    "type": "hot_take",
    "pillar": "AI",
    "scheduled_for": "2025-01-15T10:00:00Z",
    "created": "2025-01-14T20:00:00Z",
    "status": "pending",
    "notes": "Based on trending discussion about LLM pricing"
  }
]

Preview file for human review:

# Tweet Queue Preview
Generated: YYYY-MM-DD

## Pending Tweets (N total)

### 1. [Hot Take] — Scheduled: Mon 10 AM
> Tweet text here

**Notes**: Based on trending discussion about LLM pricing
**Pillar**: AI | **Status**: Pending approval

---

### 2. [Thread] — Scheduled: Tue 10 AM
> Tweet 1/5: Hook text here
> Tweet 2/5: Point one
> ...

**Notes**: Deep dive on new benchmark results
**Pillar**: AI | **Status**: Pending approval

Risk Assessment

Before posting, evaluate each tweet:

  • Could this be misinterpreted? → Rephrase for clarity
  • Does this punch down? → Don't post
  • Would you be comfortable seeing this attributed to the user in a news article? → If no, don't post
  • Is this verifiably true? → If not sure, add hedging language or don't post

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ansible

免费

Create Ansible automation for configuring and updating servers. Organizes reusable tasks and host settings, protects secrets with Ansible Vault, and plans staged updates with checks so repeated runs keep systems in the intended state.

中文简介正在准备中。当前显示英语简介。

  • Automating configuration across multiple servers
  • Organizing reusable tasks and environment settings
  • Encrypting credentials with Ansible Vault
RightNow-AI/openfang1.8万2026年7月2日 更新

Test and debug REST and GraphQL APIs using curl, httpie, Postman collections, or scripted tests. Check authentication, invalid inputs, pagination, and response details to identify failures that a successful status code alone may miss.

中文简介正在准备中。当前显示英语简介。

  • Checking authentication and access permissions
  • Testing invalid inputs and boundary conditions
  • Debugging failed HTTP requests
RightNow-AI/openfang1.8万2026年7月2日 更新

aws

免费

Plan, deploy, and manage AWS infrastructure across computing, storage, networking, and serverless services. Get guidance on access permissions, backups, auditing, and cost management using AWS CLI and tools that define infrastructure in code.

中文简介正在准备中。当前显示英语简介。

  • Plan configurations for EC2, S3, and Lambda
  • Review IAM permissions and network access
  • Identify unused resources and review costs
RightNow-AI/openfang1.8万2026年7月2日 更新

azure

免费

Helps design and provision Microsoft Azure infrastructure using az CLI and Bicep configuration files. Covers choosing application hosting services, managing identities and secrets, designing networks, setting up monitoring, and organizing resources for cost management.

中文简介正在准备中。当前显示英语简介。

  • Define repeatable infrastructure with Bicep
  • Choose hosting services for web apps and containers
  • Design identity permissions and secret storage
RightNow-AI/openfang1.8万2026年7月2日 更新

Automate website searches, logins, form entry, and price comparisons using Playwright, a browser automation tool. Provides workflows for locating page elements, checking results, and recovering from navigation errors or missing elements.

中文简介正在准备中。当前显示英语简介。

  • Comparing product prices across online stores
  • Filling and submitting web forms
  • Logging in and checking the result
RightNow-AI/openfang1.8万2026年7月2日 更新

ci-cd

免费

Design automated build, test, and deployment workflows for GitHub Actions, GitLab CI/CD, and Jenkins. Covers job ordering, dependency caching, secret handling, and gradual releases that use health checks before expanding deployment.

中文简介正在准备中。当前显示英语简介。

  • Automating builds, tests, and deployments
  • Reducing pipeline time with caching and parallel jobs
  • Planning gradual releases and rollbacks
RightNow-AI/openfang1.8万2026年7月2日 更新

查看 RightNow-AI 的全部技能

报告此技能的问题