Skip to content
Back to skills

Survival Resource Rules

ASecurity

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

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill survival_resource_rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Survival Resource Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Survival Resource Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-survival-resource-rules/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-survival-resource-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.