Enable use/access to hidden files and folders starting with a dot /dotfiles/.dotfolders within Obsidian

I’m using claude code with a .claude folder where I store my prompts whenever I work with an IDE like cursor. That’s the only way for me to edit prompts. Can’t use Obsidian for everything because of the hidden files issue.
How can I enable viewing hidden files starting with a dot? I know you can’t create files starting with a dot in obsidian.

1 Like

So the way I fixed this was changing the name of the folder and then just symlinking it (on each computer I user) to the “right” name

e.g. ln -s dotkilocode .kilocode

1 Like

Use case or problem

We are using Obsidian to edit the default wiki in ADO. This is pretty straightforward using GIT to sync any changes.
However, there is a major issue with attachments (e.g. images in the markdown). While it is possible to configure in Obsidian where these images are stored, it is NOT possible to use the same folder as ADO is using:
In ADO, all attachments are kept just under the root in /.attachments
When trying to configure that folder as the default folder for attachments in Obsidian, copy-paste no longer functions. The “.attachments”-folder does not even show up in the navigation pane in Obsidian.

Proposed solution

It looks like folders named “.xxx” (starting with a dot (“.”)) are ignored in Obsidian. Removing this rule in Obsidian is probably the only change required

Current workaround (optional)

Related feature requests (optional)

Also looking forward to have a native solution to this

1 Like

+1 too. I need to sync my .claude .github .whatever coding assistants folders. Not only display them, but really sync them between the devices.

+1, quite an important feature.

Checking back in. I can’t believe it’s been a year already, and I’m thrilled to see all the support for this feature (please don’t lock the thread). I’ve now switched almost completely to Obsidian for my note taking, so I would love to see this and titlebar name customization implemented.

Please let me know if there’s some way I can help. If I can get the blessing from the maintainers, I can give it a go in implementing these changes, but if my PR will just go into a blackhole, I won’t waste my time.

1 Like

Obsidian isn’t open source, so you can’t directly contribute development effort to it, but you could attempt to implement the request as a plugin. The docs for that are here: http://docs.obsidian.md/.

+1, I attempted a plugin route to implement some of this, however, the internals of Obsidian do not seem to have access .attachments for viewing embedded attachments.

Having a publish process to find replace links and files is doable, but just another chain of things to maintain.

Implementing the .order file behind the scenes with a custom sort ui was fairly simple, however there is no hook into the default file tree view to show hidden files, nor sort files based on custom logic.

1 Like

Workaround (macOS/Linux): use a symlink so Obsidian can access dotfolders without waiting changing the app

Obsidian currently ignores folders starting with a dot (e.g. .templates, .attachments, .claude). A clean OS-level workaround is to keep the hidden folder (so other tools that expect it still work), and create a visible symlink next to it. Obsidian will index the visible name, but it will point to the same files, so everything stays in sync automatically.

Example:

# inside your vault / project folder
ln -s ".claude" "claude"
# or: ln -s ".templates" "templates"

Now you can use claude/ (or templates/, attachments/) inside Obsidian, while the “real” folder remains .claude/ etc. Any edits through either path are the same because it’s the same underlying directory.

(Windows equivalent would be a directory junction / symlink, e.g. mklink /J.)

Symlinks can cause issues when syncing to other devices, so check that before going all in on them.

This feature is even more critical now, with AI assisted coding assistants, with several dot folders like git worktrees, .claude, etc.. I create folders for AI interaction in my vault folders and name them with dot prefix. AI and I interact primarily via markdown files there. I need to be able to open these folders in obsidian. Could you please consider this? Thanks!

3 Likes

Hey, why is this plugin missing from the Community Plugins section?
I cannot find that information :frowning:

1 Like

+1… signed up only to upvote this. It’s really bad there’s no workaround for it. symlink isn’t a solution for me since i also need .attachments directory to be holding the images. I suspect there’s something internally here that blocks it from working. I’m on Windows.

1 Like

Hi everyone!
I made an account just to upvote this.
I really want to see and edit dotfiles/dotfolders in Obsidian. In my vault they’re not “junk” files, they’re skills/commands/configs for tools like OpenCode / Codex / Claude. A simple “Show dotfiles” toggle would make this so much easier.

4 Likes

+1 sync hidden folders .claude .agents etc

I see it’s been about 5 years for this issue. I’m also running into issues with Obsidian being able to read and sync my agent in the .claude and .agents folders. I’m a sync user but found some other PKMS tools that seem to work such as Nimbalyst. Originally, I was just going to switch my Obsidian FE and continue using sync but it looks like Obsidian Sync also doesn’t sync those files

+1. Our vault contains agent-specific folders and files, some of which are unfortunately stored in dot folders mandated by the tools rather than by us. The ability to access and modify these files directly from the editor would be a significant improvement.

There is a CSS workaround that is “good enough” for hiding folders with certain name (prefix, suffix, contains) Automatically hide assets folder when not focused

+1 for this. Seeing how “.obsidian” and “.trash” were recognized but hidden from the UI, one of the first things I tried doing was using “.attachments” for files, which didn’t work. I also tried the method of first manually creating the folder with my file manager, but that also unfortunately didn’t work.