Evaluates the quality of cohort studies using the Newcastle-Ottawa Scale (NOS). Use when the user provides a cohort study article or text and needs a quality assessment report.
59
69%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Data Analysis/cohort-study-quality-assessment-nos/SKILL.mdThis skill evaluates the quality of a cohort study based on the Newcastle-Ottawa Scale (NOS). It analyzes Selection, Comparability, and Outcome categories and generates a scored report.
scripts/calculate_nos_score.py plus 1 additional script(s).references/ for task-specific guidance.See ## Prerequisites above for related details.
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.See ## Usage above for related details.
cd "20260316/scientific-skills/Data Analytics/cohort-study-quality-assessment-nos"
python -m py_compile scripts/calculate_nos_score.py
python scripts/calculate_nos_score.py --helpExample run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/calculate_nos_score.py with the validated inputs.See ## Workflow above for related details.
scripts/calculate_nos_score.py with additional helper scripts under scripts/.references/ contains supporting rules, prompts, or checklists.pip install PyPDF2)references/nos_criteria.md for detailed evaluation criteriascripts/extract_pdf.py to extract text from the PDF.If input is PDF:
cd "D:\helix\test record\\262\skills_\skills\cohort-study-quality-assessment-nos"
python scripts/extract_pdf.py "path/to/your/file.pdf"Note: The extracted text will be saved to extracted_text.txt in the current directory.
You must analyze the input text to extract information and evaluate it against the criteria defined in references/nos_criteria.md.
1. Extract Metadata:
2. Evaluate Selection (4 items):
3. Evaluate Comparability (2 items):
4. Evaluate Outcome (3 items):
For each item, determine if it meets the criteria for a star (*). If not, or if uncertain, mark as (-).
Construct a JSON object with the results:
{
"Study": "Wang, 2018",
"D1": "*",
"D2": "-",
"D3": "*",
"D4": "*",
"D5": "*",
"D6": "-",
"D7": "*",
"D8": "*",
"D9": "-"
}Scoring Notes:
Run the python script to generate the final table:
python scripts/calculate_nos_score.py '<json_string>'Example:
python scripts/calculate_nos_score.py "{\"Study\": \"Wei et al., 2026\", \"D1\": \"*\", \"D2\": \"*\", \"D3\": \"*\", \"D4\": \"*\", \"D5\": \"*\", \"D6\": \"*\", \"D7\": \"*\", \"D8\": \"*\", \"D9\": \"-\"}"Important: JSON string must be properly escaped when passed via command line.
Return to user:
When the user provides a PDF file path, use scripts/extract_pdf.py to extract the text content before assessment:
Features:
extracted_text.txtUsage:
python scripts/extract_pdf.py "path/to/file.pdf"Output:
extracted_text.txt in current working directory| Score | Quality Level | Recommendation |
|---|---|---|
| 9 stars | Excellent | Low risk of bias, high confidence |
| 7-8 stars | High quality | Acceptable for meta-analysis |
| 4-6 stars | Moderate quality | Consider in sensitivity analyses |
| <4 stars | Low quality | High risk of bias, use caution |
This skill accepts requests that match the documented purpose of cohort-study-quality-assessment-nos 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:
cohort-study-quality-assessment-nosonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
references/nos_criteria.mdcohort_study_quality_assessment_nos_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
python scripts/calculate_nos_score.py --helpExpected output format:
Result file: cohort_study_quality_assessment_nos_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if anyf5ef65b
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.