CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is fde-nbp in treasure-data/td-skills

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-engineered orchestration skill: every phase has concrete commands, explicit approval gates, and validation feedback loops, and all detailed material is correctly pushed into verified one-level-deep reference files with precise read triggers. The only weakness is mild token inefficiency in a few meta-instructions and slight duplication between the phase summary table and phase details. Note that its six `../shared/*.md` dependencies live outside this bundle and could not be verified here.

Suggestions

Tighten the 'How to Start' reading rule to a single clause (e.g. 'Read each referenced file once per conversation; in a new session, resume from project_state.md') to save tokens without losing the behavior.

Trim the Phase Summary table's 'What happens' column to short labels, since the NBP-Specific Context sections already carry the detail — this would reduce duplication.

Consider one-line rationale for why the shared patterns are trusted sight-unseen (e.g. the pre-validated template), letting later steps drop repeated justifications like 'the template is pre-validated'.

DimensionReasoningScore

Conciseness

The body is dense and assumes competence ("Do not review the template's SQL or `.dig` files ... the template is pre-validated"), with no beginner-concept padding, matching the 4 anchor 'efficient with minor instances that could be trimmed'. A few spots could be tightened — e.g. the once-per-conversation reading rule ('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') and mild overlap between the Phase Summary table and the per-phase sections — so it is not the 5 anchor's 'every token earns its place'.

4 / 5

Actionability

Guidance is copy-paste executable throughout: exact commands (`tdx tables "<database>.*"`), a full information_schema SQL query, concrete file paths and config keys (`config/input_params.yml`, `ml_batch_api_endpoint`, `prefix`, `user_master_attr_table`), defaults (`td_agents`, `nbp_ais`), and a scripted AskUserQuestion protocol with option labels. Per the rubric's instruction-skill note, absence of code is not penalized when guidance is this actionable; it matches the 5 anchor.

5 / 5

Workflow Clarity

Five phases are explicitly sequenced (summary table plus numbered per-phase steps) with confirmation gates ('Do not skip this', 'wait for approval', 'Only after the user says the model is ready') and a real validate→fix→retry feedback loop for the batch workflow run: 'Validate with `references/workflow-setup.md` §4. If check 1 or 2 shows an empty user table or a broken item-name join, fix the config and re-run'. This matches the 5 anchor including error-recovery loops, exceeding the 4 anchor's 'most checkpoints'.

5 / 5

Progressive Disclosure

The SKILL.md is a clear orchestrator overview; details are split one level deep into six real `references/` files (verified present, with the cited §1–§4 sections and 'Agent files'/'Build checks' headings existing) plus sibling `../shared/*.md` patterns, each clearly signaled with when to read it ('read it only after the user approves the plan', 'It is not needed for the standard setup steps (Phases 1–3)'). Nothing that belongs in a separate file is inlined, matching the 5 anchor; a 4 would require unclear signaling or organization gaps, which are absent.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is exemplary: it states a comprehensive, concrete capability set in third person, gives an explicit 'Use it to...' clause plus fourteen natural trigger phrases, and delimits its niche with platform-specific terms and explicit handoff boundary guidance. Both the 'what' and 'when' questions are answered at the highest rubric level. Only a minor quibble: the trigger list is long, but every phrase is a distinct natural variation rather than padding.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions covering the full pipeline — "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" — with named algorithms, outputs, and artifacts. It matches the 5 anchor (multiple specific concrete actions, comprehensive coverage); a 4 would require minor coverage gaps, but setup, training, output, and agent/dashboard build are all explicitly named.

5 / 5

Completeness

Both questions are explicitly answered: what ("a workflow that reads item-level purchase or interaction data, trains the AI Signals NBP model ... then builds the project's NBP agent and dashboard") and when ("Use it to start, set up, configure, change, re-run or resume an NBP project ... Trigger on: ..." with concrete phrases). This is the 5 anchor verbatim in structure; a 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Fourteen natural trigger phrases including "recommend products to each customer", "personalized product recommendations", "cross-sell and upsell recommendations setup", "next best product setup", and "resume NBP setup" cover synonyms (NBP / Next Best Product / ai signals nbp) and lifecycle verbs (start, configure, re-run, resume, rebuild). This matches the 5 anchor's comprehensive synonym coverage; nothing common a user would say is visibly missing.

5 / 5

Distinctiveness Conflict Risk

The niche is sharply defined by platform-specific vocabulary ("Treasure Data", "AI Signals NBP model", "Parent Segment attributes") and all triggers are NBP-specific, so overlap with other skills is minimal. It even includes boundary guidance — "Once the project's NBP agent is installed, questions about the recommendations go to it" — which actively prevents mis-triggering; no neighboring anchor fits better.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

treasure-data/td-skills

Path

fde-ai-signals-custom-agent-skills/ai-signals-skills/nbp/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.