bknd-serve-files

Serve uploaded Bknd storage files via API proxy or direct URLs.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cameronapak/melos --skill bknd-serve-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bknd-serve-files
Source: https://github.com/cameronapak/melos/tree/main/.agents/skills/bknd-serve-files
Command: npx skills add https://github.com/cameronapak/melos --skill bknd-serve-files

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables secure and efficient serving of uploaded files from Bknd storage via API proxy or direct storage URLs.

Core Features & Use Cases

  • API Proxy: Serve private files through the Bknd API for controlled access.
  • Direct Storage URLs: Provide public or semi-public file URLs via S3/R2/Cloudinary with CDN support.
  • CDN & Caching: Integrate with CDN providers and set caching headers for performance.
  • Image Optimization: Leverage Cloudinary transformations for on-the-fly image optimization.
  • Frontend Delivery: Enable frontends to load media assets securely with proper access controls.

Quick Start

Configure the bknd-serve-files skill, upload a test file, and access it via /api/media/file/{filename} or the CDN URL to verify delivery.

Frequently Asked Questions about bknd-serve-files

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

FAQPage Schema
How do I serve private files securely through an API proxy?

To serve uploaded files securely via API proxy, route requests through the Bknd API at /api/media/file/{filename}, which enforces configurable access control for authenticated frontend delivery.

How do I configure CDN caching headers for frontend media delivery?

Configure CDN caching headers during direct storage URL generation to optimize frontend media delivery, integrating with your CDN provider to accelerate public file access across SPAs.

Can I use Cloudinary for on-the-fly image optimization with direct storage URLs?

Yes, you can leverage Cloudinary transformations for on-the-fly image optimization when serving files via direct storage URLs, applying dynamic resizing and format adjustments for web clients.

What is the difference between API proxy file access and direct storage URLs?

API proxy file access routes private files through the Bknd API for controlled authentication, whereas direct storage URLs expose public or semi-public assets via S3, R2, or Cloudinary with CDN support.

Does this approach support both public and authenticated file access?

Yes, the file serving mechanism supports configurable access control, allowing you to expose public media via direct URLs while restricting private file access through the API proxy.