backend-file-storage

backend-file-storage is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 66 tokens per session (5,546 once invoked), scanned A, original, MIT.

A guide for designing systems that accept, store, process, and deliver files using services such as S3, Azure Blob, or Google Cloud Storage.

In plain words
What is it for?
It helps plan upload flows, storage keys, signed URLs, file validation, virus scanning, image processing, and CDN caching.
Why use it?
It helps keep uploads secure and efficient while handling validation, private access, processing, and delivery through a CDN.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex.

Good fit It helps plan upload flows, storage keys, signed URLs, file validation, virus scanning, image processing, and CDN caching.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/file-storage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add j4flmao/agent-skills --skill file-storage
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backend-file-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/file-storage/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/file-storage)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/file-storage"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/file-storage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for backend-file-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/file-storage"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/file-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 222
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.05546
Opus 5.5 $0.00026 $0.02218
Sonnet 5.5 $0.00013 $0.01109
Haiku 4.5 $0.00007 $0.00555

Measured 16d ago against content hash 726dfd563e18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend-file-storage scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Client-side validation only | Easily bypassed via curl/Postman | Always validate server-side |

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { spawn } from 'child_process';
skills/backend/universal/file-storage/SKILL.md · 521 lines

How it starts

The opening of the file, as written. The whole thing — 521 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend File Storage

Purpose

Design secure file storage architecture with upload flows, CDN delivery, and processing.

Agent Protocol

Trigger

Exact user phrases: "file upload", "file storage", "S3", "object storage", "Blob storage", "CDN", "signed URL", "file serving", "image upload", "file management", "static assets", "presigned URL", "S3 bucket", "cloud storage", "file processing".

Input Context

Before activating, verify:

  • File types accepted and maximum file sizes
  • Upload frequency and expected concurrency
  • Access patterns (frequently accessed, archival, private)
  • CDN requirements (global distribution, cache TTL)
  • Processing pipeline (thumbnails, format conversion, virus scan)

Output Artifact

Storage architecture design as formatted text.

Response Format

# Bucket/key design
# Upload flow
# Processing pipeline
// Presigned URL generation
// Security configuration

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • Storage provider and bucket architecture selected
  • Key naming scheme defined (flat, no sensitive data)
  • Upload flow with presigned URLs and server-side validation
  • File processing pipeline (virus scan, thumbnail, format conversion)
  • Security controls (IAM, encryption, CORS, presigned URL expiry)
  • CDN distribution configured with cache strategy and invalidation

Max Response Length

250 lines of configuration and code.

Decision Tree

Storage Provider

What are your requirements?
  ├── General purpose, CDN origin → S3 (default)
  ├── Zero egress fees, high bandwidth → Cloudflare R2
  ├── On-premises / air-gapped → MinIO
  ├── Microsoft ecosystem → Azure Blob
  ├── Analytics / ML pipelines → GCS
  └── Compliance (HIPAA, PCI, FedRAMP) → verify provider certification

Upload Flow

Who uploads the file?
  ├── End user (avatar, document, photo)
  │   └── Direct-to-storage via presigned URL (no app server in path)
  ├── Internal tool (admin upload, batch import)
  │   └── Presigned URL or direct server upload for small files (<10MB)
  ├── Server-side generation (report, export)
  │   └── Server writes directly to storage, then notifies user
  └── Large file (>100MB, video, dataset)
      └── Multipart upload / S3 Transfer Acceleration / resumable upload

Read the full file on GitHub · 521 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +1 lines · -25 tokens per session 726dfd563e18
  2. 3mo ago First seen · 520 lines · 91 tokens per session scan A 436c9ae54b2e

Subscribe to this mod's changes

backend-file-storage is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 66 tokens to every session and 5,546 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

backend-file-storage compared with skills from other repositories

backend-file-storage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backend-file-storagej4flmao/agent-skillsSkill4717d agoMITA66Claude Code, Codex
analyzing-cloud-storage-access-patternsxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A79Claude Code, Codex
analyzing-cloud-storage-access-patternsautohandai/community-skillsSkill144mo agoApache-2.0A79Claude Code, Codex
analyzing-cloud-storage-access-patternsRobotFlow-Labs/skills-repoSkill28mo agononeA79Claude Code, Codex
alchemy-providerpingdotgg/t3codeSkill89ktodayMITA153Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill268ktodayMITA15Claude Code, Codex
django-storages-s3Jeffallan/claude-skillsSkill13kyesterdayMITA138Claude Code