agentsclimarketplace

Run2 csv reporting

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3-flash-preview/dependency-vulnerability-check/run2_csv-reporting

Reliable CSV generation for security audits with automated field mapping.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_csv-reporting

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

SKILL.md

0.8 KB, 163 tokens by cl100k_base, as published. Nobody here has run it

Reliable CSV Reporting

This skill focuses on clean and error-free CSV generation.

Best Practices

  • Use csv.DictWriter for clarity and automatic field alignment.
  • Always specify newline='' when opening the file to avoid blank lines on some platforms.
  • Ensure all dictionary keys match the fieldnames list exactly.
import csv

def generate_csv_report(data_list, output_file):
    if not data_list:
        print("No data to write to CSV.")
        return

    fieldnames = list(data_list[0].keys())
    with open(output_file, 'w', newline='', encoding='utf-8') as f:
        writer = csv.DictWriter(f, fieldnames=fieldnames)
        writer.writeheader()
        writer.writerows(data_list)

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 326,871. 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.