Search Strategy

anthropics/knowledge-work-plugins/enterprise-search/skills/search-strategy

作者 anthropicsae1513ea94dc無授權條款已新增到 1 個工作區37K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Query decomposition and multi-source search orchestration. Breaks natural language questions into targeted searches per source, translates queries into source-specific syntax, ranks results by relevance, and handles ambiguity and fallback strategies.

AI 產生的概覽

將自然語言問題拆解為針對各資料來源的平行搜尋,並為合併後的結果排序。

功能
這是一個僅含說明的技能,定義企業搜尋策略:依問題類型分類,擷取關鍵字、實體、意圖訊號與限制條件,並為聊天、知識庫、電子郵件、雲端儲存、專案追蹤器等已連接的資料來源產生具針對性的子查詢。它提供各資料來源專用的查詢語法與篩選條件對應、依查詢類型加權的相關性評分、權威性層級、歧義處理,以及退路與查詢放寬規則。最終產出經排序、去重並綜合成單一答案的結果。
適用情境
當問題需要從多個已連接的企業資料來源而非單一來源取得答案時使用,尤其適用於決策、狀態、文件、人物、事實、時間或探索類查詢。也適用於需要將查詢轉換為特定資料來源語法,或需要為結果排序與合併的情境。
執行需求
僅為說明文件,不附帶指令碼。它假定已連接聊天、電子郵件、雲端儲存、知識庫與專案追蹤器等搜尋資料來源,並引用連接器文件以確認可用工具。未指定套件、執行環境或憑證。

AI 概覽如何產生和驗證

Search Strategy

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

The core intelligence behind enterprise search. Transforms a single natural language question into parallel, source-specific searches and produces ranked, deduplicated results.

The Goal

Turn this:

"What did we decide about the API migration timeline?"

Into targeted searches across every connected source:

~~chat:  "API migration timeline decision" (semantic) + "API migration" in:#engineering after:2025-01-01
~~knowledge base: semantic search "API migration timeline decision"
~~project tracker:  text search "API migration" in relevant workspace

Then synthesize the results into a single coherent answer.

Query Decomposition

Step 1: Identify Query Type

Classify the user's question to determine search strategy:

Query TypeExampleStrategy
Decision"What did we decide about X?"Prioritize conversations (~~chat, email), look for conclusion signals
Status"What's the status of Project Y?"Prioritize recent activity, task trackers, status updates
Document"Where's the spec for Z?"Prioritize Drive, wiki, shared docs
Person"Who's working on X?"Search task assignments, message authors, doc collaborators
Factual"What's our policy on X?"Prioritize wiki, official docs, then confirmatory conversations
Temporal"When did X happen?"Search with broad date range, look for timestamps
Exploratory"What do we know about X?"Broad search across all sources, synthesize

Step 2: Extract Search Components

From the query, extract:

  • Keywords: Core terms that must appear in results
  • Entities: People, projects, teams, tools (use memory system if available)
  • Intent signals: Decision words, status words, temporal markers
  • Constraints: Time ranges, source hints, author filters
  • Negations: Things to exclude

Step 3: Generate Sub-Queries Per Source

For each available source, create one or more targeted queries:

Prefer semantic search for:

  • Conceptual questions ("What do we think about...")
  • Questions where exact keywords are unknown
  • Exploratory queries

Prefer keyword search for:

  • Known terms, project names, acronyms
  • Exact phrases the user quoted
  • Filter-heavy queries (from:, in:, after:)

Generate multiple query variants when the topic might be referred to differently:

User: "Kubernetes setup"
Queries: "Kubernetes", "k8s", "cluster", "container orchestration"

Source-Specific Query Translation

~~chat

Semantic search (natural language questions):

query: "What is the status of project aurora?"

Keyword search:

query: "project aurora status update"
query: "aurora in:#engineering after:2025-01-15"
query: "from:<@UserID> aurora"

Filter mapping:

Enterprise filter~~chat syntax
from:sarahfrom:sarah or from:<@USERID>
in:engineeringin:engineering
after:2025-01-01after:2025-01-01
before:2025-02-01before:2025-02-01
type:threadis:thread
type:filehas:file

~~knowledge base (Wiki)

Semantic search — Use for conceptual queries:

descriptive_query: "API migration timeline and decision rationale"

Keyword search — Use for exact terms:

query: "API migration"
query: "\"API migration timeline\""  (exact phrase)

~~project tracker

Task search:

text: "API migration"
workspace: [workspace_id]
completed: false  (for status queries)
assignee_any: "me"  (for "my tasks" queries)

Filter mapping:

Enterprise filter~~project tracker parameter
from:sarahassignee_any or created_by_any
after:2025-01-01modified_on_after: "2025-01-01"
type:milestoneresource_subtype: "milestone"

Result Ranking

