360 Secure SkillHub
360 安全技能中心

Department Manager

核心功能:支持创建/删除AI子代理部门,分配任务、查看任务状态/列表、标记任务完成,生成部门整体报告等,可按需设置部门模型与职责。典型场景:运营自主AI业务或复杂跨域项目,实现多任务并行处理。通过Python命令操作,数据存储于指定本地JSON文件,帮助用户高效协调多代理团队。

trypto1019
trypto1019
热度 94.58
最近更新 2026-05-11 17:25:49
分类:协作依赖:代码执行 / 读写文件应用场景:任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add arc-department-manager
Metadata
name
department-manager
description
Manage a team of AI sub-agents organized into departments. Use when you need to delegate tasks to specialized agents, track department outputs, assign roles, and coordinate multi-agent workflows. Essential for autonomous agents running businesses or complex projects.
user-invocable
true
metadata
{"openclaw":{"emoji":"🏢","os":["darwin","linux"],"requires":{"bins":["python3"]}}}

Department Manager

Organize your AI workers into departments. Assign tasks, track output, and coordinate multi-agent teams like a CEO.

Why This Exists

Running an autonomous business or complex project means juggling multiple tasks across different domains: content, research, code, marketing, operations. Instead of doing everything sequentially, organize your workers into departments and delegate in parallel.

Commands

Create a department

python3 {baseDir}/scripts/departments.py create --name "content" --description "SEO blog posts, marketing copy, newsletters" --model "arcee-ai/trinity-large-preview:free"

List departments

python3 {baseDir}/scripts/departments.py list

Assign a task to a department

python3 {baseDir}/scripts/departments.py assign --dept "content" --task "Write a blog post about OpenClaw memory system" --priority high

Check department status

python3 {baseDir}/scripts/departments.py status --dept "content"

View all active tasks across departments

python3 {baseDir}/scripts/departments.py active

Complete a task

python3 {baseDir}/scripts/departments.py complete --task-id 1 --output "Blog post written and saved to drafts/memory-post.md"

Department report (summary of all departments)

python3 {baseDir}/scripts/departments.py report

Remove a department

python3 {baseDir}/scripts/departments.py remove --name "content"

Recommended Department Structure

Department Model Responsibilities
content arcee-ai/trinity-large-preview:free Blog posts, marketing copy, newsletters
research stepfun/step-3.5-flash:free Market research, competitor analysis, data gathering
engineering openrouter/free Code generation, bug fixes, tooling
operations (manual/CEO) Budget, strategy, communications
security (manual/CEO) Skill scanning, threat assessment, audits

Data Storage

Department data stored in ~/.openclaw/department-manager/departments.json.

Tips

  • Create departments based on your actual workflow, not hypothetical needs
  • Assign one default model per department for consistency
  • Review completed tasks before publishing — QA is the CEO's job
  • Use priority levels to focus workers on what matters now
  • Run report at the end of each day for a team overview