원클릭으로
physiology
Update body-level needs such as hunger, satiety, thirst, fatigue, and stress from time, activity, and recent events.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Update body-level needs such as hunger, satiety, thirst, fatigue, and stress from time, activity, and recent events.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Assess what actions are realistically available under environment, time, distance, access, money, body, and social constraints.
Maintain sleep-wake rhythm, circadian alertness, appetite rhythm, and chronotype-sensitive daily timing.
Produce emotion.json and intention.json from workspace context.
Model conversation intent, speech style, turn-taking, listening, repair, and nonverbal cues. Use before or after social interaction, dialogue, negotiation, apology, request, gossip, or conflict.
Apply cultural values, etiquette, rituals, symbols, taboos, and local meaning to perception and decisions.
Track sickness, pain, chronic condition, recovery, exercise, stress load, and long-term wellbeing.
| name | physiology |
| description | Update body-level needs such as hunger, satiety, thirst, fatigue, and stress from time, activity, and recent events. |
| script | scripts/update_physiology.py |
Maintain the agent's body state for this tick. This skill turns time, activity, meals, sleep, illness, stress, and environment into physiological pressures that cognition and plan can use.
Use prior body state, time, circadian signals, meals, drinking, sleep, activity, stress, illness, and environment to update body pressures in state/physiology.json and need urgency in state/needs.json.
Research basis: references/research_basis.md.
Use this skill once per tick before cognition when bodily needs may affect intention selection or plan interruption.
Read any existing files if present:
state/observation.txtstate/observation_ctx.jsonstate/physiology.jsonstate/circadian.jsonstate/health.jsonstate/memory.jsonlSkip missing files.
Always write:
state/physiology.jsonstate/needs.jsonAppend state/body_events.jsonl only when there is a notable event such as eating, drinking, sleeping, injury, sickness, heavy exertion, or critical hunger/fatigue.
state/physiology.json and state/needs.json.If deterministic baseline is preferred, run scripts/update_physiology.py first, then optionally refine narrative and edge cases with LLM reasoning.
Use bounded continuous values in [0, 1].
Hunger is a pressure, not a simple counter:
hunger_pressure =
time_since_meal_effect
+ circadian_appetite_effect
+ exertion_effect
+ stress_appetite_modifier
- satiety_effect
Satiety rises after eating and decays with time:
satiety_next = clamp(satiety_current * satiety_decay + meal_gain - exertion_cost, 0, 1)
Fatigue combines sleep pressure, exertion, cognitive load, illness, and stress:
fatigue = clamp(0.45 * sleep_pressure + 0.25 * exertion + 0.15 * stress_load + 0.15 * illness, 0, 1)
Thirst rises faster under heat, walking, exercise, alcohol, salt, illness, or long time since drinking.
Stress load rises under threat, overload, conflict, uncertainty, and unmet needs. It recovers with rest, safety, sleep, social support, and successful coping.
state/physiology.json:
{
"tick": 120,
"time": "2026-04-27T18:30:00",
"hunger_pressure": 0.71,
"satiety": 0.22,
"thirst": 0.55,
"sleep_pressure": 0.48,
"fatigue": 0.44,
"stress_load": 0.31,
"pain": 0.0,
"illness": 0.0,
"recent_activity": "walking",
"last_meal_tick": 78,
"last_drink_tick": 96,
"last_sleep_tick": 20,
"notes": ["Evening circadian appetite is increasing hunger."]
}
state/needs.json:
{
"current_need": "eat",
"urgency": 0.71,
"needs": {
"satiety": 0.29,
"hydration": 0.45,
"energy": 0.56,
"safety": 0.85,
"social": 0.62
},
"interrupt_plan": false,
"reasoning": "Hunger is rising but not yet critical."
}
cognition should read state/physiology.json and state/needs.json when choosing emotion and intention.plan should interrupt ongoing plans when interrupt_plan is true.circadian should provide circadian_appetite and alertness if available.If no bodily state can be inferred, initialize neutral physiology and write a short note explaining the uncertainty.