# he4rt-twitter-engagement-tracker

This skill helps build a Chrome extension that observes X/Twitter activity and exports engagement data as JSON. Use it when community analytics need browser-collected data.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 875 installs · ★ 12
- Author: reason-machines
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/marketing-skills/tree/HEAD/skills/he4rt-twitter-engagement-tracker/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/he4rt-twitter-engagement-tracker

## What it does

The skill describes a Chrome extension that watches GraphQL responses received while browsing X/Twitter. It can collect tweets, likes, replies, profile details, and users who liked a post, then shape the captured information into JSON for backend or Laravel ingestion.

Its structure uses `manifest.json`, `interceptor.js`, `content.js`, `background.js`, and popup assets. The interceptor patches `window.fetch` in the MAIN world, the content script bridges page messages to the extension, and the service worker processes the payload. A tracked handle can be stored with `chrome.storage.local`.

Setup requires Chrome or Brave, Developer mode, and an unpacked extension directory. The manifest needs access to `https://x.com/*` and `https://twitter.com/*`. Without those host permissions, the extension cannot receive the relevant GraphQL responses.

## Requirements
- Works with: Chrome

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill he4rt-twitter-engagement-tracker -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/he4rt-twitter-engagement-tracker/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/he4rt-twitter-engagement-tracker/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill he4rt-twitter-engagement-tracker -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/he4rt-twitter-engagement-tracker/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill he4rt-twitter-engagement-tracker -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/he4rt-twitter-engagement-tracker/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/marketing-skills he4rt-twitter-engagement-tracker
```

2. **Manually: put the files in place**
- File: `.github/skills/he4rt-twitter-engagement-tracker/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill he4rt-twitter-engagement-tracker -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/marketing-skills --path skills/he4rt-twitter-engagement-tracker
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/he4rt-twitter-engagement-tracker/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill he4rt-twitter-engagement-tracker -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/marketing-skills/tree/HEAD/skills/he4rt-twitter-engagement-tracker/SKILL.md

## When to use it
- capture X/Twitter GraphQL responses
- track posts and reactions for a handle
- collect likers and reply activity
- export engagement metrics as JSON
- send captured data into a Laravel backend

## Example prompts
- Build a Chrome extension that tracks community activity on X/Twitter.
- Set up passive GraphQL response capture on X/Twitter and export the results as JSON.
- Store the tracked handle with `chrome.storage.local` and process the captured events.

## Similar
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1200000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs
- [computer-use](https://affpapa.org/en/nevibecode/skills/computer-use.md) — skill · 239600 installs
- [browser-use](https://affpapa.org/en/nevibecode/skills/browser-use.md) — skill · 98200 installs
- [playwright-cli](https://affpapa.org/en/nevibecode/skills/playwright-cli.md) — skill · 195700 installs
- [last30days](https://affpapa.org/en/nevibecode/skills/last30days.md) — skill · 53000 installs

From the same set: [reason-machines/marketing-skills](https://affpapa.org/en/nevibecode/by/reason-machines/marketing-skills.md) — 53 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
