search-query-decomposer
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 "search-query-decomposer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c0b5d467f4feb116eddfc78d07aeef7958c63fbc51a97ebeeab0b4a96b53d51d. Verify the upstream source and version against https://skillhub.cn/skills/user_58fad8c3/search-query-decomposer 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
Search query decomposer with four-mode adaptive routing. v5.4.1 adds a quick-start section (three-sentence onboarding) and zero-barrier natural dialogue driving; uses lazy-load splitting (main file ~5KB). Includes quality checks, token alerts, auto-freeze, and a one-page summary. Trigger words: search decomposer, query decomposer, decompose search, search strategy, precise search.
Introduction source: third_party · user_58fad8c3 · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: search-query-decomposer
description: 搜索查询拆解器。四模式自适应路由。v5.4.1新增快速开始章节(三句话上手),零门槛自然对话驱动。懒加载拆分(主文件~5KB)。质量校验+Token预警+自动封版+一页纸摘要。触发词:搜索拆解、查询拆解、分解搜索、搜索策略、精准搜索。
agent_created: true
version: 5.4.1搜索查询拆解器 v5.4
把模糊研究主题拆成关键词矩阵,并行 Agent 逐格搜索,自动质检+预算控制+收敛封版。 v5.4 懒加载拆分:主文件仅路由逻辑(~3KB),执行细节按需加载。
快速开始
第一次用?三句话上手:
| 你说 | 会发生什么 | 适合 |
|---|---|---|
帮我搜:AI在零售行业的应用 |
自动识别 3 个概念 → 标准模式 → 9 格搜索 → 含摘要的报告 | 新手首选 |
帮我搜:比亚迪 2026 销量 |
自动识别 2 个概念 → 轻量模式 → 4 格自动搜 → 精简结果 | 快速查数据 |
分析怎么搜:ERP系统AI Agent集成方案 |
规划模式 → 输出完整矩阵 → 你审视修正 → 说"执行"开搜 | 需要定制策略 |
进阶用法: 执行时说 预算 30 万 控制 Token 开销。搜完说 不够 自动优化矩阵继续,说 够了 自动封版产出交付物。全程无需记规则,自然对话驱动。
When to Use
研究开始前拆解搜索意图。触发词:搜索拆解、查询拆解、分解搜索、搜索策略、精准搜索。
配合 costa-mad-methodology 做前置查询预处理。
模式选择(核心路由)
按核心概念数自动路由。意图优先于概念数。
| 概念数 | 模式 | 矩阵 | 格数 | Token | 确认 |
|---|---|---|---|---|---|
| ≤2 | 轻量速查 | 2×2 | 4 | ~12万 | 自动 |
| 3-4 | 标准搜索 | 3×3 | 9 | ~27万 | 确认 |
| ≥5 | 执行 | 6×3+ | 18+ | ~55万 | 确认+预算预警 |
| — | 规划 | — | — | — | 用户说"分析怎么搜" |
意图判定:用户说"搜一下"/"帮我搜" → 跳过概念数判定,直接执行模式。用户说"分析怎么搜" → 规划模式。
核心流程
用户输入研究主题 + 意图判定
↓
{模式判定(概念数 + 意图)}
├── ≤2概念 → 轻量 → 表1-3 + 2×2矩阵 + 自动执行4格
├── 3-4概念 → 标准 → 表1-4 + 3×3矩阵 + 9格搜索(确认)
├── 规划意图 → 规划 → 表1-6 + 矩阵(不执行)
└── ≥5概念 → 执行 → 表1-6 + 矩阵 + 预算预警(确认)
↓
[执行/标准] → 并行Agent搜索(URL缓存去重) → 质量校验(四维加权) → 编译(一页纸摘要+详情) → 收敛评估(≥3信号自动封版)
模式概要
轻量速查(≤2 概念)
直接执行 4 格并行搜索,跳过确认。输出精简报告。无需加载额外文件。
标准搜索(3-4 概念·v5.3.1)
确认后执行 9 格(分 2 批)。输出含一页纸摘要+质量评级的完整报告。
规划模式
输出矩阵策略,不执行搜索。用户修正后说"执行"切换。
执行模式(≥5 概念)
完整六表+矩阵+Token预算预警+自动封版。确认后执行。
按需加载指引
| 场景 | 加载文件 | 内容 |
|---|---|---|
| 确认执行搜索后 | references/execution-engine.md |
Agent 搜索 → 质量校验 → 编译报告 → 收敛封版 → 交付物(全链路细节) |
| 需要输出表格模板时 | references/mode-templates.md |
轻量(3表+2×2)、标准(4表+3×3)、执行(6表+完整矩阵) 的模板 |
| 参考完整示例 | 本文件「输出示例」章节(保留关键示例) | 报告结构一瞥 |
加载规则:
- 轻量模式:主文件即可(不加载额外文件)
- 标准/执行模式确认后:加载
execution-engine.md - 规划模式或生成矩阵前:加载
mode-templates.md - 自动封版触发后:
execution-engine.md中已含收敛标准,无需额外加载
关键约束速查
- 质量校验:四级信源(A权威5/B可靠3/C待验证1/D排除0) + 四维加权(信源40%+深度30%+时效20%+匹配10%),<2.0 分排除
- Token 预算:四档估算(🟢12万/🟡35万/🟠55万/🔴65万+),用户可设上限("预算XX万"),执行后对照
- 自动封版:每轮后自动评估 6 信号,≥3 触发即封版不征询。硬条件:连续2轮递减/缺口耗尽/≥5轮或150条
- 一页纸摘要:所有报告顶部强制生成——3句结论(含1句风险)+数据速览+质量评级+下一步
- 用户主动封版:说"够了/handoff/产出报告"立即封版
输出示例
完整示例见
references/execution-engine.md步骤5。以下展示报告骨架。
# {主题} — 矩阵搜索结果
> 18格 × 80条 | 2026-07-18
## 📋 一页纸摘要(30 秒速读)
**质量评级**:🟡 关注 — 高质量 58%
### 核心结论
1. **结论一** — 支撑数据
2. **结论二** — 支撑数据
3. **结论三** — 风险/不确定性
### 关键数据速览
| 数据 | 数值 | 来源 | 可信度 |
### 下一步建议
> 建议:{继续优化 / 转入交付物}
---
## 结果矩阵总览
| | P0 | P1 | P2 |
## 全量详细列表
## 关联度排序清单(仅 ≥2.0 分)
## 跨格关键发现
## 数据汇总表
## 低质量排除清单(<2.0 分)
> Token 实际消耗:约 48 万(估算 55 万,偏差 -13%)
与 COSTA-MAD 的联动
研究主题 → search-query-decomposer(拆解+执行矩阵)
→ COSTA-MAD 步1(基于矩阵结果优化提示词)
→ COSTA-MAD 步2-6(深度采集+分析)
版本 v5.4.1 | 懒加载拆分 + 快速开始章节(三句话上手 · 零门槛自然对话驱动)
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 将模糊研究主题拆解为关键词矩阵,显著提升搜索效率
- 四模式自适应路由(轻量/标准/执行/规划)覆盖不同场景需求
- 完整闭环体验:拆解→执行→质检→封版→交付物
Highlights
- 触发词完整且精准:'搜索拆解、查询拆解、分解搜索、搜索策略、精准搜索'
- description 位置正确,内容无截断
Highlights
- 结构清晰:快速开始→模式选择→核心流程→按需加载→关键约束→输出示例
- frontmatter 完整,含版本号与创建标识
- 含端到端输出示例与关键约束速查
Highlights
- 质量校验机制完善(四维加权评分,<2.0 分排除)
- Token 预算控制与预警机制
- 自动封版与用户主动封版双重出口条件
- 懒加载设计合理,引用文件路径清晰
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.