Sentiment Priority Scorer
简介
Sentiment Priority Scorer
原始描述
Score normalized real-estate leads using sentiment, urgency, intent, recency, and record type to produce deterministic priority rankings and P1-P3 buckets. U...
通过你的 Agent 添加
安装目录:sentiment-priority-scorer/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: sentiment-priority-scorer
description: "Score normalized real-estate leads using sentiment, urgency, intent, and recency to produce deterministic priority rankings and P1-P3 buckets. Use when users ask to prioritize hot leads, rank callback queue, or triage follow-ups without performing writes or outbound sends. Recommended chain: india-location-normalizer then sentiment-priority-scorer then summary-generator and action-suggester."
Sentiment Priority Scorer
Produce deterministic priority scores for leads without mutating any state.
Quick Triggers
- Rank leads by urgency and tone for callback priority.
- Classify leads into P1/P2/P3 queue.
- Score follow-up priority from normalized lead records.
Recommended Chain
india-location-normalizer -> sentiment-priority-scorer -> summary-generator
Execute Workflow
- Accept input from Supervisor containing normalized leads.
- Validate input with
references/sentiment-priority-input.schema.json.
- Score each lead with:
sentiment_score in range [-1, 1]
intent_score in range [0, 1]
recency_score in range [0, 1]
- mapped
urgency_score from lead urgency (high=1.0, medium=0.6, low=0.3)
- Boost
intent_score when high-action cues exist in listing text:
immediately, keys at office, one day notice, possession, inspection any time
- Compute
priority_score on a 0-100 scale:
priority_score = 100 * (0.40*urgency_score + 0.30*intent_score + 0.20*recency_score + 0.10*sentiment_risk)
sentiment_risk = max(0, -sentiment_score)
- Assign buckets:
P1 for priority_score >= 75
P2 for priority_score >= 50 and < 75
P3 for < 50
- Produce plain-language
evidence tokens that explain the score.
- Validate output with
references/sentiment-priority-output.schema.json.
Enforce Boundaries
- Never write to Google Sheets, databases, or files.
- Never send messages or trigger outbound channels.
- Never create reminders or execute actions.
- Never bypass Supervisor routing or approvals.
- Never replace upstream urgency; only derive scoring fields.
Handle Errors
- Reject schema-invalid inputs.
- Return field-level reasons when scoring cannot be computed.
- Fail closed if required scoring features are missing.
references/sentiment-priority-input.schema.json.sentiment_scorein range[-1, 1]intent_scorein range[0, 1]recency_scorein range[0, 1]- mapped
urgency_scorefrom lead urgency (high=1.0,medium=0.6,low=0.3)
intent_score when high-action cues exist in listing text:
immediately,keys at office,one day notice,possession,inspection any time
priority_score on a 0-100 scale:
priority_score = 100 * (0.40*urgency_score + 0.30*intent_score + 0.20*recency_score + 0.10*sentiment_risk)sentiment_risk = max(0, -sentiment_score)
P1forpriority_score >= 75P2forpriority_score >= 50 and < 75P3for< 50
evidence tokens that explain the score.references/sentiment-priority-output.schema.json.- Never write to Google Sheets, databases, or files.
- Never send messages or trigger outbound channels.
- Never create reminders or execute actions.
- Never bypass Supervisor routing or approvals.
- Never replace upstream urgency; only derive scoring fields.
Handle Errors
- Reject schema-invalid inputs.
- Return field-level reasons when scoring cannot be computed.
- Fail closed if required scoring features are missing.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。