Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fde-prob-idu

БесплатноБез исполняемых скриптовНе проверен

Sets up probabilistic ID unification on Treasure Data: finds duplicate people missed by deterministic IDU (typos, changed emails or inconsistent phone/address…

treasure-dataот treasure-data★ 23 звезды на GitHub

Об этом скилле

Probabilistic ID Unification

Groups records that belong to the same person but carry different canonical IDs — using fuzzy similarity of email, phone, name or address — with the AI Signals pidu solution, and writes one cluster ID plus a match confidence per ID. The result is added to a Parent Segment for Audience Studio and activation, to suppress duplicates and build a single customer view.

How to Start

Read ../shared/playbook.md — it defines the entry point (new vs. resume), the phase sequence, the name gates and when to read each shared pattern. Follow that flow. Read each referenced file once per conversation: when this skill is invoked again later in the same conversation, the playbook and any reference files already read are still in context — don't read them again; in a new session, read project_state.md to pick up. This file provides the Prob-IDU-specific context for each phase.

AI Signals model questions: when the user asks how the clustering works, which API parameters exist, how to tune thresholds or weights, or wants to change the model's input or output tables, read references/ai-signals-guide.md first, and end the answer with the public documentation link at its top. It is not needed for the standard setup steps (Phases 1–3) — references/workflow-setup.md covers those.

Exceptions to the standard flow (../shared/solution_standard.md §5): Phase 3 writes the project's input query (sql/input_table.sql) in the workflow copy, besides the config; there is no standalone HTML dashboard — the agent answers with in-chat charts from the stats tables, so "dashboard" in the playbook's hands-on kit options means that.

Setup skill vs. project agent: this skill sets up, changes and rebuilds the solution; it is the same for every project. Once the project's own agent is installed in .claude/skills/ (<project_slug>-agent), questions about its results are answered by that agent. If this skill is invoked with such a question, read the installed agent's SKILL.md and answer by its rules (or tell the user to ask the agent in a new chat); if no agent is installed yet, say so and offer the setup.

Treasure AI Studio questions: when the user asks how Treasure AI Studio works — Work Folders, permissions and access, sharing skills or agents, plugins and marketplaces, or where to find Studio documentation — answer from what you know, then share the official documentation: https://docs.treasure.ai/products/ai-studio/overview

Phase Summary

Phase Stage What happens
Phase 1 DEV Data exploration — find the deterministic-IDU output and the identifier sources, check fill rates and reused values, pick the dedupe columns; draft business-context.md and review it with the user
Phase 2 DEV requirements.md, ending with the open business-context questions — then continue without waiting
Phase 3 DEV Copy the workflow template, write the input query and the config from Phase 1, push, run, validate; ask which hands-on kit to build
Phase 4 DEV Hands-on kit (customer agent with in-chat charts, interim guides); apply the customer's requirements, tune thresholds, re-push, re-run, re-validate, refresh the kit
Phase 5 PROD — only when you say the unification is ready Parent Segment attributes + example audiences, documentation set, finalize the customer agent, offer the final guides

Prob-IDU-Specific Context by Phase

Phase 1: Data Exploration

Use tdx-skills:tdx-basic (and tdx-skills:parent-segment-analysis for a Parent Segment). Do not search by table-name patterns.

  1. List every table in each database the user names: tdx tables "<database>.*". For a Parent Segment, bootstrap agent_outputs/ first (../shared/local_outputs.md Step 1), then tdx ps desc "<name>" -o agent_outputs/<project_slug>/ps_schema.json gives its output database.

  2. Classify each table from one column query covering all databases — not a tdx describe per table: SELECT table_schema, table_name, column_name, data_type FROM information_schema.columns WHERE table_schema IN ('<db1>', '<db2>') ORDER BY 1, 2, ordinal_position

    Bucket Criteria
    ID source One row per canonical ID from deterministic unification (persistent_id, unified_id, …), or a Parent Segment customers table
    Identifier source Profile / contact data per ID with email, phone, name, address or device attributes
    System / output Workflow outputs, ML results, aggregates of other tables. Not a source
  3. Ask once with AskUserQuestion: has deterministic ID unification run, and what is the canonical ID column? Which person-level question is this for (merge duplicate customers, one view across systems, suppress duplicate sends)? If deterministic unification has not run, tell the user it comes first.

  4. Run the discovery queries in references/workflow-setup.md §1 yourself, all in one shell command (no suba

Полный SKILL.md на GitHub

Установить fde-prob-idu в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

project_templates/agent_template/SKILL.template.mdproject_templates/agent_template/references/business-context.template.mdproject_templates/agent_template/references/data-dictionary.mdproject_templates/agent_template/references/model-setup-walkthrough.template.mdproject_templates/agent_template/references/tuning-advisor.mdproject_templates/agent_template/references/workflow-guide.template.mdproject_templates/workflow_template/README.mdproject_templates/workflow_template/body.txtproject_templates/workflow_template/config/global.ymlproject_templates/workflow_template/ml_prob_ai_signal.digproject_templates/workflow_template/ml_prob_unification_dashboard_stats.digproject_templates/workflow_template/ml_prob_unification_launch.digproject_templates/workflow_template/ml_prob_unification_presto_parallel.digproject_templates/workflow_template/sql/README.mdproject_templates/workflow_template/sql/blocking_query_agg.sqlproject_templates/workflow_template/sql/create_blocking_table.sqlproject_templates/workflow_template/sql/create_blocking_temp.sqlproject_templates/workflow_template/sql/create_features.sqlproject_templates/workflow_template/sql/email_predicates.sqlproject_templates/workflow_template/sql/final_dedup.sqlproject_templates/workflow_template/sql/final_dedup_select.sqlproject_templates/workflow_template/sql/get_cluster_histogram.sqlproject_templates/workflow_template/sql/get_final_table_stats_comparision.sqlproject_templates/workflow_template/sql/global_session_filter.sqlproject_templates/workflow_template/sql/input_table.sqlproject_templates/workflow_template/sql/merge_blocks.sqlproject_templates/workflow_template/sql/optimised_final_block_table.sqlproject_templates/workflow_template/sql/phone_predicates.sqlproject_templates/workflow_template/sql/prob_final_merge.sqlproject_templates/workflow_template/sql/prob_final_merge_select.sqlproject_templates/workflow_template/sql/save_model_stats.sqlproject_templates/workflow_template/sql/string_predicates.sqlproject_templates/workflow_template/tdx.jsonreferences/agent-setup.mdreferences/ai-signals-guide.mdreferences/dataprep-guide.mdreferences/docs-setup.mdreferences/output-tables-guide.mdreferences/parent_segment.mdreferences/requirements_doc.md

FAQ

Что делает скилл fde-prob-idu?

Sets up probabilistic ID unification on Treasure Data: finds duplicate people missed by deterministic IDU (typos, changed emails or inconsistent phone/address formats). Builds the input table, blocks likely matches with MinHash, clusters them with the AI Signals pidu solution, writes merged clusters and match confidence for Parent Segment attributes, and builds the project agent. Use to start, configure, tune, change, re-run or resume a project or rebuild its agent. Trigger on: set up probabilistic id unification, probabilistic IDU, ai signals prob idu, fuzzy id matching, merge duplicate profiles, find duplicate customers, match customers across systems, unify records after deterministic IDU, tune cluster threshold, prob idu setup, rebuild the prob-idu agent, resume prob-idu setup. Installed project agents answer questions about clusters, match quality and results.

Как установить скилл fde-prob-idu?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fde-prob-idu запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fde-prob-idu с