원클릭으로
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