Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

workplaceworkplace 搜索

Agent Skill

workplace 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,299

周安装

829

GitHub Stars

公开资料未说明

下载量

6,765
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install workplace

简介

Workplace 用于管理多个项目目录和工作场所。

  • 支持多代理编排和内存隔离通信。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 适合复杂项目并行处理的环境。workplace 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 涉及跨目录操作时需确认路径安全边界。
  • 建议结合具体用例阅读源码理解实现逻辑。

SKILL.md

name
workplace
description
>
user-invocable
true

Workplace Skill

Manage multiple project workplaces with per-workspace agents, isolated memory, and Swarm-style agent orchestration.

/workplace Command (Telegram / Slash)

Hierarchical navigation with parent → child drill-down.

  • /workplace or /workplace list → Show top-level view: parent workspaces and standalone workplaces as buttons. Parents show (N) child count. Current workspace marked with ✓.
  • Click a parent button → Drill into children. Shows child buttons + "Use parent" + "← Back".
  • /workplace <name> → If standalone or child, switch directly. If parent with children, show drill-in.
  • /workplace parent:child → Direct switch using colon syntax (e.g. log-stream:logstream).
  • /workplace status → Current workspace card with parent, linked, agents, deploy envs.
  • /workplace agents → Agent list with start/stop buttons.

Colon Syntax

/workplace log-stream:logstream resolves parent by name, then finds child under that parent. Supports quick switching without navigating menus.

Context Switching

When the user switches workplaces (via button click, name, or colon syntax):

  1. Update ~/.openclaw/workspace/.workplaces/current.json with the selected UUID and path
  2. Update lastActive in registry.json
  3. Load the new workspace's .workplace/config.json for context
  4. Send confirmation: name, path, parent (if any), linked workplaces, agent list
  5. Check sessions.json for the target workplace UUID:

- Has sessions → show session buttons ("Continue: {label}" + "New chat session") - No sessions → auto-create a new session, confirm in the switch message

  1. Subsequent messages in the session should be aware of the active workspace context

Read current.json at the start of any workplace operation to know which workspace is active.

See telegram-ui.md for full button layouts, callback routing, and platform fallbacks.

Quick Reference

CommandAction
workplace init [path]Initialize workplace (scan existing or set up new)
workplace listList all workplaces (inline buttons to switch)
`workplace switch <name\uuid>`Switch active workplace
workplace scan [path]Discover .git workplaces in subdirectories
workplace link <path>Link a related workplace
`workplace unlink <path\uuid>`Remove a linked workplace
workplace statusCurrent workplace info + agent status
workplace agentsList agents in current workplace
workplace agent start <name>Start an agent (runs as sub-agent)
workplace agent stop <name>Stop a running agent
workplace kernel startStart persistent kernel agent
workplace kernel stopStop kernel agent
`workplace export [zip\json]`Export workplace config
workplace import <file>Import workplace from export
`workplace load <path\name\uuid>`Load/open a registered workplace for quick access
`workplace unload <name\uuid>`Unload a workplace from the loaded set
workplace loadedList all currently loaded workplaces
`workplace delete <name\uuid>`Remove from registry
workplace deploy <env>Show/run deploy instructions
workplace sync <ide>Generate context for cursor/claude/opencode/all
workplace sessionsList chat sessions for current workplace
workplace session new [label]Create a new chat session
workplace session continue [label]Resume a saved session
workplace session delete <label>Delete a saved session
workplace session rename <old> <new>Rename a session

Architecture

Registry

Central registry at ~/.openclaw/workspace/.workplaces/:

  • registry.json — all known workplaces with UUID, path, hostname, links
  • current.json — currently active workplace
  • loaded.json — workplaces currently "open/loaded" for quick access and cross-workspace ops

Per-Workplace Structure

Each project gets a .workplace/ directory:

.workplace/
├── config.json          # UUID, name, path, hostname, linked, parent
├── agents/*.md          # Agent role definitions (kernel.md always present)
├── memory/              # Isolated daily logs (YYYY-MM-DD.md)
├── skills/              # Workplace-specific skills (user-managed via git)
├── chat.md              # Inter-agent communication
├── structure.json       # Auto-scanned file tree
├── full-tree.md         # Full tree with parent + linked workplaces (by hostname)
├── process-status.json  # Agent runtime states and errors
└── deploy/              # Deployment docs: dev.md, main.md, pre.md

Loaded Workplaces

loaded.json tracks which workplaces are currently "open". This is distinct from the registry (all known workplaces) and current (the one active workplace). Loaded workplaces are the set you're actively working with — useful for cross-workspace agent orchestration, quick switching, and context awareness.

[
  {
    "uuid": "74cdd6fd-...",
    "name": "log-stream",
    "path": "/Users/dev/opensource/log-stream",
    "loadedAt": "2026-02-17T22:05:00Z",
    "source": "manual"
  }
]

Fields:

  • uuid — workplace UUID (matches registry)
  • name — display name
  • path — absolute filesystem path
  • loadedAt — ISO timestamp when loaded
  • source — how it was loaded (manual, auto, linked)

Manage via scripts/loaded_workplaces.sh (list/load/unload/status).

Session Management

Per-workplace chat sessions are tracked in ~/.openclaw/workspace/.workplaces/sessions.json. Each workplace UUID maps to an array of sessions (sessionId, label, timestamps) and an activeSession pointer.

When switching workplaces:

  1. If the target has saved sessions → show "Continue" buttons + "New chat" button
  2. If no saved sessions → auto-create a new session
  3. Session transcripts are stored as OpenClaw .jsonl files

On "Continue": set activeSession, load recent context from transcript. On "New chat": generate a new session entry, prompt for optional label.

See telegram-ui.md for full button layouts and callback routing.

Workplace Detection

  • Any directory with .git/ is a potential workplace
  • Submodules included as nested workplaces
  • Parent workplace auto-detected from parent directories
  • Manual linking via workplace link

Workflows

Initialize a Workplace

  1. Run scripts/init_workplace.sh <path> [--name <name>] [--desc <desc>]
  2. For existing projects: scan file structure, read *.md files, analyze project type, suggest agents
  3. For empty folders: ask project name, description, language/framework, roles needed
  4. Creates .workplace/ structure, registers in central registry, sets as current
  5. See init-guide.md for full flow details

Agent System

Agents are defined as .md files in .workplace/agents/ with YAML frontmatter (name, role, triggers, handoff_to). Run agents via sessions_spawn with system prompts built from their definitions + workplace context.

Inter-Agent Communication

Agents communicate via chat.md using a structured message protocol. The Rust file-watcher server monitors changes and outputs parsed messages as JSON lines.

Rust File-Watcher Server

Binary at assets/bin/workplace-server-{os}-{arch}. Build from source with scripts/build.sh.

# Start server for a workplace
workplace-server /path/to/project

# Server outputs JSON lines to stdout for each new chat.md message
{"timestamp":"...","sender":"coder","recipient":"reviewer","broadcast":[],"message":"...","line_number":1}

Export/Import

  • ZIP: Full .workplace/ folder (memory excluded by default)
  • JSON: Config + agent definitions + deploy docs as portable manifest
  • Import generates a new UUID to avoid collisions

Chat UI (Telegram / Discord)

On platforms with inline buttons, workplace list shows a clickable switcher. workplace agents shows start/stop buttons per agent. workplace deploy shows environment buttons.

See telegram-ui.md for message formats, button components, and callback handling.

Fallback: numbered text lists on platforms without button support (WhatsApp, Signal).

IDE Integration

Sync workplace context to external coding tools:

  • Cursor.cursor/rules/workplace.mdc (MDC with frontmatter)
  • Claude CodeCLAUDE.md (markdown, marker-based updates)
  • OpenCodeopencode.jsonc instructions field

Run workplace sync all to update all detected IDEs, or target one: workplace sync cursor.

See ide-sync.md for implementation details.

Scripts

ScriptPurpose
scripts/init_workplace.shInitialize .workplace/ in a directory
scripts/scan_workplaces.shFind .git workplaces under a path
scripts/loaded_workplaces.shManage loaded/open workplaces (list/load/unload/status)
scripts/build.shBuild Rust server for current platform

Supermemory Integration

Each workplace uses its UUID as containerTag for supermemory operations:

  • Kernel agent saves structure summaries and project facts
  • All workplace memories are isolated by containerTag
  • Enables cross-session project state awareness

Command Details

See commands.md for full command reference with examples.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

89.74%
按下载量换算6,071

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills