Matlab
zLanqing/codex-claude-academic-skills
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
Kaplan-Meier survival analysis tool for clinical and biological research.
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills survival-analysis-km --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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/survival-analysis-km' .claude/skills/survival-analysis-km && rm -rf skills-srcUse ~/.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/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .claude/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-kmType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills survival-analysis-km --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Data Analysis/survival-analysis-km' .agents/skills/survival-analysis-km && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .agents/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills survival-analysis-km --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Data Analysis/survival-analysis-km' .cursor/skills/survival-analysis-km && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .cursor/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'scientific-skills/Data Analysis/survival-analysis-km'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills survival-analysis-km --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Data Analysis/survival-analysis-km' .gemini/skills/survival-analysis-km && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .gemini/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aipoch/medical-research-skills survival-analysis-kmInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Data Analysis/survival-analysis-km' .github/skills/survival-analysis-km && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .github/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills survival-analysis-km --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Data Analysis/survival-analysis-km' .opencode/skills/survival-analysis-km && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "survival-analysis-km" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-analysis-km into .opencode/skills/survival-analysis-km/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-analysis-km", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
survival-analysis-kmKaplan-Meier survival analysis tool for clinical and biological research.
Survival Analysis Km is an agent skill from aipoch/medical-research-skills. Kaplan-Meier survival analysis tool for clinical and biological research. Generates publication-ready survival curves with statistical tests.
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_survival-analysis-km_result.json`).
It sits in Data & Analytics, covering Statistics and Data analysis. 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.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Survival Analysis Km loads about 3k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 1,301 words of instructions outside code blocks.
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.
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.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,301 words, ~2,993 tokens.
.claude/skills/survival-analysis-km/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Kaplan-Meier survival analysis tool for clinical and biological research. Generates publication-ready survival curves with statistical tests.
See ## Features above for related details.
scripts/main.py.references/ for task-specific guidance.lifelines: Core survival analysis librarymatplotlib, seaborn: Visualizationpandas, numpy: Data handlingscipy: Statistical testsSee ## Usage above for related details.
cd "20260318/scientific-skills/Data Analytics/survival-analysis-km"
python -m py_compile scripts/main.py
python scripts/main.py --helpExample run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/main.py with the validated inputs.See ## Workflow above for related details.
scripts/main.py.references/ contains supporting rules, prompts, or checklists.Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.pyUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
# Example invocation: python scripts/main.py --help
# Example invocation: python scripts/main.py --input "Audit validation sample with explicit symptoms, history, assessment, and next-step plan."
# Example invocation: python scripts/main.py --input data.csv --time time_col --event event_col --group group_col --output results/| Argument | Description | Required |
|---|---|---|
--input | Input CSV file path | Yes |
--time | Column name for survival time | Yes |
--event | Column name for event indicator (1=event, 0=censored) | Yes |
--group | Column name for grouping variable | Optional |
--output | Output directory for results | Yes |
--conf-level | Confidence level (default: 0.95) | Optional |
--risk-table | Include risk table in plot | Optional |
CSV with columns:
Example:
patient_id,time_months,death,treatment_group
P001,24.5,1,Drug_A
P002,36.2,0,Drug_A
P003,18.7,1,Placebokm_curve.png: Kaplan-Meier survival curvekm_curve.pdf: Vector version for publicationssurvival_stats.csv: Statistical summary (median survival, confidence intervals)hazard_ratios.csv: Cox regression results with HR and 95% CIKaplan-Meier Estimator: Non-parametric maximum likelihood estimate of survival function
Log-Rank Test: Most widely used test for comparing survival curves
Cox Proportional Hazards: Semi-parametric regression model
This skill involves advanced statistical modeling. Results should be reviewed by a biostatistician, especially for:
See references/ folder for:
| Parameter | Type | Default | Description |
|---|---|---|---|
--input | str | Required | Input CSV file path |
--time | str | Required | Column name for survival time |
--event | str | Required | |
--group | str | Required | |
--output | str | Required | Output directory for results |
--conf-level | float | 0.95 | |
--risk-table | str | Required | Include risk table in plot |
--figsize | str | '10 | |
--dpi | int | 300 |
# Basic survival curve
# Example invocation: python scripts/main.py \
--input clinical_data.csv \
--time overall_survival_months \
--event death \
--group treatment_arm \
--output ./results/ \
--risk-tableOutput includes:
| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
# Python dependencies
pip install -r requirements.txtEvery final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of survival-analysis-km 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:
survival-analysis-kmonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in scientific-skills/Data Analysis/survival-analysis-km of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Survival Analysis Km 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Survival Analysis Km this skillaipoch/medical-research-skills | 1.9k | — | ~3k | Automated safety check: Pass | MIT | |
| MatlabzLanqing/codex-claude-academic-skills | 4.7k | 8 repos | ~2.3k | Automated safety check: Notes | GPL-3.0 | |
| Eqtl Catalogue Region FetchClawBio/ClawBio | 1.2k | 1 repos | ~4.7k | Automated safety check: Pass | MIT | |
| CSV Data Analysis5zjk5/prompt-engineering | 127 | — | ~2.6k | Automated safety check: Pass | None | |
| Meridian MMM Model Buildinggoogle/meridian | 1.6k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Gwas Catalog Region FetchClawBio/ClawBio | 1.2k | 1 repos | ~3.5k | Automated safety check: Pass | MIT |
zLanqing/codex-claude-academic-skills
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
ClawBio/ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
5zjk5/prompt-engineering
This skill should be used when users need to analyze CSV or Excel files, understand data patterns, generate statistical summaries, or create data visualizations.
google/meridian
Takes a user through building a Meridian marketing mix model, from loading CSV data and mapping columns to running EDA, fitting and saving the model.
ClawBio/ClawBio
Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.
lingzhi227/agent-research-skills
Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.
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…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
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…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
Kaplan-Meier survival analysis tool for clinical and biological research. Survival Analysis Km is an agent skill from aipoch/medical-research-skills. Kaplan-Meier survival analysis tool for clinical and biological research.
Survival Analysis Km fits situations like: tasks that involve Statistics; tasks that involve Data analysis.
Run `npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a claude-code`. Or copy the skill folder (scientific-skills/Data Analysis/survival-analysis-km in aipoch/medical-research-skills) into .claude/skills/survival-analysis-km in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill survival-analysis-km -a codex`. Or copy the skill folder (scientific-skills/Data Analysis/survival-analysis-km in aipoch/medical-research-skills) into .agents/skills/survival-analysis-km in your project. Codex loads it when a task matches its description.
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 survival-analysis-km -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/survival-analysis-km, .gemini/skills/survival-analysis-km, .github/skills/survival-analysis-km and .opencode/skills/survival-analysis-km in your project.
Going by SKILL.md and its folder, Survival Analysis Km needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Survival Analysis Km is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
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.
Skills that share tags, products or a category with Survival Analysis Km: Matlab (zLanqing/codex-claude-academic-skills, 4.7k stars), Eqtl Catalogue Region Fetch (ClawBio/ClawBio, 1.2k stars), CSV Data Analysis (5zjk5/prompt-engineering, 127 stars) and Meridian MMM Model Building (google/meridian, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.