# quilt

quilt tracks edits from multiple AI agents in one Git checkout and lets each session commit its own lines. It suits parallel work without separate worktrees.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: wkoverfield
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/wkoverfield/quilt
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/quilt

## What it does

quilt assigns edits to agent sessions and keeps line-level provenance. With `quilt commit --mine`, a session can create a commit from its own lines even when several agents changed the same file. Git remains the authority, while Quilt keeps its local sidecar state in `.quilt`.

Run `quilt setup` to wire capture hooks into the repository; the MCP tools can be added as an extra layer. Quilt can reserve symbols such as functions, reject a conflicting write before the file changes, and warn when a claimed symbol depends on code another actor is editing. Whole-file claims cover code outside its symbol support.

Quilt does not call an LLM or create agents. It records and guards their edits. That makes it a coordination layer for a shared checkout, rather than an agent runtime.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add quilt -- npx -y @quilt-dev/cli
```

### Codex

**Platform CLI**
```bash
codex mcp add quilt -- npx -y @quilt-dev/cli
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "quilt": {
            "command": "npx",
            "args": [
                "-y",
                "@quilt-dev/cli"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "quilt": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@quilt-dev/cli"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add quilt npx -y @quilt-dev/cli
```

## When to use it
- keep several agents in one Git checkout
- commit only the current session's lines
- reserve a function before changing it
- reject writes against another agent's claim
- inspect line ownership and active claims

## Example prompts
- Set up quilt in this repository and verify that edit capture is working.
- Show which files and lines belong to my session, then prepare `quilt preview --mine`.
- Create a commit containing only my changes with `quilt commit --mine -m "fix auth redirect"`.

## Similar
- [git-worktree-manager](https://affpapa.org/en/nevibecode/skills/git-worktree-manager.md) — skill · 581 installs
- [bug-hunt-swarm](https://affpapa.org/en/nevibecode/skills/bug-hunt-swarm.md) — skill · 713 installs
- [komnet](https://affpapa.org/en/nevibecode/mcp/komnet.md) — MCP server · ★ 8
- [parallel-feature-development](https://affpapa.org/en/nevibecode/skills/parallel-feature-development.md) — skill · 9900 installs
- [team-feature](https://affpapa.org/en/nevibecode/commands/team-feature.md) — command · ★ 41823
- [ai-team-orchestration](https://affpapa.org/en/nevibecode/skills/ai-team-orchestration.md) — skill · 381 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
