agentleFS
agentik-osagentik-os/claude-code-skills/ramflush/SKILL.md

ramflush

Skill1 starsChanged 55 days agoMITView on GitHub

Purge la RAM et fait le point perf du VPS — `sync` + drop des caches noyau (pagecache/dentries/inodes), compaction mémoire, puis rapport avant/après + top consommateurs RAM/CPU + load average. À lancer quand le VPS est sous charge / rame. Sans risque (les caches sont reconstruits à la demande) ; nécessite root (drop_caches).

The file

Files
SKILL.md

ramflush — purge RAM + point perf

Libère la mémoire mise en cache par le noyau et donne un état perf rapide. Idéal quand le VPS est sous forte charge.

Quand

  • Le VPS rame / free montre énormément de buff/cache / la latence monte.
  • Avant de lancer une grosse charge (build, batch) pour repartir propre.

Ce que ça fait (et ne fait pas)

  • sync (flush des écritures en attente) puis echo 3 > /proc/sys/vm/drop_caches → libère pagecache + dentries + inodes (réclamables de toute façon).
  • compact_memory (best-effort) pour défragmenter la mémoire.
  • Rapport : RAM avant/après, top 5 RAM, top 5 CPU, load average.
  • Ne tue aucun process, ne touche pas au swap par défaut, n'impacte pas les données. Le seul coût : les caches se reremplissent à l'usage (léger ralentissement transitoire).

Lancer

  • sudo bash scripts/ram-flush.sh (drop_caches exige root)
  • Depuis Telegram : menu 🧹 Clean → 💾 Purge RAM (atlas / @AgentikMonitorBot).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.