pubmed-quick-search · diff
git:20260121.1ece378 to git:20260402.12fed38
103 added, 138 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: pubmed-quick-search
- description: Quick literature search on PubMed. Triggers: 搜尋, 找論文, search papers, find articles, PubMed, 文獻搜尋, 快速搜尋
+ description: "Quick literature search using unified_search. Triggers: 搜尋, 找論文, search papers, find articles, PubMed, 文獻搜尋, 快速搜尋"
---
- # PubMed 快速搜尋
+ # 快速文獻搜尋
## 描述
- 在 PubMed 上快速搜尋特定主題的文獻,適合快速瀏覽或初步探索。
+ 用 unified_search 做第一輪文獻探索。它會自動分析查詢、選擇來源、合併去重,適合快速確認某個主題是否有研究、有哪些代表性文章,以及是否值得進一步做系統性搜尋。
## 觸發條件
- - 「幫我找...的論文」、「搜尋...」
+ - 「幫我找...的論文」
- 「有沒有關於...的文章」
- - 「search papers about...」、「find articles on...」
+ - 「先快速搜尋一下...」
+ - 「search papers about...」
+ - 「find articles on...」
---
- ## 基本用法
+ ## 核心工具
- ### 簡單搜尋
```python
- search_literature(query="remimazolam ICU sedation", limit=10)
+ unified_search(
+ query="remimazolam ICU sedation",
+ limit=10,
+ ranking="balanced",
+ output_format="markdown"
+ )
```
- ### 使用 PubMed 官方語法
+ ### 參數重點
- #### MeSH 標準詞彙
- ```python
- search_literature(query='"Diabetes Mellitus"[MeSH]')
- ```
+ - `query`: 自然語言、Boolean 查詢、或包含 ICD 代碼的查詢都可以
+ - `limit`: 每個來源最多取回幾篇
+ - `sources`: 可指定 `pubmed,openalex,semantic_scholar,europe_pmc,crossref`
+ - `ranking`: `balanced`, `impact`, `recency`, `quality`
+ - `filters`: 以逗號分隔的篩選條件
+ - `options`: 額外旗標,例如預印本、是否深搜等
- #### 欄位限定搜尋
- ```python
- # 標題搜尋
- search_literature(query='COVID-19[Title]')
+ > 快速搜尋時,優先使用自然語言 + `filters`。只有在需要精細組裝查詢時,才切到系統性搜尋 skill。
- # 標題 + 摘要
- search_literature(query='machine learning[Title/Abstract]')
+ ---
- # 作者搜尋
- search_literature(query='Smith J[Author]')
- ```
+ ## 最常用範例
- #### 日期範圍
- ```python
- search_literature(query='propofol sedation AND 2023:2024[dp]')
- ```
+ ### 1. 一般主題搜尋
- #### 文章類型
```python
- search_literature(query='diabetes treatment AND Review[pt]')
- search_literature(query='COVID-19 vaccine AND Clinical Trial[pt]')
+ unified_search(query="remimazolam ICU sedation", limit=10)
```
- ---
-
- ## PubMed 欄位標籤速查
-
- | 標籤 | 說明 | 範例 |
- |------|------|------|
- | `[Title]` 或 `[ti]` | 標題 | `COVID-19[ti]` |
- | `[Title/Abstract]` 或 `[tiab]` | 標題+摘要 | `sedation[tiab]` |
- | `[MeSH]` 或 `[mh]` | MeSH 標準詞彙 | `"Diabetes Mellitus"[MeSH]` |
- | `[Author]` 或 `[au]` | 作者 | `Smith J[au]` |
- | `[Journal]` 或 `[ta]` | 期刊縮寫 | `Nature[ta]` |
- | `[Publication Type]` 或 `[pt]` | 文章類型 | `Review[pt]` |
- | `[Date - Publication]` 或 `[dp]` | 出版日期 | `2024[dp]` |
-
- ---
-
- ## 進階篩選
+ ### 2. 最近幾年的臨床研究
- ### 篩選策略
```python
- # 最新文獻
- search_literature(query="...", strategy="recent")
-
- # 高引用論文
- search_literature(query="...", strategy="most_cited")
-
- # 高影響力期刊
- search_literature(query="...", strategy="impact")
+ unified_search(
+ query="diabetes treatment",
+ limit=20,
+ ranking="quality",
+ filters="year:2020-2025, species:humans, clinical:therapy"
+ )
```
- ### 年份篩選
- ```python
- search_literature(query="...", min_year=2020, max_year=2024)
- ```
+ ### 3. 看最新研究
- ### 精確日期範圍
```python
- search_literature(
- query="COVID-19",
- date_from="2024/01/01",
- date_to="2024/06/30"
+ unified_search(
+ query="lung cancer liquid biopsy",
+ limit=15,
+ ranking="recency"
)
```
- ### 進階臨床篩選 (Phase 2.1 新功能)
+ ### 4. 看高影響力文獻
- #### 年齡群篩選
```python
- # 只找老年人研究
- search_literature(query="diabetes treatment", age_group="aged")
+ unified_search(
+ query="CAR-T therapy lymphoma",
+ limit=15,
+ ranking="impact"
+ )
+ ```
- # 只找兒童研究
- search_literature(query="asthma", age_group="child")
+ ### 5. 限定來源
- # 可用選項:
- # newborn (0-1月), infant (1-23月), preschool (2-5歲)
- # child (6-12歲), adolescent (13-18歲), young_adult (19-24歲)
- # adult (19+), middle_aged (45-64歲), aged (65+), aged_80 (80+)
+ ```python
+ unified_search(
+ query="CRISPR gene therapy",
+ sources="pubmed,openalex,europe_pmc",
+ limit=20
+ )
```
- #### 性別篩選
- ```python
- # 只找女性研究
- search_literature(query="breast cancer", sex="female")
+ ### 6. 納入預印本
- # 只找男性研究
- search_literature(query="prostate cancer", sex="male")
+ ```python
+ unified_search(
+ query="COVID-19 vaccine efficacy",
+ limit=20,
+ options="preprints"
+ )
```
- #### 物種篩選
- ```python
- # 只找人類研究
- search_literature(query="gene therapy", species="humans")
+ ---
- # 只找動物研究
- search_literature(query="CRISPR", species="animals")
- ```
+ ## `filters` 速查
- #### 語言篩選
```python
- # 只找英文論文
- search_literature(query="COVID-19", language="english")
-
- # 只找中文論文
- search_literature(query="針灸", language="chinese")
+ filters="year:2020-2025, age:aged, sex:female, species:humans, lang:english, clinical:therapy"
```
- #### 臨床證據篩選 (Clinical Queries)
- ```python
- # 治療效果研究 (RCT 優先)
- search_literature(query="remimazolam", clinical_query="therapy")
+ ### 可用欄位
- # 診斷研究
- search_literature(query="lung cancer", clinical_query="diagnosis")
+ - `year`: `2020-2025`, `2020-`, `-2025`, `2024`
+ - `age`: `newborn`, `infant`, `preschool`, `child`, `adolescent`, `young_adult`, `adult`, `middle_aged`, `aged`, `aged_80`
+ - `sex`: `male`, `female`
+ - `species`: `humans`, `animals`
+ - `lang`: `english`, `chinese` 等
+ - `clinical`: `therapy`, `therapy_narrow`, `diagnosis`, `diagnosis_narrow`, `prognosis`, `etiology` 等
- # 預後研究
- search_literature(query="heart failure", clinical_query="prognosis")
+ ---
- # 病因學研究
- search_literature(query="diabetes", clinical_query="etiology")
- ```
+ ## `options` 速查
- #### 組合篩選
```python
- # 找老年女性的糖尿病治療 RCT
- search_literature(
- query="diabetes treatment",
- age_group="aged",
- sex="female",
- species="humans",
- clinical_query="therapy",
- min_year=2020
- )
+ options="preprints, shallow"
```
+ ### 常用旗標
+
+ - `preprints`: 納入 arXiv、medRxiv、bioRxiv
+ - `all_types`: 放寬 peer-reviewed 限制
+ - `no_oa`: 不做 OA 連結補強
+ - `no_analysis`: 不顯示查詢分析
+ - `no_scores`: 不顯示分數
+ - `no_relax`: 關閉零結果時的自動放寬
+ - `shallow`: 關閉深搜,速度較快
+
---
- ## 輸出格式
+ ## 查詢不確定時
- 搜尋結果會自動包含:
- - PMID
- - 標題
- - 作者
- - 期刊
- - 出版日期
- - 摘要(如有)
- - DOI(如有)
- - PMC ID(如有,表示有全文)
+ 先分析,不要直接盲搜:
- ---
+ ```python
+ analyze_search_query(query="remimazolam vs propofol for ICU sedation")
+ ```
- ## 後續動作建議
+ 如果需要 MeSH、同義詞、建議查詢,再用:
- 搜尋完成後,可以:
- 1. **深入探索**: `find_related_articles(pmid="...")` - 找相似文章
- 2. **取得全文**: `get_fulltext(pmcid="PMC...")` - 讀取全文
- 3. **匯出引用**: `prepare_export(pmids="last", format="ris")` - 匯出到 EndNote/Zotero
- 4. **分析開放取用**: `analyze_fulltext_access(pmids="last")` - 看哪些有免費全文
+ ```python
+ generate_search_queries(topic="remimazolam ICU sedation")
+ ```
---
- ## 常見問題
+ ## 搜尋後常見下一步
- ### Q: 搜尋結果太少?
- 嘗試使用 `generate_search_queries()` 來擴展同義詞和 MeSH 詞彙。
+ 1. 讀細節:`fetch_article_details(pmids="12345678")`
+ 2. 找相似研究:`find_related_articles(pmid="12345678")`
+ 3. 看誰引用它:`find_citing_articles(pmid="12345678")`
+ 4. 抓全文:`get_fulltext(pmid="12345678")`
+ 5. 匯出引用:`prepare_export(pmids="last", format="ris")`
- ### Q: 搜尋結果太多?
- 加入更多限定條件:年份、文章類型、MeSH 主要主題 `[majr]`。
+ ---
- ### Q: 想找開放取用的論文?
- 使用 `search_europe_pmc(query="...", open_access_only=True, has_fulltext=True)`
+ ## 什麼時候不要停在這個 skill
+
+ - 需要 MeSH 與同義詞完整展開:改用 `pubmed-systematic-search`
+ - 是臨床比較問題:改用 `pubmed-pico-search`
+ - 需要全文、圖表、PDF:改用 `pubmed-fulltext-access`