跳到正文
FunCoding

system-info

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

Star
43,347
许可证
Apache-2.0
最近提交
2026年12月1日

cookbook/05_agent_os/23_skills/sample_skills/system-info/SKILL.md

在 GitHub 上查看

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.

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 7,690 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 4,217 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 4,217 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 4,217 个 star

code-review

MAmattpocock/skills336k近 7 天新增 4,217 个 star

implement

MAmattpocock/skills336k近 7 天新增 4,217 个 star