habiclient: Skill for Claude Code

.claude/skills/u64/SKILL.md

u64 is a skill for Claude Code from ssalevan/habiclient. It costs 0 tokens per session (1,867 once invoked), scanned A, original, MIT.

A remote-control and debugging tool for the Habitat C64 client running on Ultimate 64 hardware. Ultimate 64 is a modern hardware recreation of the Commodore 64 computer.

In plain words
What is it for?
Use it to pause and resume the C64, inspect or disassemble 6502 processor memory, read and write bytes, upload a cartridge file, or boot Habitat from disks.
Why use it?
It lets developers inspect a paused machine and diagnose crashes without working only through the client interface. It can also change memory and start software on the device.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ssalevan/habiclient's own configuration. It tells Claude Code how to work on habiclient itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything habiclient configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ssalevan/habiclient. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ssalevan/habiclient/main/.claude/skills/u64/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ssalevan/habiclient

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for u64

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssalevan/habiclient/u64.svg)](https://agentmods.dev/skills/ssalevan/habiclient/u64)
Your own site
<a href="https://agentmods.dev/skills/ssalevan/habiclient/u64"><img src="https://agentmods.dev/badge/skills/ssalevan/habiclient/u64.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01867
Opus 5 $0.00000 $0.00933
Sonnet 5 $0.00000 $0.00373
Haiku 4.5 $0.00000 $0.00187

Measured 8d ago against content hash e28128613e4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

u64 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/u64/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ultimate 64 Remote Debugging

Remote control and debug the Habitat C64 client running on Ultimate 64 hardware via REST API.

Usage

Use u64_tool.py in the project root to automate the U64. Write and run Python scripts that import U64Session.

Quick crash diagnosis

from u64_tool import U64Session

u = U64Session("192.168.1.158")
u.diagnose()
# CPU paused, key memory locations dumped
# Call u.resume() when done

Memory inspection

from u64_tool import U64Session

u = U64Session("192.168.1.158")
u.pause()
u.dump(0x0800, 0x40)           # Hex+ASCII dump
u.disassemble(0x080D, 32)      # 6502 disassembly
val = u.read_byte(0x0001)      # Read single byte
word = u.read_word(0xFFFA)     # Read 16-bit LE word
data = u.read_mem(0x0100, 256) # Read raw bytes
u.resume()

Memory writes

u.write_byte(0xD020, 0x02)             # Set border color
u.write_bytes(0xFFFA, [0xFC, 0x01])    # Set NMI vector

Upload and boot CRT

u = U64Session("192.168.1.158")
u.upload_crt("Dist/Habitat.crt")
# U64 resets and boots from cartridge

Full Habitat boot (disk-based)

u = U64Session("192.168.1.158")
u.boot_habitat("steve")
# Mounts disks, resets, navigates launcher, waits for game

Screen reading

u.pause()
rows = u.read_screen()       # All 25 rows as ASCII
row5 = u.read_screen(5)      # Single row
u.dump_screen()              # Print all rows
u.wait_for_screen_text("HABITAT", timeout=30)  # Poll until text appears
u.resume()

Keystroke injection

u.inject_keys(0x0D)             # Press Return
u.type_text("steve")            # Type name + Return (auto-appended)

CLI Usage

python3 u64_tool.py 192.168.1.158 --diagnose        # Full crash diagnostics
python3 u64_tool.py 192.168.1.158 --boot-state       # Quick boot check
python3 u64_tool.py 192.168.1.158 --pause             # Pause CPU
python3 u64_tool.py 192.168.1.158 --resume            # Resume CPU
python3 u64_tool.py 192.168.1.158 --reset             # Reset C64
python3 u64_tool.py 192.168.1.158 --dump 0800 40      # Dump memory (hex)
python3 u64_tool.py 192.168.1.158 --disasm 080D 20    # Disassemble (hex)
python3 u64_tool.py 192.168.1.158 --read 0001         # Read byte
python3 u64_tool.py 192.168.1.158 --write D020 02     # Write byte
python3 u64_tool.py 192.168.1.158 --screen            # Dump screen text
python3 u64_tool.py 192.168.1.158 --crt Dist/Habitat.crt   # Upload CRT
python3 u64_tool.py 192.168.1.158 --boot steve        # Full boot sequence
python3 u64_tool.py 192.168.1.158 --check             # Check game state
python3 u64_tool.py 192.168.1.158 --version           # Firmware version

Read the full file on GitHub · 183 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 183 lines · 0 tokens per session scan A e28128613e4c

Subscribe to this mod's changes

u64 is a skill published in the GitHub repository ssalevan/habiclient (11 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,867 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. Use when checking TPU slice lifecycle states, troubleshooting slice provisioning failures, validating single-slice or multi-slice (JobSet) workload manifests, or safely patching stuck finalizers and disabling the slice controller. Don't use…

google/skills · 107 tokens

gke-ai-troubleshooting-tpu-vbar-oom

Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…

google/skills · 125 tokens

competition-firmware-layout

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for firmware images, partition tables, boot chains, update packages, extracted filesystems, embedded configs, and device-facing trust boundaries. Use when the user asks to unpack firmware, map partition layout, inspect bootloader or init…

zhaoxuya520/reverse-skill · 110 tokens

doca-flow

Build and debug DOCA Flow applications on supported NVIDIA NICs/DPUs: define match/action pipes, initialize ports and representors, choose forwarding targets, validate pipes before hardware programming, read counters, match the Flow version to the installed DOCA release, and diagnose Flow API errors. Trigger on DOCA…

NVIDIA/skills · 140 tokens

diagnose-driver-install

Diagnose NVIDIA driver installation failures on DeepOps-managed nodes — nvidia-smi errors, "No devices were found", DKMS build failures, or GPU pods crash-looping. Use before reinstalling anything.

NVIDIA/deepops · 47 tokens

catc-troubleshoot

Catalyst Center troubleshooting workflows - device unreachable investigation, client connectivity issues, interface down analysis, site-wide outage triage, wireless roaming problems, integration with pyATS for CLI-level diagnostics. Use when a device is unreachable, a user reports connectivity problems, an interface…

automateyournetwork/netclaw · 74 tokens