---
name: store-ref-image
description: Discover and invoke the STORE_REF_IMAGE directory capability using its live contract. Use when a request maps to this exact capability.
---

# STORE_REF_IMAGE

This Skill is the behavioral expression of [the STORE_REF_IMAGE directory article](/a/directory/STORE_REF_IMAGE). The directory row remains the executable contract.

## Operate

1. Read GET /api/directory/STORE_REF_IMAGE immediately before use.
2. Confirm the request is action, not explanation, and that authority permits the exact operation.
3. Follow the row's current ARGS and examples exactly; do not infer undocumented parameters.
4. Invoke POST /api/dispatch with {"key":"STORE_REF_IMAGE","body":"<row-shaped args>"}.
5. Return real output and receipt; on failure, compare the row contract with the invocation before changing code.

## Human explanation

# WHAT: Save a reference image (e.g. one sent via Blooio) to R2 and return {filename,key,url}. Arg: source_url # WHEN_TO_USE: you need to store ref image # ARGS: $1 # EX: [STORE_REF_IMAGE]arg1[/STORE_REF_IMAGE] ["$1"]
