genpark-personal-agent-pulmonary-driving-pressure-mechanical-power-skill

mcp
Security Audit
Pass
Health Pass
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 10 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Personal agent skill for calculating airway driving pressure (Delta P), respiratory system static compliance, and mechanical power to prevent ventilator-induced lung injury (VILI).

README.md

Pulmonary Driving Pressure ($\Delta P$), Static Compliance & Mechanical Power Skill

License: Apache-2.0
Python: 3.9+
Model Context Protocol
Zero External Dependencies
Status: Production-Ready

A zero-dependency, mathematically rigorous personal agent skill that computes airway driving pressure, static respiratory compliance, and mechanical power of ventilation to prevent ventilator-induced lung injury (VILI).

Architecture

flowchart TD
    A[Inspiratory/Expiratory Pause Manometry] --> B[Sample Pplat, PEEP, Ppeak, and Tidal Volume]
    B --> C[Compute Driving Pressure Delta P = Pplat - PEEP]
    C --> D[Compute Static Compliance Cstat = Vt / Delta P]
    D --> E[Compute Gattinoni Mechanical Power MP]
    E --> F[Lung Protection Stratification & Guidance]

Quick Start

from client import PulmonaryDrivingPressureClient

client = PulmonaryDrivingPressureClient()
result = client.evaluate_ventilation_stress(
    plateau_pressure_cmh2o=20.0,
    peep_pressure_cmh2o=10.0,
    peak_pressure_cmh2o=24.0,
    tidal_volume_ml=420.0,
    respiratory_rate_bpm=16.0
)
print("Driving Pressure (cmH2O):", result["mechanics"]["driving_pressure_delta_p_cmh2o"])
print("Static Compliance (mL/cmH2O):", result["mechanics"]["static_compliance_cstat_ml_cmh2o"])
print("Status:", result["clinical_safety_stratification"]["driving_pressure_status"])

License

Apache-2.0

Reviews (0)

No results found