mine contrib
Turbo-start an AI-assisted contribution workflow for any GitHub repository. Handles fork/clone orchestration, issue selection, and workspace setup so you can focus on writing code, not plumbing.
Requires: gh CLI installed and authenticated (gh auth login).
Basic usage
Section titled “Basic usage”mine contrib --repo owner/nameOpens an interactive issue picker, forks the repo (or reuses an existing fork), clones it locally, creates a branch, and drops you in a ready-to-code workspace.
| Flag | Short | Description |
|---|---|---|
--repo owner/name | Target GitHub repository (required) | |
--issue N | -i N | Work on a specific issue directly |
--list | List candidate issues without starting the flow | |
--tmux | Start a two-pane tmux workspace (agent + shell) |
Examples
Section titled “Examples”# Interactive: pick from agent-ready issues (or all open issues)mine contrib --repo owner/name
# Target a specific issue directlymine contrib --repo owner/name --issue 42
# List candidate issues firstmine contrib --repo owner/name --list
# Open a two-pane tmux workspacemine contrib --repo owner/name --tmux
# Shortcut for contributing to mine itselfmine meta contribIssue selection policy
Section titled “Issue selection policy”- If
--issue Nis provided, that issue is used directly. - If the repo has open issues labeled
agent-ready, those are preferred. - Otherwise, all open issues are listed.
- In TTY mode, an interactive fuzzy picker is shown.
- In non-TTY mode (scripts, CI),
--issueis required.
Workspace setup
Section titled “Workspace setup”After confirming the opt-in prompt, the flow:
- Forks the repo under your GitHub account (skipped if you already have one).
- Clones your fork locally into
./<repo-name>/. - Adds the upstream remote (
upstream) pointing to the original repo (only when a fork was created or reused). - Creates a branch named
issue-<N>-<slug>.
If the local directory already exists, the command stops and tells you to remove it or change directories before retrying.
Quota warning
Section titled “Quota warning”All actions (fork, clone, branch creation) use your own GitHub account and API quota. You will be shown an explicit opt-in prompt before any action is taken.
mine meta contrib
Section titled “mine meta contrib”mine meta contrib is a shortcut that targets the mine repo itself:
mine meta contrib # start contribution flow for rnwolfe/minemine meta contrib --list # list candidate issues for rnwolfe/minemine meta contrib --issue 16 # target a specific issueLearn More
Section titled “Learn More”See the Community Contribution feature guide for a workflow overview and detailed examples.