360 Secure SkillHub
360 安全技能中心

query-intel

提供 Python 命令行工具:对问题做 Step-Back 与 Least-to-Most 分解,按给定置信度给出检索或跳过建议,并按大纲优先思路生成含矛盾、空白、方法迁移、反证槽位的报告大纲,供后续综合使用。

gautham-ai-dev
gautham-ai-dev
热度 36.01
最近更新 2026-10-14 14:53:01
分类:搜索依赖:代码执行应用场景:研究 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gautham-ai-dev/query-intel
Metadata
name
query-intel
description
Query rewriting + retrieval gating + outline-first synthesis. Use when a question needs decomposition (Step-Back/Least-to-Most), retrieve-or-skip decisions (CRAG/Self-RAG gates), or multi-source reports (STORM outline-first). Feeds breakthrough-finder stages plan/expand/synthesize.
version
1.0.0
metadata
{"openclaw":{"requires":{"anyBins":["python3"]}}}

Query Intel

Question → better questions → gated retrieval → outline → cited report.

Commands (intel.py, stdlib)

python intel.py stepback "<question>"     # principle + sub-questions
python intel.py decompose "<question>"    # least-to-most ordered steps
python intel.py gate "<query>" --conf X   # retrieve|skip + reason
python intel.py outline "<topic>" --slots # outline w/ breakthrough slots

Rules

  • Rewriters are retriever-specific: lexical expansion → BM25, hypothetical-doc → dense. One universal rewriter fails (RL-QR).
  • Skip retrieval when confident AND answer is stable knowledge (Self-RAG/FLARE gate) — cuts poisoned/noisy exposure.
  • Outline-first always for reports: contradiction / vacancy / method-transfer / hostile-evidence slots before any prose.