- Home
- Skills
- Productivity
- File Inspector
File Inspector
by snepssen
Identify true file formats, group related sidecar files, and find byte-identical duplicates using local Python tools.
Free
File Inspector
Example session with this skill installed
Before I clean up my Downloads: some files won't open, and I think I have copies of things on my Desktop too. What's actually in there? Don't move anything.
- Read your context and instructions
- Compiled the file inspector
What's in Downloads
I read the files themselves, not just their names. Nothing was moved or changed.
One file isn't what its name says
contract.docx
image/png · 8.4 KB · 1920 x 1080
Happened 2026-11-15 09:00:00 (when it arrived on this disk)
Made as screenshot
Note named .docx, which would be document/word
That's why Word won't open it: it's a
screenshot saved as a PNG with a Word extension. Renamed to end in .png it will open in any image viewer. The date is only when it arrived on this disk; the file itself doesn't say when it was taken.
What the others are
scan_0001.pdf
document/pdf · 695 B
Happened 2026-03-14 09:30:00 (when the file says it was made)
Title Invoice 1043
Made as scan
Trip.mp4
video/mp4 · 31.3 KB · 0:02 · 1280 x 720 · 2 files, read as one
The PDF names itself
Invoice 1043 and carries its own date (14 March), which is more reliable than the arrival date. A clearer name would be something like "2026-03-14 Invoice 1043".
Files that belong together
DSC_0412.NEF [1 sidecar share the stem 'dsc_0412']
DSC_0412.JPG
DSC_0412.NEF
Trip.mp4 [1 sidecar share the stem 'trip']
Trip.en.srt
Trip.mp4
Keep these pairs together when you tidy: the camera's RAW photo with its JPEG, and the video with its English subtitles.
Duplicates (Downloads and Desktop)
2 copies of 31989 bytes SHA-256 be007e52fbce29f3...
Desktop/old backup/Trip copy.mp4
Downloads/Trip.mp4
1 duplicate groups; 31989 duplicate bytes
The video in your old Desktop backup is byte-for-byte the same as the one in Downloads, despite the different name.
Next steps
- Tell me which copy of the trip video to keep. I'll move the other to the Trash (not delete it), and only once you say so.
- Want me to rename the screenshot to .png and the scan to its invoice title? I'll show you the new names first.
Connects securely to your tools. The creator never sees your data.
About this skill
File confusion leads to broken workflows, accidental deletions, and wasted storage. This skill provides read-only diagnostics to identify what files actually are, which ones belong in a set, and which are byte-for-byte duplicates.
What it does
- Format Verification identifies the true file type by bytes to catch mismatched extensions like a PNG renamed to .docx.
- Evidence Analysis extracts creation dates from photo EXIF, document metadata, or filenames, labeling the reliability of each source.
- Bundle Detection groups related files such as RAW+JPEG pairs, movie subtitles, multipart archives, and image sequences.
- Exact Duplicate Finding performs SHA-256 checksum comparisons to find byte-identical copies while ignoring symlinks and hidden entries.
- Source Tracing retrieves download origins and original document headings when recorded by the system.
How it works
- Tool Acquisition clones or curls the tools-core repository into a temporary directory and verifies the commit hash.
- File Identification runs
identify-file.pyto audit metadata, GPS tags, and camera serials for specific paths. - Relationship Mapping executes
bundle-list.pyon folders to see which sidecars and sequences must stay together. - Duplicate Analysis scans one or more directories using
exact-duplicates.pyto list identical file sets by size and hash.
Frameworks & tools
Built with Python 3.8+ using the standard library. It optionally integrates with ffprobe, exiftool, and Tesseract OCR for deeper media and document inspection.
Why this beats prompting it yourself
Standard LLMs guess file types based on names or extensions, which is often wrong. This skill uses specific byte-level analysis and checksums to provide ground-truth data from the local filesystem.
Use cases
- Troubleshoot files that refuse to open by checking their true internal format.
- Audit a messy downloads folder to find and group RAW photos with their JPEG previews.
- Reclaim disk space by identifying large byte-for-byte duplicate files across different drives.
- Verify the integrity of multipart archives or numbered image sequences before moving them.
Known limitations
Does not support file modification or deletion. Skips empty files, hidden entries, and app packages. Requires Python 3.8 and external binaries for full metadata extraction.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
- Free with an Agensi account
- Accounts
GitHub
- Software
Python 3.8+curl
Git
- Optional
- ffprobeexiftooltesseract (OCR, not needed on macOS)
Runs on macOS, Linux and Windows. The skill downloads the open-source tools-core repository from GitHub at a pinned commit, checks its SHA-256, and runs it locally. Nothing is moved, renamed, deleted or uploaded.
Permissions
Allowed Hosts
Network: one download of tools-core from github.com at a pinned commit, verified by SHA-256 before anything runs. Terminal: runs the Python tools (and ffprobe, exiftool or OCR when installed). Read files: only the files and folders you name; output can include personal details such as a document's heading or a photo's location, which stay in your session. Write files: only the temporary download, deleted afterwards. The three tools never move, rename, delete or cache your files.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.