Skip to content
Back to skills

Combat Priority Scorer

ASecurity

Rank simplified AutoAscend combat actions with symbolic safety, damage, and line-of-fire checks.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Combat Priority Scorer?

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

Security grade badge for Combat Priority Scorer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-combat-priority-scorer/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-combat-priority-scorer)

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

SKILL.md
---
name: combat_priority_scorer
description: Rank simplified AutoAscend combat actions with symbolic safety, damage, and line-of-fire checks.
---

# Combat Priority Scorer

Use this skill when a symbolic NetHack controller needs a deterministic combat-action ranking. It preserves AutoAscend’s paper mechanism: reduce combat to a smaller action set and score actions by safety and tactical value.

## Inputs
- A JSON combat state with `hero` and `monsters` fields.
- Optional candidate actions and weights when importing the script as a helper.

## Outputs
- `selected_action`.
- `ranked_actions`, each with score and reasons.

## Workflow
1. Identify low-HP survival pressure.
2. Identify hostile targets, peaceful blockers, and hazardous monsters.
3. Score defense, melee, ranged, ray, wait, and other supplied actions.
4. Penalize unsafe actions such as meleeing floating eyes or shooting through peaceful monsters.
5. Return a stable ranking and the top action.

## Validation
Run `python scripts/combat_scorer.py state.json --output combat.json` or the tests. The tests verify low-HP healing, floating-eye avoidance, and line-of-fire penalties.

## Limitations
The scorer is a reusable symbolic approximation. It does not calculate full NetHack damage tables or ray-reflection probabilities.

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…