Guide · Agent skill
How to use the MFT Deleted File Recovery agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
This guide explains how to install and use the analyzing-mft-for-deleted-file-recovery skill, a set of instructions and helper scripts that teaches an AI agent to examine NTFS metadata on a Windows disk image for evidence of deleted files. It is written for readers who have not used agent skills before. By the end you will know what the skill does, how to add it to your agent, how to ask for it in plain language, and what it needs and where its limits are.
Quick start
- 1Download the skill ZIP. Get the ZIP for analyzing-mft-for-deleted-file-recovery from this page.
- 2Install the skill. Unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Prepare your tools. Confirm Python 3.8+, MFTECmd or analyzeMFT, and a mounting tool such as FTK Imager are available.
- 4Confirm authorization. Make sure you are authorized to examine the disk image and that you are not working on a live production system.
- 5Ask for the analysis. Describe the task in plain language, naming the image or $MFT location and the output folder.
- 6Review the CSV and flags. Check InUse = False entries, USN deletion events and any timestomping flags against the other artifacts.
- 7Document findings. Fill in assets/template.md with the deleted files, timestomping indicators and your conclusion.
What is an agent skill and what does this one do?
An agent skill is a folder of instructions and supporting files that an AI agent can load when a task matches the skill's description. This skill is for digital forensics and incident response work on Windows disk images. It guides the agent through reading the NTFS Master File Table ($MFT), which holds metadata for every file and directory on an NTFS volume.
When a file is deleted, its MFT record is marked inactive (the InUse flag is cleared), but the metadata usually remains until a new file reuses that entry. The skill also covers the USN Journal ($UsnJrnl:$J), the $LogFile, and MFT slack space, and correlating these with Recycle Bin artifacts.
- Parse the MFT with MFTECmd or analyzeMFT and look for records where InUse is False.
- Review USN Journal entries for deletion, rename and close events.
- Check $LogFile transactions for deallocation operations.
- Compare $STANDARD_INFORMATION and $FILE_NAME timestamps to look for possible timestomping.
- Match Recycle Bin $I and $R files back to MFT entries.
Install the skill (download, unzip, or upload)
Download the ZIP for this skill from this page. Unzip it into your personal skills folder at ~/.claude/skills/, or into a project's .claude/skills/ folder if you want the skill available only inside that project.
If you use the Claude apps instead of a local setup, upload the skill under Settings → Capabilities → Skills.
The skill folder contains SKILL.md (the main instructions), references/ (API reference, standards and workflows), assets/template.md (a report template), and scripts/ (agent.py and process.py).
Check the requirements before you start
The skill assumes you already have the forensic tools and evidence. It does not supply them. Confirm the following are available before you ask the agent to work on a case.
- Python 3.8 or newer, for the custom analysis scripts.
- MFTECmd (Eric Zimmerman) or analyzeMFT, to produce CSV output from the $MFT.
- A forensic disk image in E01, raw/dd, VMDK or VHDX format.
- FTK Imager, Arsenal Image Mounter or a similar tool for mounting the image.
- Timeline Explorer or Excel for viewing CSV output (optional).
- LogFileParser and RBCmd, which the workflow references.
Trigger the skill with natural requests
You do not need a special command. Describe the task in plain language that matches the skill's purpose, such as recovering evidence of deleted files, rebuilding an NTFS timeline, or checking for timestomping. The agent should load the skill when the request fits its description.
Give the agent the location of your evidence and the output folder, and say what you want to know. Results are more useful when you name the artifact (for example, the MFT or the USN Journal).
- Look at the $MFT from this image in the evidence folder and list deleted records that have a parent path in Users.
- Parse the $J file with MFTECmd and tell me which entries show file deletion.
- Check the MFT for timestomping by comparing $SI and $FN created times.
- Use the report template to summarise the deleted files I find.
MFTECmd.exe -f "C:\Evidence\$MFT" --csv C:\Output --csvf mft_full.csvUnderstand the outputs and what they mean
The skill treats the InUse column as the main first filter. InUse = False marks a deleted or reallocated record. ParentPath shows where the file was before deletion, and FileSize shows the original size, which may still be recoverable. Timestamps in $STANDARD_INFORMATION and $FILE_NAME persist after deletion, so differences between them can point to tampering.
The assets/template.md file gives you a structured report with case information, summary statistics, deleted files of interest, and a timestomping indicators table. Treat the agent's findings as leads to verify, not as a final conclusion.
Safety notes: scripts, network and authorization
This skill runs scripts (scripts/agent.py and scripts/process.py), so review them before you run them on your system. The skill does not use the network. process.py reads MFTECmd CSV output to flag deleted entries and possible timestomping.
Use this skill only on disk images you are authorized to examine. The source describes this as evidence-handling work that can raise legal and privacy issues. Do not use it on live production systems. For non-forensic recovery from a healthy drive, ordinary recovery tools are simpler and safer.
- Confirm you have authorization for the disk image and follow your case's evidence-handling rules.
- Work on copies or read-only images where possible.
- Keep the original image hash (the template has a field for SHA-256).
Tips for better results
Give the agent the exact artifact and output folder. Ask for one artifact at a time (the MFT, then the USN Journal, then $LogFile) so each set of findings is easy to check. Cross-check any timestomping result against the other artifacts before you report it.
The source also mentions correlating with Volume Shadow Copies by listing shadows with vssadmin and comparing MFT records across them. Ask the agent to do this when you need to see how a file changed over time.
- Start with the InUse = False filter, then widen the search.
- Use the references/workflows.md steps as the order of work.
- Record which tool and version produced each CSV, since outputs differ between parsers.
What people use it for
- Recovering the original name, path and size of a file deleted from a Windows user profile during an incident.
- Building a timeline of file creation, modification and deletion events on a suspect volume.
- Checking whether a file's timestamps were manipulated by comparing $STANDARD_INFORMATION and $FILE_NAME values.
- Reviewing USN Journal and $LogFile entries after the USN Journal has been cycled.
- Producing a structured deleted-file report for a case file or training exercise.
Frequently asked questions
How do I install the MFT deleted file recovery agent skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
What do I need to run this skill?
You need Python 3.8 or newer, MFTECmd or analyzeMFT to generate CSV output, a forensic disk image (E01, raw, VMDK or VHDX), and a mounting tool such as FTK Imager or Arsenal Image Mounter. Timeline Explorer or Excel is optional for viewing results.
Is the MFT deleted file recovery skill free?
The skill is licensed under Apache-2.0, as listed on this page. The forensic tools it references, such as MFTECmd and analyzeMFT, are separate projects with their own licences, which you should check before use.
Does this skill use the internet?
No. The skill is listed as not using the network. It does run Python scripts, so review scripts/agent.py and scripts/process.py before running them.
What are the alternatives to this skill?
The skill's source names MFTECmd, analyzeMFT and X-Ways Forensics for MFT analysis, and lists ntfstool as another NTFS forensics tool. Ordinary file recovery tools are simpler for a healthy drive that is not part of an investigation.
Why does the agent not find deleted files in my MFT CSV?
Check that the CSV came from the $MFT of the same volume and that the InUse column is present. Remember that a record may be reallocated by a new file, so it can show as in use even after deletion.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill is a good fit for DFIR analysts and security students who already work with Windows disk images and understand NTFS internals, and who have authorization to examine the evidence. It is not suited to live production systems, to people without authorization, or to simple recovery from a healthy drive, where standard recovery tools are easier and safer.
Download the skill