christinetyip

Shared Memory between Lobsters

AI 智能体v1.0.2
作者:christinetyip更新于 2026-05-11共 4 个版本 · 最新版本发布于 2026-01-13shared-memory@clawhub_christinetyip/shared-memory
多 Agent 协作上下文管理记忆增强#Knowledge Base#Access Control

据 AlphaMoat 统计,截至 2026-09,Shared Memory between Lobsters 累计下载 3,951 次、获 5 个星标,在全部 5,078 个 AI 技能中排名第 2,613 位,在「AI 智能体」分类(969 个)中排名第 510 位。

累计安装
587
累计下载
3,951
星标
5
全站排名
#2,613
全站前 52% · 「AI 智能体」前 53%
平台累计安装累计下载星标评论
ClawHub ↗1123,3625-
SkillHub ↗5873,9515—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

可以建用户与组、按命名空间授予细粒度权限,并订阅记忆变更,用来搭家庭或团队共享。命名空间分私有、共享与公开三层,公开目录对他人只读,授权可以细到某个子路径。命令失败时先确认 Ensue 密钥是否已配置。使用专用且权限最小化的 Ensue 密钥。命令可立即创建或删除用户与组、修改授权、撤销访问或订阅;运行前逐项确认。排障输出需脱敏,不要分享凭据路径或 API key 配置。

资料发布于 2026-10-27

可以用来做什么

  • 给家人开一个只读的共享目录
  • 把团队资料按组授权

什么时候用

  • 要共享知识库内容时
  • 需要按组管理访问权限时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

帮我建一个家庭组并把食谱目录共享出去
给这个组只开只读权限

月度数据趋势

累计下载3,951
2,8263,4304,0342026-03 · 累计下载 2,9092026-05 · 累计下载 3,2482026-06 · 累计下载 2,9452026-07 · 累计下载 3,4652026-08 · 累计下载 3,5332026-09 · 累计下载 3,95126-0326-09
星标5
4562026-03 · 星标 52026-05 · 星标 52026-06 · 星标 52026-07 · 星标 52026-08 · 星标 52026-09 · 星标 526-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,951—5
2026-083,533+2.0%5
2026-073,465+17.7%5
2026-062,945-9.3%5
2026-053,248—5
2026-032,909—5

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.5 KB · ClawHub v1.0.2
---
name: shared-memory
description: Share memories and state with other users. Use when user wants to share knowledge, create users/groups, grant permissions, set up family or team sharing, subscribe to memory changes, or manage access control on their memory knowledge base. This shared memory skill uses Ensue - a shared memory network for agents.
metadata:
  clawdbot:
    emoji: "🤝"
    requires:
      env:
        - ENSUE_API_KEY
    primaryEnv: ENSUE_API_KEY
展开全部(共 120 行)
    homepage: https://ensue-network.ai
---

# Shared Memory

Share memories from your knowledge base with other users. Manage users, groups, and fine-grained permissions on namespaces.

## Quick Start

```bash
# Create user and group
{baseDir}/scripts/shared-memory.sh create-user mark
{baseDir}/scripts/shared-memory.sh create-group family
{baseDir}/scripts/shared-memory.sh add-member family mark

# Grant access
{baseDir}/scripts/shared-memory.sh grant group family read christine/shared/
{baseDir}/scripts/shared-memory.sh grant group family update christine/shared/
```

## Namespace Organization

```
<username>/
├── private/    # Only this user
├── shared/     # Shared with others
└── public/     # Read-only to others
```

Grant access to `mark/shared/` → all shared content
Grant access to `mark/shared/recipes/` → just recipes

## Commands

### Users
| Command | Description |
|---------|-------------|
| `create-user <username>` | Create user |
| `delete-user <username>` | Delete user |

### Groups
| Command | Description |
|---------|-------------|
| `create-group <name>` | Create group |
| `delete-group <name>` | Delete group |
| `add-member <group> <user>` | Add user to group |
| `remove-member <group> <user>` | Remove user |

### Permissions
| Command | Description |
|---------|-------------|
| `grant org <action> <pattern>` | Grant to org |
| `grant user <name> <action> <pattern>` | Grant to user |
| `grant group <name> <action> <pattern>` | Grant to group |
| `revoke <grant_id>` | Revoke permission |
| `list` | List all grants |
| `list-permissions` | List effective permissions |

**Actions**: `read`, `create`, `update`, `delete`

### Subscriptions
| Command | Description |
|---------|-------------|
| `subscribe <key>` | Get notified on changes |
| `unsubscribe <key>` | Stop notifications |
| `list-subscriptions` | List subscriptions |

## Example: Family Sharing

```bash
# Create user for partner
{baseDir}/scripts/shared-memory.sh create-user mark

# Create family group
{baseDir}/scripts/shared-memory.sh create-group family
{baseDir}/scripts/shared-memory.sh add-member family mark

# Grant mutual access to shared/ namespaces
{baseDir}/scripts/shared-memory.sh grant group family read christine/shared/
{baseDir}/scripts/shared-memory.sh grant group family create christine/shared/
{baseDir}/scripts/shared-memory.sh grant group family update christine/shared/
{baseDir}/scripts/shared-memory.sh grant group family read mark/shared/
{baseDir}/scripts/shared-memory.sh grant group family update mark/shared/
```

## Troubleshooting

If commands fail, first check if an Ensue API key is configured:

```bash
echo $ENSUE_API_KEY
grep -A2 'ensue-learning-memory' ~/.clawdbot/clawdbot.json
```

If no API key found, tell user to get a free key at https://www.ensue-network.ai/login and configure in `~/.clawdbot/clawdbot.json`:

```json
{
  "skills": {
    "entries": {
      "ensue-learning-memory": {
        "apiKey": "their-api-key-here"
      }
    }
  }
}
```

If key exists but commands fail, the key may be invalid - have user generate a new one.

「AI 智能体」分类下的热门技能

christinetyip 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。