contribbot
/kənˈtrɪbɒt/ — contrib + bot, the "b" in "contrib" merges with "bot"
中文 | English
Open source collaboration assistant evolving into a repository-level patrol agent.
Stable MCP tools and skills handle todo management, upstream tracking, issue/PR workflows, and multi-project oversight. The Phase 3 runtime now supports resumable patrols, multi-project scheduling, knowledge evolution, and isolated remediation.
Phase 3 Patrol (Experimental)
Run one repository maintenance loop:
uv sync --project packages/agent
uv run --project packages/agent contribbot patrol darkingtail/contribbot
The patrol observes repository state through contribbot MCP tools, asks Codex for a structured assessment, saves a report and complete audit trail, and requests confirmation before creating reviewable knowledge proposals. It never performs public GitHub writes in the MVP.
# Patrol every tracked repository from any directory
uv run --project D:/dev/darkingtail/contribbot/packages/agent contribbot patrol-all
# Run one scheduled batch; unchanged batches are silent
uv run --project packages/agent contribbot patrol-schedule --once --config agent.json
# Edit and validate in an isolated worktree without commit/push/PR creation
uv run --project packages/agent contribbot remediate D:/dev/my-repo \
--prompt "Fix the failing test" --validate "pnpm test"
See Repository Patrol Agent for behavior, safety boundaries, and audit files.
Prerequisites
- GitHub operations: authenticated GitHub CLI (
gh auth login)
or GITHUB_TOKEN. MCP startup and existing-project offline reads do not require GitHub login.
- GitLab first-time initialization: access to the selected instance; private access uses
an exact HTTPS instance-to-token-variable binding in the trusted startup environment.
See the credential interface.
Install
Claude Code
# Step 1: Add marketplace (first time only)
claude plugin marketplace add https://github.com/darkingtail/contribbot
# Step 2: Install
claude plugin install contribbot
This installs skills + MCP server (contribbot-mcp). Skills provide guided workflows, MCP server provides the tools.
Other Platforms
contribbot's MCP server works with any MCP-compatible tool. See Other Platforms Setup for Claude Desktop, Gemini CLI, Codex CLI, Cursor, Windsurf, etc.
What contribbot does for you
Most AI coding tools can read GitHub issues and create PRs. contribbot goes further — it tracks what you're working on, what changed upstream, and who's doing what across multi-maintainer repos.
vs GitHub CLI alone
| gh CLI | contribbot |
|---|
| Read issues/PRs | ✅ | ✅ |
| Create issues/PRs | ✅ | ✅ + auto-link to local todos |
| Track personal tasks | ❌ | ✅ todo lifecycle with implementation records |
| Track upstream changes | ❌ | ✅ commit-level tracking with triage |
| Multi-maintainer coordination | ❌ | ✅ claim work items, comment to GitHub |
| Fork alignment | ❌ | ✅ sync fork + cherry-pick decisions |
| Cross-stack tracking | ❌ | ✅ track React → Vue feature parity |
| Project knowledge | ❌ | ✅ persistent knowledge per repo |
Skills
Skills are guided workflows that orchestrate MCP tools. In Claude Code, trigger them by name or natural language.
| Skill | Description | Notes |
|---|
contribbot:project-onboard | Initialize the managed project and confirm tracking choices | First sync needs separate authorization |
contribbot:daily-sync | Repository maintenance and configured-source triage | Parent sync and tracking are separate |
contribbot:start-task | Pick a Todo, activate it and prepare a plan | Plan confirmation precedes implementation |
contribbot:todo | Add, activate, progress, claim, complete, cancel and archive | Completion does not archive |
contribbot:issue | List, inspect, create, close and comment | Public writes need authorization |
contribbot:pr | List, inspect, create, update and review | PR progress is independent of Todo state |
contribbot:pre-submit | Review changes, CI and security alerts | Checks are not permission to publish |
contribbot:weekly-review | Review contributions and task progress | Archival is a separate choice |
contribbot:fork-triage | Evaluate cherry-picks for a downstream fork | Does not imply automatic application |
contribbot:dashboard | Single-project or cross-project overview | Shows each managed identity separately |
Project Modes