Use when starting a systematic literature review to define the research protocol. TRIGGERS: slr init, protocol, PICO, SPIDER, define criteria, start review, iniciar revisao, definir protocolo, criterios de inclusao, criterios de exclusao
Define research protocol for systematic literature review using PICO, SPIDER, or Custom framework.
Guide users through defining a complete SLR protocol before any search. This is an interactive skill - use AskUserQuestion to gather all protocol information.
Core principle: No search without protocol. Use uvx scimesh workspace init --type slr to create the workspace with protocol.
uvx scimesh workspace commands for SLRUse AskUserQuestion to gather protocol info. All questions need 2-4 options.
Question 1: Framework
{
"question": "Which framework do you want to use for your research question?",
"header": "Framework",
"options": [
{"label": "PICO", "description": "Population, Intervention, Comparison, Outcome - quantitative/clinical research"},
{"label": "SPIDER", "description": "Sample, Phenomenon, Design, Evaluation, Research type - qualitative research"},
{"label": "Custom", "description": "Build your own from building blocks - flexible for any domain"}
],
"multiSelect": False
}
Ask for PICO components:
Ask for SPIDER components:
Ask the following building block questions:
Question 2a: Context fields
{
"question": "Which CONTEXT fields do you need? (what/who is being studied)",
"header": "Context",
"options": [
{"label": "Population", "description": "Group or entities being studied"},
{"label": "Sample", "description": "Specific subset or participants"},
{"label": "Setting", "description": "Environment or location"},
{"label": "Domain", "description": "Field or application area"}
],
"multiSelect": True
}
Question 2b: Action fields
{
"question": "Which ACTION fields do you need? (what is being done/studied)",
"header": "Action",
"options": [
{"label": "Intervention", "description": "Treatment or method applied"},
{"label": "Method", "description": "Technique or algorithm"},
{"label": "Phenomenon", "description": "Experience or behavior of interest"},
{"label": "Mechanism", "description": "How something works"}
],
"multiSelect": True
}
Question 2c: Result fields
{
"question": "Which RESULT fields do you need? (what is measured/evaluated)",
"header": "Result",
"options": [
{"label": "Outcome", "description": "Effects or results measured"},
{"label": "Metrics", "description": "Specific measures used"},
{"label": "Evaluation", "description": "Assessment criteria"}
],
"multiSelect": True
}
These questions apply to ALL frameworks:
Question 3: Year range
{
"question": "What year range should papers be from?",
"header": "Years",
"options": [
{"label": "Last 5 years (Recommended)", "description": "Dynamic: based on current year"},
{"label": "Last 10 years", "description": "Dynamic: based on current year"},
{"label": "Last 3 years", "description": "Dynamic: based on current year"},
{"label": "Custom range", "description": "You specify"}
],
"multiSelect": False
}
Note: Compute the actual year range dynamically from the current date. For example, if today is 2026, "Last 5 years" means "2021-2026".
Question 4: Languages
{
"question": "What languages are acceptable?",
"header": "Languages",
"options": [
{"label": "English only (Recommended)", "description": "Most common in academia"},
{"label": "English + Portuguese", "description": "Include PT papers"},
{"label": "Any language", "description": "No language filter"}
],
"multiSelect": False
}
Question 5: Study types to include
{
"questions": [
{
"question": "Which study types to include?",
"header": "Include",
"options": [
{"label": "Primary research", "description": "Original experiments, empirical studies"},
{"label": "Systematic reviews", "description": "Systematic reviews, meta-analyses"},
{"label": "Conference papers", "description": "Full papers from conferences"},
{"label": "Preprints", "description": "arXiv, bioRxiv, medRxiv, SSRN"}
],
"multiSelect": True
},
{
"question": "Which study types to EXCLUDE?",
"header": "Exclude",
"options": [
{"label": "Conference abstracts", "description": "Abstracts without full text"},
{"label": "Editorials/letters", "description": "Opinion pieces, letters to editor"},
{"label": "Commentaries", "description": "Short commentaries on other papers"},
{"label": "Protocols", "description": "Study protocols without results"}
],
"multiSelect": True
}
]
}
Question 6: Minimum citations
{
"question": "Set a minimum citation threshold?",
"header": "Citations",
"options": [
{"label": "No minimum (Recommended)", "description": "Include all papers regardless of citations"},
{"label": "At least 5 citations", "description": "Filter out very low-impact papers"},
{"label": "At least 10 citations", "description": "Moderate impact threshold"},
{"label": "At least 50 citations", "description": "High impact only"}
],
"multiSelect": False
}
Question 7: Data/Code availability
{
"question": "Require open data or code?",
"header": "Open science",
"options": [
{"label": "No requirement (Recommended)", "description": "Include all papers"},
{"label": "Prefer open data/code", "description": "Prioritize but don't exclude"},
{"label": "Must have open data", "description": "Exclude papers without available data"},
{"label": "Must have open code", "description": "Exclude papers without available code"}
],
"multiSelect": False
}
Question 8: Search providers
{
"question": "Which providers to search?",
"header": "Providers",
"options": [
{"label": "OpenAlex (Recommended)", "description": "200M+ works, open metadata, citation counts."},
{"label": "Semantic Scholar", "description": "AI/ML focus, citation graph, abstracts."},
{"label": "arXiv", "description": "Preprints in CS, Physics, Math. Free full-text PDFs."},
{"label": "Scopus", "description": "Comprehensive coverage. Requires SCOPUS_API_KEY environment variable."}
],
"multiSelect": True
}
Question 9: Target pool size
{
"question": "How many papers do you want to screen?",
"header": "Pool size",
"options": [
{"label": "30-100 (Recommended)", "description": "Focused review"},
{"label": "100-200", "description": "Comprehensive review"},
{"label": "200-500", "description": "Exhaustive review"}
],
"multiSelect": False
}
Question 10: Research question (free text)
{
"question": "Describe your research question:",
"header": "Research Q",
"options": [
{"label": "Example: How does X affect Y?", "description": "Cause-effect question"},
{"label": "Example: What methods exist for X?", "description": "Survey question"}
],
"multiSelect": False
}
# User will select "Other" and type their actual question
After gathering all information via AskUserQuestion, create the workspace in two steps:
uvx scimesh workspace init {review_path}/ \
--type slr \
--question "Research question here" \
--framework pico \
--databases "arxiv,openalex,semantic_scholar" \
--year-range "2021-2026"
Available flags for workspace init:
--type: slr, exploration, collection (required for SLR)--question: Research question--framework: pico, spider, custom--databases: Comma-separated provider list--year-range: Year range string# Add inclusion criteria (one call with all criteria)
uvx scimesh workspace add-inclusion {review_path}/ \
"First inclusion criterion" \
"Second inclusion criterion"
# Add exclusion criteria
uvx scimesh workspace add-exclusion {review_path}/ \
"First exclusion criterion" \
"Second exclusion criterion"
The workspace init creates the workspace with an empty framework. To populate framework fields (PICO, SPIDER, or Custom), edit the index.yaml directly using the Edit tool:
Edit {review_path}/index.yaml to set: