fde-nbp
БесплатноЗапускает вложенные скриптыНе проверенSets up NBP (Next Best Product) recommendations on Treasure Data: a workflow that reads item-level purchase or interaction data, trains the AI Signals NBP…
от treasure-data★ 23 звезды на GitHubОб этом скилле
NBP (Next Best Product)
Reads a customer's user–item interactions (order lines, purchases, item views), trains the AI Signals NBP model, and writes one row per user with the top recommended products and their categories, which is added to a Parent Segment for Audience Studio segmentation and activation.
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 NBP-specific context for each phase.
AI Signals model questions: when the user asks how the NBP model works or recommends, or wants to try another algorithm or API parameter values, or change the model's input or output table, 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.
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 the interaction table and item info source, run discovery queries; 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 | Parent Segment attributes + example audiences, documentation set, finalize the customer agent, offer the final guides |
NBP-Specific Context by Phase
Phase 1: Data Exploration
Use tdx-skills:tdx-basic. Do not search by table-name patterns.
List every table in the customer's source database:
tdx tables "<database>.*".Classify each table from one column query for the whole database — not a
tdx describeper table:SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema = '<database>' ORDER BY table_name, ordinal_positionBucket Criteria Interaction (candidate) User ID + item ID + timestamp; one row per user and item (order line, purchase, item view, rating) Item info One row per item with name and category (product catalog, item master) Order-level / profile / system Orders without an item column, customer profiles, aggregates, workflow outputs. Not a source Pick one interaction table and one item info source: the item-level table with the strongest preference signal (purchase > add-to-cart > view), and the same table for item info when it carries name and category, otherwise the catalog whose item ID matches (
references/workflow-setup.md§1).Confirm with
AskUserQuestion— first show a markdown table: interaction table, what one row means, user ID, item ID, time column, item name and category columns, item info source, and a one-line reason; then ask one short question ("Confirm as listed" / "Use a different table"). Do not put the table inside the question. Do not skip this.Run the discovery queries in
references/workflow-setup.md§1 yourself, all in one shell command (no subagents): interaction-table profile (size, granularity, NULLs, event-time decision, date range), item info coverage, one breakdown query (event types / statuses, categories, exclusion candidates). Do not investigate caveats further — record them (step 6).Record in
project_state.md: interaction table, user ID, item ID, event-time column with its evidence (references/workflow-setup.md§1 event-time rule), item info source and
Установить fde-nbp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fde-nbp?
Sets up NBP (Next Best Product) recommendations on Treasure Data: a workflow that reads item-level purchase or interaction data, trains the AI Signals NBP model (ALS, similar-to-latest or popular) and writes the top products and categories per user for Parent Segment attributes, then builds the project's NBP agent and dashboard. Use it to start, set up, configure, change, re-run or resume an NBP project and to build or rebuild its agent. Trigger on: set up NBP, start an NBP project, new NBP setup, ai signals nbp, recommend products to each customer, personalized product recommendations, cross-sell and upsell recommendations setup, next best product setup, NBP workflow, configure NBP, rebuild the NBP agent, resume NBP setup, NBP runbook, NBP output tables. Once the project's NBP agent is installed, questions about the recommendations go to it.
Как установить скилл fde-nbp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fde-nbp запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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