A Python utility for copying relevant project files to a directory to be easily uploaded to Claude, Anthropic's AI assistant. It selectively copies fi

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-11-14 16:00:06

A Python utility for copying relevant project files to a directory to be easily uploaded to Claude, Anthropic's AI assistant. It selectively copies files based on extensions and .gitignore rules, organizing them into a target folder for easy uploading. It commits all the files in that folder to a git repository so they're not lost, deletes them, and then copies the updated files to that folder. This allows you to upload your latest file states to a Claude project without having to manually click through all your folders to select and upload specific files.

This tool is particularly useful when you need to share specific files/file types in your project with claude without wanting to iterate through each subdirectory each time.

Once this is done you can go into claude project, delete your existing files, go to the target folder you specified, and upload all files there.

This tool was created specifically for preparing files to share with Claude. It's being shared on GitHub and Hacker News to help others who frequently interact with Claude and need to organize their file sharing.

Leave a Comment