File Agent — Development skill for Claude Code
Windows Downloads organizer powered by Claude.
How to install File Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open FedeTeva/File-Agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What File Agent does
Windows Downloads organizer powered by Claude. A tool use agent reads each new file, scans your existing folders, and proposes a destination you approve in a popup. Two knowledge graphs sharpen its picks: a networkx graph that learns from every move you confirm, and a nightly keyword index of what lives in your Documents folders. Starts at logon.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Magnitude — Open source inference server your agent sets up for you 1.5k ★
- Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★
README
File Organizer Agent
A Windows Downloads organizer powered by Claude. A tool use agent reads each new file, scans your existing folders, and proposes a destination that you approve in a popup. Two knowledge graphs sharpen its picks over time: a networkx graph that learns from every move you confirm, and a nightly keyword index of what lives in your Documents folders.
How it works
- Watch.
watcher.pymonitors your Downloads folder. It skips partial downloads (.crdownload,.part,.tmp,.download) and waits until the file size stops changing. - Gather context.
graph_context.pyasks both graphs for hints:- Behavioral graph (
graph_behavior.py): which folders you have sent similar files to before, matched on extension plus filename keywords. Recent moves count more (scores decay by 10% per day, capped at 90 days). - Semantic index (
graph_semantic.py): which folders in Documents contain files whose names share keywords with the new file.
- Behavioral graph (
- Decide.
agent.pyruns Claude (Sonnet) with three tools:get_file_info(name, extension, size, MIME type, text preview),scan_directory(your existing folder tree), andpropose_destination. It only proposes folders that already exist. - Confirm.
notifier.pyshows a popup with the suggestion and a one sentence reason. Choose Move, Choose Folder, or Skip. Name collisions get a numbered suffix likereport (1).pdf. - Learn. Every confirmed move is written to the behavioral graph immediately. The semantic index rebuilds every night at 02:00.
Downloads ─► watcher.py ─► agent.py ◄─ graph_context.py ◄─┬─ graph_behavior.py (per move)
│ └─ graph_semantic.py (nightly)
notifier.py ─► confirmed move ─► graph_behavior.record()
Requirements
- Windows 10 or 11
- Python 3.10 or newer (developed on 3.14)
- An Anthropic API key
Setup
Install dependencies:
p
Related Skills
Claude Workforce
Staff a Claude Code project with a company of agents. It reads what your project actually does, proposes the s
File Organizer
Intelligently organizes your files and folders across your computer by understanding context, finding duplicat
Invoice Organizer
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key infor
School File Organizer
Set up a course's folders from its syllabus, or file newly dropped course documents.
Rogue Workspace Hygiene Skill
Organize personal folders (Downloads, Desktop, Documents, arbitrary paths) by file category or by face cluster
Lisa
Persistent memory for Claude Code - powered by Graphiti knowledge graphs
Related Agents
Onedrive Organizer
Sorts loose files in OneDrive/Documents, OneDrive/Download, OneDrive root, and Mac ~/Downloads into the correc
Workspace Organizer
Reorganises a large or messy Nemi workspace end to end: surveys every folder, proposes a structure, and after
Metric Optimizer
Bounded metric-ratchet specialist for direction-not-destination work — proposes a change, applies it, runs the