E2b Code Interpreter
agent-sandbox/agent-sandbox
Execute code in E2B sandboxes and integrate with LLMs for tool calling.
Analyze data with survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
$ npx skills add aipoch/medical-research-skills --skill survival-curve-risk-table -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills survival-curve-risk-table --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-curve-risk-table' .claude/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .claude/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-tableType 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-curve-risk-table -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills survival-curve-risk-table --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-curve-risk-table' .agents/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .agents/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-table -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills survival-curve-risk-table --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-curve-risk-table' .cursor/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .cursor/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-table'--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-curve-risk-table -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills survival-curve-risk-table --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-curve-risk-table' .gemini/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .gemini/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-tableInstalls 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-curve-risk-table -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-curve-risk-table' .github/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .github/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-table -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-curve-risk-table --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-curve-risk-table' .opencode/skills/survival-curve-risk-table && 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-curve-risk-table" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/survival-curve-risk-table into .opencode/skills/survival-curve-risk-table/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "survival-curve-risk-table", 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-curve-risk-tableAnalyze data with survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
Survival Curve Risk Table is an agent skill from aipoch/medical-research-skills. Analyze data with survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `README.md`, `references/runtime_checklist.md` and `scripts/main.py`).
It sits in Data & Analytics, covering Data analysis and Structured output and tool calling. It works with Python. 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 step headings 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.
Ships 1 file in scripts/ (Python), which the agent can run.
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 Curve Risk Table loads about 4.2k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 1,528 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); the scripts in this folder are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,528 words, ~4,239 tokens.
.claude/skills/survival-curve-risk-table/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.scripts/main.py.references/ for task-specific guidance.See ## Prerequisites above for related details.
Python: 3.10+. Repository baseline for current packaged skills.lifelines: unspecified. Declared in requirements.txt.matplotlib: unspecified. Declared in requirements.txt.numpy: unspecified. Declared in requirements.txt.pandas: unspecified. Declared in requirements.txt.pil: unspecified. Declared in requirements.txt.pillow: unspecified. Declared in requirements.txt.seaborn: unspecified. Declared in requirements.txt.See ## Usage above for related details.
cd "20260318/scientific-skills/Data Analytics/survival-curve-risk-table"
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."Automatically add "Number at risk" tables to Kaplan-Meier survival curves that meet clinical oncology journal standards. Automatically align time points and generate publication-quality combined figures.
# Example invocation: python scripts/main.py \
--input survival_data.csv \
--time-col time \
--event-col event \
--group-col treatment \
--output risk_table.png
# Example invocation: python scripts/main.py \
--input survival_data.csv \
--time-col time \
--event-col status \
--group-col arm \
--style NEJM \
--time-points 0,6,12,18,24,30,36 \
--output figure_1a.pdf
# Example invocation: python scripts/main.py \
--input survival_data.csv \
--time-col months \
--event-col death \
--group-col group \
--km-plot km_curve.png \
--combine \
--output combined_figure.png
# Example invocation: python scripts/main.py \
--input survival_data.csv \
--time-col time \
--event-col event \
--group-col treatment \
--time-points 0,12,24,36,48,60 \
--format both \
--output-dir ./output/from scripts.main import RiskTableGenerator
# Initialize generator
generator = RiskTableGenerator(
style="JCO",
time_points=[0, 6, 12, 18, 24, 30],
figure_size=(8, 6)
)
# Load survival data
generator.load_data(
df=survival_df,
time_col="time",
event_col="event",
group_col="treatment_arm"
)
# Generate risk table
generator.generate_risk_table(
output_path="risk_table.png",
show_censored=True
)
# Generate combined figure (KM curve + risk table)
generator.generate_combined_plot(
km_plot_path="km_curve.png",
output_path="combined_figure.pdf"
)time,event,treatment_arm
0,0,Experimental
3.2,1,Experimental
5.1,0,Experimental
12.3,1,Control
18.7,0,Control
24.0,1,Experimental
...| Column Name | Description | Type |
|---|---|---|
| time | Follow-up time (months) | Numeric |
| event | Event occurrence flag | 0=Censored, 1=Event |
| group | Treatment group (optional) | Text/Categorical |
{
"style": "NEJM",
"font_family": "Helvetica",
"font_size": 8,
"time_points": [0, 6, 12, 18, 24, 30, 36],
"table_height": 0.15,
"show_grid": false,
"separator_lines": true
}{
"style": "Lancet",
"font_family": "Times New Roman",
"font_size": 9,
"time_points": [0, 12, 24, 36, 48, 60],
"table_height": 0.18,
"show_grid": true,
"header_bold": true
}{
"style": "JCO",
"font_family": "Arial",
"font_size": 8,
"time_points": [0, 6, 12, 18, 24, 30],
"table_height": 0.16,
"show_censored": true,
"censor_symbol": "+"
}| Parameter | Description | Example |
|---|---|---|
--input | Input data file path | data.csv |
--time-col | Time column name | time |
--event-col | Event column name | event |
| Parameter | Description | Default Value |
|---|---|---|
--group-col | Group column name | None |
--output | Output file path | risk_table.png |
--style | Journal style | NEJM |
--time-points | Time point list | Auto-calculated |
--format | Output format | png |
--width | Image width | 8 (inches) |
--height | Image height | 6 (inches) |
--dpi | Image resolution | 300 |
--font-size | Font size | 8 |
--show-censored | Show censored count | False |
--combine | Combine with KM curve | False |
--km-plot | KM curve image path | None |
┌─────────────────────────────────────────────────────────┐
│ Number at risk │
├─────────┬─────┬─────┬─────┬─────┬─────┬─────┬───────────┤
│ Group │ 0 │ 12 │ 24 │ 36 │ 48 │ 60 │ 72 (mo) │
├─────────┼─────┼─────┼─────┼─────┼─────┼─────┼───────────┤
│ Exp │ 150 │ 142 │ 128 │ 105 │ 89 │ 72 │ 58 │
│ Control │ 148 │ 135 │ 118 │ 92 │ 76 │ 61 │ 45 │
└─────────┴─────┴─────┴─────┴─────┴─────┴─────┴───────────┘┌─────────────────────────────────────┐
│ │
│ Kaplan-Meier Survival Curve │
│ │
│ ━━━━━━━━━ Experimental │
│ ─ ─ ─ ─ ─ Control │
│ │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Number at risk │
│ Exp 150 142 128 105 89 72 │
│ Ctrl 148 135 118 92 76 61 │
│ 0 12 24 36 48 60 │
└─────────────────────────────────────┘For each time point t:
For each group g:
N_at_risk(t, g) = N_total(g)
- Σ(patients with events occurring ≤ t)
- Σ(patients censored occurring < t)A: Default uses quantiles in the data (0%, 25%, 50%, 75%, 100%) or fixed intervals (e.g., every 12 months)
A: Automatically detect group column, support up to 6 groups. Exceeding automatically uses pagination or reduced font
A: Yes, supports importing external KM curve images for combination
numpy >= 1.20.0
pandas >= 1.3.0
matplotlib >= 3.4.0
seaborn >= 0.11.0
lifelines >= 0.27.0 (optional, for survival analysis)
Pillow >= 8.0.0 (image processing)| 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-curve-risk-table 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-curve-risk-tableonly 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 5 other files (scripts, references) in scientific-skills/Data Analysis/survival-curve-risk-table of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Survival Curve Risk Table 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 Curve Risk Table this skillaipoch/medical-research-skills | 1.9k | — | ~4.2k | Automated safety check: Pass | MIT | |
| E2b Code Interpreteragent-sandbox/agent-sandbox | 218 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Python Data AnalysisA-EVO-Lab/a-evolve | 809 | — | ~476 | Automated safety check: Pass | None | |
| Excel and CSV Data Analysisbytedance/deer-flow | 84k | 4 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Pandas ProJeffallan/claude-skills | 12k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Python Executorcortega26/chile-hub | 113 | 2 repos | ~1.5k | Automated safety check: Pass | MIT |
agent-sandbox/agent-sandbox
Execute code in E2B sandboxes and integrate with LLMs for tool calling.
A-EVO-Lab/a-evolve
Best practices for multi-step Python tasks including data analysis, HuggingFace datasets, token counting, and any task requiring state across multiple python() calls.
bytedance/deer-flow
Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.
Jeffallan/claude-skills
Handles pandas DataFrame work: cleaning, merging, groupby aggregation, pivots, time-series resampling and memory tuning, with checks on dtypes, shapes and nulls.
cortega26/chile-hub
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).
zLanqing/codex-claude-academic-skills
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
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.
Works with
Categories
Analyze data with survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation. Survival Curve Risk Table is an agent skill from aipoch/medical-research-skills. Analyze data with survival-curve-risk-table using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
Survival Curve Risk Table fits situations like: tasks that involve Data analysis; tasks that involve Structured output and tool calling.
Run `npx skills add aipoch/medical-research-skills --skill survival-curve-risk-table -a claude-code`. Or copy the skill folder (scientific-skills/Data Analysis/survival-curve-risk-table in aipoch/medical-research-skills) into .claude/skills/survival-curve-risk-table in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill survival-curve-risk-table -a codex`. Or copy the skill folder (scientific-skills/Data Analysis/survival-curve-risk-table in aipoch/medical-research-skills) into .agents/skills/survival-curve-risk-table 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-curve-risk-table -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-curve-risk-table, .gemini/skills/survival-curve-risk-table, .github/skills/survival-curve-risk-table and .opencode/skills/survival-curve-risk-table in your project.
Going by SKILL.md and its folder, Survival Curve Risk Table needs Python for the scripts in its folder and 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Survival Curve Risk Table is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 136 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Survival Curve Risk Table: E2b Code Interpreter (agent-sandbox/agent-sandbox, 218 stars), Python Data Analysis (A-EVO-Lab/a-evolve, 809 stars), Excel and CSV Data Analysis (bytedance/deer-flow, 84k stars) and Pandas Pro (Jeffallan/claude-skills, 12k 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.