local-system-info
Return system metrics (CPU, RAM, disk, processes) using psutil.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- local-system-info
- metadata
- { "openclaw": { "emoji": "🖥️", "install": [ { "id": "psutil", "kind": "pip", "label": "Install psutil", "package": "psutil" } ], "version": "1.1.0", "requires": { "pip": [ "psutil" ], "bins": [ "python3" ] } } }
- description
- Return system metrics (CPU, RAM, disk, processes) using psutil.
03 SKILL.md 正文
Local System Info Skill
Monitor local system resources including CPU, memory, disk usage, and running processes.
Tool API
system_info
Retrieve system metrics.
- Parameters:
action(string, required): One ofsummary,cpu,memory,disk,processes.limit(integer, optional): Number of processes to list (default: 20). Only used withaction=processes.
Usage:
# Get full system summary
uv run --with psutil skills/local-system-info/sysinfo.py summary
# CPU metrics only
uv run --with psutil skills/local-system-info/sysinfo.py cpu
# Memory metrics only
uv run --with psutil skills/local-system-info/sysinfo.py memory
# Disk usage
uv run --with psutil skills/local-system-info/sysinfo.py disk
# List top processes by CPU usage
uv run --with psutil skills/local-system-info/sysinfo.py processes --limit 10
Output Format
summary
{
"cpu": {
"cpu_percent": 15.2,
"cpu_count": 8,
"load_avg": [0.5, 0.3, 0.2]
},
"memory": {
"total": 17179869184,
"available": 8589934592,
"percent": 50.0,
"swap_percent": 5.2
},
"disk": {
"total": 500000000000,
"used": 250000000000,
"free": 250000000000,
"percent": 50.0
}
}
processes
[
{
"pid": 1234,
"name": "python3",
"username": "user",
"cpu_percent": 5.2,
"memory_percent": 2.1
},
...
]
Metrics Explained
- cpu_percent: Current CPU utilization (0-100%)
- cpu_count: Number of logical CPU cores
- load_avg: System load average (1, 5, 15 min) normalized by CPU count
- memory.total/available: RAM in bytes
- memory.percent: RAM usage percentage
- disk.percent: Root filesystem usage percentage
- processes: Top N processes sorted by CPU usage
Requirements
- psutil: Cross-platform system monitoring library
- Python 3.6+: For f-string support and typing
Platform Support
Works on Linux, macOS, Windows, and WSL. Some metrics may vary by platform:
load_avg: Not available on Windows- Process information depth varies by OS
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.