Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add serejaris/personal-corp-os --skill it-ram-doctorgit clone --depth 1 https://github.com/serejaris/personal-corp-osWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/serejaris/personal-corp-os/it-ram-doctor)<a href="https://agentmods.dev/skills/serejaris/personal-corp-os/it-ram-doctor"><img src="https://agentmods.dev/badge/skills/serejaris/personal-corp-os/it-ram-doctor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/serejaris/personal-corp-os/it-ram-doctor"><img src="https://agentmods.dev/badge/skills/serejaris/personal-corp-os/it-ram-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.01184 |
| Opus 5.5 | $0.00023 | $0.00474 |
| Sonnet 5.5 | $0.00012 | $0.00237 |
| Haiku 4.5 | $0.00006 | $0.00118 |
Grade A, and why
it-ram-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
it-ram-doctor
The snapshot only reads; step 4 kills, and only on the owner's word.
When memory is short
"13 of 16 GB used" and the swap size do not show load: macOS keeps memory busy with cache and compression, and swap does not shrink until a reboot. Memory is short when any of these holds:
- pressure:
sysctl kern.memorystatus_vm_pressure_levelis 4 or stays at 2 for long (threshold: on Apple silicon 2 appears under ordinary compression);memory_pressure | tail -1shows less than 25–30% free; Swapoutsinvm_statgrow between two readings a minute apart;- swap grows three readings in a row.
No signs: clean only on a direct request. Measure a process by top -o mem or footprint; ps understates the compressed part.
Procedure
-
Snapshot. From the skill root:
bash scripts/tails-macos.sh # local ssh -o BatchMode=yes -o ConnectTimeout=8 <alias> 'bash -s' < scripts/tails-<os>.sh # remoteKeep the script's summary as the "before" and take the top of
top -o mem: the table omits launchd services (on Linux,.serviceunits), system processes, Claude.app and children of active sessions, and one live job (a local whisper run, 9 GB) can outweigh all the tails. Done when you hold the table, the summary and the top oftop. -
Decide. The "Action" column sets what to do with a class (the script prints the Russian labels shown):
Class What it is Action claude-сессия(claude session)Claude Code CLI, bundled with Desktop or standalone kill if a tail хвост закрытого приложения(closed-app tail)processes of X.appwith PPID 1 whileXis not running, and everything under themkill сирота(orphan)a worker with PPID 1: omp/bun, Chrome for Testing, npx/MCP, grok/codex; duplicates marked kill dev-сервер(dev server)http.server, vite,npm run devwithout a parent, older than a dayask зомби(zombie)STAT Z older than a minute its parent reaps it: name the parent
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · +1 lines · -25 tokens per session dbbd139ce924
- 5d ago First seen · 65 lines · 83 tokens per session scan A 23c008784609
it-ram-doctor is a skill published in the GitHub repository serejaris/personal-corp-os (239 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,184 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.
Other skills, from other repositories
janitor-fix
Automatically fix skill problems (safe preview first). Also use with --prune to find and remove broken symlinks, empty directories, and orphaned skills. Trigger with '/janitor-fix'.
diagnosing-bugs
A structured process for diagnosing difficult software bugs and performance slowdowns. It starts by creating a repeatable pass-or-fail check, such as a failing test, HTTP request, command, or browser script.
debug-investigator
Use when investigating non-obvious bugs, intermittent failures, regressions requiring bisection, or whether a regression test reaches the real shared failure boundary. Not for abstract trade-offs, feature design, or an error whose message already supplies the fix.
immune
Hybrid adaptive memory: Cheatsheet (positive patterns pre-generation) and Immune (negative patterns post-generation) with Hot/Cold tiered auto-learning. Triggers on: "scan for errors", "immune scan", "check output quality", "antibody scan". NOT for PR review (use pr-review) or repo audits (use repo-sentinel).
opus-4-7-migration
DEPRECATED: The Opus 4.7 migration scanner is retired from the active skill catalog. Retained for archival reference only; not available through standard package discovery or installation.
sql-optimizer
Analyzes SQL queries for missing indexes, N+1 patterns, suboptimal joins, and full table scans. Interprets EXPLAIN, detects anti-patterns, rewrites queries. Triggers on: "optimize this query", "slow query", "add indexes", "explain plan", "N+1 query", "why is this query slow".