CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

fde-rfm

Sets up RFM (Recency, Frequency, Monetary) customer segmentation on Treasure Data: a workflow that unions customer activity (pageviews, orders, email, sales), scores every profile with the AI Signals RFM model and assigns one of ten segments for Parent Segment attributes, then builds the project's RFM agent and dashboard. Use it to start, set up, configure, change, re-run or resume an RFM project and to build or rebuild its agent. Trigger on: set up RFM, start an RFM project, new RFM setup, ai signals rfm, segment my customers by value, find our best and at-risk customers, RFM segmentation setup, RFM workflow, configure RFM, rebuild the RFM agent, resume RFM setup, RFM runbook, RFM output tables. Once the project's RFM agent is installed, questions about the results go to it.

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

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

SKILL.md
Quality
Evals
Security

Quality

Content

100%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 tightly engineered operational skill: lean token-efficient phrasing, concrete commands and file/section-level routing, a five-phase workflow with explicit validation feedback loops and approval gates, and a clean one-level reference structure whose six files all exist. It penalizes on none of the rubric's bad-example patterns — no padded explanations, no buried references, no unvalidated batch steps.

DimensionReasoningScore

Conciseness

The body is dense operational instruction with zero concept explanation — it never explains what RFM, workflows, or dashboards are in the abstract; even the intro line 'scores every profile on how recently, how often and how much they engage and buy' states this project's operational definition in one clause. Tables (include/exclude, phase summary) carry information compactly and every token earns its place, matching the 5 anchor rather than 4's 'minor instances of over-explanation'.

5 / 5

Actionability

Fully executable guidance throughout: a copy-paste SQL query ('SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema = …'), a concrete CLI command ('tdx tables "<database>.*"'), exact file and section pointers ('references/workflow-setup.md §1–2', 'config/input_params.yml', 'rfm_launch.dig'), and even prescribed question options ('Confirm as listed' / 'Change the list'). For an instruction-only skill this is copy-paste-ready top-anchor guidance.

5 / 5

Workflow Clarity

A clearly sequenced five-phase process with explicit validation checkpoints and feedback loops: Phase 3 step 6 'If check 2 or 4 shows a missing monetary source or a source with no rows, fix the config and re-run', Phase 4 Part B 're-push, re-run, re-validate', name-existence checks before push, and user-approval gates ('wait for approval', Phase 5 'only when you say the model is ready'). This matches the 5 anchor including error-recovery loops, which matters for batch database operations.

5 / 5

Progressive Disclosure

The body is an overview plus phase routing, with all six references/ files verified to exist and cited one level deep at specific sections (workflow-setup §1–4, agent-setup Steps 1–3, parent_segment 'read it only after the user approves the plan'). Each reference is clearly signaled with what it contains and when to read it, and the Quick Reference consolidates key names — matching the 5 anchor's well-signaled one-level structure.

5 / 5

Total

20

/

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.

An exemplary description: it states concrete capabilities in third person, gives an explicit use-when clause with thirteen natural trigger phrases, and adds a boundary rule to route post-setup questions to the project's agent. All dimensions sit at the top anchor with no verbosity or padding.

DimensionReasoningScore

Specificity

Multiple concrete actions are enumerated with specific artifacts: 'unions customer activity (pageviews, orders, email, sales)', 'scores every profile with the AI Signals RFM model', 'assigns one of ten segments for Parent Segment attributes', 'builds the project's RFM agent and dashboard'. Coverage is comprehensive across setup, scoring, segmentation, agent and dashboard, matching the 5 anchor rather than 4's 'minor gaps'.

5 / 5

Completeness

Both 'what' and 'when' are explicit: the what is two concrete sentences, and the when is 'Use it to start, set up, configure, change, re-run or resume an RFM project' plus a 'Trigger on:' list of concrete phrases — the exact pattern of the 5 anchor example. A boundary note ('Once the project's RFM agent is installed, questions about the results go to it') further disambiguates scope.

5 / 5

Trigger Term Quality

Thirteen varied natural trigger phrases including synonyms and intent-level phrasings users would actually say: 'set up RFM', 'segment my customers by value', 'find our best and at-risk customers', 'RFM runbook', 'resume RFM setup', 'rebuild the RFM agent'. This exceeds the 4 anchor ('a few natural terms missing') — no obvious variant is absent.

5 / 5

Distinctiveness Conflict Risk

A clear niche — RFM segmentation on Treasure Data via the AI Signals model with Parent Segment attributes — and every trigger is RFM-qualified, so overlap risk with other skills is minimal. The explicit handoff rule for installed project agents actively prevents mis-triggering.

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/rfm/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.