Relevance Scoring

Score each result on these factors (weighted by query type):

FactorWeight (Decision)Weight (Status)Weight (Document)Weight (Factual)
Keyword match0.30.20.40.3
Freshness0.30.40.20.1
Authority0.20.10.30.4
Completeness0.20.30.10.2

Authority Hierarchy

Depends on query type:

For factual/policy questions:

Wiki/Official docs > Shared documents > Email announcements > Chat messages

For "what happened" / decision questions:

Meeting notes > Thread conclusions > Email confirmations > Chat messages

For status questions:

Task tracker > Recent chat > Status docs > Email updates

Handling Ambiguity

When a query is ambiguous, prefer asking one focused clarifying question over guessing:

Ambiguous: "search for the migration"
→ "I found references to a few migrations. Are you looking for:
   1. The database migration (Project Phoenix)
   2. The cloud migration (AWS → GCP)
   3. The email migration (Exchange → O365)"

Only ask for clarification when:

  • There are genuinely distinct interpretations that would produce very different results
  • The ambiguity would significantly affect which sources to search

Do NOT ask for clarification when:

  • The query is clear enough to produce useful results
  • Minor ambiguity can be resolved by returning results from multiple interpretations

Fallback Strategies

When a source is unavailable or returns no results:

  1. Source unavailable: Skip it, search remaining sources, note the gap
  2. No results from a source: Try broader query terms, remove date filters, try alternate keywords
  3. All sources return nothing: Suggest query modifications to the user
  4. Rate limited: Note the limitation, return results from other sources, suggest retrying later

Query Broadening

If initial queries return too few results:

Original: "PostgreSQL migration Q2 timeline decision"
Broader:  "PostgreSQL migration"
Broader:  "database migration"
Broadest: "migration"

Remove constraints in this order:

  1. Date filters (search all time)
  2. Source/location filters
  3. Less important keywords
  4. Keep only core entity/topic terms

Parallel Execution

Always execute searches across sources in parallel, never sequentially. The total search time should be roughly equal to the slowest single source, not the sum of all sources.

[User query]
     ↓ decompose
[~~chat query] [~~email query] [~~cloud storage query] [Wiki query] [~~project tracker query]
     ↓            ↓            ↓              ↓            ↓
  (parallel execution)
     ↓
[Merge + Rank + Deduplicate]
     ↓
[Synthesized answer]

來源與署名

來源:anthropics/knowledge-work-plugins位於enterprise-search/skills/search-strategy提交ae1513e

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

在 README 中新增徽章

向讀者展示該技能已收錄於 SourceWeft,徽章連結到本頁。

「Listed on SourceWeft」徽章預覽
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-anthropics-knowledge-work-plugins-search-strategy.svg)](https://sourceweft.com/skills/gh-anthropics-knowledge-work-plugins-search-strategy?utm_source=readme&utm_medium=badge)

檢舉或申請下架

更多來自 anthropics/knowledge-work-plugins 的技能

Account Research

anthropics

精選

Research a target company and optionally a specific contact - company overview, recent news, likely priorities, and fit against your ICP. Cross-references existing CRM records. Use when the user asks to "research [company]", "look into [company]", "prospect research on [company]", "look up [person]", "intel on [prospect]", "who is [person] at [company]", or "tell me about [company]" when the company is a prospect rather than an existing account.

研究與分析37K今天更新

已新增到 1 個工作區

Competitive Brief

anthropics

精選

產出競爭分析簡報,涵蓋競品定位、功能比較、贏單/輸單模式與市場趨勢。

商業與財務37K今天更新

已新增到 1 個工作區

Synthesize Research

anthropics

精選

將訪談紀錄、問卷與回饋綜整為結構化的研究發現、主題與建議。

研究與分析37K今天更新

已新增到 1 個工作區

Competitive Intelligence

anthropics

精選

Competitive analysis two ways - the in-deal play against a named competitor, and win/loss patterns, competitor mentions, and battlecards across the book. Use when the user asks "competitive intel", "research competitors", "how do we compare to [competitor]", "what's new with [competitor]", "battlecard for [competitor]", "how do we beat [competitor]", "what's the play against [competitor] in [deal]", "where are we losing to [competitor]", "win/loss patterns", "competitive analysis", "refresh the battlecards", or on a weekly schedule.

研究與分析37K今天更新

已新增到 1 個工作區

Weekly Prep Brief

anthropics

精選

為未來一週的外部客戶與潛在客戶通話產生每週簡報,包含每場會議的公司與聯絡人研究。

效率與工作流37K今天更新

已新增到 1 個工作區

Contact Research

anthropics

精選

從 Common Room 資料研究某個人的聯絡人檔案,並產出帶有互動訊號的結構化檔案。

研究與分析37K今天更新

已新增到 1 個工作區