🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
📝 docs(skill): document workspace scope and the missing lh modules in the lobehub skill (#21183)
Arvin Xudb6acdb12af5
diff --git a/packages/builtin-skills/src/lobehub/content.ts b/packages/builtin-skills/src/lobehub/content.tsindex 653b8dd8d4d..96bea2058b6 100644--- a/packages/builtin-skills/src/lobehub/content.ts+++ b/packages/builtin-skills/src/lobehub/content.ts@@ -43,25 +43,48 @@ run commands.# Available Modules-| Module | Description |-|--------|-------------|-| \`lh kb\` | Knowledge base management (create, upload, organize) |-| \`lh memory\` | User memory management (identity, activity, preference) |-| \`lh topic\` | Conversation topic management |-| \`lh file\` | File management |-| \`lh doc\` | Document management (create, parse, organize) |-| \`lh agent\` | Agent management (create, configure, run) |-| \`lh search\` | Search local resources or the web |-| \`lh gen\` | Content generation (text, image, video, TTS, ASR) |-| \`lh message\` | Message management and search |-| \`lh skill\` | Skill management (install, create, manage) |-| \`lh model\` | AI model management |-| \`lh provider\` | AI provider management |-| \`lh plugin\` | Plugin management |-| \`lh bot\` | Bot integration management (Discord, Slack, Telegram, etc.) |-| \`lh widget\` / \`lh dashboard\` | Monitoring widgets (sandboxed scripts) and the dashboards they sit on |-| \`lh eval\` | Evaluation workflow management |-| \`lh whoami\` / \`lh usage\` | User info and usage statistics (top-level commands, not a \`config\` module) |+| Module | Description | Reference |+|--------|-------------|-----------|+| \`lh workspace\` | Team workspaces, members and the scope every command runs under | \`references/workspace\` |+| \`lh agent\` | Agent management (create, configure, run) | \`references/agent\` |+| \`lh agent-group\` / \`lh session-group\` | Multi-agent group chats / sidebar folders | \`references/agent-group\` |+| \`lh topic\` / \`lh thread\` | Conversation topics and their threads | \`references/topic\` |+| \`lh message\` / \`lh notify\` | Message search and stats / post into a conversation | \`references/message\` |+| \`lh doc\` | Document management (create, parse, organize) | \`references/doc\` |+| \`lh kb\` | Knowledge base management (create, upload, organize) | \`references/kb\` |+| \`lh file\` | File management | \`references/file\` |+| \`lh memory\` | User memory management (identity, activity, preference) | \`references/memory\` |+| \`lh search\` | Search local resources or the web | \`references/search\` |+| \`lh gen\` | Content generation (text, image, video, TTS, ASR) | \`references/generate\` |+| \`lh project\` / \`lh task\` | Projects and agent tasks | \`references/project\` |+| \`lh goal\` | Long-running goal graphs | \`references/goal\` |+| \`lh trace\` | Inspect and replay recorded agent runs | \`references/trace\` |+| \`lh skill\` | Skill management (install, create, manage) | \`references/skill\` |+| \`lh model\` | AI model management | \`references/model\` |+| \`lh provider\` | AI provider management | \`references/provider\` |+| \`lh plugin\` | Plugin management | \`references/plugin\` |+| \`lh bot\` | Bot integration management (Discord, Slack, Telegram, etc.) | \`references/bot\` |+| \`lh widget\` / \`lh dashboard\` | Monitoring widgets (sandboxed scripts) and the dashboards they sit on | \`references/dashboard\` |+| \`lh eval\` | Evaluation workflow management | \`references/eval\` |+| \`lh whoami\` / \`lh usage\` / \`lh user\` / \`lh migrate\` | Account, usage, settings and imports (top-level commands, not a \`config\` module) | \`references/config\` |++Covered by their own skills, so activate the skill instead of reading a reference here:+\`lh task\` inside a task run (\`task\` skill), \`lh artifact\` (\`artifacts\` skill) and+\`lh acceptance\` (\`acceptance\` skill).++# Workspace scope++Every command runs against one scope: the user's personal content, or one team+workspace. Your run starts in the scope it was launched from.++- "Workspace" is ambiguous. The user may mean a team workspace (\`lh workspace\`), your+ own agent documents, a task's documents, or the local directory. If the request fits+ more than one and the first place you look has nothing, say what you checked and ask+- When something you expect reports "not found", check the scope with \`lh workspace current\`+ before concluding it does not exist+- To work in another workspace, \`lh workspace use <id|slug>\` switches the saved scope.+ Note the original scope from \`lh workspace current\` first, and switch back when you are+ done (\`lh workspace use <original>\` or \`lh workspace use --personal\`). See \`references/workspace\`# Usage Pattern@@ -69,7 +92,7 @@ run commands.2. Run commands via \`runCommand\` — the \`lh\` prefix is automatically handled3. Add \`--json\` for structured output on commands that support it (most \`list\` / \`view\`commands do; many write commands do not)-4. Use \`lh <module> <command> --help\` for the exact flags of a command+4. Use \`lh <module> <command> --help\` (or \`lh man <module> <command>\`) for the exact flags of a command5. If the CLI rejects a command or flag shown in these references (\`unknown command\` /\`unknown option\`), the installed \`lh\` is a different version from this guide. Run\`lh <module> <command> --help\` once and use what it lists — do not retry guessed variantsdiff --git a/packages/builtin-skills/src/lobehub/index.test.ts b/packages/builtin-skills/src/lobehub/index.test.tsnew file mode 100644index 00000000000..98eb24ea0ff--- /dev/null+++ b/packages/builtin-skills/src/lobehub/index.test.ts@@ -0,0 +1,25 @@+import { describe, expect, it } from 'vitest';++import { LobeHubSkill } from './index';++const referencedPaths = (text: string) =>+ [...new Set(text.match(/references\/[\w/-]+/g) ?? [])].map((path) => path.replace(/\/$/, ''));++describe('LobeHubSkill', () => {+ it('registers every reference the guide points to', () => {+ const resources = Object.keys(LobeHubSkill.resources ?? {});+ const contents = [+ LobeHubSkill.content,+ ...Object.values(LobeHubSkill.resources ?? {}).map((r) => r.content),+ ];++ for (const path of contents.flatMap((text) => referencedPaths(text ?? ''))) {+ expect(resources, `${path} is referenced but not registered`).toContain(path);+ }+ });++ it('documents workspace scope in the guide', () => {+ expect(LobeHubSkill.content).toContain('`lh workspace`');+ expect(LobeHubSkill.content).toContain('references/workspace');+ });+});diff --git a/packages/builtin-skills/src/lobehub/index.ts b/packages/builtin-skills/src/lobehub/index.tsindex 16d1757bab0..ff3699f9e33 100644--- a/packages/builtin-skills/src/lobehub/index.ts+++ b/packages/builtin-skills/src/lobehub/index.ts@@ -4,6 +4,7 @@ import { systemPrompt } from './content';import { toResourceMeta } from './helpers';import { LobeHubIdentifier, LobeHubManifest } from './manifest';import agent from './references/agent';+import agentGroup from './references/agent-group';import bot from './references/bot';import botDiscord from './references/bot-discord';import botFeishu from './references/bot-feishu';@@ -18,15 +19,19 @@ import doc from './references/doc';import eval_ from './references/eval';import file from './references/file';import generate from './references/generate';+import goal from './references/goal';import kb from './references/kb';import memory from './references/memory';import message from './references/message';import model from './references/model';import plugin from './references/plugin';+import project from './references/project';import provider from './references/provider';import search from './references/search';import skill from './references/skill';import topic from './references/topic';+import trace from './references/trace';+import workspace from './references/workspace';export { LobeHubIdentifier };@@ -35,6 +40,7 @@ export const LobeHubSkill: BuiltinSkill = {content: systemPrompt,resources: toResourceMeta({'references/agent': agent,+ 'references/agent-group': agentGroup,'references/bot': bot,'references/bot/discord': botDiscord,'references/bot/feishu': botFeishu,@@ -49,14 +55,18 @@ export const LobeHubSkill: BuiltinSkill = {'references/eval': eval_,'references/file': file,'references/generate': generate,+ 'references/goal': goal,'references/kb': kb,'references/memory': memory,'references/message': message,'references/model': model,'references/plugin': plugin,+ 'references/project': project,'references/provider': provider,'references/search': search,'references/skill': skill,'references/topic': topic,+ 'references/trace': trace,+ 'references/workspace': workspace,}),};diff --git a/packages/builtin-skills/src/lobehub/references/agent-group.ts b/packages/builtin-skills/src/lobehub/references/agent-group.tsnew file mode 100644index 00000000000..10d5f001fd1--- /dev/null+++ b/packages/builtin-skills/src/lobehub/references/agent-group.ts@@ -0,0 +1,32 @@+const content = `# lh agent-group / lh session-group - Agent Groups and Sidebar Folders++Two different "groups":++- **Agent group** (\`lh agent-group\`): several agents that work together in one group chat.+- **Session group** (\`lh session-group\`): a folder that organizes agents in the sidebar. It has no behavior.++## Agent groups++- \`lh agent-group list [--json]\` - List agent groups+- \`lh agent-group view <id> [--json]\` - View a group and its members+- \`lh agent-group create -t <title> [-d <description>] [--json]\` - Create a group+- \`lh agent-group edit <id> [-t <title>] [-d <description>]\` - Update a group+- \`lh agent-group duplicate <id> [-t <title>]\` - Duplicate a group+- \`lh agent-group add-agents <groupId> --agent-ids <id1,id2>\` - Add agents+- \`lh agent-group remove-agents <groupId> --agent-ids <id1,id2> [--keep-virtual] [--yes]\` - Remove agents+- \`lh agent-group delete <id> [--yes]\` - Delete a group++## Session groups (sidebar folders)++- \`lh session-group list [--json]\` - List folders+- \`lh session-group create -n <name> [-s <sort>]\` - Create a folder+- \`lh session-group edit <id> [-n <name>] [-s <sort>]\` - Rename or reorder a folder+- \`lh session-group sort --map "id1:0,id2:1"\` - Reorder several folders at once+- \`lh session-group delete <id> [--yes]\` - Delete a folder++## Tips++- \`remove-agents\` deletes virtual agents (ones that exist only inside the group) unless \`--keep-virtual\` is set+`;++export default content;diff --git a/packages/builtin-skills/src/lobehub/references/config.ts b/packages/builtin-skills/src/lobehub/references/config.tsindex b26395f714c..f83f0e0c70a 100644--- a/packages/builtin-skills/src/lobehub/references/config.ts+++ b/packages/builtin-skills/src/lobehub/references/config.ts@@ -1,4 +1,4 @@-const content = `# lh whoami / lh usage - User Info and Usage+const content = `# lh whoami / lh usage / lh user - Account, Usage and SettingsView account information and usage statistics. These are **top-level** commands —there is no \`config\` module.@@ -8,6 +8,20 @@ there is no \`config\` module.- \`lh whoami [--json]\` - Display current user information and the workspace scope- \`lh usage [--month <YYYY-MM>] [--agent-id <id>] [--daily] [--json]\` - View token usage statistics+## Account (\`lh user\`)++- \`lh user info [--json]\` - View registration info+- \`lh user update-name [--full-name <name>] [--username <name>]\` - Change the display name or username+- \`lh user update-avatar <url>\` - Change the avatar (URL or Base64)+- \`lh user settings --data <json>\` - Update user settings+- \`lh user preferences --data <json>\` - Update user preferences++These change the user's own account. Only run them when the user asks for that change.++## Import from other tools (\`lh migrate\`)++- \`lh migrate openclaw [--source <path>] [--agent-id <id> | --slug <slug>] [--dry-run] [--yes]\` - Import OpenClaw workspace files from this machine as agent documents (run \`--dry-run\` first)+## Tips- \`whoami\` shows user ID, email, account details and whether commands run in a workspacediff --git a/packages/builtin-skills/src/lobehub/references/goal.ts b/packages/builtin-skills/src/lobehub/references/goal.tsnew file mode 100644index 00000000000..1d4e08f2c34--- /dev/null+++ b/packages/builtin-skills/src/lobehub/references/goal.ts@@ -0,0 +1,33 @@+const content = `# lh goal - Goal Graphs++A goal is a long-running objective. Its graph holds task, question, experiment,+finding and decision nodes, and a coordinator dispatches the tasks round by round.++## Read a goal++- \`lh goal list [--agent <id>] [--project <id>] [--status <status...>] [--limit <n>] [--json]\` - List goals with progress+- \`lh goal show <id> [--json]\` - Show the goal and its graph+- \`lh goal graph <id> [--json]\` - Show only the graph+- \`lh goal state <id> [--json]\` - Explain why the goal will or will not accept a plan right now+- \`lh goal events <id> [-L <n>] [--cursor <token>] [--entity goal|node|edge|decision|task] [--json]\` - Audit trail, newest first+- \`lh goal decisions <id> [--json]\` - List open decision gates (the goal waits on these)++## Change a goal++- \`lh goal create <title> [--topic] [-r <requirement>] [-t <task titles...>] [--project <id>] [--max-rounds <n>] [--max-cost <usd>]\` - Create a goal. With \`--topic\` it opens as a draft bound to this conversation and runs nothing until started. Without it the goal starts at once. Read \`lh man goal create\` first: it covers task files, batch rollout and budgets+- \`lh goal start <id>\` - Start a draft goal+- \`lh goal add-node <id> <kind> <title>\` / \`lh goal add-edge <id> <source> <target> <kind>\` - Edit the graph of a draft+- \`lh goal decide <id> <decision-id> --option <optionId> [--reason <text>]\` - Resolve a decision gate (option ids come from \`lh goal decisions\`)+- \`lh goal pause <id>\` / \`lh goal resume <id>\` - Pause or resume coordination+- \`lh goal set-budget <id> [--max-rounds <n>] [--max-cost <usd>] [--max-attempts-per-task <n>]\` - Change limits (\`none\` removes a limit)+- \`lh goal delete <id> [--yes]\` - Delete a goal and its graph++## Tips++- \`plan\`, \`report\` and \`wake\` belong to the goal's supervising agent and need a+ server-issued token. \`tick\` and \`run\` drive the coordinator by hand. Do not call any+ of them unless goal instructions in this run tell you to+- When a goal looks stuck, run \`lh goal state <id>\` and \`lh goal decisions <id>\` before changing anything+`;++export default content;diff --git a/packages/builtin-skills/src/lobehub/references/message.ts b/packages/builtin-skills/src/lobehub/references/message.tsindex 6a2f3c46443..09d3719fb96 100644--- a/packages/builtin-skills/src/lobehub/references/message.ts+++ b/packages/builtin-skills/src/lobehub/references/message.ts@@ -10,6 +10,13 @@ Manage chat messages.- \`lh message count [--start <date>] [--end <date>]\` - Count messages- \`lh message heatmap\` - Get message activity heatmap+## Notify a conversation++- \`lh notify --topic <topicId> -c <content> [--agent-id <id>] [--thread-id <id>] [--json]\` - Post a user message into a topic, which triggers the agent to reply+- \`lh notify --topic <topicId> -c <content> --role assistant [--message-id <id>] [--continue]\` - Write the message as the agent instead. \`--message-id\` updates that message in place, and \`--continue\` triggers a follow-up turn++Use it to report back to a conversation after background work finishes.+## Tips- Filter by \`--topic-id\` to get messages from a specific conversationdiff --git a/packages/builtin-skills/src/lobehub/references/project.ts b/packages/builtin-skills/src/lobehub/references/project.tsnew file mode 100644index 00000000000..104eb3b43d2--- /dev/null+++ b/packages/builtin-skills/src/lobehub/references/project.ts@@ -0,0 +1,37 @@+const content = `# lh project / lh task - Projects and Tasks++A project groups tasks, agents and knowledge bases around one outcome. Tasks are+units of agent work with an identifier such as \`LOBE-12\`.++## Projects++- \`lh project list [--status <statuses...>] [--json]\` - List projects+- \`lh project view <id> [--json]\` - View project detail+- \`lh project create -i <identifierPrefix> -n <name> [-d <desc>] [--slug <slug>] [--visibility <v>]\` - Create a project (\`-i\` is the task prefix, e.g. \`LOBE\`)+- \`lh project edit <id> [-n <name>] [-d <desc>] [--slug <slug>] [--visibility <v>]\` - Edit a project+- \`lh project status <id> <status>\` - Set backlog / active / paused / canceled / archived+- \`lh project request-review <id>\` / \`accept <id> [-m <comment>]\` / \`reject <id> -m <feedback>\` / \`reopen <id>\` - Review flow (\`reviewing\` / \`completed\` go through these)+- \`lh project agent add <projectId> <agentId> [--role <role>] [--responsibility <text>]\` / \`agent remove <projectId> <agentId>\`+- \`lh project kb add <projectId> <kbId>\` / \`kb remove <projectId> <kbId>\`+- \`lh project task create <projectId> -i <instruction> [-n <name>] [--agent <agentId>] [--parent <taskId>]\` - Create a task in the project+- \`lh project delete <id> [--yes]\` - Delete a project (its tasks are kept, without a project)++## Tasks++- \`lh task list [--root] [--parent <id>] [--agent <id>] [--tree] [--board] [-L <n>] [--json]\` - List tasks+- \`lh task view <id> [--json]\` - View a task (instruction, documents, activities)+- \`lh task create -i <instruction> [-n <name>] [--agent <id>] [--user <idOrEmail>] [--parent <id>] [--priority <0-4>]\` - Create a task+- \`lh task edit <id> [-n <name>] [-i <instruction>] [--agent <id>] [--user <idOrEmail>] [--priority <0-4>]\` - Edit a task+- \`lh task comment <id> -m <text>\` - Add a progress comment++When you are executing a task run, the \`task\` skill covers the full lifecycle+(subtasks, dependencies, task documents, completion rules). Activate it instead of+guessing. \`lh man task\` lists every subcommand.++## Tips++- \`--user\` takes an email or username only in a workspace scope (see \`references/workspace\`). In personal scope it needs a \`user_…\` id+- Priority: 0 none, 1 urgent, 2 high, 3 normal, 4 low+`;++export default content;diff --git a/packages/builtin-skills/src/lobehub/references/topic.ts b/packages/builtin-skills/src/lobehub/references/topic.tsindex fa56814ec7a..a77d20b9f46 100644--- a/packages/builtin-skills/src/lobehub/references/topic.ts+++ b/packages/builtin-skills/src/lobehub/references/topic.ts@@ -12,6 +12,14 @@ Manage conversation topics (chat sessions).- \`lh topic delete <ids...> [--yes]\` - Delete one or more topics- \`lh topic recent [-L <limit>]\` - List recently accessed topics+## Threads++A thread is a side conversation branched off a message inside a topic.++- \`lh thread list --topic-id <id> [--json]\` - List threads in a topic+- \`lh thread list-all [--json]\` - List all your threads+- \`lh thread delete <id> [--remove-children] [--yes]\` - Delete a thread+## Tips- Topics are associated with agents; use \`--agent-id\` to filterdiff --git a/packages/builtin-skills/src/lobehub/references/trace.ts b/packages/builtin-skills/src/lobehub/references/trace.tsnew file mode 100644index 00000000000..26ae6fd68f0--- /dev/null+++ b/packages/builtin-skills/src/lobehub/references/trace.ts@@ -0,0 +1,27 @@+const content = `# lh trace - Agent Execution Traces++Inspect what an agent run actually did: each step, the LLM payload, the tool calls,+and the context it ran with. Use it to explain a past run instead of guessing.++## Operations (\`lh trace op\`)++- \`lh trace op list [--topic <topicId>] [-l <n>] [-j]\` - List recorded operations (\`--topic\` reads them from the server)+- \`lh trace op inspect [target] [-j]\` - Overview of one operation (\`target\`: operation id, trace id, snapshot path, URL or \`latest\`)+ - \`-s <n>\` one step · \`-m\` messages · \`-t\` tool calls · \`-e\` raw events · \`-c\` runtime context+ - \`-r\` full system role · \`--env\` environment context · \`-d <n>\` diff against step N (with \`-r\` / \`--env\`)+ - \`-T\` tools registered in the LLM payload · \`-M\` user memory · \`-p\` context engine input+ - \`--msg <n>\` / \`--msg-input <n>\` full content of message N in the final payload / engine input+- \`lh trace op replay [target] [-s <n>] [-m <provider/model,...>] [--all-steps] [--json]\` - Re-issue a recorded LLM call, optionally against other models (this spends tokens)++## Goals (\`lh trace goal\`)++- \`lh trace goal list [--server] [-l <n>] [-j]\` - List recorded goal trajectories+- \`lh trace goal inspect <target> [-a <n>] [-j]\` - Show a goal's advances and the decision behind each tick++## Tips++- Without \`--topic\` / \`--server\`, \`list\` only shows snapshots saved on this machine. To find the runs of a conversation, use \`lh trace op list --topic <topicId>\`+- Start with the overview, then drill into the step that went wrong with \`-s <n> -t\`+`;++export default content;diff --git a/packages/builtin-skills/src/lobehub/references/workspace.ts b/packages/builtin-skills/src/lobehub/references/workspace.tsnew file mode 100644index 00000000000..6402dfdc31b--- /dev/null+++ b/packages/builtin-skills/src/lobehub/references/workspace.ts@@ -0,0 +1,62 @@+const content = `# lh workspace - Workspaces and Command Scope++A workspace is a shared team space with its own agents, topics, documents, knowledge+bases, tasks and members. Every \`lh\` command runs against exactly one scope: the+user's **personal** content, or **one workspace**. The same id can exist in one scope+and be "not found" in the other.++## "Workspace" means different things++When the user says "my workspace", work out which one they mean before reading:++| They may mean | Where it lives | How to reach it |+|---------------|----------------|-----------------|+| A team workspace | \`lh workspace\` | \`lh workspace current\` / \`lh workspace list\` |+| Your own documents | Agent documents (the documents tool, or \`lh doc\`) | Default for "my notes / my reports" |+| A task's pinned documents | \`lh task doc\` | Only inside a task run |+| The local working directory | The device shell | Only when a device is connected |++If the request fits more than one row and the first place you check has nothing+matching, say what you checked and ask. Do not report "not found" after looking in one scope.++## Commands++- \`lh workspace current [--json]\` - Show the scope commands run under, and where it came from+- \`lh workspace use <id|slug>\` / \`lh workspace use --personal\` - Switch the saved scope (restore it afterwards, see below)+- \`lh workspace list [--json]\` - List workspaces you belong to (id, name, slug, role, plan)+- \`lh workspace view [workspaceId] [--json]\` - View workspace detail (defaults to the active scope)+- \`lh workspace members [-w <id>] [--json]\` - List workspace members+- \`lh workspace stats [-w <id>] [--mine] [--json]\` - Content statistics (admin or higher; \`--mine\` works for every member)+- \`lh workspace usage [-w <id>] [--since <date>] [--until <date>] [--json]\` - Credit usage for the current billing window+- \`lh workspace settings [-w <id>] [--json]\` - Show the workspace settings blob+- \`lh workspace create <name> -s <slug> [-d <desc>] [--avatar <url|emoji>] [--use]\` - Create a workspace+- \`lh workspace update [-w <id>] [-n <name>] [-s <slug>] [-d <desc>] [--avatar <url|emoji>]\` - Update the profile (admin or higher)+- \`lh workspace invite <email> [-w <id>] [-r admin|member|viewer]\` - Invite a member (admin or higher)+- \`lh workspace invitations [-w <id>]\` - List pending invitations (admin or higher)+- \`lh workspace audit-log [-w <id>] [--action <a>] [--resource-type <t>] [-q <text>] [--start <date>] [--end <date>] [-L <n>]\` - Audit log (admin or higher, Business plan)++\`-w\` only changes which workspace these \`lh workspace\` subcommands read. It does not+change the scope of other modules.++## Scope rules for agent runs++- Your run starts in the scope it was launched from: a workspace run in that workspace,+ a personal run in personal content. \`lh whoami\` or+ \`lh workspace current\` shows which one you are in. Check it first when something you+ expect to exist reports "not found".+- To work in another workspace, switch with \`lh workspace use\` and **always switch back**:+ 1. \`lh workspace current\` - note the original scope+ 2. \`lh workspace use <id|slug>\` - switch+ 3. Do the work, then confirm with \`lh workspace current\`+ 4. \`lh workspace use <original>\` (or \`lh workspace use --personal\`) - restore++ The saved scope is shared by every later \`lh\` command on this machine, including the+ user's own. Restore it even when the work fails partway. If \`lh workspace current\`+ does not change after \`use\`, this run's scope is fixed: tell the user instead of retrying.+- \`lh topic view <id> --workspace <workspaceId>\` and \`lh topic export <id> --workspace <workspaceId>\`+ read one conversation from another workspace without switching.+- Role-gated commands (admin or higher) fail with a permission error for members. Report+ that error as it is. Do not retry with other flags.+`;++export default content;diff --git a/packages/builtin-skills/src/task/SKILL.md b/packages/builtin-skills/src/task/SKILL.mdindex 18531716953..d3d33bfdfff 100644--- a/packages/builtin-skills/src/task/SKILL.md+++ b/packages/builtin-skills/src/task/SKILL.md@@ -5,7 +5,7 @@ You are executing a task within the LobeHub task system. Use the `lh task` CLI v| Command | Description || ------------------------------- | ----------------------------------------------------- |-| `lh task view <id>` | View task details, instruction, workspace, activities |+| `lh task view <id>` | View task details, instruction, documents, activities || `lh task edit <id>` | Update task name, instruction, status, priority || `lh task complete <id>` | Mark task as completed || `lh task comment <id> -m "..."` | Add a progress comment |@@ -21,7 +21,7 @@ You are executing a task within the LobeHub task system. Use the `lh task` CLI v| `lh task dep add <id> <dependsOnId>` | Add dependency || `lh task dep rm <id> <dependsOnId>` | Remove dependency |-# Task Workspace (Documents)+# Task Documents| Command | Description || ------------------------------------------------- | ------------------------- |@@ -46,7 +46,7 @@ You are executing a task within the LobeHub task system. Use the `lh task` CLI v# Task Execution Guidelines- **Check your task first**: Use `lh task view` to understand the full instruction and context-- **Use workspace documents**: Store outputs and deliverables as task documents+- **Use task documents**: Store outputs and deliverables as task documents- **Report progress**: Use `lh task comment` to log key milestones- **Respect dependencies**: Check `lh task tree` to understand task ordering- **Complete when done**: Use `lh task complete` when all deliverables are readydiff --git a/packages/builtin-skills/src/task/references/commands.md b/packages/builtin-skills/src/task/references/commands.mdindex 82df82fe9da..826729e2dc2 100644--- a/packages/builtin-skills/src/task/references/commands.md+++ b/packages/builtin-skills/src/task/references/commands.md@@ -6,7 +6,7 @@- `--status`: pending, running, paused, completed, failed, canceled- `--root`: Only root tasks (no parent)- `--tree`: Display as tree structure-- `lh task view <id>` - View task details (instruction, workspace, activities)+- `lh task view <id>` - View task details (instruction, documents, activities)- `lh task create -i <instruction> [-n <name>] [--agent <id>] [--parent <id>] [--priority <0-4>]` - Create task- Priority: 0=none, 1=urgent, 2=high, 3=normal, 4=low- `lh task edit <id> [-n <name>] [-i <instruction>] [--status <status>] [--priority <0-4>] [--agent <id>]` - Update task@@ -64,7 +64,7 @@- `lh task topic cancel <topicId>` - Cancel running topic and pause task- `lh task topic delete <topicId> [--yes]` - Delete topic and messages-## Document Commands (Workspace)+## Document Commands- `lh task doc create <id> -t <title> [-b <content>] [--parent <docId>] [--folder]` - Create and pin document- `lh task doc pin <id> <documentId>` - Pin existing document@@ -77,4 +77,4 @@- Task identifiers use format like TASK-1, TASK-2, etc.- Use `lh task tree` to visualize full task hierarchy before planning work- Use `lh task comment` to log progress — comments appear in task activities-- Documents in workspace are accessible to the agent during execution+- Documents pinned to the task are accessible to the agent during execution