MCPInstall
cohors logo

cohors

by rushirb2001 12 stars rushirb2001/cohors

Every git repo you own as one fleet: status, search, tasks, and gated bulk actions.

READMEmain
cohors

Every git repo you own, on one screen.

What's unpushed, what's behind, and what to do next, across every repository on your machine.

CI Release Homebrew PyPI npm crates.io License: MIT Built with Rust

Install  Terminal  Claude Code  Scripts  VS Code & browser  Launchpad

It starts with one agent: Claude Code finishes a task in payment-service and commits it. Now ten Claude Code sessions in ten repositories each say done. But who checks all ten? The cohors mark and name answer. cohors opens on all 24 repositories and outlines what they left: 9 not backed up. P pushes 8 of them, never forcing, and Not backed up drops from 9 to 1. Or ask your agent: Claude calls cohors and answers for all 24 repositories. The end card shows how to install it.

Install

Homebrew

brew install rushirb2001/tap/cohors

pip

pip install cohors

npm

npm install -g @cohors/cli

Cargo

cargo install cohors

Shell installer

curl -LsSf https://github.com/rushirb2001/cohors/releases/latest/download/cohors-installer.sh | sh

Run once, without installing

uvx cohors@latest
npx @cohors/cli@latest

Then run cohors. To try it on sample repositories first, run cohors demo.

Prebuilt for macOS and Linux; Cargo builds it anywhere Rust runs. All it needs is git. The examples below are real output from the cohors demo sample fleet, trimmed where marked ….

What it answers


What cohors answers: what to do first (Do next), what is about to be lost (Work at risk), what is waiting in each repo (Open tasks), what you shipped this week (Commits), and what exists only on this laptop (Repositories).

Where it looks. With no config, the folders where code usually lives. Point it at yours with cohors --root ~/code (repeat for more), or save them with cohors init, which writes ~/.config/cohors/config.toml for roots, aliases, groups and ignore rules.

Use it in the terminal

cohors
The cohors terminal dashboard

Do next lists what to do, most urgent first. Press a step's letter to act on every repo in it, or mark repos with Space and press the letter yourself. Either way cohors says what it is about to do and waits for y.

The mouse works too: click a card to focus it, a row to select it and the same row again to open it, and any key shown on screen is a button. New to it? The line under the header teaches one thing a day; x shows the next.


Dashboard keys: P p f push, pull, fetch (asks first); c S commit, stash (asks first); F fetch everything (asks first); 1 to 5 jump to a card; colon for the command line; Enter opens a repo; slash filters; s and Y show and copy the standup; t shows tasks; question mark lists every key.

From the : line: :commit wip: cart drawer commits the marked repos, :!npm test runs a command in them, :jump payment-service goes to one. cohors --watch keeps it all live.

cohors README: D97757 Use it with Claude Code

/plugin marketplace add rushirb2001/cohors
/plugin install cohors@cohors

Ask "what needs my attention across my repos?" and Claude gets the whole fleet in one call:


Claude asks cohors what needs attention; overview returns: 24 repositories, 4 have work at risk, 3 need a look, 17 are clean, then the actions, each a warning: push 1 commit from 1 repository, reconcile 1 diverged branch, publish 1 branch that has no upstream.

More to ask:


More to ask Claude: what have I changed (changes), where do we handle retries (search), write my standup (standup), back up everything only on this laptop (push, as a dry run first), which PRs are failing CI (ci_status and list_prs), plan my day (plan-focus).

In a fleet, a repository opens where it is. In the repository list, the one under the cursor shows its worktrees beneath its row, each with what it holds; the rest stay one line.

One repository works too. Run cohors --root . inside a repository and its checkouts are the rows: the main one and each worktree, with what each holds that is on no remote, the agent session that ran there, and P to push its branch. On a first run, plain cohors typed inside such a repository opens it.

Agent worktrees are covered. When a coding agent works in a git worktree (Claude Code keeps them under .claude/worktrees/), cohors reads it as part of its repo: commits that were never pushed and files that were never committed show up as work at risk, with the folder to go to. cohors scan --select worktree-work lists the repos that have any.

A session starts with a note about it. When you open Claude Code in a repository that has work left behind, such as a worktree holding commits or files that are on no remote, or commits unpushed for days, cohors adds one short note for you and for Claude. A repository with nothing left behind gets none, work touched in the last hour is left out, and you see the same note at most once a day; the plugin's Session notes setting turns it off. Without the plugin, add cohors hook session-start as a SessionStart hook in your own Claude Code settings.

It starts read-only. Turn on what Claude may do with claude plugin configure cohors@cohors, then start a new session:


What Claude may do, each off by default: Git actions (fetch, pull, push, commit, stash; no force push, fast-forward-only pull, confirm to commit), Run commands (confirm and a per-call cap), Launchpad writes (validated, never touches git).

Or let cohors brief Claude for you: cohors agent plan-day, or cohors agent idempotency-keys --repo payment-service to start on one task. cohors agent --resume picks a conversation up again, and cohors next lists the ones worth resuming.

