Skip to content
Back to skills

X Twitter Growth

ASecurity

Audits an exported X/Twitter analytics CSV against your own median, turns a long-form draft into a checked thread, and flags follower and engagement drops period over period. Use when the user asks to analyze tweets, build a Twitter thread, track follower growth, find posting times, or improve tweet engagement.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 30, 2026
ai-agentspythongobashapiperformancedocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill x-twitter-growth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of X Twitter Growth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for X Twitter Growth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-x-twitter-growth/badge)](https://www.skillsdirectory.com/skills/borghei-x-twitter-growth)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: x-twitter-growth
description: >
  Audits an exported X/Twitter analytics CSV against your own median, turns a long-form draft
  into a checked thread, and flags follower and engagement drops period over period. Use when
  the user asks to analyze tweets, build a Twitter thread, track follower growth, find posting
  times, or improve tweet engagement.
license: MIT + Commons Clause
metadata:
  version: 1.0.0
  author: borghei
  category: marketing
  domain: social-media
  updated: 2026-04-02
  tags: [twitter, x, social-media, engagement, threads, growth-hacking]
---
# X/Twitter Growth Skill

## Overview

Production-ready X/Twitter growth toolkit for analyzing tweet performance patterns, structuring optimal threads, and tracking engagement metrics. Designed for creators, marketers, and brand accounts looking to grow audience and engagement systematically through data-driven content decisions.

## Clarify First

Before generating, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Deliverable:** content performance audit, thread building, or growth review — selects which tool runs.
- **Data or source content:** exported tweet/analytics CSV (for audits) or the long-form draft (for threads) — required input for the chosen tool.
- **Niche & audience:** the one topic and who you're growing — shapes the hook and content pillars.
- **Growth goal:** followers, engagement, or replies — sets which benchmark and CTA to optimize for.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Quick Start

```bash
python3 scripts/tweet_analyzer.py assets/flawed_tweets.csv
python3 scripts/thread_builder.py assets/sample_thread.txt --target-tweets 8
python3 scripts/growth_tracker.py assets/flawed_analytics.csv --period weekly
```

Real output of the first command (excerpt):

```text
Read assets/flawed_tweets.csv: 24 tweets analyzed, 0 skipped (missing text, impressions or engagement).
Median engagement rate 3.46% | pooled 2.6% | median impressions 6,688
Findings:
  1. under-engaged: "Ship the boring fix first. It usually pays back fastest. https://example.com/p/9" got ...
     rule: below 50% of your median 3.46% with at least median reach (heuristic)
     fix: Ship the boring fix first. It usually pays back fastest.
[reply 1: https://example.com/p/9]
FIX 5 issues
```

Every tool takes a file, accepts `--format text|json` (legacy `--json` works), and prints a verdict line
(`PASS` or `FIX n issues`). Each finding quotes your input, names the rule and threshold, and gives a fix.

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | No findings |
| 1 | Findings to act on |
| 2 | Unusable input (missing file, empty, missing columns, fewer than 5 tweets or 7 days, draft under 200 characters); one-line `BLOCKED:` message on stderr |

## Samples

`assets/` holds a sound, flawed and malformed input for each tool (`sample_*`, `flawed_*`, `malformed_*`),
listed in `assets/contract.json`. They are synthetic test data, not benchmarks.

## Tools Overview

| Tool | Purpose | Input | Output |
|------|---------|-------|--------|
| `tweet_analyzer.py` | Tweets below your own median, habits that drag, best days/hours | CSV with tweet data | Findings + rewrites |
| `thread_builder.py` | Splits a draft into hook/body/closer and checks it | Text file or JSON | Thread + findings |
| `growth_tracker.py` | Period-over-period growth, engagement, volume | Daily analytics CSV | Report + findings |

## Workflows

### Workflow 1: Content Performance Audit

1. Export tweet data from X Analytics or third-party tool as CSV
2. Run `tweet_analyzer.py` to identify top-performing patterns
3. Identify which content types, formats, and topics drive engagement
4. Use insights to refine content strategy and posting schedule
5. Re-audit monthly to track improvement

### Workflow 2: Thread Creation Pipeline

1. Draft long-form content in text or markdown format
2. Run `thread_builder.py` to split into optimal thread structure
3. Review hook tweet (tweet 1) for maximum engagement potential
4. Add call-to-action and engagement hooks per recommendations
5. Schedule using the best days and hours that `tweet_analyzer.py` prints under "Best days" and "Best hours"

### Workflow 3: Monthly Growth Review

1. Export analytics data for the period
2. Run `growth_tracker.py --period monthly` for growth metrics
3. Run `tweet_analyzer.py` on the same period for content insights
4. Compare engagement rates to prior period
5. Identify top 5 tweets and extract replicable patterns

## Reference Documentation

See `references/x-growth-playbook.md` for comprehensive strategies covering:
- Content format frameworks
- Engagement optimization tactics
- Thread writing best practices
- Algorithm understanding
- Growth compounding strategies

## Common Patterns

### Pattern: Tweet Data CSV Format
Required: `text` (or `content`), `impressions`, and `engagements` (or `likes`/`retweets`/`replies`, which are summed).
Optional: `created_at` (or `date`), `type`, `has_media`, `tweet_id`. Lines starting with `#` are ignored.
```csv
tweet_id,text,created_at,impressions,engagements,type,has_media
T001,"Here's what I learned...",2026-06-15 09:30:00,15000,850,thread,no
```

### Pattern: Analytics CSV Format
Required: `date`, `followers`. Optional: `impressions`, `engagements`, `tweets_posted`, `profile_visits`.
Absent columns are reported as absent, never scored as zero.

### Pattern: Thread Content Input
```text
# How I Grew to 50K Followers in 6 Months

The biggest lesson was consistency over virality. Here's the complete breakdown...

[Section 1: Finding Your Niche]
Most creators make the mistake of being too broad. Pick one topic and go deep...

[Section 2: Content Pillars]
I built 3 content pillars that I rotate through each week...
```

### Engagement benchmarks

The tools apply no outside benchmarks. They compare each tweet and period with your own median and
previous period (thresholds are labelled heuristics in the output). Public engagement-rate ranges vary by
niche and account size and have no single authoritative source, so use your own history as the baseline.

## Scope & Limitations

**In Scope:**
- Tweet performance pattern analysis from an exported CSV with `tweet_analyzer.py`, by content type, format and media
- Splitting long-form text into a thread with a hook tweet, in numbered or clean style, with `thread_builder.py`
- Follower growth, engagement rate and posting-volume comparisons by day, week or month with `growth_tracker.py` (partial periods are compared per day); best days and hours come from `tweet_analyzer.py`
- A growth playbook covering ranking signals, the Hook-Value-CTA framework, thread writing, reply strategy and profile optimization

**Out of Scope:**
- Posting, scheduling, replying or pulling data from X; the tools have no API access
- LinkedIn content and analytics (see the suite under `tools/linkedin/`)
- Cross-platform social strategy and editorial calendars (see `marketing/social-media-manager/`)
- Paid X campaigns (see `marketing/paid-ads/`)

**Important Caveats:**
- All analysis runs on data you export from X Analytics or a third-party tool and save as CSV.
- The ranking signal weights in the playbook come from X's 2023 open-source release and are historical. The content type multipliers are practitioner heuristics. X's ranker has changed since, so treat these as hypotheses to test.
- Pattern findings are correlations on your own small sample (at least 5 tweets per side), not causes.

Files in this skill

  • SKILL.md3.8 KB
  • examples/tweets.csv5.9 KB
  • references/x-growth-playbook.md5 KB
  • scripts/growth_tracker.py13.5 KB
  • scripts/thread_builder.py9.9 KB
  • scripts/tweet_analyzer.py14.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.