Command Palette

Search for a command to run...

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

fde-classifier

БесплатноЗапускает вложенные скриптыНе проверен

Sets up AI Signals binary classification (propensity scoring) on Treasure Data for churn, lead scoring, conversion, campaign response, upsell or renewal…

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

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

Classifier (Propensity Scoring)

Trains and scores a binary model with the AI Signals classifier from a project-specific feature table, and writes one score per entity to a Parent Segment for segmentation and activation.

How to Start

Read ../shared/playbook.md and follow its flow (entry point, phases, name gates, shared patterns). Read each referenced file once per conversation; in a new session, resume from project_state.md. This file adds the Classifier-specific context.

Question or task Read
Label, horizon, population, snapshots, feature SQL patterns, input checks, schedules references/dataprep-guide.md
Config values from the data, deploy, output checks, troubleshooting references/workflow-setup.md
How the model trains / tunes / picks the threshold, API parameters, other model types references/ai-signals-guide.md — end the answer with its public docs link
Columns of an output table, queries that read it references/output-tables-guide.md
Setup skill vs. project agent — results of an installed project (performance, drivers, scores) This skill only sets up and changes; results go to the installed <project_slug>-agent — read its SKILL.md and answer by its rules, or tell the user to ask it in a new chat. No agent yet → say so and offer the setup
How Treasure AI Studio works (Work Folders, access, sharing, plugins) Answer from what you know, then share https://docs.treasure.ai/products/ai-studio/overview

Exceptions to the standard flow (../shared/solution_standard.md §5): Phase 1 asks the use case first; Phase 3 writes the project's feature SQL (sql/input_features.sql) besides the config.

Phase Summary

Phase Stage What happens
Phase 1 DEV Use case first; list and classify tables; confirm population, label, windows, snapshots and feature sources; check label balance and history; draft business-context.md
Phase 2 DEV requirements.md with the open business-context questions — continue without waiting
Phase 3 DEV Copy the template, write the feature SQL and config, push, train, score, validate; ask which hands-on kit to build
Phase 4 DEV Hands-on kit (agent, dashboard, interim guides); apply the customer's requirements in rounds
Phase 5 PROD — only when the user says the model is ready Parent Segment attributes + example audiences, docs, final agent, final guides

Classifier-Specific Context by Phase

Phase 1: Data Exploration

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

  1. Use case — one AskUserQuestion batch:

    • What to predict: lead conversion / churn / campaign response / upsell or renewal (Other).
    • Scored entity: profile / lead / account.
    • Data location: Parent Segment (Recommended if one exists) / source databases — then ask the names.
    • Note whether the outcome is a stored column or must be derived (settled in step 5).
  2. List tables — tdx tables "<database>.*" per database. Parent Segment: bootstrap agent_outputs/ (../shared/local_outputs.md Step 1), then tdx ps desc "<name>" -o agent_outputs/<project_slug>/ps_schema.json.

  3. Classify from one column query (not 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
    Population One row per entity with the ID — profiles, leads, accounts, subscriptions, Parent Segment customers
    Label source Holds the outcome or the data to derive it — orders, conversions, cancellations, statuses
    Feature source Behavior with ID + timestamp (events, orders, email, web, support) or stable profile attributes
    System / output Workflow outputs, ML results, aggregates. Not a source
  4. Pick (references/dataprep-guide.md §1–§2):

    Decision First push
    Population table, ID, eligibility Per use case (§1 label templates)
    Label rule + horizon 90 days conversion / response, 180 churn by inactivity
    Observation window 365 days
    Snapshots + spacing Chosen per use case, label balance and history (§2 "Choosing the snapshots"), with a one-line reason; must pass the history check
    Feature sources 2–4 with the strongest signal
  5. Confirm — show a markdown table (population, label rule + horizon, window, snapshots, each source with ID and time column, one-line reason each), then one AskUserQuestion: Confirm as listed / Change the label rule / Change the sources. Never skip.

  6. Discovery queries — references/workflow-setup.md §1, all in one shell command, no subagents. One class or very few positives → tell the user. Record caveats; don't investigate further.

  7. Record in project_state.md: use case, entity, population +

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

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

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

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

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

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

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

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

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

project_templates/agent_template/SKILL.template.mdproject_templates/agent_template/references/business-context.template.mdproject_templates/agent_template/references/dashboard_template.htmlproject_templates/agent_template/references/dashboard_template.mdproject_templates/agent_template/references/data-dictionary.mdproject_templates/agent_template/references/generate-data.jsproject_templates/agent_template/references/model-setup-walkthrough.template.mdproject_templates/agent_template/references/visualization-instructions.mdproject_templates/agent_template/references/workflow-guide.template.mdproject_templates/workflow_template/README.mdproject_templates/workflow_template/body.txtproject_templates/workflow_template/classify.digproject_templates/workflow_template/config.ymlproject_templates/workflow_template/data_prep.digproject_templates/workflow_template/predict.digproject_templates/workflow_template/sql/README.mdproject_templates/workflow_template/sql/input_features.sqlproject_templates/workflow_template/tdx.jsonproject_templates/workflow_template/train.digreferences/agent-setup.mdreferences/ai-signals-guide.mdreferences/dataprep-guide.mdreferences/docs-setup.mdreferences/output-tables-guide.mdreferences/parent_segment.mdreferences/requirements_doc.mdreferences/workflow-setup.md

FAQ

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

Sets up AI Signals binary classification (propensity scoring) on Treasure Data for churn, lead scoring, conversion, campaign response, upsell or renewal. Builds leakage-safe stacked training snapshots, trains XGBoost/CatBoost with tuning, threshold selection and SHAP, writes Parent Segment scores, and builds the project agent and dashboard. Use to start, configure, change, re-run or resume a project or rebuild its agent. Trigger on: set up a propensity model, start a propensity project, ai signals propensity model, propensity model, propensity scoring, how does propensity model work, predict which customers will churn, score leads by likelihood to convert, predict campaign response, build a churn model, build a lead scoring model, classifier setup, classification workflow, configure the classifier, classifier data prep, training snapshots, classifier output tables, rebuild the classifier agent, resume classifier setup, classifier runbook. Project agents answer performance, drivers and scores questions.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить fde-classifier с