DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to set up Foremerge for a repo's coding agents with Foremerge

Install Foremerge, initialize the repo, and wire up every agent client you use in one pass.

Short answer: Install with curl -fsSL https://foremerge.com/install.sh | sh; then run foremerge init inside the repository; run foremerge setup all to wire every client you use. All steps.

Remote script. The install step pipes a script from Foremerge.com directly into sh, so review it first if your policy requires that.

Who it is forA team lead who wants Claude Code, Codex, or Cursor to coordinate on a repository and needs a one-time setup that works for each agent.

The problemEach agent client needs its own skill and MCP entry, and setting them up by hand is easy to get wrong.

The outcomeThe repository has local coordination state, every installed client has the Foremerge skill and MCP entry, and doctor reports the setup as working.

What you need first

  • Git and jq installed
  • macOS or Linux, or the Windows binaries from the releases page
  • A Git repository to coordinate, with at least one coding agent or a shell to act as one
  • Rust 1.85+ only if you build from source

Steps

  1. Install with curl -fsSL https://foremerge.com/install.sh | sh.
  2. Run foremerge init inside the repository.
  3. Run foremerge setup all to wire every client you use.
  4. Register the repository's real test command with foremerge checks set test -- cargo test --all-targets, replacing it with your own.
  5. Run foremerge doctor --client all and confirm each client reports OK.

Prompt for your agent

In the <repo path> repository, install Foremerge, run `foremerge init`, then run `foremerge setup all` and `foremerge doctor --client all`. Expected output: a per-client result from setup and a doctor report. Verify that setup exited with status zero, since the README says it exits nonzero if any client failed.

Caveat. Setup asks the client to enable an MCP server and will prompt you before doing so, and the Codex registration is user level and serves every repository.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for naw103/foremerge and "Set up Foremerge for a repo's coding agents"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer