Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add treasure-data/td-skills --skill mtagit clone --depth 1 https://github.com/treasure-data/td-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/treasure-data/td-skills/mta)<a href="https://agentmods.dev/skills/treasure-data/td-skills/mta"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/mta/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/treasure-data/td-skills/mta"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/mta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00172 | $0.03456 |
| Opus 5.5 | $0.00069 | $0.01382 |
| Sonnet 5.5 | $0.00034 | $0.00691 |
| Haiku 4.5 | $0.00017 | $0.00346 |
Grade A, and why
fde-mta scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on 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
What ships with it
51 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- project_templates/agent_template/references/business-context.template.md 5.1 KB
- project_templates/agent_template/references/dashboard_template.html 35 KB
- project_templates/agent_template/references/dashboard_template.md 12 KB
- project_templates/agent_template/references/data-dictionary.md 13 KB
- project_templates/agent_template/references/generate-data.js 47 KB runs code
- project_templates/agent_template/references/journey-agent.md 5.7 KB
- project_templates/agent_template/references/model-setup-walkthrough.template.md 7.3 KB
- project_templates/agent_template/references/mta-models-agent.md 4.8 KB
- project_templates/agent_template/references/visualization-instructions.md 3.6 KB
- project_templates/agent_template/references/workflow-guide.template.md 7.3 KB
- project_templates/agent_template/SKILL.template.md 15 KB
- project_templates/workflow_template/body.txt 284 B
- project_templates/workflow_template/config/input_params.yml 9.3 KB
- project_templates/workflow_template/mta_advanced_launch.dig 1.1 KB
- project_templates/workflow_template/mta_journeys_and_models.dig 3.1 KB
- project_templates/workflow_template/mta_markov_shapley_ai_signals.dig 3.6 KB
- project_templates/workflow_template/mta_union_src_tables.dig 2.6 KB
- project_templates/workflow_template/README.md 16 KB
- project_templates/workflow_template/sql/journeys_models/channel_parsing_validate.sql 316 B
- project_templates/workflow_template/sql/journeys_models/journey_summary_table.sql 353 B
- project_templates/workflow_template/sql/journeys_models/journeys_base_table.sql 3.9 KB
- project_templates/workflow_template/sql/journeys_models/mta_agg_journey_stats.sql 1.1 KB
- project_templates/workflow_template/sql/journeys_models/mta_agg_pageview_stats.sql 444 B
- project_templates/workflow_template/sql/journeys_models/mta_conversion_journey_stats.sql 838 B
- project_templates/workflow_template/sql/journeys_models/mta_journey_sessions.sql 4.9 KB
- project_templates/workflow_template/sql/journeys_models/mta_journeys_validate.sql 949 B
- project_templates/workflow_template/sql/journeys_models/mta_models_union_exclude_non_converted_channels.sql 3.7 KB
- project_templates/workflow_template/sql/journeys_models/mta_models_union.sql 3.6 KB
- project_templates/workflow_template/sql/journeys_models/mta_sankey_journeys.sql 1.5 KB
- project_templates/workflow_template/sql/ml_models/get_markov_channels_with_removal_effect.sql 296 B
- project_templates/workflow_template/sql/ml_models/markov_insert_final.sql 204 B
- project_templates/workflow_template/sql/ml_models/markov_transition_matrix.sql 410 B
- project_templates/workflow_template/sql/ml_models/mta_journey_agg.sql 856 B
- project_templates/workflow_template/sql/ml_models/mta_shapely_input_table.sql 264 B
- project_templates/workflow_template/sql/ml_models/shapley_attr_percentage.sql 330 B
- project_templates/workflow_template/sql/parse_table_params.sql 2.5 KB
- project_templates/workflow_template/sql/sample_tables/journeys_sample.sql 117 B
- project_templates/workflow_template/sql/sample_tables/src_union_sample.sql 993 B
- project_templates/workflow_template/sql/union_src_tables/add_customer_attributes_to_journey.sql 148 B
- project_templates/workflow_template/sql/union_src_tables/insert_src_table.sql 1.3 KB
- project_templates/workflow_template/sql/union_src_tables/order_events.sql 1.0 KB
- project_templates/workflow_template/sql/union_src_tables/sessionize_temp_table.sql 10 KB
- project_templates/workflow_template/sql/union_src_tables/split_converted_journeys.sql 224 B
- project_templates/workflow_template/sql/union_src_tables/summary_union_table.sql 4.8 KB
- project_templates/workflow_template/sql/union_src_tables/union_src_temp.sql 222 B
- project_templates/workflow_template/tdx.json 36 B
- references/agent-setup.md 7.3 KB
- references/ai-signals-guide.md 20 KB
- references/docs-setup.md 4.1 KB
- references/requirements_doc.md 5.2 KB
- references/workflow-setup.md 15 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 26d ago Changed · +5 tokens per session d83deb9431e5
- 1mo ago First seen · 132 lines · 167 tokens per session scan A 3105edbc1098
fde-mta is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 172 tokens to every session and 3,456 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.
fde-mta compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fde-mtatreasure-data/td-skills | Skill | 23 | today | Apache-2.0 | A | 172 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |