agentsclimarketplace

Run2 file organization and validation

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3-flash-preview/organize-messy-files/run2_file_organization_and_validation

Safely moves files and validates the integrity of the organization process.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_file_organization_and_validation

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

SKILL.md

1.0 KB, 206 tokens by cl100k_base, as published. Nobody here has run it

File Organization and Validation Skill

Process

  1. Identify: List all files to be moved.
  2. Classify: Map each file to exactly one target folder.
  3. Pre-check: Ensure target folders exist.
  4. Execute: Move files using mv.
  5. Post-check:
    • Source directory should be empty.
    • Total number of files moved should match the initial count.
    • Each target folder should contain files corresponding to its subject.

Scripting for Success

Use a Python script to automate the extraction, classification, and moving in one pass to avoid errors.

import os, shutil
# Define paths
src = '/root/papers/all/'
dst_folders = ['LLM', 'trapped_ion_and_qc', 'black_hole', 'DNA', 'music_history']
# ... extraction and classification logic ...
# Move file
shutil.move(src_path, os.path.join('/root/', target_folder, filename))

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.