Agent skill

Bmi Bsa Calculator

by aipoch in aipoch/medical-research-skills

Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing.

MITAuto-check passedResearch & Science

Install Bmi Bsa Calculator

skills CLI
$ npx skills add aipoch/medical-research-skills --skill bmi-bsa-calculator -a claude-code

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

GitHub CLI
$ gh skill install aipoch/medical-research-skills bmi-bsa-calculator --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/Other/bmi-bsa-calculator .claude/skills/bmi-bsa-calculator && 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
bmi-bsa-calculator
GitHub stars
1.9k
Token cost
~1.7k tokens
SKILL.md length
638 words
Files
5 (incl. scripts, references)
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing.

  • Works in 4 steps: BMI Calculation → BSA Calculation → Drug Dosing → …
  • Research & Science work in your project
  • SKILL.md covers Input Validation, Quick Check, Workflow and Core Capabilities, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

Bmi Bsa Calculator is an agent skill from aipoch/medical-research-skills. Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing. Supports multiple BSA formulas (DuBois, Mosteller, Haycock), WHO weight classification, pediatric calculations, and metric/imperial input.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `bmi-bsa-calculator_audit_result_v2.json`, `references/guidelines.md` and `scripts/main.py`).

It sits in Research & Science. 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

  • Research & Science work in your project

Example prompts

  • “/bmi-bsa-calculator”

Requirements

  • Python 3

Workflow steps

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

  1. BMI Calculation
  2. BSA Calculation
  3. Drug Dosing
  4. Pediatric Calculations

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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

    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

Bmi Bsa Calculator loads about 1.7k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 638 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

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); the scripts in this folder are not scanned.

SKILL.md

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

Download SKILL.mdSave it as .claude/skills/bmi-bsa-calculator/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
bmi-bsa-calculator
description
Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing. Supports multiple BSA formulas (DuBois, Mosteller, Haycock), WHO weight classification, pediatric calculations, and metric/imperial input.
license
MIT
author
AIPOCH

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

BMI & BSA Calculator

Clinical calculator for anthropometric measurements used in health assessment, obesity screening, and chemotherapy dosing calculations.

Key Capabilities:

  • BMI Calculation: Standard and adjusted BMI formulas with WHO classification
  • BSA Estimation: Multiple validated formulas (DuBois, Mosteller, Haycock, Gehan-George)
  • Weight Classification: WHO and CDC category assignment
  • Dosing Support: Chemotherapy and medication dose calculations
  • Pediatric Support: Age-appropriate norms and percentile calculations
  • Unit Flexibility: Metric and imperial input support

Input Validation

This skill accepts: weight (kg or lbs), height (cm or inches), and optional parameters (age, sex, drug dose per m², output format). All values must be physiologically plausible.

Valid ranges: weight 2–300 kg, height 50–250 cm.

If the request does not involve calculating BMI or BSA — for example, asking to diagnose a condition, interpret lab results, or provide dietary advice — do not proceed. Instead respond:

"BMI & BSA Calculator is designed to calculate Body Mass Index and Body Surface Area for clinical screening and dosing support. Please provide weight and height values. For clinical diagnosis or treatment decisions, consult a qualified healthcare professional."


Quick Check

bash
python -m py_compile scripts/main.py
python scripts/main.py --help

Workflow

  1. Confirm weight, height, and any optional parameters (age, sex, drug dose).
  2. Validate inputs are within physiologically plausible ranges; stop if values are outside bounds.
  3. Run the script or apply the documented calculation path.
  4. Return a structured result separating assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Fallback: If --weight or --height is missing, respond: "Required parameters missing. Please provide --weight (kg) and --height (cm). Cannot calculate BMI or BSA without both values."


Core Capabilities

1. BMI Calculation
python
from scripts.calculator import BMIBSACalculator
calc = BMIBSACalculator()
result = calc.calculate_bmi(weight_kg=70, height_cm=175, age=45, sex="male")
print(f"BMI: {result.bmi:.1f} kg/m²")
print(f"Category: {result.category}")

BMI Categories (WHO):

CategoryBMI RangeClinical Significance
Underweight< 18.5Malnutrition risk
Normal18.5–24.9Healthy range
Overweight25.0–29.9Increased risk
Obese I30.0–34.9High risk
Obese II35.0–39.9Very high risk
Obese III≥ 40.0Extremely high risk
2. BSA Calculation
python
bsa_results = calc.calculate_bsa(
    weight_kg=70, height_cm=175,
    formulas=["dubois", "mosteller", "haycock", "gehan_george"]
)

BSA Formulas:

FormulaBest For
DuBoisAdults (most common)
MostellerAdults (simplified)
HaycockPediatrics
Gehan-GeorgeOncology
YuAsian populations
3. Drug Dosing
python
dose = calc.calculate_dose(bsa=1.79, drug="carboplatin", dose_per_m2=400, max_dose=800)

Common BSA-based doses: Carboplatin (Calvert formula), 5-FU 400–600 mg/m², Doxorubicin 60–75 mg/m², Paclitaxel 135–175 mg/m².

4. Pediatric Calculations
python
pediatric = calc.pediatric_mode(weight_kg=25, height_cm=120, age_years=8, sex="female")
print(f"BMI-for-age percentile: {pediatric.bmi_percentile}%")

CLI Usage

text
# Calculate BMI and BSA
python scripts/main.py --weight 70 --height 175

# Calculate with drug dosing
python scripts/main.py --weight 70 --height 175 --dose 100

# Output as JSON
python scripts/main.py --weight 70 --height 175 --format json --output results.json

Parameters

ParameterTypeRequiredDescription
--weight, -wfloatYesWeight in kilograms
--height, -HfloatYesHeight in centimeters
--dose, -dfloatNoDrug dose per m² in mg
--format, -fstringNoOutput format (text, json)
--output, -ostringNoOutput file path

Show full SKILL.md (237 more words)Show less

Output Requirements

Every final response must make these explicit:

  • Objective or requested deliverable
  • Inputs used (weight, height, age, sex) and assumptions introduced
  • Formula(s) selected and rationale
  • Core result: BMI value + category, BSA value + formula used, dose if applicable
  • Constraints and risks (BMI is screening only; not diagnostic)
  • Unresolved items and next-step checks

Error Handling

  • If --weight or --height is missing, state the missing parameter and request it.
  • If values are outside valid ranges (weight <2 or >300 kg; height <50 or >250 cm), flag as implausible and request correction.
  • If scripts/main.py fails, report the failure point and provide manual calculation fallback.
  • Do not fabricate results or clinical interpretations.

Common Pitfalls

  • Unit confusion: Always verify kg vs lbs, cm vs inches
  • Wrong formula: Use Haycock for children < 12 years
  • BMI over-interpretation: BMI is a screening tool; clinical correlation required
  • Athletes misclassified: Consider waist circumference or body fat %
  • BSA rounding: Use precise values for chemotherapy dosing

Limitations

  • BMI does not distinguish fat from muscle; varies by ethnicity
  • All BSA formulas are approximations (10–15% variation normal)
  • Not for diagnosis — BMI/BSA are tools, not clinical diagnoses
  • Standard formulas inaccurate for amputees; special considerations for pregnancy

⚕️ Clinical Note: BMI and BSA are screening and calculation tools, not substitutes for clinical judgment. Always correlate with physical examination and patient history. Double-check all chemotherapy calculations independently.


References

  • references/bsa_formulas_comparison.md — Formula accuracy by population
  • references/pediatric_norms.md — Growth charts and percentiles
  • references/chemotherapy_dosing.md — BSA-based drug calculations
  • references/ethnic_adjustments.md — Population-specific cutoffs

© 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 4 other files (scripts, references) in scientific-skills/Other/bmi-bsa-calculator of aipoch/medical-research-skills.

  • SKILL.md
  • bmi-bsa-calculator_audit_result_v2.json
  • references/guidelines.md
  • requirements.txt
  • scripts/main.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Bmi Bsa Calculator 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.

Bmi Bsa Calculator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bmi Bsa Calculator this skillaipoch/medical-research-skills1.9k—~1.7kAutomated safety check: PassMIT
Hypothesis Generationspacering-net/codeg3.9k14 repos~3.6kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow84k4 repos~1.3kAutomated safety check: PassMIT
Nature Paper CardYuan1z0825/nature-skills47k2 repos~2.1kAutomated safety check: PassApache-2.0
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT
Last30daysmvanhorn/last30days-skill64k—~7.9kAutomated safety check: NotesMIT

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.9k GitHub starsUsed in 14 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    47k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Last30days

    mvanhorn/last30days-skill

    Research what people actually say about any topic in the last 30 days.

    64k GitHub stars~7.9k tokensUpdated today
    Research & ScienceAuto-check: notes
  • Peer Review

    spacering-net/codeg

    Structured manuscript/grant review with checklist-based evaluation.

    3.9k GitHub starsUsed in 17 repos~5.9k tokens
    Research & ScienceAuto-check: notes

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 23 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 23 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 23 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 23 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 23 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 23 days ago
    Auto-check passed

Questions about Bmi Bsa Calculator

What does Bmi Bsa Calculator do?

Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing. Bmi Bsa Calculator is an agent skill from aipoch/medical-research-skills. Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical assessment, obesity screening, and chemotherapy dosing.

When should I use Bmi Bsa Calculator?

Bmi Bsa Calculator fits situations like: research & Science work in your project.

How do I install Bmi Bsa Calculator in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill bmi-bsa-calculator -a claude-code`. Or copy the skill folder (scientific-skills/Other/bmi-bsa-calculator in aipoch/medical-research-skills) into .claude/skills/bmi-bsa-calculator in your project. Claude Code loads it when a task matches its description.

How do I install Bmi Bsa Calculator in Codex?

Run `npx skills add aipoch/medical-research-skills --skill bmi-bsa-calculator -a codex`. Or copy the skill folder (scientific-skills/Other/bmi-bsa-calculator in aipoch/medical-research-skills) into .agents/skills/bmi-bsa-calculator in your project. Codex loads it when a task matches its description.

Can I use Bmi Bsa Calculator 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 bmi-bsa-calculator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bmi-bsa-calculator, .gemini/skills/bmi-bsa-calculator, .github/skills/bmi-bsa-calculator and .opencode/skills/bmi-bsa-calculator in your project.

What does Bmi Bsa Calculator need to run?

Going by SKILL.md and its folder, Bmi Bsa Calculator needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Bmi Bsa Calculator access the network?

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.

Is Bmi Bsa Calculator 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bmi Bsa Calculator use?

Bmi Bsa Calculator 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 Bmi Bsa Calculator use?

About 1.7k tokens (SKILL.md is roughly 6.8k 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 27 tokens, read only when the agent opens those files.

What are the alternatives to Bmi Bsa Calculator?

Skills that share tags, products or a category with Bmi Bsa Calculator: Hypothesis Generation (spacering-net/codeg, 3.9k stars), GitHub Deep Research (bytedance/deer-flow, 84k stars), Nature Paper Card (Yuan1z0825/nature-skills, 47k stars) and Content Research Writer (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bmi Bsa Calculator?

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.