supermemory
Supermemory API for AI agent memory, context, and RAG. Use when user mentions "Supermemory", "memory layer", "agent memory", "context infrastructure", "semantic recall", or "RAG".
What this skill does
## Troubleshooting
If requests fail, run `zero doctor check-connector --env-name SUPERMEMORY_API_KEY` or `zero doctor check-connector --url https://api.supermemory.ai/v3/documents/list --method POST`
## Authentication
All requests require an API key passed in the Authorization header:
```
Authorization: Bearer $SUPERMEMORY_API_KEY
```
Get your API key from: [console.supermemory.ai](https://console.supermemory.ai) → **API Keys** → create or copy your key.
## Environment Variables
| Variable | Description |
|---|---|
| `SUPERMEMORY_API_KEY` | Supermemory API key (starts with `sm_`) |
## Key Endpoints
Base URL: `https://api.supermemory.ai`
### 1. Add a Document / Memory
`POST /v3/documents`
Ingest a single document. Content can be raw text, a URL, or a file reference. Use `containerTag` to scope the memory to a user, project, or agent.
Write to `/tmp/supermemory_add.json`:
```json
{
"content": "I prefer dark mode in all applications.",
"containerTag": "user-123",
"metadata": {
"category": "preferences"
}
}
```
Then run:
```bash
curl -s -X POST "https://api.supermemory.ai/v3/documents" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" --header "Content-Type: application/json" -d @/tmp/supermemory_add.json
```
Optional fields:
- `customId` — your own stable identifier for the document (used for upsert/delete-by-id)
- `taskType` — `"memory"` (default) for full context layer, or `"superrag"` for managed RAG
- `containerTag` accepts alphanumeric, hyphens, underscores, and dots (max 100 chars)
### 2. Batch Add Documents
`POST /v3/documents/batch`
Ingest up to 600 documents in a single request.
Write to `/tmp/supermemory_batch.json`:
```json
{
"documents": [
{ "content": "First memory" },
{ "content": "Second memory" }
],
"containerTag": "user-123"
}
```
Then run:
```bash
curl -s -X POST "https://api.supermemory.ai/v3/documents/batch" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" --header "Content-Type: application/json" -d @/tmp/supermemory_batch.json
```
### 3. Search Memories (Semantic Recall)
`POST /v4/search`
Semantic search across memories. Scope with `containerTag` and tune precision with `threshold` (0–1, default 0.6).
Write to `/tmp/supermemory_search.json`:
```json
{
"q": "display preferences",
"containerTag": "user-123",
"threshold": 0.6
}
```
Then run:
```bash
curl -s -X POST "https://api.supermemory.ai/v4/search" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" --header "Content-Type: application/json" -d @/tmp/supermemory_search.json
```
Optional fields:
- `filters` — metadata predicates with AND/OR logic (up to 5 nesting levels)
- `limit` — max results to return
### 4. List Documents
`POST /v3/documents/list`
Paginated list of documents with optional filters.
Write to `/tmp/supermemory_list.json`:
```json
{
"containerTags": ["user-123"],
"limit": 50
}
```
Then run:
```bash
curl -s -X POST "https://api.supermemory.ai/v3/documents/list" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" --header "Content-Type: application/json" -d @/tmp/supermemory_list.json
```
### 5. Get a Document
`GET /v3/documents/<document-id>`
Retrieve a single document and its current processing status.
```bash
curl -s "https://api.supermemory.ai/v3/documents/<document-id>" --header "Authorization: Bearer $SUPERMEMORY_API_KEY"
```
### 6. Update a Document
`PATCH /v3/documents/<document-id>`
Update content, metadata, or container assignment.
Write to `/tmp/supermemory_update.json`:
```json
{
"metadata": {
"category": "preferences",
"verified": true
}
}
```
Then run:
```bash
curl -s -X PATCH "https://api.supermemory.ai/v3/documents/<document-id>" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" --header "Content-Type: application/json" -d @/tmp/supermemory_update.json
```
### 7. Delete a Document
`DELETE /v3/documents/<document-id>`
```bash
curl -s -X DELETE "https://api.supermemory.ai/v3/documents/<document-id>" --header "Authorization: Bearer $SUPERMEMORY_API_KEY"
```
### 8. Upload a File
`POST /v3/documents/file`
Upload a file (PDF, image, audio, etc.) for processing. Uses `multipart/form-data`.
```bash
curl -s -X POST "https://api.supermemory.ai/v3/documents/file" --header "Authorization: Bearer $SUPERMEMORY_API_KEY" -F "file=@/path/to/document.pdf" -F "containerTag=user-123"
```
### 9. Connections (External Integrations)
Supermemory can pull from Notion, Google Drive, Gmail, GitHub, OneDrive, and S3. Connections are managed from the dashboard, but you can list and sync them via API.
```bash
# List all connections
curl -s "https://api.supermemory.ai/v3/connections" --header "Authorization: Bearer $SUPERMEMORY_API_KEY"
# Trigger a sync
curl -s -X POST "https://api.supermemory.ai/v3/connections/<connection-id>/sync" --header "Authorization: Bearer $SUPERMEMORY_API_KEY"
```
## Container Tags (Scoping)
Container tags are how Supermemory partitions data. Use them like namespaces:
| Pattern | Example | Use |
|---|---|---|
| Per user | `user-123` | End-user memory |
| Per agent | `agent-sales-bot` | Agent identity |
| Per project | `project-q2-launch` | Workspace/project memory |
| Combined | `user-123:project-q2` | Cross-cutting scope |
Tags accept alphanumeric, `-`, `_`, and `.`, up to 100 characters.
## Document Status Lifecycle
Documents progress through: `queued → extracting → chunking → embedding → indexing → done`. Search results only include documents in the `done` state.
## Notes
- Search defaults to semantic vector recall; combine with `filters` for hybrid metadata + semantic queries
- `customId` enables idempotent upserts — re-posting the same `customId` updates the existing document
- The `taskType: "superrag"` mode returns answer-shaped responses suitable for direct LLM grounding
- Rate limits and storage quotas depend on your Supermemory plan; check [console.supermemory.ai](https://console.supermemory.ai) for current usage
## API Reference
- Documentation: https://supermemory.ai/docs
- API Reference: https://supermemory.ai/docs/api-reference
- Dashboard: https://console.supermemory.ai
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.