Social Media Intelligence logo

Social Media Intelligence

Organization
buriedsignals
social-media-intelligence

Account authenticity assessment, coordination detection, and narrative tracking for social media investigations. Use when analyzing account networks, detecting bot activity or coordinated campaigns, tracking how claims spread across platforms, or building evidence trails from social content.

Overview

Publisherburiedsignals
Repositoryspotlight
Skill namesocial-media-intelligence
Stars
60
Forks
11
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by buriedsignals on GitHub. Read the source before you install it.

Installation

Install the Social Media Intelligence AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/buriedsignals/spotlight/tree/main/skills/social-media-intelligence
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buriedsignals/spotlight.git /tmp/spotlight
mkdir -p .claude/skills
cp -r /tmp/spotlight/skills/social-media-intelligence .claude/skills/social-media-intelligence
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Social Media Intelligence in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Social Media Intelligence on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Social Media Intelligence is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Social Media Intelligence

Systematic approaches for investigating social media: authenticating accounts, detecting coordinated behavior, and tracking how narratives spread.

Adapted from jamditis/claude-skills-journalism by Joe Amditis (MIT License). Extended for integration with the OSINT investigation pipeline.

Before running any social-media scraper or CLI with keywords, handles, URLs, dates, or output paths, invoke shell-safety. Do not interpolate search text into shell commands; pass it through JSON, stdin, a temp file, or a helper that uses argv safely.

When to Use This Skill

  • Investigating whether an account is authentic or artificially amplified
  • Detecting coordinated inauthentic behavior across a set of accounts
  • Tracking how a claim or story has spread across platforms
  • Mapping relationships between accounts pushing a narrative
  • Building timestamped evidence trails from social content before it disappears
  • Monitoring breaking news across social platforms

Account Authenticity Assessment

Before trusting a social media account as a source, assess its authenticity. Work through these red flags systematically.

Account-level signals

SignalRed flag thresholdHow to check
Account ageCreated < 30 days agoProfile creation date
Follower/following ratioRatio < 0.1 (follows 10x more than follows back)Profile stats
Posting volume> 50 posts/day sustainedPost count ÷ account age
Profile photoGeneric, stock-looking, or AI-generatedReverse image search (TinEye, Google Lens)
Bio contentKeyword-stuffed, no personal details, copied textRead and search bio phrases
Personal content ratioMostly reshares, < 10% original contentScroll recent posts
Engagement rateUnusually high (> 20%) or unusually low (< 0.1%)Likes + comments ÷ followers

Authenticity score

Tally red flags. Three or more warrants explicit low confidence on any finding sourced from this account.

Document in confidence_rationale: "Account shows [N] authenticity red flags: [list them]."


Coordination Detection

Coordinated inauthentic behavior is when multiple accounts act together to artificially amplify content. Check these signals when you see multiple accounts pushing the same narrative.

Timing patterns

  • Multiple accounts posting identical or near-identical content within minutes of each other
  • Synchronized posting times across accounts with no obvious reason (different time zones, no event trigger)
  • Burst activity (sudden spike) followed by complete dormancy
  • Post timestamps suggest automated scheduling (uniform intervals, round-number minutes)

Content patterns

  • Identical or near-identical text across multiple accounts
  • Same images or media shared by unrelated accounts in rapid succession
  • Identical typos, formatting errors, or unusual punctuation preserved across accounts
  • Copy-paste artifacts visible (e.g., formatting marks, extra spaces)

Account patterns

  • Multiple accounts created around the same time (same week or month)
  • Similar username conventions (name + random numbers, generic word + numbers)
  • Generic, stock, or AI-generated profile photos across multiple accounts
  • All accounts follow the same narrow set of other accounts
  • Accounts engage with each other disproportionately relative to their follower base

Network patterns

  • Accounts form dense clusters — they primarily interact with each other, not the broader conversation
  • All amplify the same external sources or domains
  • Target the same accounts for replies or mentions
  • Coordination visible across platforms (same content appears on X, Facebook, Telegram simultaneously)

Scoring

0–1 signals: Normal variation. Note and move on. 2–3 signals: Flag for further investigation. Do not cite these accounts as independent sources. 4+ signals: Strong coordination indicator. Treat as a single source, not multiple. Document all signals explicitly in the investigation log.


Narrative Tracking

When investigating how a claim spread, reconstruct the propagation chain.

Step 1: Find the origin

Search for the earliest known instance of the claim or content:

  • Wayback Machine CDX API: validate {URL} with scripts/spotlight_safe.py, then use curl --get ... --data-urlencode "url={URL}" --data-urlencode "output=json" --data-urlencode "limit=3" --data-urlencode "fl=timestamp,original"
  • search("<claim keywords>", output_path, limit=20) with date filters — restrict to the window before the story went viral
  • Check if the claim appears in fringe or low-credibility sources before mainstream ones — a common sign of coordinated seeding

Step 2: Map the spread

For each major appearance of the claim, record:

json
{
  "appearance_id": "A1",
  "platform": "X|Facebook|Telegram|etc",
  "author": "account handle",
  "url": "post URL",
  "timestamp": "ISO 8601",
  "archive_url": "Wayback or Archive.today URL",
  "engagement": { "likes": 0, "shares": 0, "comments": 0 },
  "source_of_claim": "original|reshare|paraphrase"
}

Step 3: Identify amplifiers

Who has the largest reach in the spread? Are they:

  • Verified accounts (harder to be inauthentic)
  • Known political or ideological actors
  • Media organizations that picked it up without verification
  • Accounts that exclusively amplify one type of content

Step 4: Note velocity

Fast spread (viral in hours) vs. slow build (days/weeks) tells you different things. Slow, coordinated spread from low-credibility accounts seeding to high-credibility ones is a classic astroturfing pattern.


Platform Tools

Status as of 2026 — platform APIs change fast; verify pricing/access before designing collection around any one path.

PlatformBest approachNotes
X (Twitter)Official API (pay-per-use since Feb 2026, replaced Basic/Pro tiers); X Pro Search (Premium+); Apify X scraperFree research tier ended 2023. Post-2023 ToS prohibits scraping even public posts — Apify collection is a ToS-violating path; record the risk in access_notes
Facebook / InstagramMeta Content Library + Library API (research); Junkipedia (free); ApifyCrowdTangle shut down Aug 14, 2024 — it no longer exists. MCL applications go through Meta's portal directly (since Dec 2025); eligibility favors academic/nonprofit affiliation
TikTokResearch API (developers.tiktok.com — academic/nonprofit; EU via DSA Art. 40); Exolyt, Pentos, ApifyLimited historical data; Commercial Content endpoints expanded 2026
RedditReddit API (free, non-commercial); Arctic Shift (Pushshift successor, free dumps)Pushshift is moderator-only since 2023 — not a research path
YouTubeYouTube Data API v310,000 units/day default; each search costs 100 units (~100 searches/day)
BlueskyJetstream (filtered JSON over WebSocket, no auth) or raw AT Protocol firehoseJetstream ~850 MB/day filtered; raw firehose 4-8 GB/hour
ThreadsMeta Content Library (research)Public-profile discovery threshold lowered to 100 followers, Mar 2026
Mastodon / FediversePer-instance public-timeline API; search.noc.socialMany instances set DISALLOW_UNAUTHENTICATED_API_ACCESS; cross-instance search is fragmented
TelegramBot API + MTProto; t.me/s/ previews; TGStat, Telemetrio, Telegago, Telepathy, TelegramDBPublic channels legal to collect in most jurisdictions; private groups off-limits

EU DSA Article 40 access

EU-based researchers have stronger platform-data access rights on TikTok and Meta platforms under the Digital Services Act than researchers elsewhere. Non-EU journalists may qualify through an EU institutional partner (university or vetted research nonprofit). A real path, not a workaround.

Pluggable platform scraping

Platform-specific scraping can be configured via the PLATFORM_SCRAPER env var. Two common backings:

