shared-memoryShare 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.
Install via ClawdBot CLI:
clawdbot install christinetyip/shared-memoryShare memories from your knowledge base with other users. Manage users, groups, and fine-grained permissions on namespaces.
# 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/
<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
| Command | Description |
|---------|-------------|
| create-user | Create user |
| delete-user | Delete user |
| Command | Description |
|---------|-------------|
| create-group | Create group |
| delete-group | Delete group |
| add-member | Add user to group |
| remove-member | Remove user |
| Command | Description |
|---------|-------------|
| grant org | Grant to org |
| grant user | Grant to user |
| grant group | Grant to group |
| revoke | Revoke permission |
| list | List all grants |
| list-permissions | List effective permissions |
Actions: read, create, update, delete
| Command | Description |
|---------|-------------|
| subscribe | Get notified on changes |
| unsubscribe | Stop notifications |
| list-subscriptions | List subscriptions |
# 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/
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.
Generated Mar 1, 2026
Families can create shared memory spaces for recipes, household documents, and event planning. Each member gets personalized access to shared namespaces, enabling collaborative updates and notifications on changes.
Business teams use shared memory to store project notes, code snippets, and meeting summaries. Fine-grained permissions allow managers to control access, while subscriptions keep members updated on new information.
Teachers and students share course materials, assignments, and study guides in a structured namespace. Groups can be set up for different classes, with read or update permissions tailored to roles like instructors and learners.
Medical professionals share patient care protocols, treatment notes, and research data securely. Access controls ensure only authorized staff can view or modify sensitive information, improving collaboration across departments.
Freelancers create private namespaces for each client to share project updates, invoices, and feedback. Clients get read-only access to relevant folders, streamlining communication and document management.
Offer basic shared memory features for free with limited users or storage, then charge for premium tiers with advanced permissions, more groups, and priority support. Revenue comes from monthly subscriptions.
Sell customized packages to large organizations needing enhanced security, integration with existing systems, and dedicated support. Pricing is based on the number of users, groups, or data volume.
Provide the shared memory network as an API for developers to build into their applications. Charge based on API call volume, data transfer, or number of active namespaces, targeting tech companies and startups.
š¬ Integration Tip
Ensure the ENSUE_API_KEY is properly configured in the clawdbot.json file before running commands, and use the provided scripts for quick setup of users and groups.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection