# integration-test

Runs an integration test for repowire peer-to-peer messaging: Claude only, OpenCode only, or a mixed run.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 269
- Author: prassanna-ravishankar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/prassanna-ravishankar/repowire/tree/HEAD/.claude/skills/integration-test/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/integration-test

## What it does

This skill checks whether repowire agents discover each other and pass messages. The argument picks the mode: `claude-code`, `opencode`, `mixed`, while `all` or no argument fires all three at once through agent teams. The lead agent handles environment discovery and teardown itself, then asks you for project directories and an OpenCode model.

Inside is a step-by-step script: check tmux and that `claude` and `opencode` are in `PATH`, query the daemon at `http://127.0.0.1:8377/health` and the peer list, bring up the `circle-a` and `circle-b` sessions, then run direct asks and a proxy ask through the `ask_peer` tool. Every command is pinned to one binary via `REPOWIRE_BIN`, so the test targets the exact build you mean.

A fresh install goes through `repowire setup`, and that calls `claude mcp add` — which fails inside a Claude session, so run those commands in a tmux pane instead. The `opencode` and `mixed` modes expect the `~/.opencode/plugin/repowire.ts` plugin and a working OpenCode model.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill integration-test -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/integration-test/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/integration-test/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill integration-test -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/integration-test/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill integration-test -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/integration-test/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install prassanna-ravishankar/repowire integration-test
```

2. **Manually: put the files in place**
- File: `.github/skills/integration-test/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill integration-test -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/prassanna-ravishankar/repowire --path .claude/skills/integration-test
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/integration-test/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill integration-test -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/prassanna-ravishankar/repowire/tree/HEAD/.claude/skills/integration-test/SKILL.md

## When to use it
- check that two agents in one circle can see each other
- test message passing between Claude and OpenCode
- confirm a peer registers with the right `peer_id` and circle
- clear stale tmux sessions and peers before a run
- rebuild repowire from source and reinstall the hooks

## Example prompts
- Run the integration-test skill in `claude-code` mode
- Run the `mixed` test between Claude and OpenCode
- Run all three modes in parallel and give me one report

## Similar
- [improve-codebase-architecture](https://affpapa.org/en/nevibecode/skills/improve-codebase-architecture.md) — skill · 1163035 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [tdd](https://affpapa.org/en/nevibecode/skills/tdd.md) — skill · 1141062 installs
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1200000 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs

From the same set: [prassanna-ravishankar/repowire](https://affpapa.org/en/nevibecode/by/prassanna-ravishankar/repowire.md) — 9 cards

---
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
