{"id":50823285,"url":"https://github.com/sunsided/6502-skills","last_synced_at":"2026-06-13T16:10:57.452Z","repository":{"id":359769879,"uuid":"1247434342","full_name":"sunsided/6502-skills","owner":"sunsided","description":"SKILL files for working with 6502-family assembly","archived":false,"fork":false,"pushed_at":"2026-05-23T10:34:32.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T12:26:31.711Z","etag":null,"topics":["agentic-coding","assembly","cpu-architecture","porting","skill-files"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunsided.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-23T10:05:39.000Z","updated_at":"2026-05-23T10:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sunsided/6502-skills","commit_stats":null,"previous_names":["sunsided/6502-skills"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sunsided/6502-skills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2F6502-skills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2F6502-skills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2F6502-skills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2F6502-skills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunsided","download_url":"https://codeload.github.com/sunsided/6502-skills/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2F6502-skills/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34290609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-coding","assembly","cpu-architecture","porting","skill-files"],"created_at":"2026-06-13T16:10:56.614Z","updated_at":"2026-06-13T16:10:57.447Z","avatar_url":"https://github.com/sunsided.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 6502 Skills\n\nA cluster of Claude skills for working with **6502-family assembly** — reading,\nwriting, understanding, and porting it — with a focus on the Apple II (Merlin\nassembler), the Commodore 64, and the Atari 400/800/XL/XE. All skills share a\n`6502-` prefix so they group together once installed.\n\n## The skills\n\n| Skill | What it covers |\n|-------|----------------|\n| **`6502-instruction-set`** | NMOS 6502 / 65C02 / 65816 mnemonics, addressing modes, opcode bytes, cycle counts, and exact flag semantics. CPU-variant notes (6510/C64, 2A03/NES). The reference for *what an instruction does*. |\n| **`6502-merlin-assembler`** | Merlin macro-assembler source: column layout, directives (DFB/DW/DDB/DCI/ASC/HEX/LUP/MAC…), macros and parameters, label/variable conventions, and Merlin's left-to-right expression evaluation. Apple Merlin 8/16/32 and Commodore Merlin 64/128. |\n| **`6502-memory-map`** | Apple II, C64, and Atari 8-bit memory maps, I/O registers, ROM entry points, and zero-page conventions: Apple soft switches, language card, Monitor ROM, Applesoft FP; C64 6510 banking, VIC-II/SID/CIA, the KERNAL jump table; Atari ANTIC/GTIA/POKEY, shadow registers, CIO/SIO, the $E450 vectors. |\n| **`6502-sweet16`** | Wozniak's SWEET16 — the 16-bit interpreted pseudo-processor in the Apple II Integer BASIC ROM (entry `$F689`): registers, opcode set, invocation, and how to decode its inline bytecode. |\n| **`6502-to-rust`** | A two-stage workflow for porting 6502 assembly to idiomatic Rust via an explicit, flag-faithful intermediate language: lift → recover intent → emit, plus correctness rules and a verification method. |\n\n## Installing\n\nEach skill is a directory with a `SKILL.md`, following the [Agent Skills](https://agentskills.io)\nopen standard, so the same files work across Claude Code, opencode, Kilo Code,\nCodex, and any other tool that implements it. You point your agent at the skill\ndirectories; what differs per agent is *which* directory it scans.\n\n### Quick install — `install.sh`\n\n`install.sh` symlinks (or copies) the five `6502-*` skills into the right place:\n\n```sh\n./install.sh --claude            # Claude Code, personal      → ~/.claude/skills/\n./install.sh --agents            # open standard (opencode/Kilo/Codex) → ~/.agents/skills/\n./install.sh --claude --agents   # both at once\n./install.sh --opencode --kilo   # each agent's own global dir\n./install.sh --to PATH           # any explicit directory, e.g. a project's .claude/skills\n./install.sh --agents --copy     # copy instead of symlink (Windows, or to vendor into a repo)\n```\n\nSymlink is the default, so editing a skill here updates every install. `--help`\nlists all options. After installing, restart the agent; in Claude Code run\n`/skills` to confirm they loaded.\n\n### Where each agent looks\n\n| Agent | Global (all projects) | Per project |\n|-------|-----------------------|-------------|\n| **Claude Code** | `~/.claude/skills/\u003cname\u003e/` | `\u003cproject\u003e/.claude/skills/\u003cname\u003e/` |\n| **opencode** | `~/.agents/skills/`, `~/.config/opencode/skills/`, `~/.claude/skills/` | `.agents/skills/`, `.opencode/skills/`, `.claude/skills/` |\n| **Kilo Code** | `~/.agents/skills/`, `~/.kilo/skills/`, `~/.claude/skills/` | `.agents/skills/`, `.kilo/skills/`, `.claude/skills/` |\n| **Codex** | `~/.agents/skills/` | `.agents/skills/` (cwd up to repo root) |\n\n`.agents/skills/` is the common open-standard location read by opencode, Kilo,\nand Codex; `.claude/skills/` is Claude Code's. To make the skills available in a\nspecific project rather than globally, install into that project's `.agents/skills/`\nor `.claude/skills/` with `install.sh --to PATH`.\n\n### Manual install\n\nWithout the script, copy or symlink each `6502-*` directory into one of the\nlocations above. For Claude Code, personal install:\n\n```sh\nfor s in 6502-*/; do ln -s \"$PWD/${s%/}\" ~/.claude/skills/; done\n```\n\nThe packaged `.skill` bundles (gitignored) are the zip form for skill\nmarketplaces; for direct use, install the directories as above.\n\n## How they fit together\n\n```\n            6502-instruction-set   ← semantics of every instruction\n                     │\n 6502-merlin-assembler   6502-memory-map   6502-sweet16\n   (source dialect)      (what addresses     (the inline VM)\n                          mean per platform)\n                     │\n                6502-to-rust        ← uses all of the above to port\n```\n\nWhen porting (`6502-to-rust`), the other skills supply the context the port\ndepends on: the instruction set fixes semantics, the memory map classifies every\naddress as RAM / hardware / ROM call, the Merlin skill decodes the source, and\nSWEET16 handles any inline-bytecode regions.\n\n## Layout\n\nEach skill is a directory with a `SKILL.md` (the always-loaded instructions and\ntrigger description) and a `references/` folder of detail files loaded only when\nneeded (progressive disclosure). See each `SKILL.md` for the reference index.\n\n## Authoring\n\nBuilt and iterated with the `skill-creator` skill. Key technical facts\n(SWEET16 encodings, Merlin directives, ROM routine addresses, C64 hardware maps)\nwere verified against primary sources (Wozniak's BYTE 1977 SWEET16 article, the\nBrutal Deluxe Merlin 32 manual, the Apple II/C64 memory-map references) during\nauthoring.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2F6502-skills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunsided%2F6502-skills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2F6502-skills/lists"}