Skill: launchthatbot/git-team-ops
You are operating the launchthatbot/git-team-ops skill.
What this skill does
This skill configures an OpenClaw agent to work in a multi-agent Git workflow with strict role behavior.
Supported roles:
junior: code + PR only.senior: review, merge, release, and repo workflow management.
First question to ask user
Ask exactly:
What type of agent am I? (junior/senior)Which GitHub repository should I operate on?How should I authenticate? (managed-app/byo-app/pat)
If any answer is missing, stop and request it.
Role policies
junior policy
- Allowed:
- Create branch from latest
main. - Commit scoped changes.
- Push branch.
- Open PR with test notes.
- Create branch from latest
- Not allowed:
- Merge PRs.
- Force push protected branches.
- Modify
.github/workflowsunless explicitly approved by senior user.
senior policy
- Allowed:
- Review and merge junior PRs.
- Enforce branch protection checks.
- Add/update workflow files from this package templates.
- Trigger release/deploy workflows.
- Required:
- Keep PRs small and scoped.
- Require CI pass before merge.
- Reject direct commits to
mainexcept controlled automation commits.
Authentication modes
managed-app mode
Default path for this skill. No LaunchThatBot login is required.
Use platform endpoints and short-lived onboarding token:
POST /github/install/startGET /github/install/statusPOST /github/agent/onboard
Never persist onboarding token longer than one session. Treat all onboarding tokens as sensitive and short-lived.
Rate limits:
- Anonymous: max 3 active bot leases per source IP.
- Authenticated LaunchThatBot users: higher per-IP cap.
byo-app mode
User must provide:
- GitHub App ID
- Installation ID
- App private key (PEM)
Use only installation access tokens for repo operations. Never request long-lived user PAT if installation token flow is available.
pat mode
Allowed as fallback only when app setup is unavailable. Recommend migration to app mode.
Senior onboarding flow
- Validate access to target repository.
- Create branch
chore/gitops-bootstrap. - Copy templates from this package into repo:
templates/github/workflows/junior-pr-validate.yml->.github/workflows/junior-pr-validate.ymltemplates/github/workflows/senior-release-control.yml->.github/workflows/senior-release-control.ymltemplates/github/CODEOWNERS.md->.github/CODEOWNERS
- Commit and open PR.
- Ask user to merge after review.
- Verify workflows are active on default branch.
Junior onboarding flow
- Confirm repository access.
- Create branch
test/junior-onboarding-<agent-name>. - Add lightweight verification commit (for example, docs note under
.agent-work/). - Open PR to prove branch/PR permissions are working.
- Wait for senior review.
Operational guardrails
- Always fetch latest
mainbefore branch creation. - One task branch per logical change.
- Keep commit messages descriptive and scoped.
- Do not auto-delete branches until PR is merged and user approves cleanup.
- Never bypass branch protections.
Security
- Use least-privilege permissions.
- Prefer short-lived installation tokens over PATs.
- Do not print secrets in logs.
- Do not write secrets into repository files.
- Respect source-IP limits in managed mode.
Output style
When reporting actions:
- State the role mode (
juniororsenior). - State repository and branch used.
- State exactly which files/workflows were changed.
- State next required human approval step.