Skip to content
Agentmart
Submit a tool

social-data

Search and fetch social media data from Twitter/X, Reddit, and Hacker News.

Skill by Bitterbot-AI

IndexedMIT★ 2,478
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bitterbot-ai-social-data

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Search and fetch social media data from Twitter/X, Reddit, and Hacker News.

Use cases: data, marketing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/social-data

What's inside

Skill name
social-data
Description
Search and fetch social media data from Twitter/X, Reddit, and Hacker News.
License
MIT
Instructions
114 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Social Data

Access social media content from multiple platforms. Some require API keys, some are free.

## Hacker News (free, no key)

### Top Stories

```bash
curl -s "https://hacker-news.firebaseio.com/v0/topstories.json" | head -c 200
```

Returns array of item IDs. Fetch individual items:

```bash
curl -s "https://hacker-news.firebaseio.com/v0/item/12345678.json"
```

### Search (via Algolia, free)

```bash
curl -s "https://hn.algolia.com/api/v1/search?query=rust+programming&tags=story&hitsPerPage=10"
```

- `tags`: `story`, `comment`, `ask_hn`, `show_hn`, `poll`
- `numericFilters`: `created_at_i>1700000000` (Unix timestamp)
- Response: `hits[]` array with `title`, `url`, `author`, `points`, `num_comments`

### Front Page

```bash
curl -s "https://hn.algolia.com/api/v1/search?tags=front_page&hitsPerPage=30"
```

## Reddit (free, no key for public data)

### Subreddit Posts

```bash
curl -s "https://www.reddit.com/r/programming/hot.json?limit=10" \
  -H "User-Agent: bitterbot/1.0"
```

Sort options: `hot`, `new`, `top`, `rising`
For `top`: add `?t=hour|day|week|month|year|all`

### Search Reddit

```bash
curl -s "https://www.reddit.com/search.json?q=rust+async&sort=relevance&limit=10" \
  -H "User-Agent: bitterbot/1.0"
```

### Post Comments

```bash
curl -s "https://www.reddit.com/r/programming/comments/POST_ID.json" \
  -H "User-Agent: bitterbot/1.0"
```

Response is array of two listings: `[0]` = post, `[1]` = comments tree.

### User Profile (public)

```bash
curl -s "https://www.reddit.com/user/USERNAME/submitted.json?limit=10" \
  -H "User-Agent: bitterbot/1.0"
```

## Twitter/X (requires API key)

Requires `TWITTER_BEARER_TOKEN` env var (from X Developer Portal).

### Search Recent Tweets

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

Query operators:

- `from:username` — tweets by user
- `to:username` — replies to user
- `#hashtag` — hashtag search
- `"exact phrase"` — exact match
- `-is:retweet` — exclude retweets
- `lang:en` — language filter
- `has:media` — tweets with media

### User Lookup

```bash
curl -s "https://api.twitter.com/2/users/by/username/elonmusk?user.fields=public_metrics,description,created_at" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN"
```

### User Timeline

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

## Tips

- Always include `User-Agent` header for Reddit (they block default agents).
- Reddit JSON endpoints append `.json` to any Reddit URL.
- HN Algolia API is the most reliable for search; Firebase API for real-time data.
- Twitter free tier allows 500K tweets/month read access.
- For rate-limited APIs, cache results and avoid repeated identical queries.
- Use `web_fetch` for HTML pages, `exec` + `curl` for JSON APIs.

From Bitterbot-AI/bitterbot-desktop, MIT.

More from Bitterbot-AI/bitterbot-desktop

Compare and alternatives

    Featured in

    Signals

    Stars
    2,478
    Forks
    422
    Open issues
    5
    Last commit (this folder)
    Apr 12, 2026 (6 months ago)
    Last release
    Oct 22, 2026 (5 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from Bitterbot-AI

    Cite this page

    social-data skill. Agent Mart. https://agentmart.dev/skills/bitterbot-ai-social-data (last updated 2026-10-24)