Skip to content
Back to skills

Nhero Scramble

ASecurity

Derangement-based medication name scrambling for nhero. No medication maps to its own initial letter. Full derangement with GF(3) conservation. Append-only index — medications can be added but never removed from the scramble table.

  • 61 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
toolspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill nhero-scramble --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nhero Scramble?

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

Security grade badge for Nhero Scramble
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-nhero-scramble/badge)](https://www.skillsdirectory.com/skills/plurigrid-nhero-scramble)

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

Download with Pro
SKILL.md
---
name: nhero-scramble
description: Derangement-based medication name scrambling for nhero. No medication maps to its own initial letter. Full derangement with GF(3) conservation. Append-only index — medications can be added but never removed from the scramble table.
version: 0.1.0
trit: 0
color: "#00FF00"
tags: [nhero, scramble, derangement, privacy, gf3]
---

# nhero-scramble

Derangement-based name scrambling. Append-only.

## Rules

1. No medication maps to its own initial letter (derangement)
2. GF(3) sum of assigned letters must equal world trit (-1 for H)
3. New medications are appended, never removed (append-only)
4. Letter assignment maximizes Hamming distance from H and natural initial

## CLI

```bash
python3 hero_scramble.py table              # show full table
python3 hero_scramble.py lookup q           # q → Vyvanse
python3 hero_scramble.py reverse Vyvanse    # Vyvanse → q
python3 hero_scramble.py set x 400          # set Magnesium to 400mg
python3 hero_scramble.py add Melatonin      # auto-assign deranged letter
```

## Append-Only Protocol

The scramble index is append-only:
- `add` appends a new (letter, medication) pair
- `set` updates dosage but never removes the mapping
- No `remove` or `delete` operation exists
- Historical mappings are preserved for audit trail
- On-chain: `keccak256(scramble_index)` is the commitment

## Parent
Part of the [nhero](../nhero/SKILL.md) hierarchy.

Files in this skill

  • CONCOMITANT_SKILLS.md509 B
  • SKILL.md1.4 KB

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.

View all in tools →

Comments

Loading comments…

Newsletter

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