machine-resources

machine-resources is a skill for Claude Code from joaoguirunas/team-os. It costs 87 tokens per session (2,025 once invoked), scanned A, original, MIT.

A local machine resource check that measures available memory, processor cores, swap, and disk space before heavy work. It helps choose how many jobs can run at once.

In plain words
What is it for?
Use it before resource-heavy commands to estimate capacity, choose a safe level of parallel work, and monitor the run.
Why use it?
It reduces the risk that parallel transcription, local AI, rendering, builds, browser tests, or large data tasks exhaust memory and freeze the computer.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR variable.

Good fit Use it before resource-heavy commands to estimate capacity, choose a safe level of parallel work, and monitor the run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joaoguirunas/team-os/machine-resources
Install

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.

Any agent
npx skills add joaoguirunas/team-os --skill machine-resources
Clone the repo
git clone --depth 1 https://github.com/joaoguirunas/team-os

Made for: Claude Code.

Wrote 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.

agentmods badge for machine-resources

README.md
[![agentmods](https://agentmods.dev/badge/skills/joaoguirunas/team-os/machine-resources/github.svg)](https://agentmods.dev/skills/joaoguirunas/team-os/machine-resources)
Your own site
<a href="https://agentmods.dev/skills/joaoguirunas/team-os/machine-resources"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/machine-resources/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.

agentmods 80×15 button for machine-resources

Your own site · 80×15
<a href="https://agentmods.dev/skills/joaoguirunas/team-os/machine-resources"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/machine-resources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,025 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.02025
Opus 5.5 $0.00035 $0.00810
Sonnet 5.5 $0.00017 $0.00405
Haiku 4.5 $0.00009 $0.00202

Measured 15d ago against content hash 1d1ca54067ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

machine-resources 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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-resources.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/machine-resources/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Machine Resources — não trave o computador do usuário

O computador é do usuário e ele está usando enquanto você trabalha. Um lote mal dimensionado esgota a memória, o sistema passa a usar o disco como memória (swap) e tudo congela, inclusive a sessão do Claude. Caso real: 5 transcrições do Whisper disparadas juntas num Mac de 18 GB travaram a máquina.

Regra: antes de processo pesado, meça → estime → escolha → rode acompanhando. Na dúvida, um de cada vez.

1. Quando esta skill é obrigatória

  • Transcrição de áudio ou vídeo (Whisper, whisper.cpp, faster-whisper)
  • Modelo de IA local (Ollama, LM Studio, llama.cpp, Stable Diffusion, PyTorch)
  • Vídeo e imagem em volume (ffmpeg, render, upscale, conversão em lote)
  • Build grande (Next.js, Docker, compilação de firmware em várias placas), suíte E2E com navegadores
  • Dado grande na memória (pandas com CSV de centenas de MB, planilha gigante)
  • Qualquer comando que você pensou em rodar N vezes em paralelo, em background ou com &

Comando leve (ler arquivo, git, grep, teste unitário pequeno) não precisa.

2. Quanto cada job costuma usar

Ordem de grandeza para decidir. O valor real depende da versão e do arquivo: meça o primeiro job (§4) e use o número medido.

Job Memória por job Núcleos
Whisper (openai-whisper, PyTorch): tiny / base / small / medium / large / turbo ~1 / ~1 / ~2 / ~5 / ~10 / ~6 GB todos
whisper.cpp: tiny / base / small / medium / large ~0,3 / ~0,4 / ~0,9 / ~2,1 / ~3,9 GB todos (-t limita)
LLM local quantizado (Ollama, q4): 3B / 7–8B / 13B / 70B ~3 / ~5–6 / ~9–10 / ~40 GB todos
ffmpeg recodificando 1080p (x264/x265) ~0,5–1,5 GB todos (-threads limita)
Build Next.js / Vite de projeto médio ~1–3 GB vários
Docker Desktop (a VM inteira) o que estiver configurado nele (4–8 GB comum) —
Navegador de teste (Playwright/Chromium), por instância ~0,3–0,6 GB 1–2
pandas lendo CSV ~3–5× o tamanho do arquivo 1
Compilação de firmware (PlatformIO, Arduino) < 1 GB vários

Read the full file on GitHub · 112 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 15d ago First seen · 112 lines · 87 tokens per session scan A 1d1ca54067ac

Subscribe to this mod's changes

machine-resources is a skill published in the GitHub repository joaoguirunas/team-os (8 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 2,025 once invoked, about $0.0003 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-11-17.

Related

machine-resources compared with skills from other repositories

machine-resources next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
machine-resourcesjoaoguirunas/team-osSkill82d agoMITA87Claude Code
give-me-tipscode-yeongyu/oh-my-openagentSkill71ktodaynoneA45Claude Code, Codex
omo-relaycode-yeongyu/oh-my-openagentSkill71ktodaynoneA120Claude Code, Codex
skill-composer-studioOneWave-AI/claude-skillsSkill4551mo agoMITA35Claude Code, Codex
knowledge-base-builderOneWave-AI/claude-skillsSkill4551mo agoMITA31Claude Code, Codex
slack-message-formatterOneWave-AI/claude-skillsSkill4551mo agoMITA25Claude Code, Codex
embedded-stm32Mindrally/skillsSkill3231mo agoApache-2.0A87Claude Code