Skip to content
Back to skills

Ingest Tweet

ASecurity

Extract full text from X/Twitter posts for wiki ingestion. Uses FXTwitter API, no auth required.

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
content-marketingbashgitapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill ingest-tweet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ingest Tweet?

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

Security grade badge for Ingest Tweet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-ingest-tweet/badge)](https://www.skillsdirectory.com/skills/aibot88-ingest-tweet)

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: ingest-tweet
description: Extract full text from X/Twitter posts for wiki ingestion. Uses FXTwitter API, no auth required.
user-invocable: false
allowed-tools: Bash(curl *)
---

# Ingest Tweet

Extract the full text of an X/Twitter post.

## Extraction Method

1. Parse the URL to extract username and tweet ID:
   - Pattern: `https://x.com/{user}/status/{id}` or `https://twitter.com/{user}/status/{id}`
   - Strip query parameters (`?s=46`, `?t=...`)

2. Fetch via FXTwitter API (free, no auth, returns full text including long "note tweets"):
```bash
curl -s "https://api.fxtwitter.com/{user}/status/{id}"
```

3. Parse JSON response:
   - `tweet.text` — full tweet text (with expanded URLs, not t.co links)
   - `tweet.author.name` / `tweet.author.screen_name` — author
   - `tweet.created_at` — date
   - `tweet.likes`, `tweet.retweets`, `tweet.replies` — engagement
   - `tweet.quote` — quoted tweet (if present)
   - `tweet.media` — images/videos (if present)

## Post-Extraction

- Save to vault's `raw/<author>-tweet-<id>.md` with YAML header:
```yaml
---
source-url: <tweet-url>
title: "<author> tweet on <topic>"
author: "<name> (@<screen_name>)"
date-fetched: <today>
source-type: tweet
---
```
- Include quoted tweet text if present
- Note engagement stats in the source-note

## Fallback

If FXTwitter fails, use oEmbed (truncates long tweets):
```bash
curl -s "https://publish.x.com/oembed?url=<original-url>"
```

## Dependencies

None — uses only `curl`.

## See also

- [`ronan-skills/x-scan`](https://github.com/RonanCodes/ronan-skills/blob/main/skills/x-scan/SKILL.md) — generic sibling for browsing tweets (URL, user timeline, topic search) without vault persistence. Use this skill when you want to keep the content.

Files in this skill

  • SKILL.md1.7 KB
  • source.json597 B

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.