Generate file map
Skill okturan/claude-plugins/plugins/files-organizer/skills/generate-file-map
This skill should be used when the user asks to "generate a file map", "create an HTML dashboard", "visualize my files", "create a file map HTML", "update the file map", "build a storage dashboard", "map my folders", "scan my files into a dashboard", or "create a file structure report". It produces a self-contained HTML file visualizing file structure, storage usage, and organization recommendations.From its SKILL.md
npx -y skills add okturan/claude-plugins --skill generate-file-mapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.8 KB, 569 tokens by cl100k_base, as published. Nobody here has run it
Generate File Map
Create interactive, self-contained HTML dashboards that visualize file structure, storage usage, and organization recommendations for Mac file systems.
Data Gathering
To populate the dashboard with file data, run the scan scripts at ${CLAUDE_PLUGIN_ROOT}/scripts/:
scan-files.sh <directory>- Collects file inventory, directory sizes, extension censusfind-duplicates.sh <directory>- Identifies duplicate files by MD5 hashsimilar-names.sh <directory>- Finds files with similar names across directories
Template
Read and adapt the HTML template at assets/template.html. Replace HTML comments (e.g., <!-- TITLE -->, <!-- STAT CARDS -->) with actual data from the scan results. The template contains the full design system (dark theme, GitHub-inspired palette via CSS custom properties) and all component styles.
Component Patterns
Recommendation Cards
When organization recommendations are available, render action cards:
<div class="rec-card rec-[type]">
<div class="rec-header">
<span class="rec-icon">[icon]</span>
<span class="rec-title">[title]</span>
<span class="rec-impact">[size impact]</span>
</div>
<div class="rec-body">[description]</div>
<button class="copy-btn" onclick="copyCmd(this)"
data-cmd="[shell command]">Copy command</button>
</div>
Types: rec-delete (red), rec-move (blue), rec-merge (green), rec-archive (yellow)
Layout Patterns
- Stat cards: CSS grid with
auto-fit, minmax(200px, 1fr) - Storage bar: Inline
<div>segments in a flex container - Sections:
.sectioncards with.section-header(clickable) +.section-body - Collapsible content:
<details>elements for folder contents - Search: Input field filtering visible sections via JS
JavaScript Requirements
The dashboard must include:
- Section collapse - Click
.section-headerto toggle.section-body - Copy to clipboard -
copyCmd(btn)copiesdata-cmdto clipboard, shows feedback - Search filter - Input filters sections by text content
- No external dependencies - Everything inline in a single HTML file
Additional Resources
Asset Files
assets/template.html- Base HTML template with all styles, JS, and component patterns
Reference Files
references/design-system.md- CSS custom properties, file type badge classes, category tag classes
What ships with it: 2 files
11.5 KB alongside SKILL.md
assets/
- template.html9.5 KB
references/
- design-system.md2.0 KB