add-bot
SKILL.md
Add the bot account as a collaborator with push permissions to a repository.
Read bot_account, owner_account from the org's or project's CLAUDE.md ## Automation config table.
Arguments
- Just repo name (assumes owner from config):
my-repo - Full owner/repo:
owner/my-repo - No argument: uses current repository from
git remote get-url origin
Process
- Save current gh user:
gh api user --jq '.login' - Switch to owner account:
gh auth switch --user <owner_account> - Parse repository argument
- Add collaborator:
gh api repos/{owner}/{repo}/collaborators/<bot_account> -X PUT -f permission=push - Verify access:
gh api repos/{owner}/{repo}/collaborators/<bot_account> - Switch back to original user:
gh auth switch --user {original_user}
Weekly Installs
1
Repository
seabbs/skillsFirst Seen
9 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1