1. Habit
  2. Skills
  3. Extension Object Storage skill
caffeinelabs · 27K installs

Extension Object Storage skill
Runs by itself, backend or frontend changed.

File uploads keep working.

Install the Extension Object Storage skill and make it a habit: follow https://gethabit.dev/skills/caffeinelabs/extension-object-storage.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

27K installs2 starsApache-2.0 licenceSource on GitHub ↗

Extension Object Storage

by caffeinelabs · 27K installs

The skill

The extension object storage skill helps Caffeine AI app builders store images, videos and files off-chain with on-chain references, using ExternalBlob on backend and frontend.

Only when you ask.

The habit

File uploads keep working.

↻ Runs by itselfbackend or frontend changed

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pass over the four setup steps per run, with at most one retry.

  1. 01

    Read the log

    The agent reads which checks failed last time.

  2. 02

    Check mops package

    It confirms caffeineai-object-storage sits in src/backend/mops.toml.

  3. 03

    Check the mixin

    It confirms main.mo includes MixinObjectStorage() from the mops package, not a relative path.

  4. 04

    Check field types

    It flags any file field typed Text and any custom _immutableObjectStorage method.

  5. 05

    Check frontend

    It confirms the npm package is installed and file type comes from filename or mimeType, never the URL.

  6. 06

    Log and report

    It writes each result to the run log and notifies you on a fail.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Extension Object Storage skill helps.

Use it when

  • ✓ You build an image or video gallery on Caffeine
  • ✓ Your app stores large files
  • ✓ Uploads fail with 403 Invalid payload

Skip it when

  • – Your app is not built on Caffeine AI
  • – You store only small text records

Questions

Extension Object Storage skill, answered.

What error does this loop try to prevent?

The skill names 403 Forbidden: Invalid payload at upload time when a setup step is missing.

Does it fix problems itself?

No. It reports the failed step and the fix from the skill's troubleshooting table.

How do I install the Extension Object Storage skill?

Copy the prompt at the top into your agent. It installs the skill from caffeinelabs/skills and sets up the habit. Or run npx skills add caffeinelabs/skills --skill extension-object-storage.

Is the Extension Object Storage skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Extension Object Storage. Now as a habit.

Install the Extension Object Storage skill and make it a habit: follow https://gethabit.dev/skills/caffeinelabs/extension-object-storage.md

  • Free
  • No account
  • Undo in one line

All caffeinelabs skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by caffeinelabs, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.