WSL2 can create symlinks pointing to files on the Windows filesystem via /mnt/c/. This enables workflows where tools on Windows (like Obsidian) manage files that WSL2 projects reference.
# Create/edit file on Windows filesystem from WSL
echo "# Project Context" > /mnt/c/Users/yourname/ObsidianVault/project-context.md
# Symlink from WSL project to Windows file
ln -s /mnt/c/Users/yourname/ObsidianVault/project-context.md ~/dev/myproject/CLAUDE.md
# Reading through symlink works
cat ~/dev/myproject/CLAUDE.md # Shows content from Windows file
# Edits in Obsidian (Windows) are immediately visible in WSL
Caveat: This works reliably when WSL reads through the symlink. The reverse (Windows following symlinks created in WSL) has known issues and may show invalid junctions.
Useful for: