/spotlight:social-media-intelligencefrom spotlight
Assesses account authenticity, detects coordinated inauthentic behavior, and tracks narrative spread across social media platforms. Useful for investigations into bot activity, coordinated campaigns, and evidence trail building.
Ships in spotlight. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Before trusting a social media account as a source, assess its authenticity. Work through these red flags systematically.
| Signal | Red flag threshold | How to check |
|---|---|---|
| Account age | Created < 30 days ago | Profile creation date |
| Follower/following ratio | Ratio < 0.1 (follows 10x more than follows back) | Profile stats |
| Posting volume | > 50 posts/day sustained | Post count ÷ account age |
| Profile photo | Generic, stock-looking, or AI-generated | Reverse image search (TinEye, Google Lens) |
| Bio content | Keyword-stuffed, no personal details, copied text | Read and search bio phrases |
| Personal content ratio | Mostly reshares, < 10% original content | Scroll recent posts |
| Engagement rate | Unusually high (> 20%) or unusually low (< 0.1%) | Likes + comments ÷ followers |
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]."
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.
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.
When investigating how a claim spread, reconstruct the propagation chain.
Search for the earliest known instance of the claim or content:
{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 viralFor each major appearance of the claim, record:
{
"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"
}
Who has the largest reach in the spread? Are they:
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.
Status as of 2026 — platform APIs change fast; verify pricing/access before designing collection around any one path.
| Platform | Best approach | Notes |
|---|---|---|
| X (Twitter) | Official API (pay-per-use since Feb 2026, replaced Basic/Pro tiers); X Pro Search (Premium+); Apify X scraper | Free 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 / Instagram | Meta Content Library + Library API (research); Junkipedia (free); Apify | CrowdTangle 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 |
| TikTok | Research API (developers.tiktok.com — academic/nonprofit; EU via DSA Art. 40); Exolyt, Pentos, Apify | Limited historical data; Commercial Content endpoints expanded 2026 |
| Reddit API (free, non-commercial); Arctic Shift (Pushshift successor, free dumps) | Pushshift is moderator-only since 2023 — not a research path | |
| YouTube | YouTube Data API v3 | 10,000 units/day default; each search costs 100 units (~100 searches/day) |
| Bluesky | Jetstream (filtered JSON over WebSocket, no auth) or raw AT Protocol firehose | Jetstream ~850 MB/day filtered; raw firehose 4-8 GB/hour |
| Threads | Meta Content Library (research) | Public-profile discovery threshold lowered to 100 followers, Mar 2026 |
| Mastodon / Fediverse | Per-instance public-timeline API; search.noc.social | Many instances set DISALLOW_UNAUTHENTICATED_API_ACCESS; cross-instance search is fragmented |
| Telegram | Bot API + MTProto; t.me/s/ previews; TGStat, Telemetrio, Telegago, Telepathy, TelegramDB | Public channels legal to collect in most jurisdictions; private groups off-limits |
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.
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.
| Platform | Actor 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 |
culc72xb7MP3EbaeX (apidojo/instagram-scraper) | {"startUrls": ["<profile URL>"], "maxItems": 50} | |
| TikTok | novi~tiktok-user-api | {"urls": ["<user URL>"], "limit": 50} |
cleansyntax~facebook-profile-posts-scraper | {"endpoint": "profile_posts_by_url", "urls_text": "<page or profile URL>", "max_posts": 50} | |
curious_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.
Verify operational status before citing any tool in reporting.
Social content disappears. Archive before you cite.
Archive every post that supports a finding using invoke-skill("web-archiving"). For social media specifically:
In findings.json, add social media evidence using the standard source schema with type: "social_media":
{
"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.
findings.json source schema (type: "social_media", authenticity_flags, coordination_signals) with confidence_rationale tie-ins — no upstream equivalent.PLATFORM_SCRAPER under shell-safety discipline; Apify remains a deliberate collection path with the ToS risk documented rather than avoided.web-archiving skill instead of inline wrappers.Reconciled against upstream @ 2097d218 (2026-07-06).
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.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (buriedsignals/spotlight) — no native marketplace selected
npx claudepluginhub p/buriedsignals-spotlight26 skills in this plugin
/acquisition-graduationConvert repeated dev-browser acquisition successes into durable Spotlight acquisition guidance. Use after a non-trivial browser acquisition works repeatedly and should become a reusable source/domain path without storing secrets, cookies, or fragile session details./arbiterUse the native Arbiter HTTPS API to browse or create bounded social-media case studies and attach its analytics to a Spotlight report./content-accessWork through the legal access hierarchy for paywalled or restricted sources before marking them inaccessible and downgrading confidenceOther plugins' skills for the same job