Edgeone Makers Storage
Developmentedgeone-makers-storageEdgeone 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/TencentEdgeOne/edgeone-makers-tools/blob/HEAD/skills/makers-storage/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/edgeone-makers-storage, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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 |
| Blob Storage (Cloud Functions, npm SDK, file upload/download, pre-signed URLs) | references/blob.md |