安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/captainsvbot/autonomous-github-team文档
🤖 Autonomous GitHub Team Skill
⚠️ Security Warning — Read Before Installing
This skill clones and executes bash scripts from a remote repository. Before running:
- Audit the scripts first — review every agent file in the
agents/directory- Use a least-privilege PAT — dedicated token scoped to a single test repo, not your main account
- Never run on a production repo until you've tested in an isolated fork
- Never commit tokens — keep
config.envprivate and out of version control- Require human review before merging any PRs the agents create
What It Does
41 AI agents that autonomously monitor a GitHub repository, detect bugs, create fixes, open PRs, and release to production automatically.
Required Environment Variables
bash
GH_TOKEN # GitHub PAT — needs: contents:w, pr:w, issues:w
TARGET_REPO # The repository to operate on (format: owner/repo)
Primary credential: GH_TOKEN — treat this as a high-privilege secret.
Setup
bash
# 1. Clone the repo (pinned to v1.0.0 tag)
git clone --branch v1.0.0 https://github.com/captainsvbot/AutonomousGitHubTeam.git
cd autonomous-github-team
# 2. Configure — edit config.env
cp config.example.env config.env
nano config.env # set GH_TOKEN and TARGET_REPO
# 3. Audit the agents first (important!)
# Review agents/*.sh before running anything
# 4. Run
bash agents/orchestrator.sh
Security Requirements for the GitHub Token
The skill needs a token that can:
- Read and write to repository contents
- Create and manage pull requests
- Read and write issues
Create a dedicated token for this skill:
- GitHub → Settings → Developer Settings → Personal Access Tokens → Fine-grained tokens
- Scope to only the specific repository you want the team to operate on
- Grant only:
contents: read and write,pull requests: read and write,issues: read and write - Never use your main account token with broad org access
Available Agents
bash
bash agents/orchestrator.sh # Full pipeline (detect → fix → release)
bash agents/security-agent.sh # Vulnerability scanning
bash agents/fixer-agent.sh # Apply fixes, open PRs
bash agents/git-guardian-agent.sh # Merge PRs (requires human review before main merges)
bash agents/backup-agent.sh # Backup repo via GitHub API
bash agents/rollback-agent.sh # Auto-revert broken commits
bash agents/team-bravo.sh # Activity monitor (read-only check)
Gitflow
code
feature/fix → develop → main
Every run syncs main → develop first. The Git Guardian does not auto-merge to main — all merges to main require human approval.
Before Running on a Production Repo
- Clone and review all
agents/*.shfiles - Test in an isolated fork first
- Set up branch protection on
main(require PR reviews) - Use a dedicated, scope-limited PAT
- Keep
config.envout of version control
Security Checklist Before Publishing Changes
bash
# Scan for accidentally committed secrets
grep -rni "gho_\|token\|secret\|api_key\|password" .
If you modify this repo, always scan before pushing publicly.