bobo-ai-cli 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +259 -259
  3. package/bundled-skills/CORE_SKILLS.txt +18 -18
  4. package/bundled-skills/backend-expert/SKILL.md +97 -97
  5. package/bundled-skills/code-review/SKILL.md +280 -280
  6. package/bundled-skills/code-review-expert/SKILL.md +85 -85
  7. package/bundled-skills/context-budget-analyzer/SKILL.md +76 -76
  8. package/bundled-skills/context-compressor/SKILL.md +75 -75
  9. package/bundled-skills/context-optimization-suite/SKILL.md +162 -162
  10. package/bundled-skills/frontend-expert/SKILL.md +93 -93
  11. package/bundled-skills/github/SKILL.md +12 -12
  12. package/bundled-skills/high-agency/SKILL.md +473 -473
  13. package/bundled-skills/high-agency/references/builder-patterns.md +126 -126
  14. package/bundled-skills/high-agency/references/recovery-playbook.md +298 -298
  15. package/bundled-skills/memory-manager/SKILL.md +214 -214
  16. package/bundled-skills/memory-manager/references/advanced-config.md +65 -65
  17. package/bundled-skills/orchestrator/SKILL.md +681 -681
  18. package/bundled-skills/planning-with-files/SKILL.md +193 -193
  19. package/bundled-skills/skill-creator/SKILL.md +220 -220
  20. package/bundled-skills/testing-expert/SKILL.md +99 -99
  21. package/bundled-skills/verify/SKILL.md +15 -15
  22. package/dist/agent.d.ts +5 -0
  23. package/dist/agent.js +11 -1
  24. package/dist/agent.js.map +1 -1
  25. package/dist/agents/catalog.d.ts +47 -0
  26. package/dist/agents/catalog.js +63 -5
  27. package/dist/agents/catalog.js.map +1 -1
  28. package/dist/agents/router.d.ts +12 -1
  29. package/dist/agents/router.js +43 -3
  30. package/dist/agents/router.js.map +1 -1
  31. package/dist/agents/spawn.js +36 -18
  32. package/dist/agents/spawn.js.map +1 -1
  33. package/dist/autonomous.js +5 -5
  34. package/dist/cli.js +23 -21
  35. package/dist/cli.js.map +1 -1
  36. package/dist/compactor.js +39 -39
  37. package/dist/dream.js +29 -29
  38. package/dist/image-input.d.ts +44 -0
  39. package/dist/image-input.js +161 -0
  40. package/dist/image-input.js.map +1 -0
  41. package/dist/memory.js +13 -13
  42. package/dist/project.js +15 -15
  43. package/dist/repl.js +88 -0
  44. package/dist/repl.js.map +1 -1
  45. package/dist/skills.js +54 -54
  46. package/dist/sub-agents.js +65 -65
  47. package/dist/tools/browser.js +21 -21
  48. package/dist/tools/claude-code.js +10 -10
  49. package/dist/web.js +7 -7
  50. package/dist/wiki-commands.d.ts +2 -0
  51. package/dist/wiki-commands.js +249 -0
  52. package/dist/wiki-commands.js.map +1 -0
  53. package/dist/wiki.d.ts +90 -0
  54. package/dist/wiki.js +614 -0
  55. package/dist/wiki.js.map +1 -0
  56. package/knowledge/advanced-patterns.md +70 -70
  57. package/knowledge/agent-directives.md +74 -74
  58. package/knowledge/api-integration-patterns.md +102 -0
  59. package/knowledge/code-review-protocol.md +69 -0
  60. package/knowledge/dream.md +36 -36
  61. package/knowledge/engineering.md +52 -46
  62. package/knowledge/error-catalog.md +38 -33
  63. package/knowledge/event-driven-architecture.md +43 -0
  64. package/knowledge/external-alignment.md +47 -0
  65. package/knowledge/high-agency.md +73 -0
  66. package/knowledge/image-generation.md +48 -0
  67. package/knowledge/index.json +194 -169
  68. package/knowledge/llm-wiki-pattern.md +71 -0
  69. package/knowledge/long-task-management.md +79 -0
  70. package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -102
  71. package/knowledge/memory/engineering-patterns.md +134 -134
  72. package/knowledge/memory/feedback_root_structure.md +15 -15
  73. package/knowledge/memory/project-contexts.md +69 -69
  74. package/knowledge/memory/tools-and-services.md +85 -85
  75. package/knowledge/memory-management.md +72 -0
  76. package/knowledge/rules/advisor-strategy.md +204 -0
  77. package/knowledge/rules/agents.md +62 -62
  78. package/knowledge/rules/blocking-rules.md +323 -323
  79. package/knowledge/rules/cache-management.md +379 -379
  80. package/knowledge/rules/capability-evolution.md +132 -132
  81. package/knowledge/rules/coding.md +126 -126
  82. package/knowledge/rules/engineering-workflows.md +225 -225
  83. package/knowledge/rules/evomap-content-guidelines.md +354 -354
  84. package/knowledge/rules/evomap-guide.md +224 -224
  85. package/knowledge/rules/external-alignment.md +22 -0
  86. package/knowledge/rules/git.md +31 -31
  87. package/knowledge/rules/hooks.md +106 -106
  88. package/knowledge/rules/performance.md +101 -101
  89. package/knowledge/rules/remotion-auto-production.md +1120 -1120
  90. package/knowledge/rules/security.md +46 -46
  91. package/knowledge/rules/testing.md +32 -32
  92. package/knowledge/rules/work-mode.md +208 -208
  93. package/knowledge/rules.md +62 -62
  94. package/knowledge/self-evolution.md +78 -0
  95. package/knowledge/self-rationalization-guard.md +52 -0
  96. package/knowledge/skills/Skill_Seekers.md +1722 -1722
  97. package/knowledge/skills/ab-test-setup.md +557 -557
  98. package/knowledge/skills/agent-sdk-dev.md +238 -238
  99. package/knowledge/skills/agent-tools.md +136 -136
  100. package/knowledge/skills/analytics-tracking.md +597 -597
  101. package/knowledge/skills/artifacts-builder.md +89 -89
  102. package/knowledge/skills/asana.md +12 -12
  103. package/knowledge/skills/backend-expert.md +97 -97
  104. package/knowledge/skills/brand-voice.md +481 -481
  105. package/knowledge/skills/browser-use.md +419 -419
  106. package/knowledge/skills/cache-optimization-skill.md +179 -179
  107. package/knowledge/skills/canvas-design.md +147 -147
  108. package/knowledge/skills/citation-validator.md +203 -203
  109. package/knowledge/skills/clangd-lsp.md +52 -52
  110. package/knowledge/skills/code-review-expert.md +85 -85
  111. package/knowledge/skills/code-review.md +280 -280
  112. package/knowledge/skills/code-simplifier.md +12 -12
  113. package/knowledge/skills/commit-commands.md +258 -258
  114. package/knowledge/skills/competitor-alternatives.md +795 -795
  115. package/knowledge/skills/content-atomizer.md +910 -910
  116. package/knowledge/skills/content-research-writer.md +605 -605
  117. package/knowledge/skills/context-optimization-suite.md +162 -162
  118. package/knowledge/skills/context7.md +12 -12
  119. package/knowledge/skills/copy-editing.md +494 -494
  120. package/knowledge/skills/copywriting.md +510 -510
  121. package/knowledge/skills/csharp-lsp.md +40 -40
  122. package/knowledge/skills/decision-making-framework.md +154 -154
  123. package/knowledge/skills/developer-growth-analysis.md +335 -335
  124. package/knowledge/skills/direct-response-copy.md +2336 -2336
  125. package/knowledge/skills/docker-expert.md +229 -229
  126. package/knowledge/skills/document-skills.md +12 -12
  127. package/knowledge/skills/documentation-expert.md +126 -126
  128. package/knowledge/skills/email-sequence.md +1061 -1061
  129. package/knowledge/skills/email-sequences.md +910 -910
  130. package/knowledge/skills/example-plugin.md +72 -72
  131. package/knowledge/skills/explanatory-output-style.md +82 -82
  132. package/knowledge/skills/feature-dev.md +458 -458
  133. package/knowledge/skills/file-organizer.md +466 -466
  134. package/knowledge/skills/firebase.disabled.md +12 -12
  135. package/knowledge/skills/form-cro.md +488 -488
  136. package/knowledge/skills/free-tool-strategy.md +636 -636
  137. package/knowledge/skills/frontend-design-offical.md +55 -55
  138. package/knowledge/skills/frontend-design.md +41 -41
  139. package/knowledge/skills/frontend-expert.md +93 -93
  140. package/knowledge/skills/github.md +12 -12
  141. package/knowledge/skills/gitlab.md +12 -12
  142. package/knowledge/skills/gopls-lsp.md +32 -32
  143. package/knowledge/skills/got-controller.md +218 -218
  144. package/knowledge/skills/greptile.md +72 -72
  145. package/knowledge/skills/hookify.md +376 -376
  146. package/knowledge/skills/image-editor.md +189 -189
  147. package/knowledge/skills/image-enhancer.md +109 -109
  148. package/knowledge/skills/jdtls-lsp.md +49 -49
  149. package/knowledge/skills/json-canvas.md +654 -654
  150. package/knowledge/skills/keyword-research.md +559 -559
  151. package/knowledge/skills/kotlin-lsp.md +28 -28
  152. package/knowledge/skills/laravel-boost.md +12 -12
  153. package/knowledge/skills/launch-strategy.md +394 -394
  154. package/knowledge/skills/lead-magnet.md +393 -393
  155. package/knowledge/skills/learning-output-style.md +106 -106
  156. package/knowledge/skills/linear.md +12 -12
  157. package/knowledge/skills/lua-lsp.md +47 -47
  158. package/knowledge/skills/marketing-ideas.md +720 -720
  159. package/knowledge/skills/marketing-psychology.md +534 -534
  160. package/knowledge/skills/mcp-builder.md +369 -369
  161. package/knowledge/skills/meeting-insights-analyzer.md +347 -347
  162. package/knowledge/skills/memory-evolution-system.md +172 -172
  163. package/knowledge/skills/multi-lens-thinking.md +407 -407
  164. package/knowledge/skills/nano-banana-pro.md +116 -116
  165. package/knowledge/skills/newsletter.md +736 -736
  166. package/knowledge/skills/notebooklm.md +296 -296
  167. package/knowledge/skills/obsidian-bases.md +634 -634
  168. package/knowledge/skills/obsidian-markdown.md +651 -651
  169. package/knowledge/skills/onboarding-cro.md +494 -494
  170. package/knowledge/skills/orchestrator.md +681 -681
  171. package/knowledge/skills/page-cro.md +379 -379
  172. package/knowledge/skills/paid-ads.md +624 -624
  173. package/knowledge/skills/paywall-upgrade-cro.md +651 -651
  174. package/knowledge/skills/php-lsp.md +36 -36
  175. package/knowledge/skills/planning-with-files.md +193 -193
  176. package/knowledge/skills/playwright.md +12 -12
  177. package/knowledge/skills/plugin-dev.md +434 -434
  178. package/knowledge/skills/popup-cro.md +520 -520
  179. package/knowledge/skills/positioning-angles.md +330 -330
  180. package/knowledge/skills/pr-review-toolkit.md +359 -359
  181. package/knowledge/skills/pricing-strategy.md +777 -777
  182. package/knowledge/skills/programmatic-seo.md +714 -714
  183. package/knowledge/skills/pyright-lsp.md +43 -43
  184. package/knowledge/skills/quality-assurance-framework.md +168 -168
  185. package/knowledge/skills/question-refiner.md +160 -160
  186. package/knowledge/skills/ralph-loop.md +205 -205
  187. package/knowledge/skills/refactoring-expert.md +103 -103
  188. package/knowledge/skills/referral-program.md +668 -668
  189. package/knowledge/skills/research-executor.md +164 -164
  190. package/knowledge/skills/review-with-security.md +12 -12
  191. package/knowledge/skills/rust-analyzer-lsp.md +50 -50
  192. package/knowledge/skills/schema-markup.md +647 -647
  193. package/knowledge/skills/security-audit-expert.md +124 -124
  194. package/knowledge/skills/security-expert.md +140 -140
  195. package/knowledge/skills/security-guidance.md +12 -12
  196. package/knowledge/skills/seedance-prompt.md +139 -139
  197. package/knowledge/skills/self-evolution.md +1160 -1160
  198. package/knowledge/skills/seo-audit.md +432 -432
  199. package/knowledge/skills/seo-content.md +787 -787
  200. package/knowledge/skills/serena.md +12 -12
  201. package/knowledge/skills/signup-flow-cro.md +409 -409
  202. package/knowledge/skills/skill-creator.md +220 -220
  203. package/knowledge/skills/skill-manager.md +226 -226
  204. package/knowledge/skills/skill-share.md +98 -98
  205. package/knowledge/skills/slack.md +12 -12
  206. package/knowledge/skills/social-content.md +878 -878
  207. package/knowledge/skills/spec-flow-skill.md +124 -124
  208. package/knowledge/skills/stripe.md +12 -12
  209. package/knowledge/skills/supabase.md +12 -12
  210. package/knowledge/skills/swift-lsp.md +40 -40
  211. package/knowledge/skills/synthesizer.md +236 -236
  212. package/knowledge/skills/template-skill.md +16 -16
  213. package/knowledge/skills/testing-expert.md +99 -99
  214. package/knowledge/skills/theme-factory.md +72 -72
  215. package/knowledge/skills/tiktok-research.md +208 -208
  216. package/knowledge/skills/typescript-lsp.md +36 -36
  217. package/knowledge/skills/ui-ux-pro-max.md +247 -247
  218. package/knowledge/skills/verify.md +15 -15
  219. package/knowledge/skills/visual-prompt-engineer.md +102 -102
  220. package/knowledge/skills/webapp-testing.md +111 -111
  221. package/knowledge/skills/wide-research.md +191 -191
  222. package/knowledge/system.md +93 -93
  223. package/knowledge/task-router.md +46 -37
  224. package/knowledge/verification.md +38 -38
  225. package/knowledge/worker-prompt-craft.md +66 -0
  226. package/knowledge/workflows/3d-viz.md +47 -47
  227. package/knowledge/workflows/data-pipeline.md +47 -47
  228. package/knowledge/workflows/db-migration.md +51 -51
  229. package/knowledge/workflows/feature-dev.md +41 -41
  230. package/knowledge/workflows/tdd-flow.md +52 -52
  231. package/knowledge/workflows/ui-verify.md +51 -51
  232. package/package.json +74 -74
  233. package/dist/claude-bridge.d.ts +0 -18
  234. package/dist/claude-bridge.js +0 -91
  235. package/dist/claude-bridge.js.map +0 -1
  236. package/dist/tools/claude-bridge-tool.d.ts +0 -4
  237. package/dist/tools/claude-bridge-tool.js +0 -44
  238. package/dist/tools/claude-bridge-tool.js.map +0 -1
@@ -1,466 +1,466 @@
1
- ---
2
- id: "file-organizer"
3
- title: "File Organizer"
4
- category: "dev-tools"
5
- tags: ["file organizer", "when to use this skill", "what this skill does", "how to use", "instructions", "examples", "analysis of ~/projects", "current structure issues", "proposed structure", "specific changes"]
6
- triggers: []
7
- dependencies: []
8
- source: "E:/Bobo's Coding cache/.claude/skills/file-organizer"
9
- ---
10
-
11
- ---
12
- name: file-organizer
13
- description: Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
14
- ---
15
-
16
- # File Organizer
17
-
18
- This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.
19
-
20
- ## When to Use This Skill
21
-
22
- - Your Downloads folder is a chaotic mess
23
- - You can't find files because they're scattered everywhere
24
- - You have duplicate files taking up space
25
- - Your folder structure doesn't make sense anymore
26
- - You want to establish better organization habits
27
- - You're starting a new project and need a good structure
28
- - You're cleaning up before archiving old projects
29
-
30
- ## What This Skill Does
31
-
32
- 1. **Analyzes Current Structure**: Reviews your folders and files to understand what you have
33
- 2. **Finds Duplicates**: Identifies duplicate files across your system
34
- 3. **Suggests Organization**: Proposes logical folder structures based on your content
35
- 4. **Automates Cleanup**: Moves, renames, and organizes files with your approval
36
- 5. **Maintains Context**: Makes smart decisions based on file types, dates, and content
37
- 6. **Reduces Clutter**: Identifies old files you probably don't need anymore
38
-
39
- ## How to Use
40
-
41
- ### From Your Home Directory
42
-
43
- ```
44
- cd ~
45
- ```
46
-
47
- Then run Claude Code and ask for help:
48
-
49
- ```
50
- Help me organize my Downloads folder
51
- ```
52
-
53
- ```
54
- Find duplicate files in my Documents folder
55
- ```
56
-
57
- ```
58
- Review my project directories and suggest improvements
59
- ```
60
-
61
- ### Specific Organization Tasks
62
-
63
- ```
64
- Organize these downloads into proper folders based on what they are
65
- ```
66
-
67
- ```
68
- Find duplicate files and help me decide which to keep
69
- ```
70
-
71
- ```
72
- Clean up old files I haven't touched in 6+ months
73
- ```
74
-
75
- ```
76
- Create a better folder structure for my [work/projects/photos/etc]
77
- ```
78
-
79
- ## Instructions
80
-
81
- When a user requests file organization help:
82
-
83
- 1. **Understand the Scope**
84
-
85
- Ask clarifying questions:
86
- - Which directory needs organization? (Downloads, Documents, entire home folder?)
87
- - What's the main problem? (Can't find things, duplicates, too messy, no structure?)
88
- - Any files or folders to avoid? (Current projects, sensitive data?)
89
- - How aggressively to organize? (Conservative vs. comprehensive cleanup)
90
-
91
- 2. **Analyze Current State**
92
-
93
- Review the target directory:
94
-
95
- ```bash
96
- # Get overview of current structure
97
- ls -la [target_directory]
98
-
99
- # Check file types and sizes
100
- find [target_directory] -type f -exec file {} \; | head -20
101
-
102
- # Identify largest files
103
- du -sh [target_directory]/* | sort -rh | head -20
104
-
105
- # Count file types
106
- find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
107
- ```
108
-
109
- Summarize findings:
110
- - Total files and folders
111
- - File type breakdown
112
- - Size distribution
113
- - Date ranges
114
- - Obvious organization issues
115
-
116
- 3. **Identify Organization Patterns**
117
-
118
- Based on the files, determine logical groupings:
119
-
120
- **By Type**:
121
- - Documents (PDFs, DOCX, TXT)
122
- - Images (JPG, PNG, SVG)
123
- - Videos (MP4, MOV)
124
- - Archives (ZIP, TAR, DMG)
125
- - Code/Projects (directories with code)
126
- - Spreadsheets (XLSX, CSV)
127
- - Presentations (PPTX, KEY)
128
-
129
- **By Purpose**:
130
- - Work vs. Personal
131
- - Active vs. Archive
132
- - Project-specific
133
- - Reference materials
134
- - Temporary/scratch files
135
-
136
- **By Date**:
137
- - Current year/month
138
- - Previous years
139
- - Very old (archive candidates)
140
-
141
- 4. **Find Duplicates**
142
-
143
- When requested, search for duplicates:
144
-
145
- ```bash
146
- # Find exact duplicates by hash
147
- find [directory] -type f -exec md5 {} \; | sort | uniq -d
148
-
149
- # Find files with same name
150
- find [directory] -type f -printf '%f\n' | sort | uniq -d
151
-
152
- # Find similar-sized files
153
- find [directory] -type f -printf '%s %p\n' | sort -n
154
- ```
155
-
156
- For each set of duplicates:
157
- - Show all file paths
158
- - Display sizes and modification dates
159
- - Recommend which to keep (usually newest or best-named)
160
- - **Important**: Always ask for confirmation before deleting
161
-
162
- 5. **Propose Organization Plan**
163
-
164
- Present a clear plan before making changes:
165
-
166
- ```markdown
167
- # Organization Plan for [Directory]
168
-
169
- ## Current State
170
-
171
- - X files across Y folders
172
- - [Size] total
173
- - File types: [breakdown]
174
- - Issues: [list problems]
175
-
176
- ## Proposed Structure
177
- ```
178
-
179
- [Directory]/
180
- ├── Work/
181
- │ ├── Projects/
182
- │ ├── Documents/
183
- │ └── Archive/
184
- ├── Personal/
185
- │ ├── Photos/
186
- │ ├── Documents/
187
- │ └── Media/
188
- └── Downloads/
189
- ├── To-Sort/
190
- └── Archive/
191
-
192
- ```
193
-
194
- ## Changes I'll Make
195
-
196
- 1. **Create new folders**: [list]
197
- 2. **Move files**:
198
- - X PDFs → Work/Documents/
199
- - Y images → Personal/Photos/
200
- - Z old files → Archive/
201
- 3. **Rename files**: [any renaming patterns]
202
- 4. **Delete**: [duplicates or trash files]
203
-
204
- ## Files Needing Your Decision
205
-
206
- - [List any files you're unsure about]
207
-
208
- Ready to proceed? (yes/no/modify)
209
- ```
210
-
211
- 6. **Execute Organization**
212
-
213
- After approval, organize systematically:
214
-
215
- ```bash
216
- # Create folder structure
217
- mkdir -p "path/to/new/folders"
218
-
219
- # Move files with clear logging
220
- mv "old/path/file.pdf" "new/path/file.pdf"
221
-
222
- # Rename files with consistent patterns
223
- # Example: "YYYY-MM-DD - Description.ext"
224
- ```
225
-
226
- **Important Rules**:
227
- - Always confirm before deleting anything
228
- - Log all moves for potential undo
229
- - Preserve original modification dates
230
- - Handle filename conflicts gracefully
231
- - Stop and ask if you encounter unexpected situations
232
-
233
- 7. **Provide Summary and Maintenance Tips**
234
-
235
- After organizing:
236
-
237
- ````markdown
238
- # Organization Complete! ✨
239
-
240
- ## What Changed
241
-
242
- - Created [X] new folders
243
- - Organized [Y] files
244
- - Freed [Z] GB by removing duplicates
245
- - Archived [W] old files
246
-
247
- ## New Structure
248
-
249
- [Show the new folder tree]
250
-
251
- ## Maintenance Tips
252
-
253
- To keep this organized:
254
-
255
- 1. **Weekly**: Sort new downloads
256
- 2. **Monthly**: Review and archive completed projects
257
- 3. **Quarterly**: Check for new duplicates
258
- 4. **Yearly**: Archive old files
259
-
260
- ## Quick Commands for You
261
-
262
- ```bash
263
- # Find files modified this week
264
- find . -type f -mtime -7
265
-
266
- # Sort downloads by type
267
- [custom command for their setup]
268
-
269
- # Find duplicates
270
- [custom command]
271
- ```
272
- ````
273
-
274
- Want to organize another folder?
275
-
276
- ```
277
-
278
- ```
279
-
280
- ## Examples
281
-
282
- ### Example 1: Organizing Downloads (From Justin Dielmann)
283
-
284
- **User**: "My Downloads folder is a mess with 500+ files. Help me organize it."
285
-
286
- **Process**:
287
-
288
- 1. Analyzes Downloads folder
289
- 2. Finds patterns: work docs, personal photos, installers, random PDFs
290
- 3. Proposes structure:
291
- - Downloads/
292
- - Work/
293
- - Personal/
294
- - Installers/ (DMG, PKG files)
295
- - Archive/
296
- - ToSort/ (things needing decisions)
297
- 4. Asks for confirmation
298
- 5. Moves files intelligently based on content and names
299
- 6. Results: 500 files → 5 organized folders
300
-
301
- ### Example 2: Finding and Removing Duplicates
302
-
303
- **User**: "Find duplicate files in my Documents and help me decide which to keep."
304
-
305
- **Output**:
306
-
307
- ```markdown
308
- # Found 23 Sets of Duplicates (156 MB total)
309
-
310
- ## Duplicate Set 1: "proposal.pdf"
311
-
312
- - `/Documents/proposal.pdf` (2.3 MB, modified: 2024-03-15)
313
- - `/Documents/old/proposal.pdf` (2.3 MB, modified: 2024-03-15)
314
- - `/Desktop/proposal.pdf` (2.3 MB, modified: 2024-03-10)
315
-
316
- **Recommendation**: Keep `/Documents/proposal.pdf` (most recent in correct location)
317
- Delete the other 2 copies?
318
-
319
- [Continue for all duplicates...]
320
- ```
321
-
322
- ### Example 3: Restructuring Projects Folder
323
-
324
- **User**: "Review my ~/Projects directory and suggest improvements."
325
-
326
- **Output**:
327
-
328
- ```markdown
329
- # Analysis of ~/Projects
330
-
331
- ## Current Structure Issues
332
-
333
- - Mix of active and archived projects (3+ years old)
334
- - No consistent naming convention
335
- - Some projects at root, others in random subfolders
336
- - Duplicate folders (project-name, project-name-old, project-name-v2)
337
-
338
- ## Proposed Structure
339
- ```
340
-
341
- Projects/
342
- ├── Active/
343
- │ ├── client-work/
344
- │ ├── side-projects/
345
- │ └── learning/
346
- ├── Archive/
347
- │ ├── 2022/
348
- │ ├── 2023/
349
- │ └── 2024/
350
- └── Templates/
351
-
352
- ```
353
-
354
- ## Specific Changes
355
- 1. Move 12 projects not touched since 2022 → Archive/
356
- 2. Consolidate 4 duplicate project folders
357
- 3. Rename projects to consistent format: "client-name-project-name"
358
- 4. Create Archive for old work
359
-
360
- Want me to implement this?
361
- ```
362
-
363
- ### Example 4: Organizing Photos by Date
364
-
365
- **User**: "Organize my photo folders by year and month."
366
-
367
- **Output**: Creates structure like:
368
-
369
- ```
370
- Photos/
371
- ├── 2023/
372
- │ ├── 01-January/
373
- │ ├── 02-February/
374
- │ └── ...
375
- ├── 2024/
376
- │ ├── 01-January/
377
- │ └── ...
378
- └── Unsorted/
379
- ```
380
-
381
- Then moves photos based on EXIF data or file modification dates.
382
-
383
- ## Common Organization Tasks
384
-
385
- ### Downloads Cleanup
386
-
387
- ```
388
- Organize my Downloads folder - move documents to Documents,
389
- images to Pictures, keep installers separate, and archive files
390
- older than 3 months.
391
- ```
392
-
393
- ### Project Organization
394
-
395
- ```
396
- Review my Projects folder structure and help me separate active
397
- projects from old ones I should archive.
398
- ```
399
-
400
- ### Duplicate Removal
401
-
402
- ```
403
- Find all duplicate files in my Documents folder and help me
404
- decide which ones to keep.
405
- ```
406
-
407
- ### Desktop Cleanup
408
-
409
- ```
410
- My Desktop is covered in files. Help me organize everything into
411
- my Documents folder properly.
412
- ```
413
-
414
- ### Photo Organization
415
-
416
- ```
417
- Organize all photos in this folder by date (year/month) based
418
- on when they were taken.
419
- ```
420
-
421
- ### Work/Personal Separation
422
-
423
- ```
424
- Help me separate my work files from personal files across my
425
- Documents folder.
426
- ```
427
-
428
- ## Pro Tips
429
-
430
- 1. **Start Small**: Begin with one messy folder (like Downloads) to build trust
431
- 2. **Regular Maintenance**: Run weekly cleanup on Downloads
432
- 3. **Consistent Naming**: Use "YYYY-MM-DD - Description" format for important files
433
- 4. **Archive Aggressively**: Move old projects to Archive instead of deleting
434
- 5. **Keep Active Separate**: Maintain clear boundaries between active and archived work
435
- 6. **Trust the Process**: Let Claude handle the cognitive load of where things go
436
-
437
- ## Best Practices
438
-
439
- ### Folder Naming
440
-
441
- - Use clear, descriptive names
442
- - Avoid spaces (use hyphens or underscores)
443
- - Be specific: "client-proposals" not "docs"
444
- - Use prefixes for ordering: "01-current", "02-archive"
445
-
446
- ### File Naming
447
-
448
- - Include dates: "2024-10-17-meeting-notes.md"
449
- - Be descriptive: "q3-financial-report.xlsx"
450
- - Avoid version numbers in names (use version control instead)
451
- - Remove download artifacts: "document-final-v2 (1).pdf" → "document.pdf"
452
-
453
- ### When to Archive
454
-
455
- - Projects not touched in 6+ months
456
- - Completed work that might be referenced later
457
- - Old versions after migration to new systems
458
- - Files you're hesitant to delete (archive first)
459
-
460
- ## Related Use Cases
461
-
462
- - Setting up organization for a new computer
463
- - Preparing files for backup/archiving
464
- - Cleaning up before storage cleanup
465
- - Organizing shared team folders
466
- - Structuring new project directories
1
+ ---
2
+ id: "file-organizer"
3
+ title: "File Organizer"
4
+ category: "dev-tools"
5
+ tags: ["file organizer", "when to use this skill", "what this skill does", "how to use", "instructions", "examples", "analysis of ~/projects", "current structure issues", "proposed structure", "specific changes"]
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/file-organizer"
9
+ ---
10
+
11
+ ---
12
+ name: file-organizer
13
+ description: Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
14
+ ---
15
+
16
+ # File Organizer
17
+
18
+ This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.
19
+
20
+ ## When to Use This Skill
21
+
22
+ - Your Downloads folder is a chaotic mess
23
+ - You can't find files because they're scattered everywhere
24
+ - You have duplicate files taking up space
25
+ - Your folder structure doesn't make sense anymore
26
+ - You want to establish better organization habits
27
+ - You're starting a new project and need a good structure
28
+ - You're cleaning up before archiving old projects
29
+
30
+ ## What This Skill Does
31
+
32
+ 1. **Analyzes Current Structure**: Reviews your folders and files to understand what you have
33
+ 2. **Finds Duplicates**: Identifies duplicate files across your system
34
+ 3. **Suggests Organization**: Proposes logical folder structures based on your content
35
+ 4. **Automates Cleanup**: Moves, renames, and organizes files with your approval
36
+ 5. **Maintains Context**: Makes smart decisions based on file types, dates, and content
37
+ 6. **Reduces Clutter**: Identifies old files you probably don't need anymore
38
+
39
+ ## How to Use
40
+
41
+ ### From Your Home Directory
42
+
43
+ ```
44
+ cd ~
45
+ ```
46
+
47
+ Then run Claude Code and ask for help:
48
+
49
+ ```
50
+ Help me organize my Downloads folder
51
+ ```
52
+
53
+ ```
54
+ Find duplicate files in my Documents folder
55
+ ```
56
+
57
+ ```
58
+ Review my project directories and suggest improvements
59
+ ```
60
+
61
+ ### Specific Organization Tasks
62
+
63
+ ```
64
+ Organize these downloads into proper folders based on what they are
65
+ ```
66
+
67
+ ```
68
+ Find duplicate files and help me decide which to keep
69
+ ```
70
+
71
+ ```
72
+ Clean up old files I haven't touched in 6+ months
73
+ ```
74
+
75
+ ```
76
+ Create a better folder structure for my [work/projects/photos/etc]
77
+ ```
78
+
79
+ ## Instructions
80
+
81
+ When a user requests file organization help:
82
+
83
+ 1. **Understand the Scope**
84
+
85
+ Ask clarifying questions:
86
+ - Which directory needs organization? (Downloads, Documents, entire home folder?)
87
+ - What's the main problem? (Can't find things, duplicates, too messy, no structure?)
88
+ - Any files or folders to avoid? (Current projects, sensitive data?)
89
+ - How aggressively to organize? (Conservative vs. comprehensive cleanup)
90
+
91
+ 2. **Analyze Current State**
92
+
93
+ Review the target directory:
94
+
95
+ ```bash
96
+ # Get overview of current structure
97
+ ls -la [target_directory]
98
+
99
+ # Check file types and sizes
100
+ find [target_directory] -type f -exec file {} \; | head -20
101
+
102
+ # Identify largest files
103
+ du -sh [target_directory]/* | sort -rh | head -20
104
+
105
+ # Count file types
106
+ find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
107
+ ```
108
+
109
+ Summarize findings:
110
+ - Total files and folders
111
+ - File type breakdown
112
+ - Size distribution
113
+ - Date ranges
114
+ - Obvious organization issues
115
+
116
+ 3. **Identify Organization Patterns**
117
+
118
+ Based on the files, determine logical groupings:
119
+
120
+ **By Type**:
121
+ - Documents (PDFs, DOCX, TXT)
122
+ - Images (JPG, PNG, SVG)
123
+ - Videos (MP4, MOV)
124
+ - Archives (ZIP, TAR, DMG)
125
+ - Code/Projects (directories with code)
126
+ - Spreadsheets (XLSX, CSV)
127
+ - Presentations (PPTX, KEY)
128
+
129
+ **By Purpose**:
130
+ - Work vs. Personal
131
+ - Active vs. Archive
132
+ - Project-specific
133
+ - Reference materials
134
+ - Temporary/scratch files
135
+
136
+ **By Date**:
137
+ - Current year/month
138
+ - Previous years
139
+ - Very old (archive candidates)
140
+
141
+ 4. **Find Duplicates**
142
+
143
+ When requested, search for duplicates:
144
+
145
+ ```bash
146
+ # Find exact duplicates by hash
147
+ find [directory] -type f -exec md5 {} \; | sort | uniq -d
148
+
149
+ # Find files with same name
150
+ find [directory] -type f -printf '%f\n' | sort | uniq -d
151
+
152
+ # Find similar-sized files
153
+ find [directory] -type f -printf '%s %p\n' | sort -n
154
+ ```
155
+
156
+ For each set of duplicates:
157
+ - Show all file paths
158
+ - Display sizes and modification dates
159
+ - Recommend which to keep (usually newest or best-named)
160
+ - **Important**: Always ask for confirmation before deleting
161
+
162
+ 5. **Propose Organization Plan**
163
+
164
+ Present a clear plan before making changes:
165
+
166
+ ```markdown
167
+ # Organization Plan for [Directory]
168
+
169
+ ## Current State
170
+
171
+ - X files across Y folders
172
+ - [Size] total
173
+ - File types: [breakdown]
174
+ - Issues: [list problems]
175
+
176
+ ## Proposed Structure
177
+ ```
178
+
179
+ [Directory]/
180
+ ├── Work/
181
+ │ ├── Projects/
182
+ │ ├── Documents/
183
+ │ └── Archive/
184
+ ├── Personal/
185
+ │ ├── Photos/
186
+ │ ├── Documents/
187
+ │ └── Media/
188
+ └── Downloads/
189
+ ├── To-Sort/
190
+ └── Archive/
191
+
192
+ ```
193
+
194
+ ## Changes I'll Make
195
+
196
+ 1. **Create new folders**: [list]
197
+ 2. **Move files**:
198
+ - X PDFs → Work/Documents/
199
+ - Y images → Personal/Photos/
200
+ - Z old files → Archive/
201
+ 3. **Rename files**: [any renaming patterns]
202
+ 4. **Delete**: [duplicates or trash files]
203
+
204
+ ## Files Needing Your Decision
205
+
206
+ - [List any files you're unsure about]
207
+
208
+ Ready to proceed? (yes/no/modify)
209
+ ```
210
+
211
+ 6. **Execute Organization**
212
+
213
+ After approval, organize systematically:
214
+
215
+ ```bash
216
+ # Create folder structure
217
+ mkdir -p "path/to/new/folders"
218
+
219
+ # Move files with clear logging
220
+ mv "old/path/file.pdf" "new/path/file.pdf"
221
+
222
+ # Rename files with consistent patterns
223
+ # Example: "YYYY-MM-DD - Description.ext"
224
+ ```
225
+
226
+ **Important Rules**:
227
+ - Always confirm before deleting anything
228
+ - Log all moves for potential undo
229
+ - Preserve original modification dates
230
+ - Handle filename conflicts gracefully
231
+ - Stop and ask if you encounter unexpected situations
232
+
233
+ 7. **Provide Summary and Maintenance Tips**
234
+
235
+ After organizing:
236
+
237
+ ````markdown
238
+ # Organization Complete! ✨
239
+
240
+ ## What Changed
241
+
242
+ - Created [X] new folders
243
+ - Organized [Y] files
244
+ - Freed [Z] GB by removing duplicates
245
+ - Archived [W] old files
246
+
247
+ ## New Structure
248
+
249
+ [Show the new folder tree]
250
+
251
+ ## Maintenance Tips
252
+
253
+ To keep this organized:
254
+
255
+ 1. **Weekly**: Sort new downloads
256
+ 2. **Monthly**: Review and archive completed projects
257
+ 3. **Quarterly**: Check for new duplicates
258
+ 4. **Yearly**: Archive old files
259
+
260
+ ## Quick Commands for You
261
+
262
+ ```bash
263
+ # Find files modified this week
264
+ find . -type f -mtime -7
265
+
266
+ # Sort downloads by type
267
+ [custom command for their setup]
268
+
269
+ # Find duplicates
270
+ [custom command]
271
+ ```
272
+ ````
273
+
274
+ Want to organize another folder?
275
+
276
+ ```
277
+
278
+ ```
279
+
280
+ ## Examples
281
+
282
+ ### Example 1: Organizing Downloads (From Justin Dielmann)
283
+
284
+ **User**: "My Downloads folder is a mess with 500+ files. Help me organize it."
285
+
286
+ **Process**:
287
+
288
+ 1. Analyzes Downloads folder
289
+ 2. Finds patterns: work docs, personal photos, installers, random PDFs
290
+ 3. Proposes structure:
291
+ - Downloads/
292
+ - Work/
293
+ - Personal/
294
+ - Installers/ (DMG, PKG files)
295
+ - Archive/
296
+ - ToSort/ (things needing decisions)
297
+ 4. Asks for confirmation
298
+ 5. Moves files intelligently based on content and names
299
+ 6. Results: 500 files → 5 organized folders
300
+
301
+ ### Example 2: Finding and Removing Duplicates
302
+
303
+ **User**: "Find duplicate files in my Documents and help me decide which to keep."
304
+
305
+ **Output**:
306
+
307
+ ```markdown
308
+ # Found 23 Sets of Duplicates (156 MB total)
309
+
310
+ ## Duplicate Set 1: "proposal.pdf"
311
+
312
+ - `/Documents/proposal.pdf` (2.3 MB, modified: 2024-03-15)
313
+ - `/Documents/old/proposal.pdf` (2.3 MB, modified: 2024-03-15)
314
+ - `/Desktop/proposal.pdf` (2.3 MB, modified: 2024-03-10)
315
+
316
+ **Recommendation**: Keep `/Documents/proposal.pdf` (most recent in correct location)
317
+ Delete the other 2 copies?
318
+
319
+ [Continue for all duplicates...]
320
+ ```
321
+
322
+ ### Example 3: Restructuring Projects Folder
323
+
324
+ **User**: "Review my ~/Projects directory and suggest improvements."
325
+
326
+ **Output**:
327
+
328
+ ```markdown
329
+ # Analysis of ~/Projects
330
+
331
+ ## Current Structure Issues
332
+
333
+ - Mix of active and archived projects (3+ years old)
334
+ - No consistent naming convention
335
+ - Some projects at root, others in random subfolders
336
+ - Duplicate folders (project-name, project-name-old, project-name-v2)
337
+
338
+ ## Proposed Structure
339
+ ```
340
+
341
+ Projects/
342
+ ├── Active/
343
+ │ ├── client-work/
344
+ │ ├── side-projects/
345
+ │ └── learning/
346
+ ├── Archive/
347
+ │ ├── 2022/
348
+ │ ├── 2023/
349
+ │ └── 2024/
350
+ └── Templates/
351
+
352
+ ```
353
+
354
+ ## Specific Changes
355
+ 1. Move 12 projects not touched since 2022 → Archive/
356
+ 2. Consolidate 4 duplicate project folders
357
+ 3. Rename projects to consistent format: "client-name-project-name"
358
+ 4. Create Archive for old work
359
+
360
+ Want me to implement this?
361
+ ```
362
+
363
+ ### Example 4: Organizing Photos by Date
364
+
365
+ **User**: "Organize my photo folders by year and month."
366
+
367
+ **Output**: Creates structure like:
368
+
369
+ ```
370
+ Photos/
371
+ ├── 2023/
372
+ │ ├── 01-January/
373
+ │ ├── 02-February/
374
+ │ └── ...
375
+ ├── 2024/
376
+ │ ├── 01-January/
377
+ │ └── ...
378
+ └── Unsorted/
379
+ ```
380
+
381
+ Then moves photos based on EXIF data or file modification dates.
382
+
383
+ ## Common Organization Tasks
384
+
385
+ ### Downloads Cleanup
386
+
387
+ ```
388
+ Organize my Downloads folder - move documents to Documents,
389
+ images to Pictures, keep installers separate, and archive files
390
+ older than 3 months.
391
+ ```
392
+
393
+ ### Project Organization
394
+
395
+ ```
396
+ Review my Projects folder structure and help me separate active
397
+ projects from old ones I should archive.
398
+ ```
399
+
400
+ ### Duplicate Removal
401
+
402
+ ```
403
+ Find all duplicate files in my Documents folder and help me
404
+ decide which ones to keep.
405
+ ```
406
+
407
+ ### Desktop Cleanup
408
+
409
+ ```
410
+ My Desktop is covered in files. Help me organize everything into
411
+ my Documents folder properly.
412
+ ```
413
+
414
+ ### Photo Organization
415
+
416
+ ```
417
+ Organize all photos in this folder by date (year/month) based
418
+ on when they were taken.
419
+ ```
420
+
421
+ ### Work/Personal Separation
422
+
423
+ ```
424
+ Help me separate my work files from personal files across my
425
+ Documents folder.
426
+ ```
427
+
428
+ ## Pro Tips
429
+
430
+ 1. **Start Small**: Begin with one messy folder (like Downloads) to build trust
431
+ 2. **Regular Maintenance**: Run weekly cleanup on Downloads
432
+ 3. **Consistent Naming**: Use "YYYY-MM-DD - Description" format for important files
433
+ 4. **Archive Aggressively**: Move old projects to Archive instead of deleting
434
+ 5. **Keep Active Separate**: Maintain clear boundaries between active and archived work
435
+ 6. **Trust the Process**: Let Claude handle the cognitive load of where things go
436
+
437
+ ## Best Practices
438
+
439
+ ### Folder Naming
440
+
441
+ - Use clear, descriptive names
442
+ - Avoid spaces (use hyphens or underscores)
443
+ - Be specific: "client-proposals" not "docs"
444
+ - Use prefixes for ordering: "01-current", "02-archive"
445
+
446
+ ### File Naming
447
+
448
+ - Include dates: "2024-10-17-meeting-notes.md"
449
+ - Be descriptive: "q3-financial-report.xlsx"
450
+ - Avoid version numbers in names (use version control instead)
451
+ - Remove download artifacts: "document-final-v2 (1).pdf" → "document.pdf"
452
+
453
+ ### When to Archive
454
+
455
+ - Projects not touched in 6+ months
456
+ - Completed work that might be referenced later
457
+ - Old versions after migration to new systems
458
+ - Files you're hesitant to delete (archive first)
459
+
460
+ ## Related Use Cases
461
+
462
+ - Setting up organization for a new computer
463
+ - Preparing files for backup/archiving
464
+ - Cleaning up before storage cleanup
465
+ - Organizing shared team folders
466
+ - Structuring new project directories