Openclawx file-organizer
Organizes, categorizes, and renames files in a directory based on user instructions. Uses bash commands to move, copy, or rename files.
install
source · Clone the upstream repo
git clone https://github.com/next-open-ai/openclawx
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/next-open-ai/openclawx "$T" && mkdir -p ~/.claude/skills && cp -r "$T/presets/workspaces/file-assistant/skills/file-organizer" ~/.claude/skills/next-open-ai-openclawx-file-organizer && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/next-open-ai/openclawx "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/presets/workspaces/file-assistant/skills/file-organizer" ~/.openclaw/skills/next-open-ai-openclawx-file-organizer && rm -rf "$T"
manifest:
presets/workspaces/file-assistant/skills/file-organizer/SKILL.mdsource content
File Organizer Skill
Use this skill when the user asks to organize, categorize, or rename files in a specific directory.
Workflow
- Use
orls
to list the files in the target directory to understand the current structure and file types.find - Based on the user's intent (e.g., "group by extension", "sort images by date"), formulate a plan using
commands likebash
,mkdir
,mv
, orcp
.rename - Before executing destructive commands (like moving or renaming many files), EXPLICITLY confirm the plan with the user by asking for permission using the
tool unless the user has already explicitly authorized it.notify_user - Execute the bash script to organize the files.
- Verify the result using
and report back to the user.ls -la