
System Info
- 298 installs
- 41.6k repo stars
- Updated August 4, 2026
- agno-agi/agno
system-info is an Agno agent skill that runs Python scripts to collect host OS, Python version, hostname, and directory listings for developers whose agents need quick runtime environment diagnostics during operations.
About
system-info is version 1.0.0 MIT sample skill in agno-agi/agno demonstrating Agno Skills with executable scripts. It provides 2 Python scripts: get_system_info.py returns JSON with OS, OS version, Python version, machine, processor, hostname, and current timestamp; list_directory.py lists files at a given path. Agents invoke scripts via run_skill_script("system-info", "get_system_info.py") or run_skill_script with args for directory paths. Developers reach for system-info when bootstrapping agents need startup environment snapshots, deploy validation checks, or quick filesystem inspection before running heavier debugging workflows.
- Host resource snapshots
- Environment metadata export
- Runtime diagnostics aid
- Capacity bottleneck detection
- Cross-platform system queries
System Info by the numbers
- 298 all-time installs (skills.sh)
- Ranked #173 of 550 CLI & Terminal skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/agno-agi/agno --skill system-infoAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 298 |
|---|---|
| repo stars | ★ 41.6k |
| Last updated | August 4, 2026 |
| Repository | agno-agi/agno ↗ |
How do agents collect host environment metadata?
Collect host CPU, memory, disk, and environment metadata so agents diagnose runtime issues, capacity limits, and deployment mismatches during operations.
Who is it for?
Agno agent developers who need lightweight startup diagnostics and directory inspection scripts callable via run_skill_script without custom instrumentation.
Skip if: Production APM stacks requiring metrics dashboards, log aggregation, or deep performance profiling beyond basic host metadata.
When should I use this skill?
Agent needs host OS details, Python version check, startup environment snapshot, or a quick directory listing before diagnosing runtime errors.
What you get
JSON system-info payloads with OS, Python version, hostname, processor details, and directory file listings from target paths.
- JSON host environment reports
- directory file listings
By the numbers
- Version 1.0.0 with 2 executable Python scripts
- get_system_info.py returns 7 metadata fields: os, os_version, python_version, machine, processor, hostname, current_time
Files
System Info Skill
This skill provides scripts to gather system information.
Available Scripts
get_system_info.py- Returns basic system information (OS, Python version, current time)list_directory.py- Lists files in a specified directory
Usage
1. Use run_skill_script("system-info", "get_system_info.py") to get system information 2. Use run_skill_script("system-info", "list_directory.py", args=["path"]) to list a directory
#!/usr/bin/env python3
"""Get basic system information."""
import json
import platform
import sys
from datetime import datetime
# ---------------------------------------------------------------------------
# Create Example
# ---------------------------------------------------------------------------
try:
info = {
"os": platform.system(),
"os_version": platform.version(),
"python_version": sys.version,
"machine": platform.machine(),
"processor": platform.processor(),
"current_time": datetime.now().isoformat(),
"hostname": platform.node(),
}
except Exception as e:
info = {"error": str(e)}
print(json.dumps(info, indent=2))
# ---------------------------------------------------------------------------
# Run Example
# ---------------------------------------------------------------------------
if __name__ == "__main__":
raise SystemExit("This module is intended to be imported.")
#!/usr/bin/env python3
"""List files in a directory."""
import json
import os
import sys
# ---------------------------------------------------------------------------
# Create Example
# ---------------------------------------------------------------------------
if len(sys.argv) < 2:
path = "."
else:
path = sys.argv[1]
try:
entries = []
for entry in os.listdir(path):
full_path = os.path.join(path, entry)
entries.append(
{
"name": entry,
"is_dir": os.path.isdir(full_path),
"size": os.path.getsize(full_path)
if os.path.isfile(full_path)
else None,
}
)
result = {
"path": os.path.abspath(path),
"count": len(entries),
"entries": sorted(entries, key=lambda x: (not x["is_dir"], x["name"])),
}
print(json.dumps(result, indent=2))
except Exception as e:
print(json.dumps({"error": str(e)}))
sys.exit(1)
# ---------------------------------------------------------------------------
# Run Example
# ---------------------------------------------------------------------------
if __name__ == "__main__":
raise SystemExit("This module is intended to be imported.")
Scripts Cookbook
Examples for skills/sample_skills/system-info/scripts in AgentOS.
Files
get_system_info.py— Get basic system information.list_directory.py— List files in a directory.
Prerequisites
- Load environment variables with
direnv allow(requires.envrc). - Run examples with
.venvs/demo/bin/python <path-to-file>.py. - Some examples require local services (for example Postgres, Redis, Slack, or MCP servers).
Test Log: skills/sample_skills/system-info/scripts
Tests not yet run. Run each file and update this log.
get_system_info.py
Status: PENDING
Description: Get basic system information.
---
list_directory.py
Status: PENDING
Description: List files in a directory.
---
Related skills
How it compares
Use system-info for quick Agno agent boot diagnostics; reach for full observability stacks when you need metrics, traces, and alerting beyond host metadata JSON.
FAQ
How do you run system-info scripts in Agno?
system-info scripts run via run_skill_script("system-info", "get_system_info.py") for host metadata or run_skill_script("system-info", "list_directory.py", args=["path"]) for directory listings inside an Agno agent session.
What does get_system_info.py return?
system-info get_system_info.py prints JSON with os, os_version, python_version, machine, processor, hostname, and current_time fields, or an error key if collection fails.
How many scripts does system-info include?
system-info bundles 2 executable Python scripts: get_system_info.py for host environment metadata and list_directory.py for path-based file enumeration, both at version 1.0.0 under MIT license.