Token导航 LogoToken导航

Agent Skill · 效率

bmi-bsa-calculator(BMI BSA 计算器)

bmi-bsa-calculator 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

bmi-bsa-calculator 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 10,461。

总安装 5,166周安装 209GitHub Stars 公开资料未说明下载 1,622核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bmi-bsa-calculator(BMI BSA 计算器)
来源仓库:https://github.com/aipoch-ai/bmi-bsa-calculator
安装命令:
openclaw skills install bmi-bsa-calculator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install bmi-bsa-calculator

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

计算体重指数(BMI)和体表面积(BSA),用于临床评估参考。支持 DuBois、Mosteller 等多种医学公式选择。输入身高体重即可快速获得标准化健康指标。结果仅供参考,不替代专业医疗判断。bmi-bsa-calculator 属于效率类 Skill,可作为该场景下的辅助能力补充。

适用于健康管理、科研数据整理等辅助用途。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install bmi-bsa-calculator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

bmi-bsa-calculator 怎么安装?

在终端执行 openclaw skills install bmi-bsa-calculator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bmi-bsa-calculator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bmi-bsa-calculator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

bmi-bsa-calculator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

bmi-bsa-calculator 用的人多吗?

公开数据是累计安装 5,166 次,近一周安装 209 次,下载 1,622 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bmi-bsa-calculator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
bmi-bsa-calculator

BMI BSA 计算器 · 本页

5,166—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
bmi-bsa-calculator
description
Calculate Body Mass Index (BMI) and Body Surface Area (BSA) for clinical
allowed-tools
[Read, Write, Bash, Edit]
license
MIT
metadata
skill-author
AIPOCH

BMI & BSA Calculator

Overview

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

Key Capabilities:

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

When to Use

✅ Use this skill when:

  • Calculating chemotherapy doses requiring BSA (mg/m²)
  • Screening for obesity or underweight in clinical practice
  • Adjusting drug doses based on body composition
  • Documenting baseline anthropometrics in patient charts
  • Teaching medical students clinical calculations
  • Quick assessment in resource-limited settings

❌ Do NOT use when:

  • BMI alone for clinical diagnosis → Use comprehensive metabolic assessment
  • Pregnancy weight assessment → Use gestational weight gain charts
  • Pediatric growth evaluation → Use WHO/CDC growth charts with percentiles
  • Body composition analysis → Use DEXA or bioimpedance
  • Athletic/muscular patients → Consider body fat % instead of BMI

Integration:

  • Upstream: ehr-semantic-compressor (patient data extraction), automated-soap-note-generator (vital signs)
  • Downstream: drug-interaction-checker (dose calculation), medication-reconciliation (dosing verification)

Core Capabilities

1. BMI Calculation

Calculate Body Mass Index with classification:

from scripts.calculator import BMIBSACalculator

calc = BMIBSACalculator()

# Calculate BMI
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}")  # Normal weight
print(f"Ideal weight range: {result.ideal_weight_range}")

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

Adjusted BMI:

  • BMI Prime: BMI / 25 (obesity severity index)
  • Ponderal Index: BMI for tall/short individuals
  • Age-adjusted: For elderly patients (>65)

2. BSA Calculation

Multiple formulas for different clinical scenarios:

# Calculate BSA using different formulas
bsa_results = calc.calculate_bsa(
    weight_kg=70,
    height_cm=175,
    formulas=["dubois", "mosteller", "haycock", "gehan_george"]
)

for formula, bsa in bsa_results.items():
    print(f"{formula}: {bsa:.2f} m²")

BSA Formulas:

FormulaEquationBest For
DuBois0.007184 × W^0.425 × H^0.725Adults (most common)
Mosteller√(W × H / 3600)Adults (simplified)
Haycock0.024265 × W^0.5378 × H^0.3964Pediatrics
Gehan-George0.0235 × W^0.51456 × H^0.42246Oncology
Yu0.015925 × W^0.5 × H^0.5Asian populations

3. Drug Dosing Calculations

Apply BSA to medication dosing:

# Calculate chemotherapy dose
dose = calc.calculate_dose(
    bsa=bsa_results["dubois"],
    drug="carboplatin",
    dose_per_m2=400,  # mg/m²
    max_dose=800  # mg cap
)

print(f"Calculated dose: {dose:.0f} mg")
print(f"BSA used: {bsa_results['dubois']:.2f} m²")

Common BSA-Based Doses:

  • Carboplatin: AUC-based (Calvert formula)
  • 5-FU: 400-600 mg/m²
  • Doxorubicin: 60-75 mg/m² (lifetime max 450-550 mg/m²)
  • Paclitaxel: 135-175 mg/m²

4. Pediatric Calculations

Age-appropriate calculations for children:

pediatric = calc.pediatric_mode(
    weight_kg=25,
    height_cm=120,
    age_years=8,
    sex="female"
)

print(f"BMI-for-age percentile: {pediatric.bmi_percentile}%")
print(f"Weight status: {pediatric.weight_status}")
print(f"BSA (Haycock): {pediatric.bsa:.2f} m²")

Pediatric Considerations:

  • BMI percentiles (not absolute values)
  • Growth chart integration
  • Age-specific BSA formulas
  • Body composition changes with development

Common Patterns

Pattern 1: Chemotherapy Dosing

Scenario: Calculate carboplatin dose for cancer patient.

# Calculate BSA and dose
python scripts/main.py \
  --weight 70 \
  --height 175 \
  --drug carboplatin \
  --target-auc 5 \
  --creatinine-clearance 80 \
  --output dose_calculation.txt

Output:

BSA (DuBois): 1.79 m²
Calvert Formula: Dose = Target AUC × (GFR + 25)
                 = 5 × (80 + 25)
                 = 525 mg
Maximum dose check: 525 mg ≤ 800 mg ✓
Recommended dose: 525 mg

Pattern 2: Obesity Screening

Scenario: BMI assessment for weight management clinic.

# BMI with full assessment
assessment = calc.assess_bmi(
    weight_kg=95,
    height_cm=165,
    age=52,
    sex="female",
    waist_cm=98
)

print(f"BMI: {assessment.bmi:.1f} (Obese Class II)")
print(f"Waist-to-height ratio: {assessment.whtr:.2f} (High risk)")
print(f"Comorbidity risk: {assessment.health_risk}")
print(f"Recommended: {assessment.recommendations}")

Pattern 3: Pediatric Growth Assessment

Scenario: Calculate child's BSA for medication dosing.

# Pediatric dosing
child = calc.pediatric_assessment(
    weight_kg=20,
    height_cm=110,
    age_years=6,
    sex="male"
)

print(f"BSA: {child.bsa:.2f} m² (Haycock formula)")
print(f"BMI percentile: {child.bmi_percentile}th")
print(f"Doxorubicin dose: {child.bsa * 60:.0f} mg")

Pattern 4: Rapid Clinical Assessment

Scenario: Quick BMI/BSA for admission vital signs.

# Quick calculation
python scripts/main.py --weight 80 --height 180 --quick

# Output:
# BMI: 24.7 kg/m² (Normal)
# BSA: 2.00 m² (DuBois)
# Ideal weight: 65-80 kg

Complete Workflow Example

Comprehensive patient assessment:

from scripts.calculator import BMIBSACalculator
from scripts.reports import ClinicalReport

# Initialize
calc = BMIBSACalculator()
report = ClinicalReport()

# Patient data
patient = {
    "weight_kg": 75,
    "height_cm": 170,
    "age": 55,
    "sex": "female",
    "waist_cm": 88
}

# Calculate all metrics
bmi = calc.calculate_bmi(**patient)
bsa = calc.calculate_bsa(**patient, formula="dubois")
assessment = calc.comprehensive_assessment(**patient)

# Generate report
report_data = {
    "bmi": bmi,
    "bsa": bsa,
    "assessment": assessment,
    "recommendations": assessment.recommendations
}

report.generate(report_data, output="patient_assessment.pdf")

Quality Checklist

Input Validation:

  • [ ] Weight realistic (2-300 kg range)
  • [ ] Height realistic (50-250 cm range)
  • [ ] Units clearly specified (kg/lbs, cm/in)
  • [ ] Age appropriate for formulas used

Calculation Accuracy:

  • [ ] Formula selection appropriate for patient
  • [ ] BSA formula matches clinical context
  • [ ] Pediatric vs. adult norms correctly applied
  • [ ] Rounding appropriate (1-2 decimal places)

