second-deposit-igaming – skill Dữ liệu & Khoa học cho agent AI
Khám phá dữ liệu xuất tiền gửi của casino địa phương với tín hiệu heuristic và so sánh mang tính mô tả. Dữ liệu người chơi nhạy cảm; danh sách liên hệ và việc dùng quy định theo quốc gia cần xác minh riêng với nhà vận hành.
Cài skill second-deposit-igaming bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/second-deposit-igaming-73b4d.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /second-deposit-igaming – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/second-deposit-igaming-73b4d.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $second-deposit-igaming – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/second-deposit-igaming-73b4d.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /second-deposit-igaming – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/second-deposit-igaming-73b4d.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /second-deposit-igaming – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
second-deposit-igaming: why first-time depositors skip the second deposit
For industry professionals (casino CRM, retention, product and analytics teams). 21+. Not gambling advertising.
Overview
A Claude Code skill that reads casino back-office exports (deposits with all attempts; optionally withdrawals, bonuses, bets and players) as CSV or XLSX with any column names. It assigns every first-time depositor (FTD) one of 12 heuristic signals for not making a second deposit, estimates missed second deposits and Sum Dep per reason against a norm of similar players, computes 24 metrics, shows exploratory segments selected by an uncorrected heuristic z score and builds a list of recent FTDs for CRM with an action that depends on the player's state and country rules. Calculations run in local Python scripts (python3 3.9 or newer, standard library only). The inspector suppresses raw cell values; file/sheet/column names and small aggregates may still identify people. Review output locally before sharing.
Source repository: https://github.com/igamingsychov/second-deposit-igaming (MIT, author Yevhen Sychov). The detailed instructions after the English sections are the Russian skill text with local review corrections. Support files used by the instructions: scripts/, references/, examples/.
When to Use
- The user asks why FTDs do not come back, asks about the second deposit, STD or FTD to STD, or asks to analyze casino deposits.
- The user provides deposit exports (CSV or XLSX) or wants a daily list of recent FTDs without a second deposit for CRM.
- The user does not know what to export: the skill points to the sample workbook and the SQL queries in
examples/. - Original trigger phrases: "второй депозит", "STD", "почему FTD не возвращаются", "разбери депозиты", "second deposit", "FTD to STD", "/second-deposit".
Examples
show the second-deposit skill demo
why don't our FTDs come back? exports are in ~/Downloads/exports
build today's FTD list from the fresh exportLimitations
- No market benchmarks. Without history the reasons, actions and country rules work from day one, while the norm, forecast and money appear from day 8, once 50 FTDs are older than 7 days. A 60-120 day export gives the full calculation at once.
- The number of reasons depends on the files: deposits with all attempts are the minimum, and one query with deposits and withdrawals covers 7 of 12 reasons.
- A reason shows where players are lost, it does not prove the cause. The saved hash-based group assignment alone does not establish delivery or a causal effect; validate experiment design, adherence, contamination, power and uncertainty.
- Google Sheets links are not opened: the user downloads the workbook as XLSX.
- Country rules (legal payout deadlines, payment methods banned in the country, legal deposit limits) cover the countries listed in
references/geo_rules.md, state as of 18.10.2026, an unverified snapshot with some secondary links. Country rules are disabled by default; verify current primary sources and applicability before --verified-country-rules. - Players with responsible gambling flags are excluded from the calculation and the list. Local contact lists are withheld by default; --confirmed-contact-eligibility additionally requires mapped RG flags. An operator must verify every candidate’s age, consent, restrictions and harm indicators before opting in.
Security & Safety Notes
- Privacy: the model must not read export rows directly. Local Python reads the files. Column mapping uses only the output of
scripts/sd_inspect.py, which suppresses raw cell values but does not certify anonymity. Player lists are written to files and are not opened in the chat. - No uploads, web services or external APIs. Scripts write results to
<folder>/second-deposit/. - The optional daily schedule adds a crontab line (or a Windows scheduled task) only after explicit user consent, because it is a persistent change to the user's computer.
Review boundaries
The monetary “min/max” values are two descriptive calculations, not statistical confidence bounds, recoverable revenue or a proven upper bound. Signals can use post-outcome information and overlap in priority order. A threshold of 50 or 300 FTDs does not guarantee reliability. Validate export coverage, duplicates, currencies, time zones, observation windows and profile compatibility; use a separate output folder per project.
No messages are sent. Default analysis withholds contact lists and country rules. Only a responsible operator who has checked current per-player age, consent, exclusion/limits/harm status and jurisdiction may enable --confirmed-contact-eligibility with mapped RG fields. Enable --verified-country-rules only after reviewing current primary rules for the exact licence and territory. A listed method is a reference filter, never legal approval. Do not use rapid losses to recommend games, stakes or bonuses.
Output files overwrite prior results in the chosen dedicated folder. Back up profiles/logs; restrict access and retention. Exported CSV cells that look like formulas receive a leading apostrophe; prefer XLSX for viewing and verify IDs before a CRM import. Never open the internal rescue log in a spreadsheet as an export.
Original instructions
The text below includes local safety and correctness amendments.
Второй депозит
Скилл отвечает на вопрос "почему FTD не возвращаются и сколько это стоит". Считает код, модель только сопоставляет колонки и пересказывает итоги. Скрипты локальны, но вывод и summary.json содержат названия и малые агрегаты, которые могут идентифицировать человека. Перед передачей модели нужна локальная проверка; не обещай анонимность.
Папка скилла: та, где лежит этот файл (обычно ~/.claude/skills/second-deposit). Нужен только python3 (3.9 и новее), сторонние библиотеки не нужны.
Правила приватности (строго)
1. Не открывай выгрузки и не читай их строки: ни Read, ни cat, ни head. Все, что нужно для сопоставления, печатает sd_inspect.py, он не печатает исходные значения, но названия файлов/листов/колонок тоже могут быть чувствительными. Статусы сверяет оператор локально.
2. Не открывай rescue_list.csv, excluded_rg.csv и файлы в папке lists, в них ID игроков. summary.json, profile.json, rescue_log.csv и daily.log тоже чувствительны: не открывай их модели без локальной проверки/редактирования пользователем. Пересказывай только проверенные безопасные агрегаты.
3. Не отправляй данные никуда: никаких загрузок, веб-сервисов и внешних API.
4. Если пользователь сам вставил строки с данными игроков в чат, не повторяй их в ответе.
Как скилл учится под проект
- Есть история. Полный запуск по выгрузке за 60-120 дней собирает профиль проекта
profile.json: второй депозит за 24 часа, 72 часа, 7 и 30 дней, кривые возврата по каждой причине и у нормы, норма похожих игроков, додепы (сумма второго депозита, второй к первому, депозитов у вернувшегося, Sum Dep), апрув по странам и способам оплаты, время выплаты. Ежедневные запуски берут вводные из профиля и считают прогноз по списку на сегодня. Профиль обновляется каждым полным запуском. - Истории нет. Публичного бенчмарка второго депозита нет: открытых цифр с методикой не нашлось ни по одной стране, поэтому скилл не подставляет чужие цифры. Причины, действия и правила стран работают с первого дня. Норма, прогноз и деньги появляются с 8-го дня: когда у первых FTD пройдет 7 дней и таких FTD наберется 50, скрипт сам перейдет на полный расчет и сохранит профиль. Если пользователь просит ориентиры или нормы рынка, скажи именно это и не называй цифр.
- Правила стран (
references/geo_rules.json, описание и официальные источники вgeo_rules.md): порог долгого вывода по законному сроку страны, если он короче 24 часов (Бразилия 2 часа, Колумбия 12); запрещенные в стране способы оплаты не подсказываются; при отказе по лимиту депозитов другой способ не предлагается, действие "объяснить лимит"; игрок с блокировкой гемблинга в банке исключается, как флаг ответственной игры. Чтобы фильтр способов работал точно, добавь вmapping.jsonполеmethod_types: каждому способу оплаты из выгрузки типcard,credit_card,instant_bank,online_banking,ewallet,voucher_cash,mobile_moneyилиcrypto(без него тип угадывается по названию). Если страны в выгрузке нет, а проект работает в одной стране, запускай с--country BR.
Два режима
- Полный (первый запуск, потом раз в месяц): выгрузка за 60-120 дней. Причины, недобор вторых депозитов и Sum Dep (вилка от и до) против нормы похожих игроков, показатели, срезы, список. Сохраняет профиль проекта
profile.json. - Список (каждый день): выгрузка за последние 7 дней с датой первого депозита у игроков. Причины и список на сегодня; способы оплаты, история причин и прогноз из профиля. Скрипт сам выбирает режим: если FTD старше 7 дней меньше 50, это режим списка.
- Обе выгрузки кладутся в одну рабочую папку проекта,
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- segment-cdp – Mẫu thực hành chuyên sâu cho Segment Customer Data Platform, gồm Analytics.js, tracking…
- senior-fullstack – Điều phối triển khai full-stack qua các ranh giới giao diện, service, cơ sở dữ liệu và…
- skill-gap-analysis – Sổ theo dõi khoảng cách kỹ năng: nhân viên, lĩnh vực kỹ năng, mức hiện tại so với mức…
- skill-optimizer – Chẩn đoán và tối ưu Agent Skills (SKILL.md) dựa trên dữ liệu phiên làm việc thực tế và…
- skin-health-analyzer – Phân tích dữ liệu sức khỏe da, nhận diện các mẫu vấn đề da, đánh giá tình trạng sức khỏe…
- snowflake-development – Trợ lý phát triển Snowflake toàn diện, bao phủ best practice SQL, thiết kế pipeline dữ…
- spark-optimization – Tối ưu job Apache Spark với phân vùng, caching, tối ưu shuffle và tinh chỉnh bộ nhớ…
- sql-injection-testing – Thực hiện đánh giá toàn diện lỗ hổng SQL injection trên ứng dụng web để tìm lỗi bảo mật…