Running multiple Claude Code sessions in parallel is great. Until my 16 GB Mac starts yelling at me. Idle sessions, leftover dev servers, orphaned processes, all eating up memory. So I built watch-my-ram, a small Claude Code mod to keep an eye on my Mac's memory. Here's what it does: • Shows RAM usage and memory pressure right above the prompt. • /watch-my-ram lists active sessions, their memory usage, PR merge status, leftover dev processes, and open ports. • Warns when Claude starts running tests while another session is already testing. It only reads and warns. It doesn't kill anything automatically. You can ask Claude for suggestions and decide what to close. It's open source. Link to repo: https://github.com/nguyenphusi/watch-my-ram P.S. A better solution is probably getting a new Mac with more RAM though 😂
watch-my-ram:一個用來關注 Mac 記憶體的 Claude Code 模組
一個小型開源 Claude Code 模組,會在提示字元上方顯示 RAM 使用量和記憶體壓力,並新增 /watch-my-ram 指令,列出使用中的工作階段、殘留的開發程序、開啟的連接埠。它只會讀取並提出警告——絕不會自動終止任何東西。
關於這個 mod
同時並行執行多個 Claude Code 工作階段很棒。直到我的 16 GB Mac 開始對我大喊。閒置的工作階段、殘留的開發伺服器、孤兒程序,全都在佔用記憶體。
所以我打造了 watch-my-ram,一個用來關注 Mac 記憶體的小型 Claude Code 模組。
它會做這些事: • 在提示字元正上方顯示 RAM 使用量和記憶體壓力。 • /watch-my-ram 會列出使用中的工作階段、其記憶體使用量、PR 合併狀態、殘留的開發程序,以及開啟的連接埠。 • 當 Claude 在另一個工作階段已經在測試時開始執行測試,它會提出警告。
它只會讀取並提出警告。它不會自動終止任何東西。你可以向 Claude 詢問建議,並決定要關閉什麼。
它是開源的。儲存庫連結:https://github.com/nguyenphusi/watch-my-ram
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add nguyenphusi/watch-my-ram claude plugin install watch-my-ram@watch-my-ram
原文 / README
Running multiple Claude Code sessions in parallel is great. Until my 16 GB Mac starts yelling at me.
Idle sessions, leftover dev servers, orphaned processes, all eating up memory.
So I built watch-my-ram, a small Claude Code mod to keep an eye on my Mac's memory.
Here's what it does:
• Shows RAM usage and memory pressure right above the prompt.
• /watch-my-ram lists active sessions, their memory usage, PR merge status, leftover dev processes, and open ports.
• Warns when Claude starts running tests while another session is already testing.
It only reads and warns. It doesn't kill anything automatically. You can ask Claude for suggestions and decide what to close.
It's open source. Link to repo: https://github.com/nguyenphusi/watch-my-ram
P.S. A better solution is probably getting a new Mac with more RAM though 😂
取得徽章
這是你的專案嗎?把這個徽章放進 README 或網站,連回本頁。

