competitor-sentinel
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 "competitor-sentinel" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-74a4f684a193b6cd06f727f9ba4646a2afcfeea4262887585a20232e7b8c05f9. Verify the upstream source and version against https://skillhub.cn/skills/user_fa14b5bc/competitor-sentinel 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
Automated competitor dynamics tracking. After configuring a competitor list and monitoring dimensions, it periodically performs WebSearch collection, structured diffing, and negative-signal detection, pushing reports only when changes occur and remaining silent otherwise. Includes a standalone Python snapshot engine (init/add/save/diff commands, using Jaccard token similarity and negative keyword matching).
Introduction source: third_party · user_fa14b5bc · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- ```markdown
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "competitor-sentinel"
description: 自动化竞品动态追踪。配置竞品列表与监控维度后,定期 WebSearch 采集 + 结构化 diff + 负面信号检测,仅在有变化时推送简报,平时静默。附带独立 Python 快照引擎(init/add/save/diff 四命令,Jaccard 分词相似度 + 负向关键词匹配)。§0 快速开始
初始化: 用户说"开始监控竞品XX" → 创建配置文件 + 首次搜索 + 保存基线快照
定期巡检: 用户或 automation 触发"竞品简报" → 搜索 → save → diff → 有变化才推送
§1 工作流
1.1 初始化
当用户首次配置监控时:
- 引导确认竞品名称和监控维度(默认:融资、功能、舆情)
- 执行
python competitor_sentinel.py init --output <config_path> - 逐个
python competitor_sentinel.py add --config ... --name "..." - 立即执行一次搜索,保存基线快照
1.2 巡检(核心流程)
每次巡检严格按以下步骤:
步骤1:加载配置
读取 config.json 获取竞品列表和维度。
步骤2:批量搜索
对每个 竞品 × 维度 组合,调用 web_search:
- 关键词格式:
"{竞品名} {维度}" - 提取每条结果的 title + url + snippet
- 汇总为结构化 JSON(见 §2 结果格式)
步骤3:保存快照 将搜索结果写入临时 JSON 文件,执行:
python competitor_sentinel.py save --config <config> --results <results.json>
步骤4:执行 Diff
python competitor_sentinel.py diff --config <config>
步骤5:输出判定
- 脚本返回
[OK] 无变化,保持静默→ 回复用户"本期无变化" - 脚本返回 JSON 告警 → 按 §3 格式呈现给用户
1.3 手工触发
用户说"查一下竞品XX最近有什么动态"时,仅对该竞品执行搜索(不走全量,不保存快照)。
§2 搜索结果 JSON 格式
巡检时 Agent 须将 web_search 结果整理为以下格式,传给脚本的 save 和 diff 命令:
{
"竞品A": {
"融资": {
"summary": "2026年7月,竞品A完成C轮5亿美元融资,由XX资本领投...",
"sources": ["https://...", "https://..."]
},
"功能": {
"summary": "竞品A 7月上线AI助手功能,支持自然语言数据分析...",
"sources": ["https://..."]
},
"舆情": {
"summary": "",
"sources": []
}
}
}
summary:Agent 对搜索结果做一句话摘要(≤200字)。无结果时为空字符串。sources:原始链接列表。
§3 告警输出格式
## 竞品监控简报 {date}
### 新增信息({n}条)
- **{竞品} | {维度}**:{detail}
### 显著变化({n}条)
- **{竞品} | {维度}**:{detail}(相似度 {similarity})
### 负面信号({n}条)⚠️
- **{竞品} | {维度}**:命中关键词 [{keywords}])
### 静默竞品
{本期无变化的竞品列表}
§4 定时调度
配置 automation 时,prompt 模板:
执行竞品监控巡检。读取 C:\Users\...\competitor-sentinel\config.json 中的竞品列表,
逐一 web_search 采集最新信息,保存快照并 diff。仅在有变化时输出简报。
§A 错误码
| 错误码 | 含义 | 处理 |
|---|---|---|
| E1.1 | 配置文件不存在 | 引导用户先执行 init 初始化 |
| E1.2 | 无历史快照 | 首次运行自动建基线,提示"基线已建立,下次巡检开始比对" |
| E2.1 | web_search 某竞品全部无结果 | 在 snapshot 中记空,下次有结果时标记为新增 |
| E2.2 | 脚本 diff 无变化 | "本期静默,{N}个竞品无变化" |
| E3.1 | 用户要删除某竞品 | 从 config.json 移除,一次确认即可 |
§F 版本
v1.0(2026-07-27)· 首次发布 (内容由AI生成,仅供参考)
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决竞品监控高频刚需,具备端到端自动化流程
- 支持结构化 diff 与负面信号检测,显著提升效率
Highlights
- 触发词精准覆盖竞品监控、动态追踪等核心场景
- 边界清晰,不易与其他 Skill 重叠
Highlights
- 文档结构清晰,分快速开始、工作流、格式等章节
- 步骤划分明确,有端到端示例和错误码说明
Highlights
- 工具来源明确,参数正确,覆盖主要异常场景
- 不可逆操作有确认机制,错误码处理建议完整
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.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- ...
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
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.