Slash Command
Community

/flatten

Install
1
Install the plugin
$
npx claudepluginhub danielrosehill/claude-code-plugins --plugin home-assistant-manager

Want just this command?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Flatten the folder hierarchy.

Namespace
organization/
Command Content

Flatten the folder hierarchy.

All the files in the subfolders should be moved to this level in the filesystem.

Resolve any filename clashes by appending unique characters.

If this directory structure contains media (images or video) then after flattening the hierarchy ask me (the user) if I would like you to run a checksum based check to identify and remove any duplicates.

Stats
Stars1
Forks0
Last CommitNov 15, 2025

Other plugins with /flatten