Clinical Interpretation:

  • [ ] CRITICAL: BMI is screening tool, not diagnostic
  • [ ] Ethnicity-specific cutoffs considered
  • [ ] Muscle mass considered (athletes)
  • [ ] Age adjustments applied (elderly/children)

Documentation:

  • [ ] Formula used documented (DuBois vs. Mosteller)
  • [ ] Units clearly stated
  • [ ] Date of calculation recorded
  • [ ] Dose limits verified for chemotherapy

Common Pitfalls

Calculation Errors:

  • ❌ Unit confusion → Pounds vs. kg, inches vs. cm

- ✅ Always verify units; convert if necessary

  • ❌ Wrong formula → Using adult BSA for infants

- ✅ Use Haycock for children < 12 years

  • ❌ BMI over-interpretation → Diagnosing based on BMI alone

- ✅ BMI is screening tool; clinical correlation required

Clinical Misuse:

  • ❌ Athletes misclassified → Muscular patients marked obese

- ✅ Consider waist circumference or body fat %

  • ❌ Elderly inappropriate norms → Same cutoffs for all ages

- ✅ Use age-adjusted BMI for >65 years

  • ❌ Ignoring ethnicity → Universal cutoffs applied

- ✅ Asian populations: lower obesity thresholds

Dosing Errors:

  • ❌ BSA rounding → 1.79 m² rounded to 1.8 m²

- ✅ Use precise values for chemotherapy

  • ❌ Max dose ignored → Exceeding lifetime limits

- ✅ Always check cumulative doses (doxorubicin)

References

Available in references/ directory:

  • bsa_formulas_comparison.md - Formula accuracy by population
  • pediatric_norms.md - Growth charts and percentiles
  • chemotherapy_dosing.md - BSA-based drug calculations
  • ethnic_adjustments.md - Population-specific cutoffs
  • calculator_validation.md - Comparison with reference standards

Scripts

Located in scripts/ directory:

  • main.py - CLI calculator interface
  • calculator.py - Core BMI/BSA calculations
  • formulas.py - Multiple BSA formula implementations
  • pediatric.py - Child-specific calculations
  • dosing.py - Medication dose calculations
  • reports.py - Clinical report generation

Limitations

  • BMI Limitations: Doesn't distinguish fat from muscle; varies by ethnicity
  • BSA Estimation: All formulas are approximations; 10-15% variation normal
  • Extreme Values: Very short/tall patients may have inaccurate estimates
  • Not for Diagnosis: BMI/BSA are tools, not clinical diagnoses
  • Amputees: Standard formulas inaccurate; adjustment needed
  • Pregnancy: Special considerations not included

Parameters

ParameterTypeDefaultRequiredDescription
--weight, -wfloat-YesWeight in kilograms
--height, -Hfloat-YesHeight in centimeters
--dose, -dfloat-NoStandard drug dose per m² in mg (optional)
--format, -fstringtextNoOutput format (text, json)
--output, -ostring-NoOutput file path (optional)

Usage

Basic Usage

# 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

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionPython script executed locallyLow
Network AccessNo external API callsLow
File System AccessOptional file output onlyLow
Data ExposureNo sensitive data storedLow
Clinical RiskResults used for medical decisionsMedium

Security Checklist

  • [x] No hardcoded credentials or API keys
  • [x] No unauthorized file system access
  • [x] Input validation for weight/height
  • [x] Output does not expose sensitive information
  • [x] Error messages sanitized
  • [x] Script execution in sandboxed environment

Prerequisites

# Python 3.7+
# No additional packages required (uses standard library)

Evaluation Criteria

Success Metrics

  • [x] Successfully calculates BMI using standard formula
  • [x] Successfully calculates BSA using DuBois formula
  • [x] Correctly categorizes BMI (Underweight, Normal, Overweight, Obese)
  • [x] Calculates drug doses based on BSA when provided

Test Cases

  1. Normal Adult: 70kg, 175cm → BMI 22.9 (Normal), BSA ~1.85 m²
  2. Drug Dosing: 70kg, 175cm, 100mg/m² → Dose 185mg
  3. JSON Output: Valid JSON with all fields

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:

- Add additional BSA formulas (Haycock, Mosteller) - Add pediatric BMI percentiles - Add unit conversion (lbs, ft/in)


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

平台分布

OpenClaw

90.83%
按下载量换算1,473

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills