askill
profile

profileSafety 72Repository

Set and view user basic medical parameters including gender, height, weight, birth date with calculated BMI and body surface area.

0 stars
1.2k downloads
Updated 2/17/2026

Package Files

Loading files...
SKILL.md

User Basic Parameters Skill

Set or view user's basic medical parameters, including gender, height, weight, and birth date.

Core Flow

User Input -> Parse Operation Type -> [set] Validate Input -> Calculate Derivatives -> Save -> Confirm
                                -> [view] Read Data -> Format Display

Step 1: Parse Operation Type

Input KeywordsOperation
setset
viewview

Step 2: Set Parameters (set)

Validate Input Data

ParameterFormatRange
genderM/F-
heightnumber50-250 cm
weightnumber2-300 kg
birth_dateYYYY-MM-DDNot later than today

Calculate Derived Indicators

BMI Calculation:

BMI = weight(kg) / height(m)²

BMI Classification:

RangeStatus
< 18.5Underweight
18.5 - 23.9Normal
24 - 27.9Overweight
>= 28Obese

Body Surface Area Calculation (Mosteller Formula):

BSA = √(height_cm × weight_kg / 3600)

Age Calculation:

Age = Current Year - Birth Year

Step 3: Generate JSON

{
  "created_at": "2025-12-31",
  "last_updated": "2025-12-31",
  "basic_info": {
    "gender": "F",
    "height": 175,
    "height_unit": "cm",
    "weight": 70,
    "weight_unit": "kg",
    "birth_date": "1990-01-01"
  },
  "calculated": {
    "age": 35,
    "age_years": 35,
    "bmi": 22.9,
    "bmi_status": "Normal",
    "body_surface_area": 1.85,
    "bsa_unit": "m²"
  }
}

Step 4: Save Data

File path: data/profile.json

Step 5: View Parameters (view)

Read data/profile.json and format for display.

Execution Instructions

1. Parse operation type
2. [set] Validate input -> Calculate BMI/BSA/Age -> Save -> Confirm
3. [view] Read data -> Format display

Example Interactions

Complete Setup

User: F 175 70 1990-01-01

Save:
{
  "basic_info": {
    "gender": "F",
    "height": 175,
    "weight": 70,
    "birth_date": "1990-01-01"
  },
  "calculated": {
    "age": 35,
    "bmi": 22.9,
    "body_surface_area": 1.85
  }
}

View Parameters

User: view basic parameters

Output:
Basic Information:
Gender: F (Female)
Height: 175 cm
Weight: 70 kg
Age: 35 years

Calculated Indicators:
BMI: 22.9 (Normal)
Body Surface Area: 1.85 m²

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 2/24/2026

Well-structured health profile skill with clear step-by-step instructions, validation tables, and medical calculation formulas (BMI, BSA). Contains good example interactions but lacks tags/metadata for discoverability and an explicit trigger section. Located in a proper skills folder, demonstrating good structure.

72
85
70
80
88

Metadata

Licenseunknown
Version-
Updated2/17/2026
Publisherhuifer

Tags

No tags yet.