Other MCP clients
{ "command": "uvx", "args": ["cohors@latest", "mcp"] }
{ "command": "npx", "args": ["-y", "@cohors/cli@latest", "mcp"] }
{ "command": "docker", "args": ["run", "-i", "--rm", "-v", "/path/to/your/code:/repos", "ghcr.io/rushirb2001/cohors"] }

The Docker image serves every repository in the folder mounted at /repos. It's built for linux/amd64 and linux/arm64.

Or with cohors installed: claude mcp add --scope user cohors -- "$HOME/.local/bin/cohors" mcp, the self-updating copy cohors links on its first run (cohors doctor prints where it is), adding --allow-writes, --allow-run or --allow-launchpad. Listed in the MCP Registry as io.github.rushirb2001/cohors.

Use it from scripts

Every view is a command. At a terminal it prints a report; piped, it prints JSON. Add --report to get the report through a pipe too, as plain text: a fraction of the JSON's size, and the form to hand a coding agent's shell.


cohors overview prints the fleet headline and Do next, each step with the command that starts it: WARN push 1 commit from 1 repository (cohors push --select ahead,!diverged); WARN reconcile 1 diverged branch (cohors scan --select diverged). Then cohors push --select ahead --dry-run would push 2 repos, nothing will change: mobile-app, payment-service.

--select picks the repos. Join terms with a comma (all must match) and put ! in front to exclude:


--select terms: dirty, ahead, behind, diverged; unpublished, stale-fetch, attention; name:pay* and ci:failing; all. A comma means all must match, ! excludes, as in behind,!diverged.
cohors fetch --select all                      # refresh every remote
cohors run --select 'name:web-*' 'npm test'    # one command, many repos
cohors standup                                 # this week's commits, as Markdown
cohors overview --json | jq -r '.actions[].title'

At a terminal, a command that changes repositories lists them and asks [y/N] before it acts. Piped, or with --yes, it goes straight on.

Use it in VS Code and the browser


cohors in VS Codecohors in the browser

The cohors icon in the activity bar shows the fleet as native panes. Push, pull and fetch from any step, run a repo's commands in a terminal, or start Claude on a task.

VS Code Marketplace Open VSX

Search cohors in the Extensions view. Cursor, Windsurf and VSCodium install it from Open VSX.

cohors web --root ~/code --watch serves the dashboard on localhost, with pull requests and CI. Read-only unless you add --allow-writes. cohors web --demo shows the sample fleet.


The launchpad

A repo can commit one small file saying what to run there and what's in progress, so it travels with every clone:


A repo .cohors folder: repo.json holds commands to run and tasks in progress; agents/release.md is a prompt the repo ships for agents. It travels with every clone.

Ask Claude to set up this repo for the launchpad and it writes the file. Commands from npm, Cargo, uv, Makefiles and Gradle are found without one.


cohors launchpad: 24 repositories, 4 set up, 6 open tasks. Your focus board, then open tasks per repo: api-docs (search box in the top navigation), event-ingest, payment-service (back off on processor rate limits, doing), web-storefront (keyboard order in the checkout form, blocked).

Check a file with cohors launchpad validate .. The format is an open spec: spec/v1/SPEC.md.

Safe by default

  • pull is fast-forward only, and nothing force-pushes.
  • No action runs without --select or repository names, and every one takes --dry-run.
  • Nothing changes unseen. At a terminal every command that changes repositories lists them and asks first. In the dashboard nothing reaches a remote or changes a repository on one key: fetch, pull, push, commit and stash each say what they will do and wait for y.
  • The MCP server and the browser dashboard start read-only.
  • One unreadable repo is reported, never fatal.
  • No account, no telemetry. It talks only to GitHub. See the privacy policy.

Staying up to date

cohors keeps itself up to date however you installed it. Its first run sets up cohors' own copy in ~/.local/share/cohors (with ~/.local/bin/cohors linked to it) and from then on hands over to the newest version there, the way Claude Code does: it looks for a release when it starts and every few minutes, downloads it, checks its SHA-256, tries it, and switches to it. When you open the dashboard and a newer release is out, cohors installs it first and opens the new version (it waits about a second to hear, and up to twenty for the download, then opens what you have). A release that comes out while the dashboard is open is installed behind it; the dashboard then says Updated to … — restart to use it; press R. cohors update does it now and cohors doctor says how your copy is set up. Set updates = "notify" or "off" in the config, or COHORS_DISABLE_UPDATES=1, to change that. Never in CI, and never for a build from source.

Updating by hand
Updating by hand: brew update && brew upgrade cohors; pip install -U cohors; npm install -g @cohors/cli@latest; cargo install cohors; rerun the shell installer; uvx and npx with @latest need nothing.

How it compares


How cohors compares with git-scope, mani or gita, and lazygit or gitui: only cohors covers every repo at once, bulk fetch, pull, push and run, pull requests and CI, cross-repo search and standup, and an MCP server for coding agents.

Contributing  ·  Changelog  ·  Privacy  ·  MIT License

cohors is Latin for "cohort": every repository, marshalled under one command.

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot logo

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit
CodeAlive logo

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase
NovaCV logo

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5