Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

alibabacloud-tablestore-openclaw-memoryalibabacloud tablestore OpenClaw 记忆

Agent Skill

alibabacloud-tablestore-openclaw-memory 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,184

周安装

91

GitHub Stars

公开资料未说明

下载量

728
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-tablestore-openclaw-memory(alibabacloud tablestore OpenClaw 记忆)
来源仓库:https://github.com/sdk-team/alibabacloud-tablestore-openclaw-memory
安装命令:
openclaw skills install alibabacloud-tablestore-openclaw-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install alibabacloud-tablestore-openclaw-memory

简介

配置OpenClaw的Tablestore Mem0插件,使用阿里云Tablestore作为矢量存储后端。

  • 适用于部署、云资源管理和基础设施运维等效率优化场景。
  • 辅助检查配置、整理部署步骤或排查环境问题。
  • 安装前需确认账号权限和资源组设置,注意维护状态。
  • 可能涉及网络访问和命令执行,应区分测试与生产环境操作。

SKILL.md

name
alibabacloud-tablestore-openclaw-memory
description
|
Triggers
set up tablestore memory", "install tablestore mem0 plugin", "configure long-term memory with tablestore", "remember this".

Prerequisites

The user must have:

  1. An Alibaba Cloud account
  2. CredentialsAccessKey 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)

  1. 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 instanceDocumentation
  2. Grant the role AliyunOTSFullAccessReference

Step 1 — Install plugin

Plugin version: 0.8.2

⚠️ External Package Installation Notice:

This skill will install @tablestore/openclaw-mem0@0.8.2 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/openclaw-mem0@0.8.2
else
  openclaw plugins install @tablestore/openclaw-mem0@0.8.2
fi

If extract tar timed out, fallback to manual install:

cd /tmp && npm pack @tablestore/openclaw-mem0@0.8.2
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_KEY="<your-dashscope-api-key>"

⚠️ Input Validation (REQUIRED):

InputValidation Rule
AccessKey IDRegex: ^LTAI[Nt][A-Za-z0-9]{12,20}$
AccessKey SecretAlphanumeric, ~30 chars
Region IDRegex: ^cn-[a-z]+(-[0-9]+)?$ or ^[a-z]+-[a-z]+-[0-9]+$
EndpointRegex: ^https://[a-z0-9-]+\.[a-z0-9-]+\.ots\.aliyuncs\.com$
Instance NameRegex: ^[a-z][a-z0-9-]{0,19}$

⚠️ Embedder/LLM provider MUST be "openai" with baseURL "https://dashscope.aliyuncs.com/compatible-mode/v1", NOT "dashscope".

Step 3A — OpenClaw ≥2.2.0

Auth methodHas existing instance?vectorStore.config fields
AccessKeyNoaccessKeyId, accessKeySecret, regionId
AccessKeyYesaccessKeyId, accessKeySecret, endpoint, instanceName
ECS RAM RoleNoroleName, regionId
ECS RAM RoleYesroleName, endpoint, instanceName

Template (AccessKey auth + auto-create):

jq '
  .plugins.slots.memory = "openclaw-mem0" |
  .plugins.entries["openclaw-mem0"] = {
    enabled: true,
    config: {
      mode: "open-source",
      oss: {
        vectorStore: {
          provider: "tablestore",
          config: {
            accessKeyId: "${TABLESTORE_ACCESS_KEY_ID}",
            accessKeySecret: "${TABLESTORE_ACCESS_KEY_SECRET}",
            regionId: "cn-hangzhou"
          }
        },
        embedder: {
          provider: "openai",
          config: {
            apiKey: "${DASHSCOPE_API_KEY}",
            model: "text-embedding-v3",
            baseURL: "https://dashscope.aliyuncs.com/compatible-mode/v1"
          }
        },
        llm: {
          provider: "openai",
          config: {
            apiKey: "${DASHSCOPE_API_KEY}",
            model: "qwen-plus",
            baseURL: "https://dashscope.aliyuncs.com/compatible-mode/v1"
          }
        }
      }
    }
  } |
  .plugins.allow = ((.plugins.allow // []) + ["openclaw-mem0"] | unique)
' "$OPENCLAW_CONFIG" > /tmp/openclaw-tmp.json && mv /tmp/openclaw-tmp.json "$OPENCLAW_CONFIG"

For existing instance: replace regionId with endpoint and instanceName. For ECS RAM Role: replace accessKeyId/accessKeySecret with roleName.

Step 3B — OpenClaw <2.2.0

Same as Step 3A but remove the .plugins.allow line.

Step 4 — Restart OpenClaw

openclaw gateway restart

Wait ~1 minute for the gateway to restart.

Step 5 — Verify setup

openclaw mem0 stats

Success criteria: plugin loads without errors, shows mode and memory count.

Step 6 — Handoff

✅ Tablestore Mem0 is ready.

Your memory is now backed by Alibaba Cloud Tablestore.
The plugin will automatically recall relevant memories before each conversation
and capture key facts after each conversation.

Manual commands: "remember this" / "what do you know about me?" / "forget that"

Configuration: Tablestore vector store + 阿里云百炼 text-embedding-v3 + Qwen-Plus
Instance: <auto-created or user-provided>

Security: Prefer ECS RAM Role on ECS. Never commit credentials to version control.

Configuration Reference

ParameterRequiredDefaultDescription
accessKeyIdNo*AccessKey ID (or env TABLESTORE_ACCESS_KEY_ID)
accessKeySecretNo*AccessKey Secret (or env TABLESTORE_ACCESS_KEY_SECRET)
roleNameNo*ECS RAM Role name (or env TABLESTORE_ROLE_NAME)
endpointNoAuto-createdTablestore instance endpoint
instanceNameNoAuto-createdTablestore instance name
regionIdNocn-hangzhouRegion for auto-provisioning
tableNameNomem0_vectorsData table name
dimensionNo1024Vector dimension

*Required unless roleName is set.

Auto-provisioning

When endpoint/instanceName not provided, creates VCU instance with:

  • VCU=0 (pay-as-you-go)
  • Auto-enables public internet access if VPC unreachable

Troubleshooting

SymptomFix
Plugin not loadingCheck slots.memory = "openclaw-mem0" and enabled = true
AccessKeyId is invalidVerify AccessKey is correct and account is active
Auto-provisioning failsEnsure AccessKey has AliyunOTSFullAccess
Embedding errorsVerify DASHSCOPE_API_KEY is set
VPC endpoint unreachablePlugin auto-enables public access; verify AliyunOTSFullAccess
extract tar timed outUse manual fallback: npm pack + system tar
Provider shows dashscopeChange provider to "openai" with correct baseURL

Update

Do not set up automatic updates. Only update when explicitly requested.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.65%
按下载量换算631

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills