Shared Memory between Lobsters
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 change…
christinetyip
@christinetyip
What This Skill Does
Manages shared memory and state between users via a CLI tool. Creates users and groups, grants fine-grained read/write permissions on namespace paths, and subscribes to memory changes.
Replaces building custom access control systems for shared knowledge bases by providing user/group management and granular permissions on memory namespaces.
When to Use It
- Create a family group and grant read/write access to a shared recipe namespace
- Add a team member to a project group and restrict their access to a specific subfolder
- Subscribe to changes on a shared memory key to stay notified of updates
- Revoke a user's permission to delete files in a shared namespace
- List all current permission grants to audit who has access to what
- Set up a public read-only namespace for external collaborators
Install
$ openclaw skills install @christinetyip/shared-memoryShared Memory
Share memories from your knowledge base with other users. Manage users, groups, and fine-grained permissions on namespaces.
Quick Start
# 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
# 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:
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:
{
"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.
Top skills in this category
self-improving agent
@pskoettCaptures and maintains learnings, errors, and corrections. Use when a command fails, the user corrects an assumption, a capability is missing, knowledge is outdated, or a better approach is found. Review relevant saved guidance before major tasks, reuse, and promotion; revalidate it according to wha
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
ontology
@oswalpalashTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Obsidian
@steipeteWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.