Agent skill

Firebase Storage

by evanca in evanca/flutter-ai-rules

A skill your agent uses when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.

MITAuto-check passedMobile

Install Firebase Storage

skills CLI
$ npx skills add evanca/flutter-ai-rules --skill firebase-storage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install evanca/flutter-ai-rules firebase-storage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/evanca/flutter-ai-rules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/firebase-storage .claude/skills/firebase-storage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
firebase-storage
GitHub stars
649
Token cost
~1k tokens
SKILL.md length
291 words
Files
1
Skills in repo
37
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.

  • Works in 6 steps: Setup and Configuration → File Operations → Metadata Management → …
  • Setting up Storage
  • SKILL.md covers When to Use, 1. Setup and Configuration, 2. File Operations and 3. Metadata Management, plus 4 more sections
  • Calls flutter

What it does

Firebase Storage is an agent skill from evanca/flutter-ai-rules. Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. It works with Firebase. The repository describes itself as: Flutter AI Skills and Rules for Claude, Codex, Cursor, and Other AI-Powered IDEs. The licence is MIT.

When your agent uses it

  • Setting up Storage
  • Uploading/downloading files
  • Managing metadata
  • Handling errors

Example prompts

  • “/firebase-storage”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Setup and Configuration
  2. File Operations
  3. Metadata Management
  4. Error Handling
  5. Performance and Best Practices
  6. Security

What it can do on your machine

Read from SKILL.md and the folder at commit 7b9cce2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • firebase.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Firebase Storage loads about 1k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 291 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from evanca/flutter-ai-rules at commit 7b9cce2, republished under its MIT licence (© evanca). 291 words, ~1,035 tokens.

