Based on user input, directly find relevant literature or automatically construct PubMed Boolean search queries to retrieve and filter references suitable for citation. Applicable for quickly finding high-quality evidence on specific topics and completing reference lists.
56
64%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Evidence Insight/reference-retrieval-skill/SKILL.mdThis skill helps users quickly retrieve and filter high-quality, highly relevant references from PubMed based on natural language descriptions.
AND (intersection), OR (union), NOT (exclusion).* to match variants (e.g., diagno* matches diagnosis, diagnostic).Metformin AND "Diabetes Mellitus, Type 2" AND (Therapy OR Treatment).[!TIP] About Escaping: If the query contains double quotes
"(e.g., phrase search), you must wrap the entire query in single quotes or escape internal double quotes with\"to avoid command-line parsing errors.
- Correct:
python scripts/pubmed_search.py 'Metformin AND "Type 2 Diabetes"'- Correct:
python scripts/pubmed_search.py "Metformin AND \"Type 2 Diabetes\""
Prefer LitSense for semantic search; only use PubMed Boolean search when precise control or complex Boolean logic is needed.
Scenario A: Semantic/Natural Language Search (LitSense) [Preferred] Suitable for direct natural language queries or finding literature related to complex statements.
python scripts/litsense_search.py "natural language query"Scenario B: Basic Boolean Search (PubMed) Suitable when a precise Boolean query has been constructed.
python scripts/pubmed_search.py "YOUR_BOOLEAN_QUERY"--max: Returns 20 articles by default; specify --max 50 for more.If initial results are inadequate (too few, low relevance, or empty), must automatically iterate, up to 5 rounds.
AND conditions, add OR synonyms.diagnosis, therapy), or use field tags [ti].After the script returns JSON results, filter 3-5 best references based on these criteria:
Selection criteria:
is_oa: true or pmcid field in results, indicating free full text via PMC.Output format: Present results strictly in the following structure:
I. Citation Marking Add citation markers at key points in the response content (or in user-provided text).
...effectively improved prognosis [1]. or ...treatment efficacy [1].II. References List references in citation order, format as follows:
[1] PMID: 34479503 | Title. Journal. https://pubmed.ncbi.nlm.nih.gov/34479503/
Citation rationale: Briefly explain why this reference supports the stated point.
[2] ...PubMed link generation rules:
https://pubmed.ncbi.nlm.nih.gov/{pmid}34479503 becomes: https://pubmed.ncbi.nlm.nih.gov/34479503[!NOTE] Example: [1] The augment of regulatory T cells undermines the efficacy of anti-PD-L1 treatment in cervical cancer. BMC Immunol. https://pubmed.ncbi.nlm.nih.gov/34479503/
| Field | Required | Format/Source | Example | If Missing |
|---|---|---|---|---|
| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |
| Primary input material | Depends on task | Text, file path, ID, table, or literature | PMID, PDF, CSV, DOCX, keywords, etc. | Specify which material type is missing |
| Output preference | No | Text | Language, format, target journal, template | Use skill default format |
This skill accepts requests that match the documented purpose of reference-retrieval-skill and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
reference-retrieval-skillonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.