Skip to content
Back to skills

Twitter Json Workflow

ASecurity

"Extract tweet text from stored Twitter/X JSONL and plan safe

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
datapythonbash

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill twitter-json-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Twitter Json Workflow?

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

Security grade badge for Twitter Json Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-twitter-json-workflow/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-twitter-json-workflow)

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: twitter-json-workflow
description: "Extract tweet text from stored Twitter/X JSONL and plan safe
  optional live streaming."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# twitter-json-workflow

Use this sub-skill for portable tweet-text extraction from stored Twitter/X JSONL and for cautious, opt-in planning around live streaming.

## Route here for

- JSONL tweet archives that need `text`, `full_text`, or `extended_tweet.full_text` extraction
- malformed-line tolerant parsing, newline-safe plain-text export, and optional JSONL output
- a dry-run first pass for Tweepy-based live capture with no hardcoded secrets
- keeping source data ready for later NLP, topic, or sentiment work

## Route elsewhere

- Sentiment modeling, classifier training, or topic analysis on the extracted text: use the tutorial-resource-map sibling for learning resources or downstream tooling for actual model work
- R/jsonlite workflows: use the bundled Python extractor instead
- Long-running production ingestion or dashboarding: use a dedicated downstream service

## Read first

- [Workflows](references/workflows.md)
- [Data formats](references/data-formats.md)
- [Troubleshooting](references/troubleshooting.md)
- [Offline extractor](scripts/extract_tweet_text.py)
- [Live-stream template](scripts/twitter_stream_template.py)

## Quick decision map

| Need | Use |
| --- | --- |
| Convert JSONL tweets to one clean text line per tweet | `scripts/extract_tweet_text.py` |
| Preserve one output row per input tweet with lineage | `scripts/extract_tweet_text.py --format jsonl` |
| Prefer a nested field such as `extended_tweet.full_text` | `scripts/extract_tweet_text.py --field ...` |
| Dry-run a planned live stream | `scripts/twitter_stream_template.py` |
| Connect to streaming only after credentials and policy are ready | `scripts/twitter_stream_template.py --connect` |

## Typical path

1. Start with the field order and output choices in `references/data-formats.md`.
2. Run the offline extractor on a tiny JSONL sample and confirm malformed lines are reported, not fatal.
3. If live capture is needed, use the stream template in dry-run mode first and only add `--connect` once credentials and network policy are confirmed.
4. Hand extracted text off to the next analysis stage; do not use this sub-skill for model training itself.

## Example commands

```bash
python scripts/extract_tweet_text.py tweets.jsonl > tweets.txt
python scripts/extract_tweet_text.py tweets.jsonl --format jsonl > tweets.cleaned.jsonl
python scripts/twitter_stream_template.py --track python data
python scripts/twitter_stream_template.py --track python data --connect
```

Files in this skill

  • SKILL.md2.6 KB
  • references/data-formats.md1.7 KB
  • references/troubleshooting.md2.1 KB
  • references/workflows.md1.8 KB
  • scripts/extract_tweet_text.py6.1 KB
  • scripts/twitter_stream_template.py4.5 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.

Comments

Loading comments…

Newsletter

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