CtrlK
BlogDocsLog inGet started
Tessl Logo

univariate-multivariable-cox-regression

Use when running prognostic survival analysis on a clinical cohort with time-to-event data to estimate univariate and multivariable Cox proportional hazards models, export result tables, and generate forest plots. NOT for: nomogram construction, calibration curves, time-dependent ROC analysis, or model training/feature selection beyond the built-in univariate screening rule.

67

Quality

84%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

67%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable CLI skill body with real external references, clear workflows, and strong error-handling guidance. Its two weaknesses are redundant command repetition and an implementation-checklist/footer that pad the token budget, and multiple references to a tests/ directory that does not exist in the bundle, which undermines both executability and navigation.

Suggestions

Remove the 'Implementation Checklist' and the 'Last updated / Version' footer, and consolidate the near-duplicate analyze/forest-plot invocations from Usage, Examples, and Testing into one canonical set of examples (pointing to references/cli-guide.md for further variants).

Fix or remove the broken tests/ references: either ship 'tests/data/sample_clinical_survival_data.csv', 'tests/run_smoke_test.R', and 'tests/run_smoke_test.sh' in the bundle, or rewrite the Testing and Basic Analysis sections to use only files that exist.

Add an explicit checkpoint between workflow steps 3 and 4 — verify that 'table/prognosis_uni_cox_results.xlsx' / 'table/prognosis_multi_cox_results.xlsx' were produced before running the forest-plot commands — to close the workflow's main validation gap.

DimensionReasoningScore

Conciseness

Mostly efficient — the body is dominated by terse tables and commands with no concept explanations Claude already knows — but it carries avoidable weight: the same analyze/forest-plot invocations appear near-identically in Usage, Examples, and Testing; the 'Implementation Checklist' ('CLI parsing with optparse', 'set.seed() for reproducibility') documents implementation facts rather than instructing the agent; and the 'Last updated: 2026-04-16 | Version: 1.1.0' footer is time-sensitive filler. These could be trimmed or pushed to references/cli-guide.md without losing operational value.

3 / 5

Actionability

The core guidance is fully executable — copy-paste 'Rscript scripts/main.R analyze ...' commands with a complete argument table, defaults, concrete input CSV format with sample rows, and documented output files. The gap: the smoke-test and basic-example commands point at 'tests/data/sample_clinical_survival_data.csv', 'tests/run_smoke_test.R', and 'tests/run_smoke_test.sh', none of which exist in the bundle, so those specific examples fail if run verbatim.

4 / 5

Workflow Clarity

The Workflow section gives a clear four-step sequence with an explicit decision rule ('significant univariate features with p < 0.05', 'if fewer than 3 significant features... fall back to all requested features'), Step 1 validates inputs, input requirements state hard thresholds (at least 10 complete samples, 2 events), and the Error Handling table plus the 'IF error persists, READ: references/troubleshooting.md' escalation forms a recovery loop. Minor gap: no checkpoint telling Claude to confirm the analyze output table exists before invoking the plot commands.

4 / 5

Progressive Disclosure

Good structure: a 'When to Read External Files' table maps each situation to references/algorithm.md, scripts/main.R, references/troubleshooting.md, and references/cli-guide.md — all real files, referenced one level deep with no nested references, and scripts/ is genuinely modular. Gaps: the inlined argument tables overlap content that also lives in cli-guide.md, and the body points to a 'tests/data/' directory that is absent from the bundle, leaving a broken navigation pointer.

4 / 5

Total

15

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete capabilities, an explicit 'Use when' trigger clause, and a well-drawn NOT-for boundary that reduces mis-triggering. The only gap is that a couple of the most natural user phrasings ('Cox regression', 'single-factor/multi-factor') are absent as literal trigger terms.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'estimate univariate and multivariable Cox proportional hazards models, export result tables, and generate forest plots' — with comprehensive coverage of the skill's capabilities in its niche. Actions are stated in neutral third-person gerund form with no vague or padded language.

5 / 5

Completeness

It explicitly answers both questions: what ('estimate univariate and multivariable Cox proportional hazards models, export result tables, and generate forest plots') and when ('Use when running prognostic survival analysis on a clinical cohort with time-to-event data'), with concrete trigger conditions rather than a vague 'Use when working with survival data'.

5 / 5

Trigger Term Quality

Good natural keyword coverage: 'prognostic survival analysis', 'clinical cohort', 'time-to-event data', 'Cox proportional hazards', 'forest plots'. A few common user phrasings are missing, e.g. the plain phrase 'Cox regression' (users say 'run Cox regression' more often than 'Cox proportional hazards models') and synonyms like 'single-factor / multi-factor' that the body's own typical-request examples use.

4 / 5

Distinctiveness Conflict Risk

Clear niche (Cox regression for survival cohorts) with an explicit NOT-for boundary list — 'nomogram construction, calibration curves, time-dependent ROC analysis, or model training/feature selection beyond the built-in univariate screening rule' — that sharply separates it from adjacent survival-analysis and feature-selection skills. Minimal conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
aipoch/medical-research-skills
Reviewed

Table of Contents

Is this your skill?

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.