followup-keyword-tags
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "followup-keyword-tags" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b9235385429680001115d1f0cda95c6c89671ddb5ae89a3b8424625dd2f4bb73. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/nhyc2026827 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use local-dictionary matching on follow-up text to automatically tag business labels such as quotes, contracts, and payments. Suitable for automatic tagging of user follow-up notes, keyword labels, and CRM text-tagging scenarios.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: followup-keyword-tags
slug: nhyc2026827
displayName: 跟进关键词打标
version: 1.0.0
summary: 用本地词典匹配跟进文本,打上报价/合同/回款等业务标签。
license: MIT
description: 用本地词典匹配跟进文本,打上报价/合同/回款等业务标签。当用户要跟进笔记自动打标、关键词标签、CRM 文本标签时使用。跟进关键词打标
灵感:能力工具箱 keyword-tags(自研词典,纯前端)。
对跟进笔记做本地包含匹配,命中词归到业务标签(报价、合同、回款、异议等),按命中数排序。无 NLP 服务依赖。
何时使用
- 跟进保存时自动建议标签
- 列表筛「提到合同的跟进」
硬约束
- 词典可配置:
{ tag, words[] };空文本返回[]。 - 匹配默认子串
includes(中文场景够用);输出tag / hits / score。 - 多标签可并存;按
score降序。 - 不调用云端分类 API;误杀靠改词典,不靠静默丢弃。
- 隐私:示例文本用占位,勿塞真实客户原话进模板。
推荐实现要点
export type TagLexicon = { tag: string; words: string[] }
export const DEFAULT_CRM_LEXICON: TagLexicon[] = [
{ tag: '报价', words: ['报价', '价格', '费用', '佣金'] },
{ tag: '合同', words: ['合同', '协议', '签约', '盖章'] },
{ tag: '回款', words: ['回款', '付款', '到账', '发票', '开票'] },
{ tag: '竞品', words: ['竞品', '同行', '另外一家'] },
{ tag: '异议', words: ['太贵', '再考虑', '暂时', '再看看'] },
{ tag: '意向强', words: ['尽快', '马上', '可以签', '没问题'] },
]
export function tagFollowupText(text: string, lexicon = DEFAULT_CRM_LEXICON) {
const t = String(text || '')
if (!t.trim()) return [] as Array<{ tag: string; hits: string[]; score: number }>
return lexicon
.map((item) => {
const hits = item.words.filter((w) => t.includes(w))
return { tag: item.tag, hits, score: hits.length }
})
.filter((x) => x.score > 0)
.sort((a, b) => b.score - a.score)
}
Agent 步骤
- 提供默认可扩展词典;行业词(如并购买卖)可追加。
- 接入跟进保存钩子;UI 展示可点选确认的标签芯片。
- 自测:含「合同」「太贵」的句子应打出对应标签。
附加
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 CRM 跟进文本自动打标需求,适用于销售、客户管理等场景
- 提供本地词典匹配方案,无需依赖云端 NLP 服务
Highlights
- 触发描述清晰明确,覆盖跟进笔记自动打标、关键词标签、CRM 文本标签等场景
- 边界清晰,不易与其他 Skill 重叠
Highlights
- 文档结构完整,包含何时使用、硬约束、实现要点、Agent 步骤等
- 提供完整的 TypeScript 实现示例和自测建议
Areas to improve
-
引用文件缺失 Reported severity: Minor
SKILL.md 中引用了 README.md、reference.md、templates/usage.md 文件,但实际未传入这些文件
Recommendation: 请补充缺失的引用文件,或移除 SKILL.md 中的引用链接
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.