Meta Protocol Writer
This skill helps users generate a standard protocol for PROSPERO registration (without the registration number) for a Meta-analysis or Systematic Review.
When to Use
- Use this skill when you need generates a prospero-compliant meta-analysis protocol based on title and picos. use when the user wants to write a protocol for a systematic review or meta-analysis in a reproducible workflow.
- Use this skill when a protocol design task needs a packaged method instead of ad-hoc freeform output.
- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
- Use this skill when
scripts/utils.py is the most direct path to complete the request.
- Use this skill when you need the
meta-protocol-writer package behavior rather than a generic answer.
Key Features
- Scope-focused workflow aligned to: Generates a PROSPERO-compliant Meta-analysis protocol based on Title and PICOS. Use when the user wants to write a protocol for a systematic review or meta-analysis.
- Packaged executable path(s):
scripts/utils.py.
- Reference material available in
references/ for task-specific guidance.
- Structured execution path designed to keep outputs consistent and reviewable.
Dependencies
Python: 3.10+. Repository baseline for current packaged skills.
Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.
Example Usage
cd "20260316/scientific-skills/Protocol Design/meta-protocol-writer"
python -m py_compile scripts/utils.py
python scripts/utils.py --help
Example run plan:
- Confirm the user input, output path, and any required config values.
- Edit the in-file
CONFIG block or documented parameters if the script uses fixed settings.
- Run
python scripts/utils.py with the validated inputs.
- Review the generated output and return the final artifact with any assumptions called out.
Implementation Details
See ## Workflow above for related details.
- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
- Primary implementation surface:
scripts/utils.py.
- Reference guidance:
references/ contains supporting rules, prompts, or checklists.
- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
Workflow
Follow these steps to generate the protocol.
1. Validate Title
Check if the user provided a title.
- If Title is missing: Ask the user to provide a title or suggest one based on PICOS if provided.
- If Title is present: Validate it using the Title Review Rules (see below).
Title Review Rules:
- Must contain "Meta-analysis" or "Systematic review".
- Must cover PICOS elements (Population, Intervention, Comparison, Outcome).
- Must be concise (< 25 words).
If the title fails validation, explain why and ask for a revised title.
2. Gather Inputs
Ensure you have the following information (PICOS):
- Participants (P)
- Interventions (I)
- Comparisons (C)
- Outcomes (O)
If any are missing, ask the user.
3. Generate Protocol Sections
Use the prompts in references/prompts.md to generate the three main sections. You must follow the content requirements and word counts strictly.
Step 3.1: Administrative Information
- Use the Administrative Information Prompt in
references/prompts.md.
- Inputs: Validated Title, Author information (if known, else use placeholders).
Step 3.2: Introduction
- Use the Introduction Prompt in
references/prompts.md.
- Inputs: PICOS.
- Constraints: Rationale (5-150 words), Objectives (10-200 words).
Step 3.3: Methods
- Use the Methods Prompt in
references/prompts.md.
- Inputs: PICOS.
- Critical: For the Search Strategy, use the Current Date as the end date.
- You can run
python scripts/utils.py to get the exact current date if needed, or just use today's date known to you.
- Start date must be "inception". Do NOT set a specific start year (e.g., 2000) unless requested.
4. Final Output
Combine the sections into a single Markdown document.
Structure:
- Administrative Information
- Introduction
- Methods
Ensure all headings match the PROSPERO requirements.
1---2name: meta-protocol-writer3description: Generates a PROSPERO-compliant Meta-analysis protocol based on Title and PICOS. Use when the user wants to write a protocol for a systematic review or meta-analysis.4license: MIT5---6# Meta Protocol Writer
7
8This skill helps users generate a standard protocol for PROSPERO registration (without the registration number) for a Meta-analysis or Systematic Review.
9
10## When to Use
11
12- Use this skill when you need generates a prospero-compliant meta-analysis protocol based on title and picos. use when the user wants to write a protocol for a systematic review or meta-analysis in a reproducible workflow.
13- Use this skill when a protocol design task needs a packaged method instead of ad-hoc freeform output.
14- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
15- Use this skill when `scripts/utils.py` is the most direct path to complete the request.
16- Use this skill when you need the `meta-protocol-writer` package behavior rather than a generic answer.
17
18## Key Features
19
20- Scope-focused workflow aligned to: Generates a PROSPERO-compliant Meta-analysis protocol based on Title and PICOS. Use when the user wants to write a protocol for a systematic review or meta-analysis.
21- Packaged executable path(s): `scripts/utils.py`.
22- Reference material available in `references/` for task-specific guidance.
23- Structured execution path designed to keep outputs consistent and reviewable.
24
25## Dependencies
26
27- `Python`: `3.10+`. Repository baseline for current packaged skills.
28- `Third-party packages`: `not explicitly version-pinned in this skill package`. Add pinned versions if this skill needs stricter environment control.
29
30## Example Usage
31
32```bash
33cd "20260316/scientific-skills/Protocol Design/meta-protocol-writer"
34python -m py_compile scripts/utils.py
35python scripts/utils.py --help
36```
37
38Example run plan:
391. Confirm the user input, output path, and any required config values.
402. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.
413. Run `python scripts/utils.py` with the validated inputs.
424. Review the generated output and return the final artifact with any assumptions called out.
43
44## Implementation Details
45
46See `## Workflow` above for related details.
47
48- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
49- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
50- Primary implementation surface: `scripts/utils.py`.
51- Reference guidance: `references/` contains supporting rules, prompts, or checklists.
52- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
53- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
54
55## Workflow
56
57Follow these steps to generate the protocol.
58
59### 1. Validate Title
60
61Check if the user provided a title.
62- If **Title is missing**: Ask the user to provide a title or suggest one based on PICOS if provided.
63- If **Title is present**: Validate it using the **Title Review Rules** (see below).
64
65**Title Review Rules**:
66- Must contain "Meta-analysis" or "Systematic review".
67- Must cover PICOS elements (Population, Intervention, Comparison, Outcome).
68- Must be concise (< 25 words).
69
70If the title fails validation, explain why and ask for a revised title.
71
72### 2. Gather Inputs
73
74Ensure you have the following information (PICOS):
75- **Participants** (P)
76- **Interventions** (I)
77- **Comparisons** (C)
78- **Outcomes** (O)
79
80If any are missing, ask the user.
81
82### 3. Generate Protocol Sections
83
84Use the prompts in `references/prompts.md` to generate the three main sections. You must follow the content requirements and word counts strictly.
85
86#### Step 3.1: Administrative Information
87- Use the **Administrative Information Prompt** in `references/prompts.md`.
88- Inputs: Validated Title, Author information (if known, else use placeholders).
89
90#### Step 3.2: Introduction
91- Use the **Introduction Prompt** in `references/prompts.md`.
92- Inputs: PICOS.
93- Constraints: Rationale (5-150 words), Objectives (10-200 words).
94
95#### Step 3.3: Methods
96- Use the **Methods Prompt** in `references/prompts.md`.
97- Inputs: PICOS.
98- **Critical**: For the Search Strategy, use the **Current Date** as the end date.
99 - You can run `python scripts/utils.py` to get the exact current date if needed, or just use today's date known to you.
100 - Start date must be "inception". Do NOT set a specific start year (e.g., 2000) unless requested.
101
102### 4. Final Output
103
104Combine the sections into a single Markdown document.
105
106Structure:
1071. **Administrative Information**
1082. **Introduction**
1093. **Methods**
110
111Ensure all headings match the PROSPERO requirements.