Search years of research files in an Obsidian vault
Claude Code, guided by a CLAUDE.md, searches research papers, scans and PDFs via Spotlight, extracts text, and files daily notes in dated folders.
Done withClaude Code
- What they did
- Mauricio Gomes runs Claude Code from his Obsidian vault, where a CLAUDE.md is loaded each session. It describes how the vault is organized and points to a folder of interest files. Claude searches notes and PDFs with macOS Spotlight (mdfind), extracts document text with textutil, and files daily notes into dated folders, creating them if needed. Research results go into a research folder.
- How it went
- It finds old scanned PDFs and papers, files notes correctly, and focuses research on his stated interests. The source gives no accuracy figures or failure cases; the screenshots are the evidence.
- Worth knowing
- He estimates about an hour of setup. It relies on macOS Spotlight indexing, so the search approach is Mac-specific.
Try it yourself with Claude Code
Search my research folder at [folder path], including PDFs and scanned documents, for everything related to [topic]. Extract the relevant passages with file names and page numbers, and write a summary note in a dated folder. Stop when the note lists sources for every claim, and do not move or edit my original files.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: mauriciogomes.com · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Run persistent financial research with an agent
LangAlpha is a Claude Code-style agent for investing research that keeps persistent workspaces and memory so analysis such as models and comps can be updated across sessions.
Custom agent
Research and draft a social science paper with Deep Research
Author used ChatGPT Deep Research and Agent Mode for research help and writing assistance while writing an academic social science paper.
Save AI Q&A summaries into git repos as persistent notes
A user has ChatGPT use the GitHub MCP server and per-repo AGENTS.md files to write summaries of discussions and decisions into their repos.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.