file-manager
File Manager Skill
Help users find and organize files on their computer.
Find Files
# By name (case-insensitive)
find ~/Desktop ~/Documents ~/Downloads -iname "*report*" -type f 2>/dev/null
# By extension
find ~/Downloads -name "*.pdf" -type f
# By size (larger than 100MB)
find ~ -size +100M -type f 2>/dev/null | head -20
# Recently modified (last 7 days)
find ~/Documents -mtime -7 -type f | head -20
# Duplicates by size (potential dupes)
find ~/Downloads -type f -exec ls -la {} + | sort -k5 -n | uniq -d -f4
Organize
# Move all PDFs from Downloads to Documents
mv ~/Downloads/*.pdf ~/Documents/
# Create dated folder and move files
mkdir -p ~/Documents/$(date +%Y-%m-%d)
# Rename files (pattern)
for f in *.jpeg; do mv "$f" "${f%.jpeg}.jpg"; done
Cleanup
# Show large files in Downloads
du -sh ~/Downloads/* | sort -rh | head -20
# Empty trash (macOS)
rm -rf ~/.Trash/*
# Clear old downloads (older than 30 days)
find ~/Downloads -mtime +30 -type f
Compress/Extract
# Create zip
zip -r archive.zip folder/
# Create tar.gz
tar czf archive.tar.gz folder/
# Extract
unzip archive.zip
tar xzf archive.tar.gz
Tips
- Always use
trashoverrmwhen available (recoverable) - Preview file lists before bulk operations
- Ask before deleting — show what would be affected first
More from naohainezha/skill
reactions
React to the user's Telegram message with an emoji. Use when the message evokes a genuine emotional response.
28self-reflection
Daily self-reflection and personal growth. Triggered by heartbeat at end of day. Review the day's experiences, extract lessons, update personality, and write a diary entry.
6voice
Send voice messages (TTS) to the user via Telegram. Use when replying to voice messages or when a voice reply feels natural.
3scheduler
Create, manage, and delete scheduled tasks (cron jobs) and configure heartbeat. Use when users ask for reminders, recurring tasks, daily summaries, periodic checks, or anything time-based. Also manages HEARTBEAT.md for periodic awareness checks.
3thread-management
Manage chat threads — create, list, switch, delete, and search conversations. Use when users want to organize their chats.
3memory-management
Search and manage Alma's memory and conversation history. Use when the user asks about past conversations, personal facts, preferences, or anything that requires recalling information ("你知道我...吗", "我们之前聊过...", "你还记得...", "帮我找之前说的..."). Also used to store new memories and search through archived chat threads.
3