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★ 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.
Use case — one
AskUserQuestionbatch:- 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).
List tables —
tdx tables "<database>.*"per database. Parent Segment: bootstrapagent_outputs/(../shared/local_outputs.mdStep 1), thentdx ps desc "<name>" -o agent_outputs/<project_slug>/ps_schema.json.Classify from one column query (not
tdx describeper 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_positionBucket Criteria Population One row per entity with the ID — profiles, leads, accounts, subscriptions, Parent Segment customersLabel 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 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 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.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.Record in
project_state.md: use case, entity, population +
Установить fde-classifier в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic