Agent skill

Cohort Study Quality Assessment Nos

by aipoch in aipoch/medical-research-skills

Evaluates the quality of cohort studies using the Newcastle-Ottawa Scale (NOS).

MITAuto-check passedData & Analytics

Install Cohort Study Quality Assessment Nos

skills CLI
$ npx skills add aipoch/medical-research-skills --skill cohort-study-quality-assessment-nos -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills cohort-study-quality-assessment-nos --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Data Analysis/cohort-study-quality-assessment-nos' .claude/skills/cohort-study-quality-assessment-nos && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cohort-study-quality-assessment-nos
GitHub stars
1.9k
Token cost
~3k tokens
SKILL.md length
1,388 words
Files
3
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Evaluates the quality of cohort studies using the Newcastle-Ottawa Scale (NOS).

  • Works in 5 steps: Extract Content → Analyze the Text → Format Data → …
  • The user provides a cohort study article
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 15 more sections
  • Calls python and pip

What it does

Cohort Study Quality Assessment Nos is an agent skill from aipoch/medical-research-skills. 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.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `POLISH_CHANGELOG.md` and `eval_report_cohort-study-quality-assessment-nos_result.json`).

It sits in Data & Analytics. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • The user provides a cohort study article
  • Text and needs a quality assessment report

Example prompts

  • “Use the cohort-study-quality-assessment-nos skill to evaluate the quality of cohort studies using the Newcastle-Ottawa Scale (NOS)”
  • “/cohort-study-quality-assessment-nos”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Extract Content
  2. Analyze the Text
  3. Format Data
  4. Calculate Score and Generate Report
  5. Generate Final Report

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cohort Study Quality Assessment Nos loads about 3k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 1,388 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,388 words, ~2,991 tokens.

Download SKILL.mdSave it as .claude/skills/cohort-study-quality-assessment-nos/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
cohort-study-quality-assessment-nos
description
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.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

Cohort Study Quality Assessment (NOS)

This 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.

When to Use

  • Use this skill when the request matches its documented task boundary.
  • Use it when the user can provide the required inputs and expects a structured deliverable.
  • Prefer this skill for repeatable, checklist-driven execution rather than open-ended brainstorming.

Key Features

  • Scope-focused workflow aligned to: 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.
  • Packaged executable path(s): scripts/calculate_nos_score.py plus 1 additional script(s).
  • Reference material available in references/ for task-specific guidance.
  • Structured execution path designed to keep outputs consistent and reviewable.

Dependencies

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.

Example Usage

See ## Usage above for related details.

bash
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 --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/calculate_nos_score.py with the validated inputs.
  4. 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/calculate_nos_score.py with additional helper scripts under scripts/.
  • 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.

Prerequisites

  • Python 3.x
  • PyPDF2 library (pip install PyPDF2)
  • Access to references/nos_criteria.md for detailed evaluation criteria

Usage

Method 1: Direct Text Input
  1. Input: The full text of the cohort study article (copy-pasted or provided by user).
  2. Process:
    • Extract study metadata (Author, Year).
    • Evaluate the study against NOS criteria (Selection, Comparability, Outcome).
    • Calculate the total score (number of stars).
  3. Output: A Markdown table summarizing the assessment for each criterion and the overall score.
Method 2: PDF File Input
  1. Input: Path to a PDF file containing the cohort study.
  2. Process:
    • Use scripts/extract_pdf.py to extract text from the PDF.
    • Review the extracted text for completeness.
    • Proceed with Method 1 steps.
  3. Output: Same as Method 1.

Workflow

Step 1: Extract Content

If input is PDF:

bash
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.

Step 2: Analyze the Text

You must analyze the input text to extract information and evaluate it against the criteria defined in references/nos_criteria.md.

1. Extract Metadata:

  • Study: First Author, Year (e.g., "Wang, 2018").

2. Evaluate Selection (4 items):

  • D1: Representativeness of the Exposed Cohort (* or -)
    • Look for: study design (retrospective/prospective), data source (hospital registry/population-based), inclusion/exclusion criteria clarity
    • Give star if: representative sample from a defined population with clear criteria
  • D2: Selection of the Non-Exposed Cohort (* or -)
    • Look for: comparison group source (same community/hospital/different source)
    • Give star if: drawn from the same source as exposed cohort
  • D3: Ascertainment of Exposure (* or -)
    • Look for: how exposure was determined (medical records/interview/self-report)
    • Give star if: secure record (surgical records, pharmacy records, EMR) or structured interview
  • D4: Outcome not present at start (* or -)
    • Look for: exclusion of patients with outcome at baseline
    • Give star if: demonstrated that outcome was not present at study start

3. Evaluate Comparability (2 items):

  • D5: Age comparability (* or -)
    • Look for: age matching or statistical adjustment for age
    • Give star if: matched in design OR adjusted in analysis (not just "no difference" statement)
  • D6: Additional comparability (* or -)
    • Look for: matching/adjustment for other key confounders (BMI, disease severity, comorbidities)
    • Give star if: matched in design OR adjusted in analysis for important factors beyond age

4. Evaluate Outcome (3 items):

  • D7: Assessment of Outcome (* or -)
    • Look for: outcome measurement method (blind assessment/secure records/self-report)
    • Give star if: independent blind assessment, secure records (lab results, imaging), or record linkage
  • D8: Enough follow-up (* or -)
    • Look for: duration of follow-up
    • Give star if: follow-up long enough for outcomes to occur (depends on disease/condition)
  • D9: Adequacy of follow up (* or -)
    • Look for: follow-up completion rate, description of losses
    • Give star if: complete follow-up OR ≥80% follow-up with description of losses
    • Important: If follow-up rate not reported or <80%, do NOT give star

For each item, determine if it meets the criteria for a star (*). If not, or if uncertain, mark as (-).

Step 3: Format Data

Construct a JSON object with the results:

json
{
  "Study": "Wang, 2018",
  "D1": "*",
  "D2": "-",
  "D3": "*",
  "D4": "*",
  "D5": "*",
  "D6": "-",
  "D7": "*",
  "D8": "*",
  "D9": "-"
}

Scoring Notes:

  • Be conservative: If uncertain about meeting criteria, use "-"
  • For D9 (follow-up adequacy): Common issue is lack of reported completion rate
  • Document your reasoning for each item
Step 4: Calculate Score and Generate Report

Run the python script to generate the final table:

bash
python scripts/calculate_nos_score.py '<json_string>'

Example:

bash
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.

Show full SKILL.md (543 more words)Show less
Step 5: Generate Final Report

Return to user:

  1. The generated Markdown table
  2. Brief explanation of each scoring decision
  3. Summary of study quality (High: ≥7 stars, Moderate: 4-6 stars, Low: <4 stars)
  4. Key strengths and limitations

Helper Scripts

PDF Text Extraction

When the user provides a PDF file path, use scripts/extract_pdf.py to extract the text content before assessment:

Features:

  • Extracts text from all pages
  • Saves output to extracted_text.txt
  • Handles path issues with spaces
  • Provides progress feedback

Usage:

bash
python scripts/extract_pdf.py "path/to/file.pdf"

Output:

  • Console: Extraction progress and statistics
  • File: extracted_text.txt in current working directory

Quality Interpretation

ScoreQuality LevelRecommendation
9 starsExcellentLow risk of bias, high confidence
7-8 starsHigh qualityAcceptable for meta-analysis
4-6 starsModerate qualityConsider in sensitivity analyses
<4 starsLow qualityHigh risk of bias, use caution

Common Issues and Solutions

  1. PDF extraction fails: Check if file exists and is not corrupted; try different PDF library (PyMuPDF)
  2. JSON parsing error: Ensure proper escaping of quotes in command line
  3. Uncertain criteria: When in doubt, be conservative and assign "-"
  4. Missing information: Note in report that certain items could not be assessed

Input Validation

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-nos only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

References

  • Detailed criteria: references/nos_criteria.md
  • Wells GA, et al. The Newcastle-Ottawa Scale (NOS) for assessing the quality of nonrandomised studies in meta-analyses

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as cohort_study_quality_assessment_nos_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Quick Validation

Run this minimal verification path before full execution when possible:

bash
python scripts/calculate_nos_score.py --help

Expected output format:

text
Result file: cohort_study_quality_assessment_nos_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in scientific-skills/Data Analysis/cohort-study-quality-assessment-nos of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_cohort-study-quality-assessment-nos_result.json

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Cohort Study Quality Assessment Nos next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cohort Study Quality Assessment Nos compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cohort Study Quality Assessment Nos this skillaipoch/medical-research-skills1.9k—~3kAutomated safety check: PassMIT
MatplotlibzLanqing/codex-claude-academic-skills4.7k17 repos~2.9kAutomated safety check: PassMIT
Exploratory Data Analysisspacering-net/codeg3.9k14 repos~3.6kAutomated safety check: PassMIT
Scikit LearnzLanqing/codex-claude-academic-skills4.7k16 repos~3.9kAutomated safety check: PassBSD-3-Clause
Chart Visualizationbytedance/deer-flow84k1 repos~840Automated safety check: PassMIT
TimesFM Forecastinggoogle-research/timesfm34k—~4.7kAutomated safety check: PassApache-2.0

Similar skills

  • Matplotlib

    zLanqing/codex-claude-academic-skills

    Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 17 repos~2.9k tokens
    Data & AnalyticsAuto-check passed
  • Exploratory Data Analysis

    spacering-net/codeg

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    3.9k GitHub starsUsed in 14 repos~3.6k tokens
    Data & AnalyticsAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Chart Visualization

    bytedance/deer-flow

    Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.

    84k GitHub starsUsed in 1 repo~840 tokens
    Data & AnalyticsAuto-check passed
  • TimesFM Forecasting

    google-research/timesfm

    Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.

    34k GitHub stars~4.7k tokensUpdated 11 days ago
    Data & AnalyticsAuto-check passed
  • Sandbox Bench

    vercel/next.js

    Official

    Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…

    143k GitHub stars~4.1k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    1.9k GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    1.9k GitHub stars~1.4k tokensUpdated 24 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    1.9k GitHub stars~3.7k tokensUpdated 24 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    1.9k GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    1.9k GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    1.9k GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed

Questions about Cohort Study Quality Assessment Nos

What does Cohort Study Quality Assessment Nos do?

Evaluates the quality of cohort studies using the Newcastle-Ottawa Scale (NOS). Cohort Study Quality Assessment Nos is an agent skill from aipoch/medical-research-skills. Evaluates the quality of cohort studies using the Newcastle-Ottawa Scale (NOS).

When should I use Cohort Study Quality Assessment Nos?

Cohort Study Quality Assessment Nos fits situations like: the user provides a cohort study article; text and needs a quality assessment report.

How do I install Cohort Study Quality Assessment Nos in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill cohort-study-quality-assessment-nos -a claude-code`. Or copy the skill folder (scientific-skills/Data Analysis/cohort-study-quality-assessment-nos in aipoch/medical-research-skills) into .claude/skills/cohort-study-quality-assessment-nos in your project. Claude Code loads it when a task matches its description.

How do I install Cohort Study Quality Assessment Nos in Codex?

Run `npx skills add aipoch/medical-research-skills --skill cohort-study-quality-assessment-nos -a codex`. Or copy the skill folder (scientific-skills/Data Analysis/cohort-study-quality-assessment-nos in aipoch/medical-research-skills) into .agents/skills/cohort-study-quality-assessment-nos in your project. Codex loads it when a task matches its description.

Can I use Cohort Study Quality Assessment Nos in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill cohort-study-quality-assessment-nos -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cohort-study-quality-assessment-nos, .gemini/skills/cohort-study-quality-assessment-nos, .github/skills/cohort-study-quality-assessment-nos and .opencode/skills/cohort-study-quality-assessment-nos in your project.

What does Cohort Study Quality Assessment Nos need to run?

Going by SKILL.md and its folder, Cohort Study Quality Assessment Nos needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Cohort Study Quality Assessment Nos access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cohort Study Quality Assessment Nos safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cohort Study Quality Assessment Nos use?

Cohort Study Quality Assessment Nos is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cohort Study Quality Assessment Nos use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cohort Study Quality Assessment Nos?

Skills that share tags, products or a category with Cohort Study Quality Assessment Nos: Matplotlib (zLanqing/codex-claude-academic-skills, 4.7k stars), Exploratory Data Analysis (spacering-net/codeg, 3.9k stars), Scikit Learn (zLanqing/codex-claude-academic-skills, 4.7k stars) and Chart Visualization (bytedance/deer-flow, 84k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cohort Study Quality Assessment Nos?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.