System Info

Inspect the host operating system, Python runtime, and local files

gabrielmoreira Updated 17 repo stars

File contents

System Info Skill

Use this skill when the user asks about the host running the AgentOS process or needs a directory inventory from that host.

Available scripts

  • get_system_info.py returns the hostname, operating system, architecture, Python version and executable, processor, and current UTC time.
  • list_directory.py lists the direct children of a directory. It accepts one optional path argument and defaults to the skill directory.

Execution

Load these instructions before choosing a script. Execute a script through the skill tool and inspect its structured result:

get_skill_script(
    skill_name="system-info",
    script_path="get_system_info.py",
    execute=True,
)

To list a directory:

get_skill_script(
    skill_name="system-info",
    script_path="list_directory.py",
    execute=True,
    args=["."],
)

Only use data parsed from stdout when returncode is 0. If execution returns a nonzero code, report stderr or the JSON error instead of inferring the result.

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/agno-agi@agno/cookbook/05_agent_os/23_skills/sample_skills/system-info commit 9ef8c728ba

Frequently asked questions

npx skillmds@latest add gabrielmoreira/system-info