files-sdk

Provide a unified file storage API for TypeScript/JavaScript applications.

1.5k|43|Updated May 8, 2026
One-click install
npx skills add https://github.com/haydenbleasel/files-sdk --skill files-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: files-sdk
Source: https://github.com/haydenbleasel/files-sdk/tree/main/skills/files-sdk
Command: npx skills add https://github.com/haydenbleasel/files-sdk --skill files-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws-sdk/client-s3, @google-cloud/storage, @azure/storage-blob, @vercel/blob, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a unified file storage API, enabling seamless interaction with various object and blob storage backends. It simplifies file operations such as upload, download, list, and delete across multiple providers.

Core Features & Use Cases

  • Unified API: Works across S3, R2, GCS, Azure, Vercel Blob, the local filesystem, and 40+ other providers.
  • File Operations: Upload, download, list, move, delete, copy, generate presigned URLs, and more.
  • Use Case: For a developer looking to add file storage functionality to a TypeScript/JavaScript app, this Skill provides a consistent interface to work with different storage backends without the need to learn multiple APIs.

Quick Start

Import the required adapter module from files-sdk and initialize the Files instance with the appropriate configuration.

Frequently Asked Questions about files-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use a unified file storage API for S3, GCS, and Azure in TypeScript?

A unified file storage API provides a single interface to interact with storage backends like S3, GCS, and Azure. You initialize the adapter module with provider-specific configurations to handle file operations consistently across services.

What file operations are supported across multiple storage providers?

Supported file operations across multiple storage providers include upload, download, list, move, delete, copy, and generate presigned URLs. This allows consistent file management regardless of the underlying storage backend.

Does this unified storage interface work with Cloudflare R2 and Vercel Blob?

Yes, the unified storage interface works with Cloudflare R2 and Vercel Blob, alongside S3, GCS, Azure, and the local filesystem. It supports over 40 providers to integrate various storage backends into your application.

Do I need specific SDKs to use multiple storage backends in JavaScript?

Yes, you need to install appropriate SDKs for your chosen storage provider, such as @aws-sdk/client-s3, @google-cloud/storage, or @azure/storage-blob. These dependencies enable the respective adapters to communicate with the storage backends.

What is the best way to switch from local filesystem to S3 storage?

The best way to switch from local filesystem to S3 storage is using a unified file storage API. It abstracts the provider-specific logic, allowing you to change configuration and adapters without rewriting your file operation codebase.