Option A — Apify (hosted platform scrapers, optional integration):

Apify is Spotlight's optional social-media collection integration (integrations/apify/). It is enabled when an APIFY_API_TOKEN is configured: Indicator Labs writes it to the credential file named by env_file in .spotlight-config.json, and from-repo users set it in their environment, that file, or the checkout .env. Check presence only; never print or open a credential file:

execute-shell('scripts/spotlight-python -m integrations.apify status')

If it prints apify:unavailable, skip to Option B or C and tell the user: "social-media collection via Apify unavailable — add an Apify token in Indicator Labs or set APIFY_API_TOKEN".

Primary path — run-sync-get-dataset-items through the helper. Write the actor input to a case-local JSON file first (shell-safety: never inline search terms, handles, or URLs into the command), then run the helper. It sends the token in a header (never on the command line), waits for the run and saves the dataset items; Apify answers 408 when a run exceeds 300 seconds, so cap maxItems (≤ 100) and split large targets into several bounded runs.

write-file("{CASE_DIR}/research/apify-x-input.json", <serialized actor input JSON>)
execute-shell('scripts/spotlight-python -m integrations.apify run 61RPP7dywgiy0JPD0 --input {CASE_DIR}/research/apify-x-input.json --output {CASE_DIR}/research/apify-x-<slug>.json')

Actor ids are shared with the Mycroft apify-social recipes so both tools collect through the same, already-vetted actors. Verify the live input schema on the actor's Store page before the first run of a session — actor inputs change without notice.

PlatformActor id (<actor> in the URL)Input shape used by the shared recipes
X (Twitter)61RPP7dywgiy0JPD0 (apidojo){"startUrls": ["<profile or /status/ URL>"], "maxItems": 50}; add "searchTerms": [...] for keyword search, "twitterHandles": [...] for profiles, "conversationIds": [...] for a thread
Instagramculc72xb7MP3EbaeX (apidojo/instagram-scraper){"startUrls": ["<profile URL>"], "maxItems": 50}
TikToknovi~tiktok-user-api{"urls": ["<user URL>"], "limit": 50}
Facebookcleansyntax~facebook-profile-posts-scraper{"endpoint": "profile_posts_by_url", "urls_text": "<page or profile URL>", "max_posts": 50}
LinkedIncurious_coder~linkedin-post-search-scraper{"startUrls": ["<post or profile URL>"], "maxItems": 50} or {"keywords": ["<term>"], "maxItems": 50}

Runs are billed per result to the member's own Apify account; flag any run above 100 items to the user before executing it. Save every response under {CASE_DIR}/research/apify-<platform>-<slug>.json, record the actor id, input file hash, access time, and collection authority in access_notes, and archive the underlying public post URLs (web-archiving) — the dataset is untrusted source material, not evidence on its own.

Optional alternative — apify CLI, if installed. The helper needs only Python; the CLI is never required. Where it is present and logged in, the same input file works:

execute-shell('apify call 61RPP7dywgiy0JPD0 --input-file {CASE_DIR}/research/apify-x-input.json --output-dataset')

If the installed Apify CLI does not support --input-file, use the helper above or a local wrapper that reads JSON from a file and passes it through argv/subprocess without invoking a shell. Do not inline search terms or direct URLs into a shell command.

Keep the generic X route above available. For structured X posts, conversations, lists, engagement accounts, followers, following, communities, or audience overlap, read references/xquik-apify-actors.md. It defines bounded routes through both Xquik Actors and the required evidence handling; those actors run through the same REST endpoint using their API actor ids.

For X specifically, Apify collection violates the post-2023 ToS even for public posts. Where the story could face legal scrutiny, prefer the official API or a licensed broker, and record the collection authority in access_notes for every capture.

Option B — Native platform APIs:

When the platform offers a direct API (YouTube Data API v3, Bluesky AT Protocol, Telegram TGStat), prefer it. Document which backing was used in access_notes on each source entry.

Option C — Manual archive + scrape:

