megfile
Unified file operations across S3, SFTP, HDFS, and local storage
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install megfile?โผ
Run `npx skills add megvii-research/megfile --all -g -y` in your terminal to install this skill globally for your agent.
How to read and write S3 files in Python?โผ
Use smart_open with an s3:// path, for example `smart_open('s3://bucket/key', 'w')`, after setting your AWS credentials as environment variables.
Can one API handle local and cloud storage?โผ
Yes. megfile's smart_* functions and SmartPath class work identically across local disk, S3, SFTP, HTTP, HDFS, and WebDAV paths.
Does megfile have a command line interface?โผ
Yes. Install the CLI extra and run commands like `megfile ls`, `megfile cp`, and `megfile sync` against any supported storage backend.
How to configure multiple S3 endpoints?โผ
Use `megfile config s3` with a profile name and endpoint URL, then create an alias like `tos://` to reference each endpoint in paths.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core