manage-file-storage

manage-file-storage is a skill for Claude Code from fpindej/netrock. It costs 14 tokens per session (512 once invoked), scanned A, original, MIT.

Configuration guidance for changing or removing file storage, including S3-compatible services such as MinIO, Cloudflare R2, and DigitalOcean Spaces. S3 is a common interface for storing files in buckets.

In plain words
What is it for?
Use it to switch storage providers, configure a new bucket, or remove file, avatar, and MinIO-related infrastructure.
Why use it?
It shows which settings and code areas must change when moving stored files to another service or removing file storage from an application.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to switch storage providers, configure a new bucket, or remove file, avatar, and MinIO-related infrastructure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fpindej/netrock/manage-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 fpindej/netrock --skill manage-file-storage
Clone the repo
git clone --depth 1 https://github.com/fpindej/netrock

Made for: Claude Code.

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 manage-file-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/fpindej/netrock/manage-file-storage/github.svg)](https://agentmods.dev/skills/fpindej/netrock/manage-file-storage)
Your own site
<a href="https://agentmods.dev/skills/fpindej/netrock/manage-file-storage"><img src="https://agentmods.dev/badge/skills/fpindej/netrock/manage-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 manage-file-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/fpindej/netrock/manage-file-storage"><img src="https://agentmods.dev/badge/skills/fpindej/netrock/manage-file-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00014 $0.00512
Opus 5 $0.00007 $0.00256
Sonnet 5 $0.00003 $0.00102
Haiku 4.5 $0.00001 $0.00051

Measured 9d ago against content hash 4d372da67ccb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

manage-file-storage scanned grade A with 0 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/manage-file-storage/SKILL.md · 47 lines

What it actually says

Swaps S3 provider or removes file storage entirely.

Swap S3 Provider (Cloudflare R2, DigitalOcean Spaces, etc.)

No code changes needed - S3FileStorageService uses the standard S3 API. Only configuration:

Set the FileStorage__* environment variables on your API container:

# Cloudflare R2
FileStorage__Endpoint=https://<account-id>.r2.cloudflarestorage.com
FileStorage__AccessKey=<R2-access-key>
FileStorage__SecretKey=<R2-secret-key>
FileStorage__BucketName=my-bucket
FileStorage__UseSSL=true
FileStorage__Region=auto

# DigitalOcean Spaces
FileStorage__Endpoint=https://<region>.digitaloceanspaces.com
FileStorage__AccessKey=<spaces-key>
FileStorage__SecretKey=<spaces-secret>
FileStorage__BucketName=my-space
FileStorage__UseSSL=true
FileStorage__Region=<region>

Pre-create the bucket in your provider's console. Restart - no rebuild needed.

Remove File Storage Entirely

  1. Infrastructure: Remove the MinIO resource from MyProject.AppHost/Program.cs
  2. Backend: Remove Application/Features/FileStorage/, Application/Features/Avatar/, Infrastructure/Features/FileStorage/, Infrastructure/Features/Avatar/
  3. Entity: Remove HasAvatar from ApplicationUser
  4. Endpoints: Remove avatar endpoints from UsersController, UploadAvatar/ DTOs
  5. DTOs: Remove HasAvatar from UserOutput, AdminUserOutput, UserResponse, AdminUserResponse, mappers
  6. DI: Remove AddFileStorageServices() and AddAvatarServices() from Program.cs
  7. NuGet: Remove AWSSDK.S3, SkiaSharp, SkiaSharp.NativeAssets.Linux.NoDependencies from Directory.Packages.props
  8. Frontend: Remove AvatarDialog.svelte, update ProfileHeader.svelte and UserNav.svelte to remove avatar image
  9. Config: Remove FileStorage section from all appsettings*.json
  10. Health check: Remove S3 health check from HealthCheckExtensions.cs
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. 9d ago First seen · 47 lines · 14 tokens per session scan A 4d372da67ccb

Subscribe to this mod's changes

manage-file-storage is a skill published in the GitHub repository fpindej/netrock (232 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 512 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-design

Guidelines for RESTful API design, endpoint naming conventions, and standardizing JSON responses.

aps08/fullstack-clean-architecture · 21 tokens

python

Enforces FastAPI, Dependency Injection, and general Python coding standards based on the repository structure.

aps08/fullstack-clean-architecture · 21 tokens

aspire

Build, upgrade, and operate Aspire 13.5.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for distributed apps. USE FOR: Aspire.AppHost.Sdk, Aspire.Hosting., DistributedApplication.CreateBuilder, apphost.mts…

managedcode/dotnet-skills · 145 tokens

azure-functions

Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns. USE FOR: working on Azure Functions in .NET; migrating from the in-process model to the isolated worker model; adding Durable Functions, bindings, or host configuration.…

managedcode/dotnet-skills · 113 tokens

nubase

Use when the user mentions Nubase broadly, wants a backend for an AI-generated app, or needs to deploy/publish generated code online — across Database, Auth, Storage, Assets (static frontend CDN), Functions (edge/serverless), AI Gateway, Memory, cron/scheduled jobs, Supabase-style REST/RLS, servicerole keys, or MCP.…

OtterMind/Nubase · 92 tokens

api-gateway

API Gateway patterns (Kong, Traefik, AWS API Gateway) — rate limiting, auth, routing, versioning. Use when implementing API gateway, reverse proxy, or API management.

TheBeardedBearSAS/claude-craft · 43 tokens