Download SKILL.mdSave it as .claude/skills/firebase-storage/SKILL.md (or your agent's skills folder).
name
firebase-storage
description
Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.
license
MIT

Firebase Cloud Storage Skill

This skill defines how to correctly use Firebase Cloud Storage in Flutter applications.

When to Use

Use this skill when:

  • Setting up Cloud Storage in a Flutter project.
  • Uploading or downloading files.
  • Managing file metadata.
  • Handling Storage errors and monitoring upload progress.

1. Setup and Configuration

flutter pub add firebase_storage
dart
import 'package:firebase_storage/firebase_storage.dart';

final storage = FirebaseStorage.instance;
// Or specify a bucket explicitly:
// final storage = FirebaseStorage.instanceFor(bucket: "gs://BUCKET_NAME");
  • Firebase Storage requires the Blaze (pay-as-you-go) plan.
  • Run flutterfire configure to update your Firebase config with the default Storage bucket name.

Security note: By default, a Cloud Storage bucket requires Firebase Authentication for any action. Configuring public access may also make App Engine files publicly accessible — restrict access again when you set up Authentication.


2. File Operations

Create a reference:

dart
final storageRef = FirebaseStorage.instance.ref();
final fileRef = storageRef.child("uploads/file.jpg");

Upload:

dart
final uploadTask = fileRef.putFile(file);
final snapshot = await uploadTask;
final downloadUrl = await snapshot.ref.getDownloadURL();

Download (in-memory):

dart
final data = await fileRef.getData();

Download URL:

dart
final downloadUrl = await fileRef.getDownloadURL();

Delete:

dart
await fileRef.delete();

3. Metadata Management

Get metadata:

dart
final metadata = await fileRef.getMetadata();
print('Content type: ${metadata.contentType}');
print('Size: ${metadata.size}');

Update metadata:

dart
final newMetadata = SettableMetadata(
  contentType: "image/jpeg",
  customMetadata: {'uploaded_by': 'user123'},
);
await fileRef.updateMetadata(newMetadata);

Use custom metadata to store additional key/value pairs with your files.


4. Error Handling

Use try-catch with FirebaseException. Key error codes:

CodeMeaning
storage/object-not-foundFile doesn't exist at the reference
storage/bucket-not-foundNo bucket configured for Cloud Storage
storage/project-not-foundNo project configured for Cloud Storage
storage/quota-exceededStorage quota exceeded
storage/unauthenticatedUser needs to authenticate
storage/unauthorizedUser lacks permission
storage/retry-limit-exceededOperation timeout exceeded
  • For quota-exceeded on the Spark plan, upgrade to Blaze.
  • Implement retry logic for network-related errors and timeouts.

5. Performance and Best Practices

Monitor upload progress:

dart
final uploadTask = fileRef.putFile(file);
uploadTask.snapshotEvents.listen((TaskSnapshot snapshot) {
  print('Progress: ${(snapshot.bytesTransferred / snapshot.totalBytes) * 100}%');
});
  • Cancel uploads with uploadTask.cancel().
  • Pause / resume with uploadTask.pause() and uploadTask.resume().
  • Optimize file sizes before upload to reduce costs and improve performance.
  • Use Cloud Storage with Firestore for comprehensive data management.
  • Use the Firebase Local Emulator Suite for local development and testing.

6. Security

  • Use Firebase Security Rules to control access to files.
  • Combine Storage rules with Firebase Authentication for user-based access control.
  • Test security rules thoroughly before deploying to production.

References

© evanca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/firebase-storage of evanca/flutter-ai-rules.

Open the folder on GitHubat commit 7b9cce2

Compare with similar skills

Firebase Storage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Firebase Storage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Firebase Storage this skillevanca/flutter-ai-rules649—~1kAutomated safety check: PassMIT
Analytics Setupgustavscirulis/snapgrid1171 repos~1.2kAutomated safety check: NotesCustom licence
Triage CrashesMartinStyk/apk-analyzer369—~4.3kAutomated safety check: PassGPL-3.0
Exposed MigrationGerardPaligot/Confily152—~1.3kAutomated safety check: PassApache-2.0
Kotlin LintingGerardPaligot/Confily152—~708Automated safety check: PassApache-2.0
Post Edit VerificationGerardPaligot/Confily152—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Analytics Setup

    gustavscirulis/snapgrid

    Generates protocol-based analytics infrastructure with swappable providers (TelemetryDeck, Firebase, Mixpanel).

    117 GitHub starsUsed in 1 repo~1.2k tokens
    MobileAuto-check: notes
  • Triage Crashes

    MartinStyk/apk-analyzer

    A skill your agent uses to review production Crashlytics crashes and non-fatals for the latest release and file a GitHub issue for each one that isn't tracked yet.

    369 GitHub stars~4.3k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Exposed Migration

    GerardPaligot/Confily

    A skill your agent uses when adding, removing, or modifying columns, indexes, or tables in any Exposed table object (files under infrastructure/exposed/ ending in Table.kt).

    152 GitHub stars~1.3k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Kotlin Linting

    GerardPaligot/Confily

    A skill your agent uses whenever you write or modify Kotlin files in this project.

    152 GitHub stars~708 tokensUpdated 10 days ago
    MobileAuto-check passed
  • Post Edit Verification

    GerardPaligot/Confily

    Use this skill after every working session where Kotlin or Android code was created or modified, and ALWAYS before committing, opening a PR, or reporting work as done.

    152 GitHub stars~1.1k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Kmp Starter Feature Analytics

    DevAtrii/Kmp-Starter-Template

    The KMP Starter Template analytics system — AppEvent/EventsTracker, Analytics routing, Mixpanel + Firebase providers, combining providers, and runtime swaps.

    167 GitHub stars~1.8k tokensUpdated 1 mo ago
    MobileAuto-check passed

More from evanca/flutter-ai-rules

All 37 skills in this repo
  • Code Review

    evanca/flutter-ai-rules

    A skill your agent uses when asked to review a PR, MR, branch, or diff, audit changed files, or check code quality.

    649 GitHub stars~2.4k tokensUpdated 24 days ago
    Auto-check passed
  • Developing Genkit Dart

    evanca/flutter-ai-rules

    A skill your agent uses when building AI agents in Dart, implementing Genkit flows or tools, integrating LLMs into Dart or Flutter applications, or using Genkit Dart plugins.

    649 GitHub stars~961 tokensUpdated 24 days ago
    Auto-check passed
  • Generate Images With Firebase AI

    evanca/flutter-ai-rules

    A skill your agent uses when generating or editing images from Flutter/Dart with Firebase AI Logic and a Gemini image model (Nano Banana), making the first call work, choosing Gemini Developer API…

    649 GitHub stars~2.3k tokensUpdated 24 days ago
    Auto-check passed
  • Flutter Use Column Row First

    evanca/flutter-ai-rules

    A skill your agent uses when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.

    649 GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed
  • Architecture Feature First

    evanca/flutter-ai-rules

    A skill your agent uses when creating a feature, designing folder structure, adding repositories/services/view models, wiring dependency injection, or deciding which layer owns logic.

    649 GitHub stars~1.9k tokensUpdated 24 days ago
    Auto-check passed
  • Bloc

    evanca/flutter-ai-rules

    A skill your agent uses when creating a Cubit or Bloc, modeling state with sealed classes or status enums, wiring BlocBuilder/BlocListener/BlocProvider, writing bloc tests, or choosing between Cubit…

    649 GitHub stars~2.8k tokensUpdated 24 days ago
    Auto-check passed

Works with

Categories

Questions about Firebase Storage

What does Firebase Storage do?

A skill your agent uses when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules. Firebase Storage is an agent skill from evanca/flutter-ai-rules. Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.

When should I use Firebase Storage?

Firebase Storage fits situations like: setting up Storage; uploading/downloading files; managing metadata; handling errors.

How do I install Firebase Storage in Claude Code?

Run `npx skills add evanca/flutter-ai-rules --skill firebase-storage -a claude-code`. Or copy the skill folder (skills/firebase-storage in evanca/flutter-ai-rules) into .claude/skills/firebase-storage in your project. Claude Code loads it when a task matches its description.

How do I install Firebase Storage in Codex?

Run `npx skills add evanca/flutter-ai-rules --skill firebase-storage -a codex`. Or copy the skill folder (skills/firebase-storage in evanca/flutter-ai-rules) into .agents/skills/firebase-storage in your project. Codex loads it when a task matches its description.

Can I use Firebase Storage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add evanca/flutter-ai-rules --skill firebase-storage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/firebase-storage, .gemini/skills/firebase-storage, .github/skills/firebase-storage and .opencode/skills/firebase-storage in your project.

What does Firebase Storage need to run?

Going by SKILL.md and its folder, Firebase Storage needs the command-line tools its instructions call (flutter).

Does Firebase Storage access the network?

SKILL.md names 1 domain. As links in the text: firebase.google.com. This is read from the text; nothing was executed.

Is Firebase Storage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Firebase Storage use?

Firebase Storage is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Firebase Storage use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Firebase Storage?

Skills that share tags, products or a category with Firebase Storage: Analytics Setup (gustavscirulis/snapgrid, 117 stars), Triage Crashes (MartinStyk/apk-analyzer, 369 stars), Exposed Migration (GerardPaligot/Confily, 152 stars) and Kotlin Linting (GerardPaligot/Confily, 152 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Firebase Storage?

evanca (a GitHub user) maintains it in evanca/flutter-ai-rules, which has 649 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on September 14, 2026.

Source: evanca/flutter-ai-rules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.