Command Palette

Search for a command to run...

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

fde-mta

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

Sets up MTA (Multi-Touch Attribution) on Treasure Data: a workflow that builds customer journeys from marketing touchpoints and conversions, runs the standard…

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

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

MTA (Multi-Touch Attribution)

Combines a customer's touchpoint and conversion tables into journeys, then credits each marketing channel for the conversions with four rule-based models and the AI Signals Markov and Shapley models. The outputs are attribution and journey tables read by a customer agent and dashboard — not Parent Segment attributes.

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 MTA-specific context for each phase.

AI Signals model questions: when the user asks how the Markov or Shapley model works or credits channels, or wants to try other API parameter values, or change the models' input or output tables, read references/ai-signals-guide.md first, and end the answer with the documentation note at its top (AI Signals overview link; no public MTA page yet). It is not needed for the standard setup steps (Phases 1–3) — references/workflow-setup.md covers those.

Exception (../shared/solution_standard.md §5): MTA has no Parent Segment step in Phase 5 — attribution outputs are tables, not profile attributes.

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 — list and classify tables, confirm touchpoint and conversion sources, check UTM coverage and conversion candidates; 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, configure from Phase 1, push, run, validate; ask which hands-on kit to build
Phase 4 DEV Hands-on kit (customer agent, dashboard, interim workflow guide + setup walkthrough); apply the customer's requirements, re-push, re-run, re-validate, refresh the kit
Phase 5 PROD — only when you say the model is ready Documentation set, finalize the customer agent, offer the final guides (no Parent Segment step)

MTA-Specific Context by Phase

Phase 1: Data Exploration

Use tdx-skills:tdx-basic. Do not search by table-name patterns.

  1. List every table in the customer's source database: tdx tables "<database>.*". If several databases could hold the source data (e.g. a sink database of another solution next to the source), confirm the source database with AskUserQuestion first.

  2. Classify each table from one column query for the whole database — not a tdx describe per table: SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema = '<database>' ORDER BY table_name, ordinal_position

    Bucket Criteria
    Touchpoint (candidate) Customer ID + time + one row per marketing interaction: pageviews, email events, sales / CRM activity, ad, SMS or push events
    Conversion (candidate) Customer ID + time + one row per order, application, sign-up or other goal event, often with status and revenue
    Profile / system One row per customer, aggregates, workflow outputs. Not a source
  3. Pick the sources: every touchpoint table that represents a marketing channel, plus the conversion table (or the web table's conversion pages), by the source types in references/workflow-setup.md §1.

  4. Confirm with AskUserQuestion — first show a markdown table: table, source type, channel it represents, customer ID, time column, include / exclude and a one-line reason, with the proposed conversion definition below it; then ask one short question ("Confirm as listed" / "Change the sources or conversion"). Do not put the table inside the question. Do not skip this.

  5. Run the discovery queries in references/workflow-setup.md §1 yourself, all in one shell command (no subagents): source profiles (size, customers, NULL IDs, eve

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

Установить fde-mta в 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/journey-agent.mdproject_templates/agent_template/references/model-setup-walkthrough.template.mdproject_templates/agent_template/references/mta-models-agent.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/config/input_params.ymlproject_templates/workflow_template/mta_advanced_launch.digproject_templates/workflow_template/mta_journeys_and_models.digproject_templates/workflow_template/mta_markov_shapley_ai_signals.digproject_templates/workflow_template/mta_union_src_tables.digproject_templates/workflow_template/sql/journeys_models/channel_parsing_validate.sqlproject_templates/workflow_template/sql/journeys_models/journey_summary_table.sqlproject_templates/workflow_template/sql/journeys_models/journeys_base_table.sqlproject_templates/workflow_template/sql/journeys_models/mta_agg_journey_stats.sqlproject_templates/workflow_template/sql/journeys_models/mta_agg_pageview_stats.sqlproject_templates/workflow_template/sql/journeys_models/mta_conversion_journey_stats.sqlproject_templates/workflow_template/sql/journeys_models/mta_journey_sessions.sqlproject_templates/workflow_template/sql/journeys_models/mta_journeys_validate.sqlproject_templates/workflow_template/sql/journeys_models/mta_models_union.sqlproject_templates/workflow_template/sql/journeys_models/mta_models_union_exclude_non_converted_channels.sqlproject_templates/workflow_template/sql/journeys_models/mta_sankey_journeys.sqlproject_templates/workflow_template/sql/ml_models/get_markov_channels_with_removal_effect.sqlproject_templates/workflow_template/sql/ml_models/markov_insert_final.sqlproject_templates/workflow_template/sql/ml_models/markov_transition_matrix.sqlproject_templates/workflow_template/sql/ml_models/mta_journey_agg.sqlproject_templates/workflow_template/sql/ml_models/mta_shapely_input_table.sqlproject_templates/workflow_template/sql/ml_models/shapley_attr_percentage.sqlproject_templates/workflow_template/sql/parse_table_params.sqlproject_templates/workflow_template/sql/sample_tables/journeys_sample.sqlproject_templates/workflow_template/sql/sample_tables/src_union_sample.sqlproject_templates/workflow_template/sql/union_src_tables/add_customer_attributes_to_journey.sqlproject_templates/workflow_template/sql/union_src_tables/insert_src_table.sql

FAQ

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

Sets up MTA (Multi-Touch Attribution) on Treasure Data: a workflow that builds customer journeys from marketing touchpoints and conversions, runs the standard attribution models and the AI Signals Markov and Shapley models, then builds the project's MTA agent and dashboard. Use it to start, set up, configure, change, re-run or resume an MTA project and to build or rebuild its agent. Trigger on: set up MTA, start an MTA project, new MTA setup, ai signals mta, measure which channels drive conversions, marketing attribution setup, multi-touch attribution setup, attribution workflow, configure MTA, rebuild the MTA agent, resume MTA setup, MTA runbook, MTA output tables. Once the project's MTA agent is installed, questions about channel contribution and journeys go to it.

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

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

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

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

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

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