/investigators-copilot:telegram-harvestfrom investigators-copilot
Scrapes Telegram channels for marketplace/account-sale/fraud listings using tgspyder, offline language detection and translation, and rule-based extraction into XLSX with clue columns. For use when harvesting channels into a spreadsheet.
Ships in investigators-copilot. 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; scripts run unread.
Port of the founder's assafkip/account-procurement-tools pipeline (see NOTICE.md).
Deterministic: keyword dictionaries + regexes, no LLM, no external API at run time.
channels.txt -> tgspyder (scrape + invite links) -> lingua detect -> Argos translate (offline)
-> extract.py rules (type, price, PIN, verified, qty, handles, links)
-> geo_clues.py (clues only, never a country verdict)
-> telegram-harvest.xlsx + listings.jsonl + urls.tsv
bash skills/telegram-harvest/setup.sh # venv, deps, tgspyder, Argos models
# tgspyder is not vendored: TGSPYDER_SRC=<checkout> bash .../setup.sh if it is elsewhere
skills/telegram-harvest/.venv/bin/tgspyder @somechannel --chats # one interactive login
Telegram login uses a real account session: founder decision per case. Sessions are secrets; never commit them.
PY=skills/telegram-harvest/.venv/bin/python
H=skills/telegram-harvest/scripts/harvest.py
# live scrape into the active case (raw-collections/<ts>-telegram-harvest/)
$PY $H --channels <case>/investigation/evidence/telegram-channels.txt --case
# via SOCKS proxy
$PY $H --channels channels.txt --case --proxy socks5://127.0.0.1:9050
# offline: re-process an existing tgspyder messages CSV, no models needed
python3 $H --from-csv messages_x.csv --channel @x --case --no-translate
# a different rule profile (copy config/keywords.json and edit the terms)
$PY $H --channels channels.txt --case --keywords path/to/keywords.json
Bounded: --max-messages per channel (default 5000).
The sheet keeps the 23 template columns in order (Date of Finding ... Screenshot 4),
then helper columns prefixed »: Confidence (high/medium/low), Needs Review, Clue:
Language, Clue: Country Words, Clue: Phone Country, Clue: TG Handles, Source Channel,
Message ID, Message Date, Original Text, English Text. Vendor Type, Ecosystem (Geo)
and Geo of Acc. are left blank and highlighted: a human makes the country call.
bash skills/osint/scripts/capture-evidence.sh --batch <run-dir>/urls.tsv --case <case>
(trim urls.tsv to the rows you need first; add --social per line for media).ingest-client-document.sh <run-dir>/telegram-harvest.xlsx <slug> document --provided-by "telegram-harvest run <ts>"..claude/rules/q-investigation.md).config/keywords.json: account types, flags, quantity/payment/transfer/spend/history/age
terms, in any language. Short Latin terms match on word boundaries; longer or CJK
terms match as substrings.config/countries.json: country names, demonyms and local terms for the clue column.python3 -m pytest skills/osint/tests/test_telegram_harvest.py -q
(offline: extraction, clues, confidence, workbook columns, CSV mode).
NOTICE.md (opens in a new tab)config/channels.example.txt (opens in a new tab)config/countries.json (opens in a new tab)config/keywords.json (opens in a new tab)requirements.txt (opens in a new tab)scripts/build_sheet.py (opens in a new tab)scripts/extract.py (opens in a new tab)scripts/geo_clues.py (opens in a new tab)scripts/harvest.py (opens in a new tab)scripts/install_models.py (opens in a new tab)scripts/lang_translate.py (opens in a new tab)scripts/scrape.py (opens in a new tab)setup.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/geo-sleuthGeolocate or chronolocate a photo with tool-verified reasoning, then route every output into the case's EV-NNNN evidence chain. Companion to the upstream Oldcircle/geo-sleuth agent skill (MIT): its scripts do metadata, OCR, reverse image search, sun/shadow math, OSM corridors, DEM skylines and street-view ranking. Use when: "where was this photo taken", "geolocate this image", "when was this taken", "chronolocate", "find the location of this picture". NOT for: identifying a person in a photo (use /q-face, founder approval required), or photos of private individuals whose location the case has no lawful reason to find.
/leak-record-classifierClassify a client-provided leaked/breach-database CSV export (Maltego D4 format) against a subject's identity anchors (SSN, DOB, address, email) into confidence tiers, producing cleaned/filtered-out CSVs and a color-coded Excel deliverable. Use when: analyzing a leaked-records CSV, a Maltego D4 export, breach data for a named subject, "leaked database export", "reformat this CSV of records", filtering false-positive name matches out of a data broker/breach dump. NOT for: live OSINT collection (see the osint skill), report narrative writing (case-specific, stays bespoke per subject), or non-CSV evidence (see extract-intake.py for PDF/DOCX/image verbatim extraction).
npx claudepluginhub assafkip/investigators-copilot --plugin investigators-copilotOther plugins' skills for the same job