Skip to main content
list_directory.py

Run the Example

1

Set up your virtual environment

2

Use the helper

The system-info skill executes this helper as a subprocess and passes the directory path as its first argument.
Full source: cookbook/05_agent_os/23_skills/sample_skills/system-info/scripts/list_directory.py