hai-storage

Official

Unified storage for Local and S3 via simple APIs.

Authorhai-series
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide a unified file storage interface across local filesystem and S3-compatible storage, simplifying cross-environment storage operations.

Core Features & Use Cases

  • Unified file operations: put, get, head, exists, delete, deleteMany, copy for files and directory listings via storage.dir
  • Presign and public access: generate signed URLs for client uploads and downloads, and obtain public URLs
  • Cross-backend support: LocalProvider and S3Provider with config-driven selection
  • Use cases include: user file uploads, asset management, backups, and cross-environment data migration

Quick Start

Initialize the storage system with your config and start using storage.file and storage.presign APIs for uploading and accessing files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hai-storage
Download link: https://github.com/hai-series/hai-framework/archive/main.zip#hai-storage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.