Atlas / Skills / brycewang-stanford / Boolean Search Guide

Boolean Search GuideSAFE

skills/brycewang-stanford/boolean-search-guide

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
1 documented
License
NOASSERTION
Stars
4,535
01

Overview

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Read from source at commit e1ba289846fdOBSERVED · 2026-10-08
02

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
openclawmentioned
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: boolean-search-guide
description: "Master Boolean operators and advanced search syntax for academic databases"
metadata:
  openclaw:
    emoji: "🔎"
    category: "literature"
    subcategory: "search"
    keywords: ["boolean search", "search operators", "database search", "PubMed", "Web of Science", "search strategy"]
    source: "wentor-research-plugins"
---

# Boolean Search Guide

A skill for constructing precise, reproducible search queries using Boolean operators across major academic databases. Covers AND, OR, NOT logic, proximity operators, truncation, field codes, and strategies for building systematic search strings.

## Boolean Operator Fundamentals

### Core Operators

```
AND  — Narrows results. Both terms must appear.
       "machine learning" AND "drug discovery"

OR   — Broadens results. Either term may appear.
       "deep learning" OR "neural network"

NOT  — Excludes results. Removes records containing the term.
       cancer NOT "lung cancer"

()   — Groups terms to control evaluation order.
       (COVID-19 OR SARS-CoV-2) AND (vaccine OR vaccination)
```

### Operator Precedence

Databases evaluate Boolean expressions in this order unless parentheses override:

1. Proximity operators (NEAR, ADJ, W/n)
2. NOT
3. AND
4. OR

Always use parentheses to make your intent explicit:

```
# Ambiguous (results depend on database precedence):
sleep disorders OR insomnia AND cognitive performance

# Clear (intended meaning explicit):
(sleep disorders OR insomnia) AND cognitive performance
```

## Advanced Search Syntax

### Truncation and Wildcards

```
*  — Truncation (unlimited characters)
     therap*  matches therapy, therapies, therapeutic, therapeutics

?  — Single-character wildcard
     wom?n  matches woman, women

$  — Optional character (some databases)
     behavio$r  matches behavior, behaviour
```

### Proximity Operators by Database

| Database | Operator | Example | Meaning |
|----------|----------|---------|---------|
| PubMed | Not supported | -- | Use phrase search instead |
| Web of Science | NEAR/n | climate NEAR/3 adaptation | Within 3 words |
| Scopus | W/n | gene W/5 therapy | Within 5 words, ordered |
| Scopus | PRE/n | drug PRE/3 resistance | First term precedes second |
| ProQuest | N/n, P/n | poverty N/5 education | Within 5 words |
| EBSCO | Nn | mental N3 health | Within 3 words |

### Field-Specific Searching

```
PubMed:
  "machine learning"[Title]
  "Smith J"[Author]
  "Nature"[Journal]
  "2020/01/01"[Date - Publication] : "2024/12/31"[Date - Publication]

Web of Science:
  TI=("deep learning")
  AU=(Smith, John)
  SO=(Nature)
  PY=(2020-2024)

Scopus:
  TITLE("deep learning")
  AUTH(Smith)
  SRCTITLE(Nature)
  PUBYEAR > 2019
```

## Building a Systematic Search Strategy

### PICO Framework for Query Construction

```python
def build_pico_search(population: str, intervention: str,
                      comparison: str, outcome: str) -> str:
    """
    Construct a Boolean search string from PICO components.

    Args:
        population: Target population terms (OR-separated)
        intervention: Intervention terms (OR-separated)
        comparison: Comparator terms (OR-separated, may be empty)
        outcome: Outcome terms (OR-separated)

    Returns:
        Complete Boolean search string
    """
    blocks = []

    blocks.append(f"({population})")
    blocks.append(f"({intervention})")

    if comparison:
        blocks.append(f"({comparison})")

    blocks.append(f"({outcome})")

    return " AND ".join(blocks)


# Example: Effect of mindfulness on anxiety in college students
query = build_pico_search(
    population='"college students" OR "university students" OR undergraduates',
    intervention='mindfulness OR "mindfulness-based stress reduction" OR MBSR',
    comparison='"wait list" OR "waitlist" OR "usual care" OR "control group"',
    outcome='anxiety OR "generalized anxiety" OR GAD OR "anxiety symptoms"'
)
print(query)
```

### Iterative Refinement Workflow

```
1. Identify key concepts from your research question
2. List synonyms, related terms, and variant spellings for each concept
3. Combine synonyms within each concept using OR
4. Connect concept blocks using AND
5. Test the search in your target database
6. Review the first 50 results for relevance
7. If recall is too low: add more synonyms, use truncation
8. If precision is too low: add more AND blocks, use field limits
9. Document the final search string with date and result count
```

## Search Filters and Limits

### Common Filters Across Databases

```
Language:        English, Chinese, Spanish, etc.
Date range:      Publication year or date added
Document type:   Journal article, review, conference paper
Study design:    RCT, cohort, case-control (PubMed clinical queries)
Species:         Human, animal (PubMed)
Open access:     Free full text available
```

### PubMed Clinical Query Filters

PubMed provides validated search filters (hedges) for specific study types. Append these to your search:

```
# Therapy/Intervention (sensitive):
AND (randomized controlled trial[pt] OR controlled clinical trial[pt]
OR randomized[tiab] OR randomly[tiab] OR trial[tiab])

# Diagnosis (specific):
AND (sensitivity and specificity[MeSH] OR predictive value of tests[MeSH]
OR accuracy[tiab])

# Systematic Reviews:
AND (systematic review[pt] OR meta-analysis[pt] OR systematic[sb])
```

## Documenting and Reproducing Searches

For systematic reviews and reproducible research, always record:

- Database name and interface version
- Date the search was executed
- Complete search string with line numbers
- Number of results retrieved
- Any filters or limits applied
- Name of the person who ran the search

Store search strategies in a version-controlled file alongside your project so they can be independently verified and updated.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (0)

No findings outside the package's declared scope.

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__boolean-search-guide.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-08e1ba289846fdSAFEB89first audit
06

Questions

What does the Boolean Search Guide skill do?

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Is Boolean Search Guide safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Boolean Search Guide access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

Which assistants does Boolean Search Guide work with?

Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement