kayahq/kaya/organizer

Claude Code and agent skill by kayahq/kaya

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Sort messy directories into categorized subfolders by file type. Invoke when user asks "organize my downloads", "sort files", "tidy up folder", "move files into folders", or "categorize this directory". SAFETY: never touch project roots or system directories without explicit confirmation.

Install

npx vskill@latest install kayahq/kaya/organizer

SKILL.md

The same SKILL.md was published earlier as kayahq/kaya/organizer.

File Organizer

Sorts files in a directory into subfolders by extension. Dry-run by default.

Category Mapping

CategoryExtensions
Imagesjpg, jpeg, png, gif, webp, svg, bmp, ico, heic
Videosmp4, mkv, avi, mov, wmv, flv, webm
Audiomp3, wav, flac, aac, ogg, m4a, opus
Documentspdf, doc, docx, txt, rtf, odt, xls, xlsx, ppt, pptx
Archiveszip, tar, gz, rar, 7z, bz2
Codepy, js, ts, go, java, c, cpp, h, sh, rs, rb, php
Datajson, xml, csv, yaml, yml, toml, sql, db
Booksepub, mobi, azw3, djvu
Webhtml, htm, css, js (single files)

Preview / Dry Run (Always Do First)

Always preview before moving anything:

bash
python3 -c "
import os, shutil
from pathlib import Path
src = Path('workspace/downloads') # <-- change this
categories = {
'Images': ['.jpg','.jpeg','.png','.gif','.webp','.svg','.bmp'],
'Videos': ['.mp4','.mkv','.avi','.mov','.wmv'],
'Audio': ['.mp3','.wav','.flac','.aac','.ogg'],
'Documents': ['.pdf','.doc','.docx','.txt','.rtf'],
'Archives': ['.zip','.tar','.gz','.rar','.7z'],
}
for f in src.iterdir():
if f.is_file():
ext = f.suffix.lower()
cat = 'Other'
for c, exts in categories.items():
if ext in exts:
cat = c
break
print(f'{cat}/{f.name}')
"

Execute Sort

bash
python3 -c "
import os, shutil
from pathlib import Path
src = Path('workspace/downloads') # <-- change this
log_file = Path('workspace/organizer_log.txt')
categories = {
'Images': ['.jpg','.jpeg','.png','.gif','.webp','.svg','.bmp'],
'Videos': ['.mp4','.mkv','.avi','.mov','.wmv'],
'Audio': ['.mp3','.wav','.flac','.aac','.ogg'],
'Documents': ['.pdf','.doc','.docx','.txt','.rtf'],
'Archives': ['.zip','.tar','.gz','.rar','.7z'],
'Code': ['.py','.js','.ts','.go','.sh','.rb'],
'Data': ['.json','.xml','.csv','.yaml'],
}
log = []
for f in src.iterdir():
if f.is_file():
ext = f.suffix.lower()
cat = 'Other'
for c, exts in categories.items():
if ext in exts:
cat = c
break
dest = src / cat
dest.mkdir(exist_ok=True)
if f != dest / f.name: # skip if already in right place
shutil.move(str(f), str(dest / f.name))
log.append(f'{f.name} -> {cat}/')
print(f'OK: {f.name} -> {cat}/')
with open(log_file, 'a') as l:
l.write('\n'.join(log) + '\n')
"

Undo (Roll Back)

The script logs moves to workspace/organizer_log.txt. To undo:

bash
python3 -c "
from pathlib import Path
log = Path('workspace/organizer_log.txt')
if log.exists():
for line in reversed(open(log).readlines()):
line = line.strip()
if '->' in line:
src_name, dest_cat = line.split(' -> ')
dest_cat = dest_cat.rstrip('/')
src = Path('workspace/downloads') / dest_cat / src_name
dst = Path('workspace/downloads') / src_name
if src.exists():
src.rename(dst)
print(f'Restored: {src_name}')
"

Custom Categories

Pass additional extensions via a dict. Edit the categories dict in the script to add user-specific extensions (e.g., .blend for Blender, .psd for Photoshop).

Safety Rules

  1. Always dry-run first — inspect output before executing the move
  2. Never organize `workspace/` root — only subdirectories like workspace/downloads/, workspace/temp/
  3. Confirm before touching hidden files (. prefix) or system directories
  4. Skip open files — if a file is locked/in-use, skip and report

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kayahq/kaya/organizer/badge)](https://verified-skill.com/skills/kayahq/kaya/organizer)

Something wrong with this skill or its page? Tell us.