ワンクリックで
memory-guardian
Cross-platform memory monitoring and cleanup skill for AI development environments
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Cross-platform memory monitoring and cleanup skill for AI development environments
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Database migration management - Use Flyway and Atlas for version-controlled database schema migrations
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Format JavaScript/TypeScript code with Prettier
Format Python code with Black
Auto-generate project changelog
| name | memory-guardian |
| description | Cross-platform memory monitoring and cleanup skill for AI development environments |
| version | 1.0.0 |
| author | Agents-MD Pro |
🛡️ 内存守护者 - 跨平台内存监控与清理技能
Memory Guardian - Cross-platform memory monitoring and cleanup skill
此技能用于监控系统物理内存使用情况,当内存使用率过高时向用户发出双语警告, 并提供安全的 Python/Node.js 进程清理功能。
This skill monitors system physical memory usage, alerts users with bilingual warnings when memory usage is high, and provides safe Python/Node.js process cleanup.
python .agent/skills/memory-guardian/scripts/monitor.py --check
python .agent/skills/memory-guardian/scripts/monitor.py --daemon
python .agent/skills/memory-guardian/scripts/cleanup.py
| 级别 / Level | 内存使用率 / Usage | 行为 / Action |
|---|---|---|
| 🟢 正常 / Normal | < 70% | 静默 / Silent |
| 🟡 注意 / Notice | 70-80% | 提示 / Notice |
| 🟠 警告 / Warning | 80-90% | 警告 / Warning |
| 🔴 严重 / Critical | ≥ 90% | 严重警告 / Critical |
编辑 config.yaml 自定义阈值和行为:
Edit config.yaml to customize thresholds and behavior:
thresholds:
notice: 70
warning: 80
critical: 90
check_interval: 30 # seconds
psutil>=5.9.0
plyer>=2.1.0
安装依赖 / Install dependencies:
pip install -r .agent/skills/memory-guardian/scripts/requirements.txt