{
  "markdown": "<div align=\"center\">\n\n# 🔀 delegate-claude-to-copilot\n\n**Free Copilot, but you *really* like working with Claude Code?<br>Bridge them.**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![npm](https://img.shields.io/npm/v/@streetstripe/copilot-mcp-bridge)](https://www.npmjs.com/package/@streetstripe/copilot-mcp-bridge)\n[![Claude Code](https://img.shields.io/badge/Claude_Code-MCP-blueviolet)](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview)\n[![GitHub Copilot](https://img.shields.io/badge/GitHub_Copilot-CLI-brightgreen)](https://docs.github.com/en/copilot)\n[![Claude Code Plugin](https://img.shields.io/badge/Claude_Code-Plugin_Marketplace-ff69b4)](https://github.com/StreetStripe/delegate-claude-to-copilot)\n\nA tiny MCP bridge that lets Claude Code delegate coding tasks to GitHub Copilot.\n\n</div>\n\n---\n\n## ✨ What you get\n\n| Component | Description |\n|---|---|\n| **`copilot-bridge`** | Local MCP server forwarding tasks from Claude Code → Copilot CLI |\n| **`/copilot` skill** | Reusable Claude skill you invoke on demand |\n| **Default policy** *(opt-in)* | Makes Claude Code prefer Copilot for all coding work automatically |\n\n> [!NOTE]\n> This does **not** replace Claude's model. It wires Claude Code to Copilot via MCP so Claude can call Copilot as a tool for code changes, debugging, refactoring, tests, and implementation-oriented shell work.\n\n## 🔒 Data flow & privacy\n\nWhen you use this bridge, your **prompt text** and **working directory** are forwarded to the locally installed GitHub Copilot CLI, which sends them to **GitHub's AI services** for processing. No data is collected, stored, or logged by this bridge itself.\n\nCopilot runs with `--allow-all-tools` and `--allow-all-paths`, giving it broad read/write access to the working directory.\n\nSee [PRIVACY.md](PRIVACY.md) for the full privacy policy and links to [GitHub's privacy statement](https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement).\n\n## 🚀 Quick start\n\n### Prerequisites\n\n```bash\nclaude --version   # Claude Code CLI\ncopilot --version  # GitHub Copilot CLI\nnode --version     # Node.js ≥ 18\nnpm --version\n```\n\n### Setup\n\n```bash\n# 1. Authenticate Copilot\ncopilot login\n\n# 2a. Install bridge + /copilot skill (on-demand mode)\ncurl -fsSL https://raw.githubusercontent.com/StreetStripe/delegate-claude-to-copilot/main/install.sh | bash\n\n# 2b. …or make Copilot the default coding delegate\ncurl -fsSL https://raw.githubusercontent.com/StreetStripe/delegate-claude-to-copilot/main/install.sh | bash -s -- --default\n```\n\n### Alternative: install via npm\n\nIf you prefer using the published npm package instead of local file copies:\n\n```bash\n# Install with npx-based bridge (no local source files needed)\ncurl -fsSL https://raw.githubusercontent.com/StreetStripe/delegate-claude-to-copilot/main/install.sh | bash -s -- --npx\n\n# Or combine with default delegation\ncurl -fsSL https://raw.githubusercontent.com/StreetStripe/delegate-claude-to-copilot/main/install.sh | bash -s -- --npx --default\n```\n\nThis registers the bridge as `npx --yes @streetstripe/copilot-mcp-bridge` (non-interactive) — npm fetches the package on demand so there are no local source files to maintain.\n\n> Existing `~/.claude/CLAUDE.md`? The installer prepends — it won't clobber your config.\n\n### Verify\n\n```bash\nclaude mcp list                              # should show copilot-bridge ✓\nclaude -p \"/copilot Reply with exactly OK\"   # should return OK\n```\n\n## 📦 What gets installed\n\n```text\n~/.claude/\n├── copilot-mcp/\n│   ├── package.json\n│   └── index.js          ← MCP server\n├── skills/copilot/\n│   └── SKILL.md           ← /copilot skill definition\n└── CLAUDE.md              ← (--default only) delegation instructions\n```\n\nPlus a registered Claude Code MCP server entry: **`copilot-bridge`**.\n\n## 🧩 Install as a Claude Code plugin\n\nIf you use [Claude Code plugins](https://code.claude.com/docs/en/plugins), install directly from the marketplace:\n\n```bash\n/plugin install copilot-bridge@StreetStripe/delegate-claude-to-copilot\n```\n\nOr test locally during development:\n\n```bash\nclaude --plugin-dir ./path/to/delegate-claude-to-copilot\n```\n\nThe plugin provides:\n- **`/copilot-bridge:copilot`** skill\n- **`copilot-bridge`** MCP server (via `npx copilot-mcp-bridge`)\n\n> Requires `copilot` CLI to be installed and authenticated (`copilot login`).\n\n## 🧩 Manual setup\n\nPrefer copy-paste over an installer? See **[HOW-TO-INSTALL-MANUALLY.md](HOW-TO-INSTALL-MANUALLY.md)**.\n\n## ⚙️ How default delegation works\n\nTwo Claude-side pieces drive the behavior:\n\n- `~/.claude/skills/copilot/SKILL.md` — skill definition\n- `~/.claude/CLAUDE.md` — personal instruction file\n\nThis means:\n\n- Claude still handles non-coding tasks directly\n- You can override per session or per task\n- Removing `CLAUDE.md` disables auto-delegation without uninstalling the bridge\n\n## 🏪 Claude Code Plugin Marketplace\n\nThis project is packaged for the [Claude Code Plugin Marketplace](https://code.claude.com/docs/en/plugin-marketplaces). The manifest at [`claude-plugin.json`](claude-plugin.json) describes the MCP server, its tools, installation methods, and skill metadata so the plugin can be discovered and installed directly from Claude Code.\n\n## 🤝 Works great with ruflo\n\nThis project pairs nicely with **[ruflo](https://github.com/ruvnet/ruflo)** — an agentic software factory for ultra-fast, AI-native development. Use ruflo's orchestration layer alongside this bridge to supercharge your Claude + Copilot workflow.\n\n## 🔧 Troubleshooting\n\n<details>\n<summary><b>Claude cannot see <code>copilot-bridge</code></b></summary>\n\n```bash\nclaude mcp list        # check status\n./install.sh           # reinstall if missing\n```\n</details>\n\n<details>\n<summary><b>Copilot is installed but fails to answer</b></summary>\n\n```bash\ncopilot login          # re-authenticate\ncopilot -p \"Reply with exactly OK\" --allow-all-tools --allow-all-paths -s\n```\n</details>\n\n<details>\n<summary><b>Default delegation is not happening</b></summary>\n\nVerify both files exist:\n\n```bash\ncat ~/.claude/skills/copilot/SKILL.md\ncat ~/.claude/CLAUDE.md\nclaude -p \"/copilot Reply with exactly OK\"\n```\n</details>\n\n## 💡 Example prompts\n\nThese examples demonstrate core functionality:\n\n```bash\n# 1. Simple verification\nclaude -p \"/copilot Reply with exactly OK\"\n\n# 2. Code generation\nclaude -p \"/copilot Create a Python function that reads a CSV file and returns the top 5 rows as a list of dicts\"\n\n# 3. Refactoring\nclaude -p \"/copilot Refactor the function in src/utils.js to use async/await instead of callbacks\"\n\n# 4. Bug fix\nclaude -p \"/copilot Fix the off-by-one error in the pagination logic in src/api.ts\"\n\n# 5. Test generation\nclaude -p \"/copilot Write unit tests for the User model in tests/test_user.py using pytest\"\n```\n\n## 🆘 Support\n\n- **Issues & bug reports:** [GitHub Issues](https://github.com/StreetStripe/delegate-claude-to-copilot/issues)\n- **Discussions & questions:** [GitHub Discussions](https://github.com/StreetStripe/delegate-claude-to-copilot/discussions)\n- **Maintainer:** [@StreetStripe](https://github.com/StreetStripe)\n- **Security vulnerabilities:** Please report privately via [GitHub Security Advisories](https://github.com/StreetStripe/delegate-claude-to-copilot/security/advisories)\n\n## 📄 License\n\nMIT — see [LICENSE](LICENSE).\n\n---\n\n<div align=\"center\">\n\n**Contributions are very welcome!** 🎉\n\nWhether it's a bug fix, a feature idea, docs improvement, or just a question — open an issue or submit a PR.<br>\nLet's make Claude + Copilot better together.\n\n</div>",
  "bytes": 7575,
  "sha": "3fc567bbba2612ba90c19ec3ba8bcefd837f85733e59a386249b62c93aeb5c1e",
  "repo_slug": "streetstripe/delegate-claude-to-copilot",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_streetstripe_delegate_claude_to_copilot__5c04b8f3/readme"
}