ccdwyer/codebase-galaxy

一個 Claude Code 外掛,以 braille 將你的儲存庫渲染成即時的力導向星空:檔案是星星,匯入是連結,Claude 的讀取/編輯操作是一顆彗星。
ccdwyer/codebase-galaxy

在 Claude Code 中,以 braille 呈現即時的力導向星空,展示你的儲存庫。
使用 /galaxy 開啟,使用 /galaxy rescan 重新整理。可以平移、縮放、跟隨彗星、懸停查看路徑,也可以點擊複製。完全在你的電腦上執行,不會透過網路傳送任何內容。
安裝:/plugin marketplace add ccdwyer/claude-mods · /plugin install codebase-galaxy@ccdwyer-mods · /reload-plugins
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add ccdwyer/codebase-galaxy claude plugin install codebase-galaxy

Watch the MP4 · Screenshot · Screenshot
Your repo as a live, force-directed starfield in braille, inside Claude Code.
src/ui) is its own star system.@/ or ~/ read as src/), Python (relative and package imports) and Kotlin/Java (matched by package path) are parsed. Swift, Go, Rust and the rest still get stars and systems, but no links./galaxy open the galaxy (scans the repo the first time)
/galaxy rescan rescan after big changes
In the pane: click it to give it the keyboard, then
| Key / mouse | Does |
|---|---|
| ← ↑ ↓ → or drag | pan |
| + / - | zoom |
| 0 | fit everything again |
| f | follow the comet |
| r | re-heat the layout |
| hover a star | show its path |
| click a star | copy its path |
Big repos are capped at 600 stars, picked round-robin across systems so every one shows up, plus up to 100 more for files Claude touches. The scan skips node_modules, build output, caches, dotfolders and symlinked folders, and stops at fixed budgets; a status of of 2001+ means the scan was cut short. Surfaces without interactive views (mobile, VS Code) get a text chart of the systems instead.
/plugin marketplace add ccdwyer/claude-mods
/plugin install codebase-galaxy@ccdwyer-mods
/reload-plugins
claude plugin validate .
claude plugin test .
It runs entirely on your machine and sends nothing over the network. It lists your repo's folders and reads up to a few hundred source files only to find import links, and runs no programs.
Full policy: PRIVACY.md.
Events this mod hooks, as claude plugin validate reads the module:
session.startcommand.run{command=galaxy}tool.callui.messageui.render{component=Pane, requestId=codebase-galaxy}Engine calls it makes: $.command.register, $.fs.exists, $.fs.list, $.fs.read, $.session.cwd, $.state.get, $.state.set, $.ui.copy, $.ui.open, $.ui.resolve, $.ui.toast.
A tool.call hook sits in the middle of every tool call: it can see the call, refuse it, or add context to its result. This mod only watches successful calls to move the comet; it never changes or refuses one.
MIT