Skip to content
Automation
Command

/os-init

初始化AI Team OS系统 — 生成配置文件和目录结构

From plugin
ai-company
3408 skills25 agents8 commands1 MCP
Install
> /plugin marketplace add CronusL-1141/AI-company
> /plugin install ai-team-os@ai-team-os

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/os-init

Context preview

What this command does when you run it.

初始化AI Team OS系统 — 生成配置文件和目录结构

Command definition

os-init.md
name: os-init
description: 初始化AI Team OS系统 — 生成配置文件和目录结构

/os-init — 系统初始化

你需要帮助用户初始化 AI Team OS 项目配置。

操作步骤

1. 检查当前目录是否已有 `aiteam.yaml` 配置文件 2. 如果已存在,询问用户是否需要重新初始化 3. 向用户展示可用模板并让其选择:

  • **research** — 研究团队模板(首席研究员 + 文献分析师 + 数据分析师)
  • **development** — 开发团队模板(技术总监 + 后端开发 + 前端开发 + 测试工程师)
  • **analysis** — 分析团队模板(首席分析师 + 数据采集员 + 数据建模师)
  • **默认** — 空白配置,手动编辑

4. 使用 Bash 工具执行初始化命令:

   python -m aiteam.cli.app init --template <template>

或不带模板参数生成默认配置 5. 展示初始化结果和后续步骤

初始化后提示

初始化完成后,告知用户后续步骤:

## 初始化完成

已生成配置文件: aiteam.yaml
已创建工作目录: .aiteam/

### 后续步骤
1. 编辑 `aiteam.yaml` 自定义团队配置
2. 运行 `/os-up` 启动 API 服务
3. 运行 `/os-status` 查看系统状态
4. 运行 `/os-help` 查看更多可用命令

注意

  • 所有输出使用中文
  • 如果配置文件已存在,必须先征得用户同意才能覆盖
  • 初始化不会启动服务,仅创建配置文件
Ships withai-company

Multi-agent team operating system for Claude Code. 108 MCP tools, 40+ agent templates, 10 lifecycle hooks, 7 pipeline workflows. Persistent teams, structured meetings, task wall, real-time React dashboard. No LangChain/AutoGen — pure CC native integration.

Get the whole plugin