Skip to content
Back to skills

State Memory Model

ASecurity

Build persistent symbolic NetHack state memory from compact observations for AutoAscend-style agents.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of State Memory Model?

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

Security grade badge for State Memory Model
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-state-memory-model/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-state-memory-model)

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

SKILL.md
---
name: state_memory_model
description: Build persistent symbolic NetHack state memory from compact observations for AutoAscend-style agents.
---
# Persistent NetHack State Memory

Use this skill when a recovery or agent needs to convert NetHack-like observations into a durable symbolic state. Do not use it to choose actions directly; downstream strategy, combat, and survival modules consume its output.

## Inputs
- Observation dictionaries with `level_id`, `turn`, `hero`, `inventory`, `monsters`, `traps`, `stairs`, `items`, and optional `message` fields.
- Optional previous memory created by this skill.

## Outputs
- JSON-serializable memory with current level, per-level remembered facts, normalized hero and inventory fields, and derived flags.
- Flags include `low_hp`, `hungry_or_worse`, `fainting`, and `hostile_monster_visible`.

## Workflow
1. Load the previous memory if present and preserve facts for non-current levels.
2. Normalize the current observation into stable level facts keyed by coordinate or label.
3. Merge monsters, traps, stairs, and items for the current level.
4. Normalize inventory without inventing unknown item properties.
5. Derive urgent flags that interruptible strategies can inspect.

## Validation
Run `python tests/test_state_memory.py` or the bundled skill validator with `--run-tests`.

## Limitations
This skill handles compact dictionaries, not raw NLE tensors. It preserves paper mechanisms for proxy recovery without requiring the original AutoAscend repository.

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.