lunora-setup-storage

Configure Cloudflare R2 bucket bindings and HMAC-signed URL workflows for Lunora file storage.

214|7|Updated May 29, 2026
One-click install
npx skills add https://github.com/anolilab/lunora --skill lunora-setup-storage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lunora-setup-storage
Source: https://github.com/anolilab/lunora/tree/main/packages/cli/skills/lunora-setup-storage
Command: npx skills add https://github.com/anolilab/lunora --skill lunora-setup-storage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the complexity of managing file uploads and downloads in a serverless environment by providing a secure, direct-to-storage workflow that avoids proxying bytes through your backend.

Core Features & Use Cases

  • Direct Uploads: Enables clients to upload files directly to Cloudflare R2 using signed URLs, bypassing the Worker.
  • Gated Downloads: Provides secure, HMAC-signed URLs for private content, ensuring only authorized users can access specific files.
  • Use Case: Perfect for building user avatar systems, document attachments, or private media libraries where performance and security are critical.

Quick Start

Run the lunora registry add storage command in your terminal to scaffold the necessary R2 bindings and storage helper functions into your project.

Frequently Asked Questions about lunora-setup-storage

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

FAQPage Schema
How do I configure direct file uploads to Cloudflare R2 in a Lunora backend?

Direct file uploads to Cloudflare R2 are configured by setting up R2 bucket bindings and implementing HMAC-signed URL workflows, allowing clients to upload directly to storage while bypassing the Worker.

What is the best way to securely serve private media from R2 storage?

The best way to securely serve private media from R2 storage is by generating HMAC-signed URLs for gated downloads, ensuring only authorized users can access specific files without exposing the objects publicly.

Do I need to set up environment variables for HMAC signing secrets to use R2 storage?

Yes, you need to configure environment variables for HMAC signing secrets in your Lunora application to securely generate the signed URLs required for direct uploads and gated downloads.

How does direct-to-storage file management avoid proxying bytes through a serverless backend?

Direct-to-storage file management avoids proxying bytes by providing clients with signed URLs to interact directly with Cloudflare R2, which improves performance and reduces backend compute overhead.

Can I use this R2 storage integration for user avatar systems and document attachments?

Yes, this R2 storage integration is designed for user avatar systems, document attachments, and private media libraries where secure, direct-to-storage file operations and performance are critical.