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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for u64

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssalevan/habiclient/u64"><img src="https://agentmods.dev/badge/skills/ssalevan/habiclient/u64.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00000 $0.00747
Sonnet 5.5 $0.00000 $0.00373
Haiku 4.5 $0.00000 $0.00187

Measured 2mo ago against content hash e28128613e4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (12 stars, last pushed 3mo 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

u64 compared with skills from other repositories

u64 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
u64ssalevan/habiclientSkill123mo agoMITA0Claude Code
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill24kyesterdayApache-2.0A107Claude Code, Codex
gke-ai-troubleshooting-tpu-vbar-oomgoogle/skillsSkill24kyesterdayApache-2.0A125Claude Code, Codex
doca-flowNVIDIA/skillsSkill3.9kyesterdayApache-2.0A224Claude Code, Codex
competition-firmware-layoutzhaoxuya520/reverse-skillSkill44k1mo agoMITA110Codex
diagnose-driver-installNVIDIA/deepopsSkill1.5k2d agoBSD-3-ClauseA47Claude Code, Codex
catc-troubleshootautomateyournetwork/netclawSkill717yesterdayApache-2.0A114Claude Code