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 wangke19/gemini-ai-helpers --skill resource-analysisgit clone --depth 1 https://github.com/wangke19/gemini-ai-helpersWrote 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/wangke19/gemini-ai-helpers/resource-analysis)<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/resource-analysis"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/resource-analysis/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/wangke19/gemini-ai-helpers/resource-analysis"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/resource-analysis.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.00047 | $0.03888 |
| Opus 5 | $0.00023 | $0.01944 |
| Sonnet 5 | $0.00009 | $0.00778 |
| Haiku 4.5 | $0.00005 | $0.00389 |
Grade A, and why
Resource Analysis 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 8d 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 — 456 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resource Analysis Skill
This skill provides detailed guidance for analyzing system resource usage from sosreport archives, including memory, CPU, disk space, and process information.
When to Use This Skill
Use this skill when:
- Analyzing the
/sosreport:analyzecommand's resource analysis phase - Investigating performance issues or resource bottlenecks
- Identifying resource exhaustion problems
- Correlating resource usage with system failures
Prerequisites
- Sosreport archive must be extracted to a working directory
- Path to the sosreport root directory must be known
- Understanding of Linux resource management
Key Resource Data Locations in Sosreport
-
Memory Information:
sos_commands/memory/free- Memory usage snapshotproc/meminfo- Detailed memory statisticssos_commands/memory/swapon_-s- Swap usageproc/buddyinfo- Memory fragmentation
-
CPU Information:
sos_commands/processor/lscpu- CPU architecture and featuresproc/cpuinfo- Detailed CPU informationsos_commands/processor/turbostat- CPU frequency and power states (if available)uptime- Load averages
-
Disk Information:
sos_commands/filesys/df_-al- Filesystem usagesos_commands/block/lsblk- Block device informationsos_commands/filesys/mount- Mounted filesystemsproc/diskstats- Disk I/O statistics
-
Process Information:
sos_commands/process/ps_auxwww- Process list with detailssos_commands/process/top- Process snapshot (if available)proc/[pid]/- Per-process information
Implementation Steps
Step 1: Analyze Memory Usage
-
Parse free command output:
# Check if free output exists if [ -f sos_commands/memory/free ]; then cat sos_commands/memory/free fi -
Extract memory metrics:
# Parse /proc/meminfo for detailed stats if [ -f proc/meminfo ]; then grep -E "^(MemTotal|MemFree|MemAvailable|Buffers|Cached|SwapTotal|SwapFree|Dirty|Slab):" proc/meminfo fi
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.
- 8d ago First seen · 456 lines · 47 tokens per session scan A 2addd3387384
Resource Analysis is a skill published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 3,888 once invoked, about $0.0002 per session on Opus 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-09-03.
Other skills, from other repositories
gcloud-usage
This skill should be used when user asks about "GCloud logs", "Cloud Logging queries", "Google Cloud metrics", "GCP observability", "trace analysis", or "debugging production issues on GCP".
spk-admin-setup-doctor
Install, verify, and repair Spec Kitty commands, skills, agent paths, runtime prerequisites, and common setup failures.
lov-fix-codex-session
A recovery tool for stuck Codex conversations, including broken tool-call records and references to a model provider that no longer exists. Codex is an AI coding assistant, and a provider is the service supplying its model.
lov-obsidian-ensure-dev-sync
A troubleshooting workflow for an Obsidian plugin development chain: building the plugin, copying its files into an Obsidian Vault, and checking hot reload. An Obsidian Vault is the folder where Obsidian stores notes and plugin files.
lov-fix-by-add-log
A debugging assistant that adds a small amount of targeted diagnostic logging and uses the resulting output to investigate a hard-to-reproduce problem.
lov-fix-general
A software troubleshooting workflow for finding the cause of an error, applying a focused fix, and checking the original failing path again.