返回顶部
m

multi-user-workspace多用户工作区

Multi-user workspace management with sandbox permissions, user profiles, and relationship networks.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
730
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

multi-user-workspace

Friends

Configure per-user sessions with sandbox isolation, friend profiles, and relationship awareness.

Core Concepts

  • - UserId: Lowercase unique identifier (e.g., alice, bob). Used in session keys, filenames, and cross-references.
  • Session: One session per user, named agent:<agentId>:<mainKey> where mainKey typically contains the userId.
  • Sandbox: Optional Docker isolation per session, configured in openclaw.json.
  • FRIENDS/: User profile directory (one file per user, named {userId}.md).
  • RELATIONS/: Relationship directory (files named {userId1}-{userId2}.md, alphabetically sorted, can be mutiple users).

Example Workspace Structure

CODEBLOCK0

USER.md

Registry of all users. The assistant reads this to identify users and extract userId and Name.

Format:

CODEBLOCK1

Note: userId is unique and in lower case. Use Role to determine sandbox configuration in openclaw.json.

FRIENDS/

User profiles. One Markdown file per user, named {userId}.md.

Content is flexible. Common sections include:

CODEBLOCK2

RELATIONS/

Interpersonal relationships. Files named {userId1}-{userId2}.md (alphabetical order, can be mutiple users).

Content is flexible. Example:

CODEBLOCK3

AGENTS.md

Instructions for the assistant. Add this section:

CODEBLOCK4

Session Configuration

Each user gets an isolated session with configurable sandbox and tool permissions. Configure via openclaw.json.

Administrator Configuration

Full access, no sandbox restrictions:

CODEBLOCK5

Guest Configuration

Sandboxed session with isolated workspace. Guest can read/write/execute in their own directory only:

CODEBLOCK6

Directory Setup:

CODEBLOCK7

Notes:

  • - Guest sees /workspace as their root (isolated from main workspace)
  • Can read/write/execute freely within their directory
  • Cannot access USER.md, FRIENDS/, RELATIONS/, or other guests' data

Configuration Options

Sandbox:

  • - mode: "off" | "all" — Disable or enable sandbox
  • INLINECODE19: "session" — One container per user session
  • INLINECODE21: "none" | "ro" | "rw" — Workspace file access

Tools:

  • - allow: Array of permitted tool names
  • INLINECODE26: Array of prohibited tool names (overrides allow)

Routing:

  • - bindings[].match.session.regex: Match session key pattern (e.g., alice$ matches sessions ending with "alice")

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 multi-user-workspace-1776420089 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 multi-user-workspace-1776420089 技能

通过命令行安装

skillhub install multi-user-workspace-1776420089

下载

⬇ 下载 multi-user-workspace v1.0.0(免费)

文件大小: 2.75 KB | 发布时间: 2026-4-17 19:54

v1.0.0 最新 2026-4-17 19:54
Initial release of multi-user-workspace with configurable user isolation and relationship-aware features.

- Introduces per-user sessions with optional Docker sandboxing based on user role.
- Defines FRIENDS/ for user profiles and RELATIONS/ for managing user relationships.
- Provides flexible workspace structure supporting administrators and guests with different permissions.
- Includes clear instructions for configuring permissions and workspace isolation in openclaw.json.
- Ensures information flows between users only when explicitly permitted in RELATIONS/.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部