Loading...
Loading...
Obsidian Knowledge Base Organization Workflow. Trigger scenarios: When users mention "organize Obsidian", "clean up folders", "messy knowledge base", "too many directories", "merge categories". Applicable to: Personal knowledge management, note organization, folder restructuring.
npx skill4agent add muzhicaomingwang/ai-ideas obsidian-organize| Category | Naming | Included Content |
|---|---|---|
| Inbox | | Uncategorized notes, temporary files, pending content |
| Attachments | | Images, PDFs, audio and other media files |
| Journal | | Daily journals, weekly reviews, monthly retrospectives, annual summaries |
| Reading | | Book notes, article excerpts, podcast records |
| Work | | Work projects, meeting minutes, team shares |
| Tech | | Technical notes, code snippets, tool configurations |
| People | | Person profiles, social relationships, contact information |
| Projects | | Personal projects, side hustles, entrepreneurial ideas |
| Growth | | Cognitive improvement, study plans, skill development |
Note: Theprefix ensures system folders are displayed first_
~/Documents/Obsidian Vault/# View directory structure
ls -la "/path/to/Obsidian Vault/"
# Count files in each folder
for dir in "/path/to/Obsidian Vault/"*/; do
echo "$(basename "$dir"): $(find "$dir" -type f | wc -l) files"
done| Original Folder | Target Category | Action |
|-----------------|-----------------|--------|
| 日记/ | Journal | Merge |
| 当日日记/ | Journal | Merge |
| books/ | Reading | Merge |
| 读书/ | Reading | Merge |
| QAL分享/ | Work | Merge |
| 临时文件/ | _Inbox | Merge |# 1. Create target directory if it doesn't exist
mkdir -p "/path/to/Obsidian Vault/TargetFolder"
# 2. Copy contents from source folder to target
cp -r "/path/to/Obsidian Vault/SourceFolder/"* "/path/to/Obsidian Vault/TargetFolder/"
# 3. Delete source folder after confirming successful copy
rm -rf "/path/to/Obsidian Vault/SourceFolder"VAULT="/Users/xxx/Documents/Obsidian Vault"
# Merge journal-related folders
mkdir -p "$VAULT/Journal"
cp -r "$VAULT/日记/"* "$VAULT/Journal/" 2>/dev/null
cp -r "$VAULT/当日日记/"* "$VAULT/Journal/" 2>/dev/null
rm -rf "$VAULT/日记" "$VAULT/当日日记"
# Merge reading-related folders
mkdir -p "$VAULT/Reading"
cp -r "$VAULT/books/"* "$VAULT/Reading/" 2>/dev/null
cp -r "$VAULT/读书/"* "$VAULT/Reading/" 2>/dev/null
rm -rf "$VAULT/books" "$VAULT/读书"# Count final structure
ls -d "$VAULT"/*/ | wc -l
# Find empty directories
find "$VAULT" -type d -empty# Error
cd /path/Obsidian Vault # Will fail
# Correct
cd "/path/Obsidian Vault"# Folder name starts with space (e.g., " books")
rm -rf "/path/ books" # Include the space# Use rm -rf instead of rmdir
rm -rf "/path/to/folder"# Use -n to avoid overwriting
cp -rn source/* dest/
# Or use rsync for finer control
rsync -av --ignore-existing source/ dest/APP.ai/
Memory Engineering/
QAL分享/
books/
secondme/
信息熵/
当日日记/
日记/
读书/
鲲鹏会/
... (Total 20+)_Inbox/ # Temporary files
_attachments/ # Attachments
AI-Engineering/ # AI Technology
Cognitive-Growth/# Cognitive Growth
Journal/ # Journal
People/ # People
Reading/ # Reading
Tech-Foundation/ # Technical Foundation
Travel-Product/ # Travel Products
Work-Sharing/ # Work SharingUser: My Obsidian is too messy, help me organize it
Claude:
1. [Locate Vault path]
2. [Count existing folders]
3. [Develop merge plan]
4. [Execute after user confirmation]
5. [Verify results]User: Organize my Obsidian into no more than 7 categories
Claude:
1. [Analyze current structure]
2. [Design 7-category scheme]
3. [Show merge mapping table]
4. [Execute and verify].obsidian/