# Edgeone Makers Storage

> Edgeone Makers Storage is an Agent Skill for development published in the TencentEdgeOne/edgeone-makers-tools repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

KV and Blob storage services on EdgeOne Makers. KV for edge key-value pairs, Blob for file/object storage in Cloud Functions. Covers SDK usage, setup, and troubleshooting.

- Skill name: `edgeone-makers-storage`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/TencentEdgeOne/edgeone-makers-tools/blob/HEAD/skills/makers-storage/SKILL.md
- Repository: TencentEdgeOne/edgeone-makers-tools (1,965 GitHub stars when collected)

## SKILL.md

# EdgeOne Makers Storage

EdgeOne Makers provides two storage services. **Choose based on your runtime and data type:**

| Storage | Runtime | Data Type | SDK | Use Case |
|---------|---------|-----------|-----|----------|
| **KV** | Edge Functions only | Small key-value pairs (≤ 25 MB) | Global variable (no npm) | Counters, config, session tokens, simple CRUD |
| **Blob** | Cloud Functions (Makers Functions) | Files & objects (images, docs, uploads) | `@edgeone/pages-blob` (npm) | User uploads, AI-generated content, file management |

## Decision Tree

```
Need persistent storage?
├─ Edge Function (V8 runtime, no npm)?
│   → KV Storage (global variable)           → read references/kv.md
└─ Cloud Function (Node.js, has npm)?
    ├─ Storing files / images / large objects?
    │   → Blob Storage                       → read references/blob.md
    └─ Storing small key-value data?
        → Blob with setJSON                  → read references/blob.md
```

## Routing

| Task | Read |
|------|------|
| KV Storage (Edge Functions, global variable, put/get/delete/list) | [references/kv.md](references/kv.md) |
| Blob Storage (Cloud Functions, npm SDK, file upload/download, pre-signed URLs) | [references/blob.md](references/blob.md) |

---

Source: https://www.openparable.com/skill/development/edgeone-makers-storage (OpenParable). Cite the canonical URL above.
