Init

From hashgraph-online/awesome-codex-plugins · View interactive version

Init is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Initialize team config for a project. Creates .agenteam/config.yaml (or legacy agenteam.yaml) and generates .codex/agents/*.toml.

How to use this skill

Skill file

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:

  1. .agenteam/config.yaml (personal)
  2. .agenteam.team/config.yaml (team shared)
  3. Legacy agenteam.yaml

team config. Do not create .agenteam/config.yaml — personal overrides

are opt-in. Skip to step 4 (validate).

they want to reconfigure or keep existing config. If keeping, skip to step 4.

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:

setup unless the user asks and the live Codex model catalog confirms them.

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:

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:

.agenteam/config.yaml (or legacy agenteam.yaml) to integrate with HOTL workflows."

7. Summary

Show:

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:

  1. If running from the plugin directory: ./runtime/agenteam_rt.py
  2. 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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.