인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

survival_resource_rules

survival_resource_rules

Apply AutoAscend nutrition and emergency resource rules to symbolic NetHack state memory.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: survival_resource_rules description: Apply AutoAscend nutrition and emergency resource rules to symbolic NetHack state memory.

Survival and Resource Rules

Use this skill when hunger, food, corpse, or prayer decisions should preempt ordinary exploration. It is designed for AutoAscend-style symbolic control and bounded recovery tests.

Inputs

  • State memory with hero.hunger, hero.turn, hero.last_prayer_turn, inventory, and optional corpses.
  • Optional rule parameters when importing the helper function.

Outputs

  • Recommended survival action.
  • Target item or corpse.
  • Rule name and semantic action queue.

Workflow

  1. Prefer fresh safe corpses while the hero is not satiated.
  2. If hungry or worse, eat carried food rations or equivalent inventory food.
  3. If fainting and prayer cooldown elapsed, pray.
  4. Otherwise return an explicit no-action result.

Validation

Run python scripts/survival_rules.py memory.json --output survival.json or the tests. The tests cover safe-corpse preference, ration fallback, prayer cooldown, and no-action cases.

Limitations

The skill does not identify real NetHack corpse safety from glyphs. Callers must provide safety metadata or combine it with a richer parser.

저장한 Skills