---
title: "watch-my-ram: Mac のメモリを監視する Claude Code MOD"
url: "https://claudemods.dev/ja/builds/running-multiple-claude-code-sessions-in-parallel-is-great-u-4cd372"
source: "https://github.com/nguyenphusi/watch-my-ram"
source_type: "github"
repo: "https://github.com/nguyenphusi/watch-my-ram"
author: "Si Nguyen"
author_handle: "nguyenphusi13"
stars: 0
category: "メモリ・コンテキスト"
categories: ["memory"]
tags: ["hooks", "macos", "memory", "process-monitoring", "slash-command", "statusline"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add nguyenphusi/watch-my-ram\nclaude plugin install watch-my-ram@watch-my-ram"
added: "2026-11-13T04:31:20.777Z"
updated: "2026-11-13T04:34:49Z"
locale: "ja"
content_locale: "ja"
---

# watch-my-ram: Mac のメモリを監視する Claude Code MOD

プロンプトの上に RAM 使用量とメモリプレッシャーを表示し、アクティブなセッション、残っている開発プロセス、開いているポートを一覧表示する /watch-my-ram コマンドを追加する、小さなオープンソースの Claude Code MOD です。読み取りと警告のみを行い、何も自動で終了させることはありません。

## Description

複数の Claude Code セッションを並行して実行するのは素晴らしいことです。私の 16 GB Mac が悲鳴を上げ始めるまでは。アイドル状態のセッション、残った開発サーバー、孤立したプロセスが、すべてメモリを食っています。

そこで私は watch-my-ram を作りました。Mac のメモリを監視するための小さな Claude Code MOD です。

できることは次のとおりです：
• プロンプトのすぐ上に RAM 使用量とメモリプレッシャーを表示します。
• /watch-my-ram は、アクティブなセッションとそのメモリ使用量、PR のマージ状態、残った開発プロセス、開いているポートを一覧表示します。
• 別のセッションがすでにテストを実行しているときに Claude がテストを開始すると警告します。

読み取りと警告のみを行います。何も自動で終了させません。Claude に提案を尋ねて、何を閉じるかを自分で決められます。

オープンソースです。リポジトリへのリンク: https://github.com/nguyenphusi/watch-my-ram

## Install

```
claude plugin marketplace add nguyenphusi/watch-my-ram
claude plugin install watch-my-ram@watch-my-ram
```

## Original 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 😂
