Source: https://github.com/aipoch/medical-research-skills
Clinical Study Bias Assessment (QUADAS-2)
This skill evaluates clinical diagnostic accuracy studies for bias and applicability concerns using the Quality Assessment of Diagnostic Accuracy Studies-2 (QUADAS-2) tool.
When to Use
- Use this skill when you need analyzes clinical diagnostic accuracy studies for bias using the quadas-2 tool. use when claude needs to assess the quality, risk of bias, or applicability of diagnostic accuracy studies (e.g., "assess this paper using quadas-2") in a reproducible workflow.
- Use this skill when a data analytics 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/pdf_extractor.py is the most direct path to complete the request.
- Use this skill when you need the
diagnostic-study-quality-assessment-quadas-2 package behavior rather than a generic answer.
Key Features
- Scope-focused workflow aligned to: Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool. Use when Claude needs to assess the quality, risk of bias, or applicability of diagnostic accuracy studies (e.g., "Assess this paper using QUADAS-2").
- Packaged executable path(s):
scripts/pdf_extractor.py plus 1 additional script(s).
- Reference material available in
references/ for task-specific guidance.
- Reusable packaged asset(s), including
assets/example_asset.txt.
- 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/Data Analytics/diagnostic-study-quality-assessment-quadas-2"
python -m py_compile scripts/pdf_extractor.py
python scripts/pdf_extractor.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/pdf_extractor.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/pdf_extractor.py with additional helper scripts under scripts/.
- Reference guidance:
references/ contains supporting rules, prompts, or checklists.
- Packaged assets: reusable files are available under
assets/.
- 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
To assess a study, follow these steps:
Analyze Patient Selection:
- Assess if the sample was consecutive or random.
- Check for case-control design (should be avoided).
- Check for inappropriate exclusions.
- See
references/quadas_2_criteria.md for detailed signaling questions.
Analyze Index Test:
- Assess if the index test results were interpreted without knowledge of the reference standard.
- Check if the threshold was pre-specified.
Analyze Reference Standard:
- Assess if the reference standard correctly classifies the target condition.
- Check if reference standard results were interpreted without knowledge of the index test.
Analyze Flow and Timing:
- Assess the interval between index test and reference standard.
- Check if all patients received the reference standard (and the same one).
- Check if all patients were included in the analysis.
Output Format
For each domain (Patient Selection, Index Test, Reference Standard, Flow and Timing), you MUST output the findings in the following structure:
### [Domain Name]
**[Signaling Question 1]?**
- Comments: [Explanation in Chinese]
- Quote: [Original text quote]
- Answer: [Yes/No/Unclear]
... (Repeat for all signaling questions)
Quality Rules
- Language: Explanations (Comments) must be in Chinese.
- Evidence: Every judgment must be supported by a direct quote from the paper.
- Strictness: If information is missing, select "Unclear". Do not guess.
PDF Parsing Tool
For processing PDF literature, you can use the provided Python script:
# Install dependencies
pip install PyPDF2
# Extract full text
python scripts/pdf_extractor.py "paper.pdf"
# Extract specific page range
python scripts/pdf_extractor.py "paper.pdf" 5 15
The script will automatically extract the text, which you can then copy and send to me for QUADAS-2 assessment.
References
- QUADAS-2 Criteria: Detailed signaling questions and judgment guidelines.
1---2name: diagnostic-study-quality-assessment-quadas3description: Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool. Use when Claude needs to assess the quality, risk of bias, or applicability of diagnostic accuracy studies (e.g., "Assess this paper using QUADAS-2").4license: MIT5---6> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
7
8# Clinical Study Bias Assessment (QUADAS-2)
9
10This skill evaluates clinical diagnostic accuracy studies for bias and applicability concerns using the Quality Assessment of Diagnostic Accuracy Studies-2 (QUADAS-2) tool.
11
12## When to Use
13
14- Use this skill when you need analyzes clinical diagnostic accuracy studies for bias using the quadas-2 tool. use when claude needs to assess the quality, risk of bias, or applicability of diagnostic accuracy studies (e.g., "assess this paper using quadas-2") in a reproducible workflow.
15- Use this skill when a data analytics task needs a packaged method instead of ad-hoc freeform output.
16- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
17- Use this skill when `scripts/pdf_extractor.py` is the most direct path to complete the request.
18- Use this skill when you need the `diagnostic-study-quality-assessment-quadas-2` package behavior rather than a generic answer.
19
20## Key Features
21
22- Scope-focused workflow aligned to: Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool. Use when Claude needs to assess the quality, risk of bias, or applicability of diagnostic accuracy studies (e.g., "Assess this paper using QUADAS-2").
23- Packaged executable path(s): `scripts/pdf_extractor.py` plus 1 additional script(s).
24- Reference material available in `references/` for task-specific guidance.
25- Reusable packaged asset(s), including `assets/example_asset.txt`.
26- Structured execution path designed to keep outputs consistent and reviewable.
27
28## Dependencies
29
30- `Python`: `3.10+`. Repository baseline for current packaged skills.
31- `Third-party packages`: `not explicitly version-pinned in this skill package`. Add pinned versions if this skill needs stricter environment control.
32
33## Example Usage
34
35```bash
36cd "20260316/scientific-skills/Data Analytics/diagnostic-study-quality-assessment-quadas-2"
37python -m py_compile scripts/pdf_extractor.py
38python scripts/pdf_extractor.py --help
39```
40
41Example run plan:
421. Confirm the user input, output path, and any required config values.
432. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.
443. Run `python scripts/pdf_extractor.py` with the validated inputs.
454. Review the generated output and return the final artifact with any assumptions called out.
46
47## Implementation Details
48
49See `## Workflow` above for related details.
50
51- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
52- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
53- Primary implementation surface: `scripts/pdf_extractor.py` with additional helper scripts under `scripts/`.
54- Reference guidance: `references/` contains supporting rules, prompts, or checklists.
55- Packaged assets: reusable files are available under `assets/`.
56- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
57- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
58
59## Workflow
60
61To assess a study, follow these steps:
62
631. **Analyze Patient Selection**:
64 * Assess if the sample was consecutive or random.
65 * Check for case-control design (should be avoided).
66 * Check for inappropriate exclusions.
67 * See `references/quadas_2_criteria.md` for detailed signaling questions.
68
692. **Analyze Index Test**:
70 * Assess if the index test results were interpreted without knowledge of the reference standard.
71 * Check if the threshold was pre-specified.
72
733. **Analyze Reference Standard**:
74 * Assess if the reference standard correctly classifies the target condition.
75 * Check if reference standard results were interpreted without knowledge of the index test.
76
774. **Analyze Flow and Timing**:
78 * Assess the interval between index test and reference standard.
79 * Check if all patients received the reference standard (and the same one).
80 * Check if all patients were included in the analysis.
81
82## Output Format
83
84For each domain (Patient Selection, Index Test, Reference Standard, Flow and Timing), you MUST output the findings in the following structure:
85
86```markdown
87
88### [Domain Name]
89
90**[Signaling Question 1]?**
91- Comments: [Explanation in Chinese]
92- Quote: [Original text quote]
93- Answer: [Yes/No/Unclear]
94
95... (Repeat for all signaling questions)
96```
97
98## Quality Rules
99
1001. **Language**: Explanations (Comments) must be in Chinese.
1012. **Evidence**: Every judgment must be supported by a direct quote from the paper.
1023. **Strictness**: If information is missing, select "Unclear". Do not guess.
103
104## PDF Parsing Tool
105
106For processing PDF literature, you can use the provided Python script:
107
108```bash
109
110# Install dependencies
111pip install PyPDF2
112
113# Extract full text
114python scripts/pdf_extractor.py "paper.pdf"
115
116# Extract specific page range
117python scripts/pdf_extractor.py "paper.pdf" 5 15
118```
119
120The script will automatically extract the text, which you can then copy and send to me for QUADAS-2 assessment.
121
122## References
123
124- [QUADAS-2 Criteria](references/quadas_2_criteria.md): Detailed signaling questions and judgment guidelines.
125