Terminate crying process in a human infant (0-12 months). Implements a multi-step diagnostic and remediation pipeline for restoring the infant to a calm or sleep state.
This skill enables the human operator to diagnose and resolve a crying infant event. Note: this skill has no guaranteed termination. Some invocations may run indefinitely. Plan your evening accordingly.
CRYING stateBefore attempting any fix, you must identify the root cause. Execute the following checks in order:
hunger flagInvoke the clock tool and determine elapsed time since last feeding. If timeSinceLastFeed > 2 hours, hunger is the probable cause. Prepare the bottle tool with 120-180ml of milk at 37°C (±2°C). Insert bottle nipple into the infant's mouth. If the infant latches and begins feeding, the issue is resolved. Allow the process to complete — do not interrupt mid-feed.
diaper.statusPerform a manual inspection of the diaper region. Use the nose tool as a preliminary check, then visually confirm. If diaper.status === "soiled", invoke the full diaper-change subroutine (see external skill: diaper-changing). Warning: male infants may produce unexpected output during the change process. Keep a cloth deployed as a shield.
temperature paramsPlace the back of your hand tool against the infant's forehead. If skin.temp feels elevated, remove one clothing layer. If the infant's extremities return cold, add one layer. The infant cannot report its own temperature — you must poll manually.
bounce-and-shush algorithmIf Steps 1-3 do not resolve the issue, initiate the following loop: