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 或网站,链接回本页。

