Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Alibabacloud Tablestore Openclaw Memory

БесплатноБез исполняемых скриптовНе проверен

This skill installs and configures the **Tablestore Mem0** plugin for OpenClaw. Tablestore Mem0 uses Alibaba Cloud Tablestore as the vector store backend for…

sdk-teamот sdk-team1 005 установок в других каталогах

Об этом скилле

Prerequisites

The user must have:

  1. An Alibaba Cloud account
  2. Credentials — AccessKey ID + Secret (with AliyunOTSFullAccess permission) or ECS RAM Role (recommended on ECS)
  3. An 阿里云百炼 API Key (for Qwen LLM and embedding)
  4. Optional: existing Tablestore instance endpoint + instance name (otherwise auto-created)
  5. Optional: region ID for auto-provisioning (defaults to cn-hangzhou)

📋 RAM Permissions: See references/ram-policies.md for the complete list of required API permissions.


Definition of Done

This task is NOT complete until all of the following are true:

  1. User has provided credentials
  2. Plugin is installed (version 0.8.2)
  3. openclaw.json is configured correctly
  4. OpenClaw is restarted
  5. Setup is verified (plugin loads without errors)

Onboarding

Step 0 — Collect credentials

[AGENT] Ask the user:

To set up Tablestore Mem0, I need:

Required:

  1. Alibaba Cloud AccessKey ID
  2. Alibaba Cloud AccessKey Secret
  3. 阿里云百炼 API Key

Optional (if you have an existing Tablestore instance): 4. Tablestore endpoint (e.g. https://my-instance.cn-hangzhou.ots.aliyuncs.com) 5. Tablestore instance name

If you don't provide an endpoint and instance name, I'll automatically create a new Tablestore instance. In that case, I need: 6. Region ID (e.g. cn-hangzhou, cn-shanghai)

Ask the user:

Question 1 — Authentication: How would you like to authenticate?

  • Option A: ECS RAM Role (recommended on ECS) — Provide the role name.
  • Option B: AccessKey — Provide AccessKey ID and Secret.

Question 2 — Tablestore instance: Do you already have a Tablestore instance?

  • Yes → Provide endpoint and instance name.
  • No → Provide region ID for auto-provisioning.

⚠️ HIGH-RISK OPERATION — Pre-flight Confirmation:

If the user answers No, the agent MUST:

  1. Explicit Confirmation:

    ⚠️ This setup will create a new Tablestore instance in your Alibaba Cloud account.

    • Instance type: VCU (pay-as-you-go, typically under ¥1/month)
    • Region: as specified Do you confirm? (yes/no)
  2. Double-check:

    Please verify in Tablestore Console (https://ots.console.aliyun.com/) that you don't have existing instances.

Do NOT proceed until the user explicitly confirms.

If the user is missing credentials, point them to:

  • Alibaba Cloud sign-up: https://account.alibabacloud.com/register/intl_register.htm
  • AccessKey creation: https://ram.console.aliyun.com/manage/ak
  • 阿里云百炼 API Key: https://dashscope.console.aliyun.com/apiKey

Setting up ECS RAM Role (if the user chose Option A)

  1. Attach a RAM role to the ECS instance — Documentation
  2. Grant the role AliyunOTSFullAccess — Reference

Step 1 — Install plugin

Plugin version: 0.8.2

⚠️ External Package Installation Notice:

This skill will install @tablestore/[email protected] from npm registry. By proceeding, you acknowledge installing an external package. Do you consent? (yes/no)

Wait for user confirmation, then:

NPMJS_TIME="$(curl -o /dev/null -sS --connect-timeout 2 --max-time 6 -w '%{time_total}' https://registry.npmjs.org/@tablestore%2fopenclaw-mem0 || echo timeout)"
MIRROR_TIME="$(curl -o /dev/null -sS --connect-timeout 2 --max-time 6 -w '%{time_total}' https://registry.npmmirror.com/@tablestore%2fopenclaw-mem0 || echo timeout)"

if [ "$MIRROR_TIME" != "timeout" ] && { [ "$NPMJS_TIME" = "timeout" ] || awk "BEGIN { exit !($NPMJS_TIME > 2 && $MIRROR_TIME < $NPMJS_TIME) }"; }; then
  echo "Using China npm mirror"
  NPM_CONFIG_REGISTRY=https://registry.npmmirror.com openclaw plugins install @tablestore/[email protected]
else
  openclaw plugins install @tablestore/[email protected]
fi

If extract tar timed out, fallback to manual install:

cd /tmp && npm pack @tablestore/[email protected]
mkdir -p /tmp/openclaw-mem0-install
tar xzf /tmp/tablestore-openclaw-mem0-*.tgz -C /tmp/openclaw-mem0-install --strip-components=1
openclaw plugins install /tmp/openclaw-mem0-install

Step 2 — Detect OpenClaw version

openclaw --version
  • Version >= 2.2.0 → use Step 3A
  • Version < 2.2.0 → use Step 3B (remove .plugins.allow line)

Step 3 — Configure openclaw.json

Detect config file path:

OPENCLAW_CONFIG="$(openclaw config file 2>/dev/null | head -1)"
OPENCLAW_CONFIG="${OPENCLAW_CONFIG/#\~/$HOME}"
echo "Config file: $OPENCLAW_CONFIG"

⚠️ Credential Security (REQUIRED):

ALWAYS prefer environment variables:

export TABLESTORE_ACCESS_KEY_ID="<your-access-key-id>"
export TABLESTORE_ACCESS_KEY_SECRET="<your-access-key-secret>"
export DASHSCOPE_API_K
Полный SKILL.md на ClawHub

Установить Alibabacloud Tablestore Openclaw Memory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Alibabacloud Tablestore Openclaw Memory?

This skill installs and configures the **Tablestore Mem0** plugin for OpenClaw. Tablestore Mem0 uses Alibaba Cloud Tablestore as the vector store backend for mem0, providing persistent long-term memory for AI agents. Use this skill when the user wants OpenClaw to persist or manage long-term memory using Alibaba Cloud Tablestore as the backend. Triggers: "set up tablestore memory", "install tablestore mem0 plugin", "configure long-term memory with tablestore", "remember this".

Как установить скилл Alibabacloud Tablestore Openclaw Memory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Alibabacloud Tablestore Openclaw Memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Alibabacloud Tablestore Openclaw Memory с