agentsclimarketplace

Run3 list directory files

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-sonnet-4-6/stock-data-visualization/run3_list-directory-files

Use when you need to enumerate files in a directory, optionally filtering by extension. Returns sorted list of file paths.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_list-directory-files

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.7 KB, 122 tokens by cl100k_base, as published. Nobody here has run it

Listing Directory Files

import os
import glob

# List all files in a directory
files = os.listdir('/root/data/indiv-stock/')
print(sorted(files))

# List with full paths by extension
csv_files = glob.glob('/root/data/indiv-stock/*.csv')
csv_files.sort()
print(csv_files)

# Walk directory recursively
for root, dirs, files in os.walk('/root/data/'):
    for f in files:
        print(os.path.join(root, f))

Use glob for pattern matching, os.listdir for simple enumeration.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.