Skip to content
Skillpedia
General coding48k · #2532

claude-monitor

Lets your agent monitor code and system performance. It checks for slowness, resource usage, and network latency.

What it does

This agent helps figure out why Claude Code is running slowly. It checks your computer's performance (CPU, memory, disk) and internet connection speed to find the issue.

When to use it

  • ✓When Claude Code is taking a long time to respond.
  • ✓If your computer seems slow while using Claude Code.
  • ✓When you notice delays switching between conversations.

Example of what to ask your AI

“My Claude Code is very slow today, what could be the problem?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/claude-monitor/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/claude-monitor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It runs a program that checks your computer's and internet's performance. Then, it tells you what's causing the slowness and suggests how to fix it.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill claude-monitor

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/claude-monitor/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Claude Monitor — Diagnóstico de Performance

Overview

Monitor de performance do Claude Code e sistema local. Diagnostica lentidao, mede CPU/RAM/disco, verifica API latency e gera relatorios de saude do sistema.

When to Use This Skill

  • When the user mentions "lento" or related topics
  • When the user mentions "lentidao" or related topics
  • When the user mentions "lag" or related topics
  • When the user mentions "lagado" or related topics
  • When the user mentions "travando" or related topics
  • When the user mentions "claude lento" or related topics

Do Not Use This Skill When

  • The task is unrelated to claude monitor
  • A simpler, more specific tool can handle the request
  • The user needs general-purpose assistance without domain expertise

How It Works

Skill para diagnosticar e resolver problemas de lentidão no Claude Code e no sistema. Determina se o gargalo é local (PC) ou remoto (API Claude) e sugere ações corretivas.

Quando Usar

  • Usuário reclama que o Claude Code está lento ou travando
  • Troca de sessões de conversa demora para carregar
  • Respostas do Claude demoram muito
  • PC parece lento enquanto usa o Claude Code
  • Qualquer menção a performance, lag, lentidão

1. Diagnóstico Rápido (Health_Check.Py)

Rode SEMPRE como primeiro passo:

python C:\Users\renat\skills\claude-monitor\scripts\health_check.py

O script analisa em ~3 segundos:

  • CPU: Uso atual e por core. >80% = gargalo provável
  • RAM: Total, usada, disponível. >85% = pressão de memória
  • Browsers: Processos e RAM por browser. >5GB total = excesso de abas
  • Claude Code: Processos e RAM consumida
  • Disco: Espaço livre. <10% = impacto em swap/performance
  • Rede: Latência ao endpoint da API Claude
  • Diagnóstico: Classificação automática do problema com sugestões

2. Interpretar O Resultado

O script retorna um JSON com diagnosis contendo:

  • bottleneck: "cpu" | "ram" | "browsers" | "disk" | "network" | "claude_api" | "ok"
  • severity: "critical" | "warning" | "ok"
  • suggestions: Lista de ações recomendadas
  • summary: Resumo em português para mostrar ao usuário

Mostre o summary ao usuário e ofereça executar as sugestões.

3. Ações Corretivas Automáticas

Baseado no diagnóstico, ofereça ao usuário:

Se CPU alta (>80%):

  • Listar processos consumindo mais CPU
  • Sugerir fechar processos pesados desnecessários
  • Verificar se Windows Update está rodando em background

Se browsers pesados (>5GB RAM ou >40 processos):

python C:\Users\renat\skills\claude-monitor\scripts\health_check.py --browsers-detail

Mostra RAM por browser e sugere quais fechar. Nunca fechar processos sem permissão explícita do usuário.

Se disco cheio (>85%):

  • Mostrar pastas maiores
  • Sugerir limpeza de Temp, cache de browsers, lixeira

Se rede lenta (latência >500ms):

  • Testar conexão com api.anthropic.com
  • Sugerir verificar VPN, proxy, ou conexão WiFi

4. Monitor Contínuo (Opcional)

Se o usuário quiser monitoramento em background:

python C:\Users\renat\skills\claude-monitor\scripts\monitor.py --interval 30 --duration 300

Parâmetros:

  • --interval: Segundos entre cada amostra (default: 30)
  • --duration: Duração total em segundos (default: 300 = 5 min)
  • --output: Caminho do arquivo de log (default: monitor_log.json)
  • --alert-cpu: Threshold de CPU para alerta (default: 80)
  • --alert-ram: Threshold de RAM % para alerta (default: 85)

O monitor salva snapshots periódicos e gera um relatório ao final com:

  • Picos de CPU e RAM
  • Tendência (melhorando/piorando/estável)
  • Eventos de alerta detectados
  • Recomendação final

5. Benchmark Da Api Claude (Opcional)

Para testar se a lentidão é da API:

python C:\Users\renat\skills\claude-monitor\scripts\api_bench.py

Mede o tempo de resposta do processo Claude Code local (não faz chamadas à API). Compara com tempos típicos e indica se está dentro do esperado.

Thresholds De Referência

Métrica OK Warning Critical
CPU % <60% 60-85% >85%
RAM usada % <70% 70-85% >85%
RAM browsers <3 GB 3-6 GB >6 GB
Processos browser <30 30-60 >60
Disco livre >15% 10-15% <10%
Latência rede <200ms 200-500ms >500ms

Dicas Para O Usuário

Quando apresentar o diagnóstico, inclua estas dicas contextuais:

  • Muitas abas = muito CPU/RAM: Cada aba de browser é um processo separado.

…

FAQ

What are CPU and RAM?

CPU is the computer's 'brain' that does calculations. RAM is short-term memory where programs store what they are currently using. If both are very busy, the computer slows down.

Why do many open browser tabs make Claude Code slow?

Each browser tab uses a part of the computer's memory and processing power. Many tabs together can overload the system, affecting the performance of other programs like Claude Code.

What does the agent do if the problem is the internet?

It tests your connection speed to the Claude servers. If it's slow, it suggests checking your Wi-Fi, VPN, or internet provider.

Details

Original description by the author

Monitor de performance do Claude Code e sistema local. Diagnostica lentidao, mede CPU/RAM/disco, verifica API latency e gera relatorios de saude do sistema.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2532
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills