Generate a Team Repo
This guide covers creating a new team using the bm init interactive wizard, including post-generation setup.
Create a team
Run the interactive wizard:
The wizard will prompt you for:
- Workzone directory — where teams live (default:
~/.botminter/workspaces) - Team name — identifier for your team (e.g.,
my-team) - Profile — team methodology (e.g.,
scrum,scrum-compact,scrum-compact-telegram) - GitHub integration — auto-detects your
GH_TOKENorgh authsession, validates the token, then lets you browse orgs and select or create a repo - Telegram bot token — optional, for Human-in-the-Loop notifications (required for
scrum-compact-telegram, optional for others) - Members — optionally hire members during init
- Projects — select project repos from the same GitHub org (HTTPS-only)
What bm init does
- Detects GitHub auth — checks
GH_TOKENenv var, thengh auth token; shows masked token for confirmation - Validates token — calls
gh api userto verify credentials before proceeding - Creates team directory —
{workzone}/{team-name}/team/with git init - Extracts profile — copies PROCESS.md, CLAUDE.md, knowledge/, invariants/, agent/ from the embedded profile
- Hires members — if specified, extracts member skeletons into
team/{role}-{name}/ - Adds projects — if specified, creates project directories and updates
botminter.yml - Creates initial commit —
git add -A && git commit - Creates GitHub repo — runs
gh repo createand pushes (uses the validated token) - Bootstraps labels — applies the profile's label scheme; stops with remediation commands on failure
- Creates GitHub Project — creates a v2 Project board with Status field options from the profile
- Registers in config — saves team to
~/.botminter/config.yml(0600 permissions)
Team name must be unique
bm init refuses to create a team if the target directory already exists. Choose a different name or delete the existing directory.
Post-generation setup
1. Push to GitHub (if not done during init)
Members coordinate through GitHub issues, so the repo needs a GitHub remote:
2. Hire team members
See Manage Members for details.
3. Add projects
Note
Project URLs must be HTTPS. SSH URLs are not supported.
4. Provision workspaces
This creates member workspaces with the target project clone, .botminter/ team repo clone, surfaced files (PROMPT.md, CLAUDE.md, ralph.yml), and assembled .claude/agents/.
5. Add project-specific knowledge
Populate projects/<project>/knowledge/ with domain-specific context:
cd ~/workspaces/my-team/team
cp ~/docs/architecture.md projects/my-project/knowledge/
git add projects/my-project/knowledge/architecture.md
git commit -m "docs: add project architecture knowledge"
Available profiles
Use bm profiles list to see all available profiles:
| Profile | Description |
|---|---|
scrum |
Scrum-style team with pull-based kanban, status labels, conventional commits |
scrum-compact |
Single-agent "superman" profile with GitHub comment-based human review |
scrum-compact-telegram |
Same as compact but uses Telegram (RObot) for blocking HIL approval gates |
Use bm profiles describe <name> for detailed information about roles and labels.
Related topics
- Architecture — profile-based generation model
- Profiles — what profiles contain
- CLI Reference — full command documentation