返回顶部
w

who-growth-charts

Generate WHO child growth charts (height, weight, BMI) with percentile curves. Downloads official WHO reference data on demand. Use when users ask about child growth tracking, percentiles, or want growth charts for their kids.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.3
安全检测
已通过
2,215
下载量
1
收藏
概述
安装方式
版本历史

who-growth-charts

Generate WHO Child Growth Standards charts with percentile curves and child data overlay. ## Features - **Height-for-age** (0-19 years) - **Weight-for-age** (0-10 years) - **BMI-for-age** (0-19 years) - Supports **boys and girls** - **Downloads WHO data on demand** from cdn.who.int (cached locally) - Overlays child's actual measurements with trend line ## Examples | Height | Weight | BMI | |--------|--------|-----| | <img src="examples/anna_height.png" width="250"> | <img src="examples/anna_weight.png" width="250"> | <img src="examples/anna_bmi.png" width="250"> | ## Prerequisites Install Python dependencies: ```bash pip install pandas matplotlib scipy openpyxl ``` ## Usage ### Basic Chart Generation ```bash python3 ./scripts/growth_chart.py "Child Name" "DD.MM.YYYY" --sex F --type all ``` Arguments: - `name`: Child's name (used in chart title) - `birthdate`: Date of birth in DD.MM.YYYY format - `--sex` / `-s`: `F` (female) or `M` (male) — default: F - `--type` / `-t`: `height`, `weight`, `bmi`, or `all` — default: all - `--data` / `-d`: JSON file with measurement data - `--output` / `-o`: Output directory for charts ### With Measurement Data Create a JSON file with height/weight measurements (heights in meters, weights in kg): ```json { "heights": [ ["2024-01-15T10:00:00", 1.05] ], "weights": [ ["2024-01-15T10:00:00", 17.5] ] } ``` ```bash python3 ./scripts/growth_chart.py "Emma" "06.07.2016" --sex F --data emma_data.json --type all ``` ### Integration with Withings Combine with `withings-family` skill to fetch weight data automatically: ```bash # Get Withings weight data (assuming withings-family skill is installed) python3 ../withings-family/scripts/withings.py emma body > /tmp/withings.json # Parse and generate charts # (The growth chart script handles Withings JSON format if implemented, otherwise transform it) ``` ## Output By default, charts and cache are written to: - `<workspace>/who-growth-charts/` - `<workspace>/who-growth-charts/cache/` Where `<workspace>` is the folder that contains your `skills/` directory (auto-detected from CWD or script location).

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 who-growth-charts-1776385805 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 who-growth-charts-1776385805 技能

通过命令行安装

skillhub install who-growth-charts-1776385805

下载 Zip 包

⬇ 下载 who-growth-charts v1.2.3

文件大小: 8.63 KB | 发布时间: 2026-4-17 14:23

v1.2.3 最新 2026-4-17 14:23
Fix missing 'import os' causing runtime crash when os.environ is accessed

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部