SuperAPIAI Directory

cohors

github.com · AI coding

cohors is a fast TUI dashboard for viewing the status of all Git repositories in one place, supporting batch operations and providing MCP connectivity for AI coding agents. Before startup it checks for unpushed commits, uncommitted files, work in agent worktrees, and branches without remotes, lists next steps by urgency, and before executing operations lists the affected repositories and waits for confirmation. It can be installed via pip, npm, cargo, or uvx, supports agent connections for Claude Code, Codex, Gemini CLI, VS Code, Cursor, Windsurf, and others, and is read-only by default; it also provides an editor sidebar, a local browser page, and JSON script output. It is officially described as one Rust core and two frontends.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose cohors is aimed at developers who work with multiple Git repositories and multiple AI coding agents at the same time. The problem it solves is: after agents work in different repositories or worktrees, some work may be pushed, some only committed, and some files may be left in directories that will never be opened again, while git status can only answer for one folder at a time. cohors aggregates the status of all repositories and agent worktrees at once and prioritizes which work is at risk of being lost.

Main capabilities

  • Repository scanning and status aggregation: on first use, cohors looks at the user's home directory and lists folders containing repositories; after the user unchecks folders they don't care about, it only reads content within the checked scope.
  • Loss-risk pre-check: before opening any interface, it checks for unpushed commits, uncommitted files, work in agent worktrees, and branches without remotes, and lists suggested actions by urgency.
  • TUI dashboard: press Enter to open the dashboard; each step in Do next has a corresponding key, and Work at risk shows which repositories hold what kind of unsaved work. Before executing, it lists the repositories about to be touched and waits for user confirmation.
  • Batch operations: push, pull, fetch, commit, stash, and other operations can be performed on multiple repositories; it never force-pushes, and pull only does fast-forward. Repositories that cannot be read are reported but do not cause a fatal error.
  • AI agent connection: during setup it can discover locally installed Claude Code, Codex, Gemini CLI, VS Code, Cursor, and Windsurf, and connects them in the manner described in each agent's documentation. After connection it is read-only by default; agents can only view, not modify.
  • MCP and Claude Code plugin: Cursor uses ~/.cursor/mcp.json, Windsurf uses ~/.codeium/windsurf/mcp_config.json, and other MCP clients can also connect; cohors doctor prints the full paths. Claude Code can also install the plugin via /plugin marketplace add rushirb2001/cohors and /plugin install cohors@cohors.
  • Asking questions within agents: after connecting, you can start a new session in the agent and ask, for example, "What did my agents leave behind?”; it also supports questions such as “anything not pushed across my repos?”, “Where did I leave off?”, “what have I changed this week”, “write my standup”, and “which PRs are failing CI”.
  • Editor sidebar: shows Do next and Work at risk in the VS Code, Cursor, and Windsurf sidebars; you can open repositories from the list and view changed files, branches, stashes, and recent commits; Cmd/Ctrl + Alt + L opens the dashboard tab, where after selecting repositories you can batch push, pull, fetch, commit, and stash, or have Claude start a task; cohors.roots in the workspace settings lets you focus only on the folders your project needs.
  • Local browser page: provides a live page that is read-only by default and only becomes operable after adding --allow-writes; it can be placed on a second screen side by side with the agent, and each step comes with a command that can be copied to the terminal; after running gh auth login once, each repository also shows open pull requests and CI status; the page only listens on the local machine.
  • Script output: every view is a command that outputs JSON through a pipe, making script integration easy.

How to use Installation commands include: pip install cohors, npm install -g @cohors/cli, cargo install cohors; for one-off runs, use uvx cohors@latest. After installation, first have cohors scan your home directory and select repository folders, then choose the AI agent to connect. The agent is read-only by default; when you need Claude to push and commit on your behalf, you can enable writes with --allow-writes (after mcp), and every change is previewed first. Work in the agent worktree is only touched when the agent requests it with worktrees: true. An official demo mode is also available, which can be viewed on 24 fictional repositories without reading the disk; the materials do not give the corresponding launch command.

Use cases

  • Before closing your laptop, confirm in one pass whether any repositories have unpushed content.
  • When starting a session in an agent such as Claude Code, receive a brief reminder that a repository still has unpushed work; clean repositories receive no reminder, and the same reminder appears at most once per day.
  • When picking work back up, list agent conversations worth resuming and the commands to reopen them.
  • View repository risks and perform batch operations in the editor without switching windows.
  • Continuously observe agent commit and push status with the local browser page.
  • Get repository status in JSON format in scripts.

Security and limitations Every operation first lists the repositories it will touch and waits for confirmation; it never force-pushes; pull is fast-forward only; the agent and browser are read-only by default. The official description says there are no accounts and no telemetry, and that it communicates only with GitHub, except that the browser page loads fonts from Google Fonts. The project uses the MIT License. The materials do not provide information such as pricing/paid plans, a list of supported operating systems, hosted cloud services, or a Chinese interface.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools