setup
它能做什么
这项技能教智能体如何为团队搭建 TeamAI 系统。内容包括以管理员身份创建新的团队仓库、以成员身份加入,以及管理角色、设置和移除。
适用场景
- ✓当有人想从零开始为团队设置 TeamAI 的时候。
- ✓当团队成员拿到仓库链接,需要加入团队 TeamAI 的时候。
- ✓当管理员需要邀请成员、更改角色,或从电脑上移除 TeamAI 的时候。
技能链接
https://github.com/Tencent/teamai-cli/blob/main/skill-data/setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我加入团队的 TeamAI。我的经理发给了我仓库链接。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查是否已安装所需的 Node 版本,然后按管理员、成员或卸载的路径进行设置。它会自行运行命令,只在必要时请用户做选择。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
teamai — setup and lifecycle
You run the commands; the user only makes choices when you ask. They may not know Git — never explain branches, commits or clones.
Before anything
node --version # must be >= 20
teamai --version # install once with: npm install -g teamai-cli
Then pick the flow. A user setting up a new team becomes its admin and creates
the repo; a user joining an existing team needs a repo URL from their admin. A
would-be member without a URL is still the join flow — join-member.md tells
them how to ask for it. Do not send them to the create-repo flow because the URL
is missing.
| The user wants to… | Load this |
|---|---|
| Set up TeamAI for a team from scratch (create the repo) | {SKILL_DIR}/references/setup-admin.md |
| Join their team, with or without a repo URL | {SKILL_DIR}/references/join-member.md |
| Publish or update skills, rules, MCP, env; invite members; manage roles | {SKILL_DIR}/references/manage-admin.md |
| Remove TeamAI from this machine | {SKILL_DIR}/references/uninstall.md |
| Publish one skill or contribute a doc | "$(teamai skill path core)/references/contribute-member.md" |
| Anything that breaks along the way | "$(teamai skill path core)/references/troubleshooting.md" |
Supported Git providers are Tencent TGit, GitHub, GitLab and CNB;
{SKILL_DIR}/references/setup-admin.md carries the detection probe, the sign-in
and create-repo URLs, and the per-provider caveats, and points at
{SKILL_DIR}/references/provider-tgit.md for everything TGit-specific.
Rules for these flows
- Always use a full URL for the team repo (e.g.
https://github.com/your-org/your-repo). Never theowner/reposhort form. - Don't limit which AI tools get set up — cover all of them by default.
Unless the user names specific tools, do not pass
--agentto restrict the install. Letteamai initset up every AI tool already installed (omitting--agentgives an interactive picker; select all detected tools). After init, report which agents were set up — in the user's language, which tools now auto-start TeamAI, which detected tools were skipped and why (e.g. CodeBuddy design), and any installed hooks that still need trust (e.g. Codex with automatic trust disabled or unavailable). Verify the real per-tool result withteamai doctorandteamai hooks list. teamai initdoes not pull. It saves the config and installs hooks. It does not copy team skills, rules or MCP. In workspace scope it creates a tool directory only for a tool named with--agent, or picked when a person runs it in a terminal. Those resources arrive on that tool's next session start, or when you runteamai pull. Run from an agent shell (no terminal), a workspace-scope init without--agentcreates no tool directory: the directory appears when the user opens that tool in the project, and that session start pulls.- Finish with
teamai doctor. Every setup or onboarding flow ends by running it and resolving what it reports before you call the job done.
Every public command and every flag, including the flags --help hides, is listed in
teamai skill get core --full under references/commands.md. Do not guess a flag:
there is no member-invite flag, for instance — inviting happens on the Git
platform's website, as manage-admin.md describes.
References
In the files below, {SKILL_DIR} is the directory teamai skill path setup prints; a reference file you open on its own writes that directory as SKILL_DIR in braces.
| File | When to load it |
|---|---|
{SKILL_DIR}/references/setup-admin.md |
Creating a team repo: provider detection, auth, repo creation, first push. |
{SKILL_DIR}/references/join-member.md |
Joining an existing team from a repo URL. |
{SKILL_DIR}/references/manage-admin.md |
Day-to-day admin: publishing resources, roles, projects, MCP, env, members. |
{SKILL_DIR}/references/uninstall.md |
Removing TeamAI from a machine or from one agent. |
| `{SKILL_DIR}/r |
常见问题
设置前需要准备什么?
这项技能说明必须已安装 Node.js 20 或更高版本,以及 teamai 命令。
如果我没有团队仓库链接怎么办?
这项技能说明,没有链接的新成员仍可按加入流程操作,流程中会说明如何索取链接。
以后可以移除 TeamAI 吗?
可以。这项技能包含单独的卸载指南。
详情
作者的原始描述
TeamAI day 0 and repo lifecycle: create a team repo as admin, join an existing team as a member, manage members, roles, MCP and env, and uninstall. Loaded on demand by the teamai discovery stub.
repo: Tencent/teamai-cli
热度
- GitHub 星标
- 5.7k
- 排名
- #14742
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
core
5.7k帮你的智能体通过拉取和推送,同步团队共享的 AI 技能和规则,检查其状态,运行健康检查,并调用其他 TeamAI 工作流。
share
5.7k帮你的智能体把编程会话中学到的内容整理成简短的团队学习笔记,并通过 teamai contribute 命令发布到团队知识库。
wiki
5.7k帮你的智能体把庞大的多仓库代码库整理为结构化的知识库,其中每个结论都链接到它所来自的代码行。
workflow-local
5.7k帮你的智能体在这台机器上无人值守地运行团队工作流,适用于 CI 任务或云端智能体,且所有答案都在运行开始前确定。