init
Initialize team config for a project. Creates .agenteam/config.yaml (or legacy agenteam.yaml) and generates .codex/agents/*.toml.
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
AgenTeam Init
Set up AgenTeam for the current project.
Process
1. Check Prerequisites
Resolve the runtime path first, then use the runtime entrypoint itself as the
readiness check. Do not spend time on separate environment probes if the runtime
can tell you what is missing.
Fast path:
python3 <plugin-dir>/runtime/agenteam_rt.py --help
If Python or dependencies are missing, the runtime prints a JSON error. Only then
offer the minimal install fix:
pip install pyyaml toml
2. Check for Existing Config
Check for config in this order:
.agenteam/config.yaml(personal).agenteam.team/config.yaml(team shared)- Legacy
agenteam.yaml
- If
.agenteam.team/config.yamlexists (team project): Use it as the
team config. Do not create .agenteam/config.yaml — personal overrides
are opt-in. Skip to step 4 (validate).
- If
.agenteam/config.yamloragenteam.yamlexists: Ask the user if
they want to reconfigure or keep existing config. If keeping, skip to step 4.
- If absent: Continue to step 3.
3. Create Config
Copy the template:
mkdir -p .agenteam
cp <plugin-dir>/templates/agenteam.yaml.template .agenteam/config.yaml
Default to a fast setup unless the user explicitly asks to customize:
- Team name: use the project directory name
- Pipeline mode: keep the template default unless the user asked for HOTL or dispatch-only
- Write scopes: keep defaults unless the repo clearly needs different paths
- Models: inherit the Codex platform default. Do not add role pins during
setup unless the user asks and the live Codex model catalog confirms them.
- Custom roles: do not ask up front; mention they can be added later with
$ateam:add-member
Only ask follow-up questions when a decision is genuinely ambiguous or the user
asked for a tailored team. Do not turn basic setup into a multi-question interview.
4. Validate Config
python3 <plugin-dir>/runtime/agenteam_rt.py validate
If validation fails, show the error and help the user fix it.
5. Generate Agents
python3 <plugin-dir>/runtime/agenteam_rt.py generate
This creates .codex/agents/*.toml for each role. Show the user what was generated.
If the new roles do not appear in the @ picker immediately, tell the user to:
- Confirm the generated files exist under
.codex/agents/in the current project - Open a new thread or restart Codex so it reloads workspace agents from that folder
6. HOTL Detection
Only do this if it changes the recommendation you will give the user. Skip it for
simple setup if the team is already ready to use.
python3 <plugin-dir>/runtime/agenteam_rt.py hotl check
If HOTL is available and pipeline is not already set to hotl:
- Inform the user: "HOTL plugin detected. You can set
pipeline: hotlin
.agenteam/config.yaml (or legacy agenteam.yaml) to integrate with HOTL workflows."
- Do not change the config automatically.
7. Summary
Show:
- Config file location
- Generated agent files
- Team roster (same format as using-ateam skill)
- Starter examples based on project type:
Detection: Glob for common source files (.py, .js, *.ts,
.go, .java, .rs, .rb, .swift, .kt). If any exist,
use "existing project" examples. Otherwise use "new project" examples.
For existing projects (source files detected):
Try these to get started:
@Reviewer review this codebase for security concerns
@Researcher what are the best practices for error handling in this stack?
@ATeam add comprehensive test coverage
@ATeam add a security auditor that focuses on OWASP top 10
For new/empty projects (no source files):
Try these to get started:
@Architect design a REST API for a task management app
@Researcher what's the best tech stack for a CLI tool in Python?
@ATeam build a simple todo app with tests
@ATeam add a docs writer to maintain README and API docs
Team config suggestion (when no .agenteam.team/config.yaml was detected):
After the starter examples, if the config was created locally (no team
config exists), append:
Your AgenTeam config is local. To share team settings with
collaborators, run @ATeam share-config.
Do not show this if .agenteam.team/config.yaml already exists.
After the roster/examples, add this note when setup created or refreshed local
agents:
If the new roles do not show up in the `@` picker right away, first confirm this
project now has `.codex/agents/*.toml` files, then open a new thread or restart
Codex to reload workspace agents from `.codex/agents/`.
Runtime Path Resolution
Resolve the AgenTeam runtime:
- If running from the plugin directory:
./runtime/agenteam_rt.py - If installed as a Codex plugin cache entry:
<plugin-install-path>/local/runtime/agenteam_rt.py
Resolve a versioned cache entry by locating its actual
runtime/agenteam_rt.py file and validating the sibling templates/ directory;
never stop at the unversioned .../ateam parent.
Performance Guardrails
- Prefer the shortest successful path: create config, validate, generate, show roster.
- Avoid unrelated repo exploration during first-time setup.
- Do not create a dummy run just to validate config.
- A normal first-time setup should usually take a few seconds, not minutes.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/yimwoo/codex-agenteam/skills/init/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 6 个不同仓库或目录里都有叫 init 的技能。它们内容并不相同,别混用:
- hashgraph-online/awesome-codex-plugins — First-time Archcore setup. Detects repo scale and shape, then composes a full first-day se
- hashgraph-online/awesome-codex-plugins — Initialize KERNEL links and AgentDB in a confirmed Vaults directory.
- hashgraph-online/awesome-codex-plugins — Write or refresh the "## Tech debt operations" section in AGENTS.md so a team shares one s
- hashgraph-online/awesome-codex-plugins — Set up docflow in a repo with no docs yet: scaffold the docs tree, write docflow.json, add
- hashgraph-online/awesome-codex-plugins — Records Clean Room initialization preferences, separated artifact locations, model policy,