codex-mac-file-detective
v0.1.0
Published
A privacy-first Codex skill that finds forgotten Mac files from vague natural-language clues.
Maintainers
Readme
Codex Mac File Detective
A privacy-first Codex skill that finds forgotten or misplaced Mac files from the clues you remember, even when you do not know the filename or folder.
Describe the content, approximate date, file type, creating application, project, color, logo, or visual layout. Mac File Detective combines local Spotlight evidence, filenames, document text, metadata, dates, and optional Quick Look inspection to return a short ranked list with an explanation for every candidate.
Install
npx --yes codex-mac-file-detective@latestRestart Codex after installation. The skill requires macOS.
Use
Use $mac-file-detective to find the screenshot with a green pricing table that I saved last month.Other examples:
Find the PDF invoice from the design supplier I downloaded around March.Find the presentation about customer onboarding that I edited in Keynote last summer.Find the code file where I wrote the retry logic for failed uploads.What it searches
- Filename and parent folders
- Spotlight-indexed content
- Text inside common documents and Office files
- Creation and modification dates
- File kind and extension
- Creator and author metadata
- Local Quick Look previews for visual clues
The result is saved to:
outputs/mac-file-detective/search.json
outputs/mac-file-detective/previews/
outputs/mac-file-detective/FILE-DETECTIVE-REPORT.mdThe Markdown report opens directly in Codex and contains clickable local paths, sanitized excerpts, preview images, match evidence, the searched scope, and limitations.
Privacy and safety
Search remains local and read-only. The skill does not upload, move, rename, delete, edit, open, or permanently index files. It searches only the stated folders and excludes sensitive system locations, hidden folders, credential stores, private keys, browser profiles, Mail stores, dependency trees, caches, and application bundles by default.
Manual installation
git clone https://github.com/Kappaemme-git/codex-mac-file-detective.git
mkdir -p ~/.codex/skills
cp -R codex-mac-file-detective/mac-file-detective ~/.codex/skills/mac-file-detectiveLicense
MIT