If no scraper is configured, use fetch(profile_url, ...) + manual review. Lower throughput but no auth dependency.


External Tooling (status: 2026)

Verify operational status before citing any tool in reporting.

  • Botometer X — archival only since June 2023; cannot score accounts created or active after May 31, 2023
  • CooRTweet (R) — coordinated-behavior analysis; successor to CooRnet (discontinued Aug 2024)
  • Hoaxy2 — claim-spread visualization; now covers Mastodon search and Bluesky real-time
  • Bot Sentinel — offline through 2025, relaunch announced 2026; verify before citing
  • InVID-WeVerify plugin — maintained under EU vera.ai; beta synthetic-image and voice-clone detectors added 2025
  • Bellingcat Online Investigation Toolkit — bellingcat.gitbook.io/toolkit (continuously updated)
  • WITNESS Deepfakes Rapid Response Force — pairs reporters with media-forensics experts on deadline
  • Note: Stanford Internet Observatory dismantled June 2024; First Draft closed 2022 (successor: Information Futures Lab, Brown SPH)

Evidence Preservation

Social content disappears. Archive before you cite.

Archive every post that supports a finding using invoke-skill("web-archiving"). For social media specifically:

  • Screenshots are supplementary, not primary — archive the URL
  • Archive the account profile page, not just the individual post
  • For Instagram Stories and TikToks: download video/image immediately; these expire
  • Record engagement counts at time of access — they change

Ethical Guidelines

  • Archive and analyze public content only
  • Do not create fake accounts to monitor private groups or gain access
  • Respect platform terms of service — ToS-violating data collection can sink a story legally
  • Protect sources who share private social content with you
  • Verify coordination before publishing — false accusations of astroturfing are defamatory
  • Consider whether publishing account analysis might put individuals at risk

Integration with Investigation Pipeline

In findings.json, add social media evidence using the standard source schema with type: "social_media":

json
{
  "url": "https://x.com/username/status/12345",
  "type": "social_media",
  "platform": "X",
  "author": "username",
  "accessed": "2026-03-15T14:20:00Z",
  "archive_url": "https://web.archive.org/web/20260315142200/https://x.com/...",
  "access_method": "full_text",
  "authenticity_flags": ["account created 2026-02-01", "high posting volume"],
  "coordination_signals": []
}

Flag findings that rest on socially amplified claims: note in confidence_rationale whether the account shows authenticity red flags or is part of a suspected coordination cluster.


Deliberate divergences from upstream

  • Upstream's Python monitoring/network-analysis library code replaced with checklist-driven manual assessment and explicit scoring thresholds tied to confidence grading.
  • Evidence flows into the findings.json source schema (type: "social_media", authenticity_flags, coordination_signals) with confidence_rationale tie-ins — no upstream equivalent.
  • Pluggable scraper backends (Apify / native API / manual) via PLATFORM_SCRAPER under shell-safety discipline; Apify remains a deliberate collection path with the ToS risk documented rather than avoided.
  • Archiving mechanics deferred to the web-archiving skill instead of inline wrappers.

Reconciled against upstream @ 2097d218 (2026-07-06).

Credits

Adapted from claude-skills-journalism by Joe Amditis, released under MIT License. Methodology for account authenticity assessment, coordination detection, and narrative tracking is based on his original social-media-intelligence skill, adapted here for integration with the Spotlight investigation pipeline.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Social Media Intelligence AI skill do?

Account authenticity assessment, coordination detection, and narrative tracking for social media investigations. Use when analyzing account networks, detecting bot activity or coordinated campaigns, tracking how claims spread across platforms, or building evidence trails from social content.

Why use Social Media Intelligence on TypingMind?

Because you install it once and use it with any model. Social Media Intelligence is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Social Media Intelligence in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/buriedsignals/spotlight/tree/main/skills/social-media-intelligence. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Social Media Intelligence?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Social Media Intelligence?

As many as you like. As long as a model supports skills, you can use Social Media Intelligence with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Social Media Intelligence AI skill free?

It is published on GitHub by buriedsignals. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