{"id":30696243,"url":"https://github.com/nishimoto265/Claude-Code-Communication","last_synced_at":"2025-09-02T08:02:30.907Z","repository":{"id":298248577,"uuid":"998990959","full_name":"nishimoto265/Claude-Code-Communication","owner":"nishimoto265","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-26T06:12:47.000Z","size":13,"stargazers_count":423,"open_issues_count":0,"forks_count":199,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T06:57:04.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nishimoto265.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-09T15:11:41.000Z","updated_at":"2025-07-20T01:45:41.000Z","dependencies_parsed_at":"2025-06-10T06:39:37.744Z","dependency_job_id":null,"html_url":"https://github.com/nishimoto265/Claude-Code-Communication","commit_stats":null,"previous_names":["nishimoto265/claude-code-communication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nishimoto265/Claude-Code-Communication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishimoto265%2FClaude-Code-Communication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishimoto265%2FClaude-Code-Communication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishimoto265%2FClaude-Code-Communication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishimoto265%2FClaude-Code-Communication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nishimoto265","download_url":"https://codeload.github.com/nishimoto265/Claude-Code-Communication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishimoto265%2FClaude-Code-Communication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273250771,"owners_count":25072171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-02T08:01:16.622Z","updated_at":"2025-09-02T08:02:30.876Z","avatar_url":"https://github.com/nishimoto265.png","language":"Shell","funding_links":[],"categories":["Claude Code Ecosystem","Shell","开发工具与实用程序"],"sub_categories":["Remote Control \u0026 Communication"],"readme":"# 🤖 Tmux Multi-Agent Communication Demo\n\nAgent同士がやり取りするtmux環境のデモシステム\n\n**📖 Read this in other languages:** [English](README-en.md)\n\n## 🎯 デモ概要\n\nPRESIDENT → BOSS → Workers の階層型指示システムを体感できます\n\n### 👥 エージェント構成\n\n```\n📊 PRESIDENT セッション (1ペイン)\n└── PRESIDENT: プロジェクト統括責任者\n\n📊 multiagent セッション (4ペイン)  \n├── boss1: チームリーダー\n├── worker1: 実行担当者A\n├── worker2: 実行担当者B\n└── worker3: 実行担当者C\n```\n\n## 🚀 クイックスタート\n\n### 0. リポジトリのクローン\n\n```bash\ngit clone https://github.com/nishimoto265/Claude-Code-Communication.git\ncd Claude-Code-Communication\n```\n\n### 1. tmux環境構築\n\n⚠️ **注意**: 既存の `multiagent` と `president` セッションがある場合は自動的に削除されます。\n\n```bash\n./setup.sh\n```\n\n### 2. セッションアタッチ\n\n```bash\n# マルチエージェント確認\ntmux attach-session -t multiagent\n\n# プレジデント確認（別ターミナルで）\ntmux attach-session -t president\n```\n\n### 3. Claude Code起動\n\n**手順1: President認証**\n```bash\n# まずPRESIDENTで認証を実施\ntmux send-keys -t president 'claude' C-m\n```\n認証プロンプトに従って許可を与えてください。\n\n**手順2: Multiagent一括起動**\n```bash\n# 認証完了後、multiagentセッションを一括起動\nfor i in {0..3}; do tmux send-keys -t multiagent:0.$i 'claude' C-m; done\n```\n\n### 4. デモ実行\n\nPRESIDENTセッションで直接入力：\n```\nあなたはpresidentです。指示書に従って\n```\n\n## 📜 指示書について\n\n各エージェントの役割別指示書：\n- **PRESIDENT**: `instructions/president.md`\n- **boss1**: `instructions/boss.md` \n- **worker1,2,3**: `instructions/worker.md`\n\n**Claude Code参照**: `CLAUDE.md` でシステム構造を確認\n\n**要点:**\n- **PRESIDENT**: 「あなたはpresidentです。指示書に従って」→ boss1に指示送信\n- **boss1**: PRESIDENT指示受信 → workers全員に指示 → 完了報告\n- **workers**: Hello World実行 → 完了ファイル作成 → 最後の人が報告\n\n## 🎬 期待される動作フロー\n\n```\n1. PRESIDENT → boss1: \"あなたはboss1です。Hello World プロジェクト開始指示\"\n2. boss1 → workers: \"あなたはworker[1-3]です。Hello World 作業開始\"  \n3. workers → ./tmp/ファイル作成 → 最後のworker → boss1: \"全員作業完了しました\"\n4. boss1 → PRESIDENT: \"全員完了しました\"\n```\n\n## 🔧 手動操作\n\n### agent-send.shを使った送信\n\n```bash\n# 基本送信\n./agent-send.sh [エージェント名] [メッセージ]\n\n# 例\n./agent-send.sh boss1 \"緊急タスクです\"\n./agent-send.sh worker1 \"作業完了しました\"\n./agent-send.sh president \"最終報告です\"\n\n# エージェント一覧確認\n./agent-send.sh --list\n```\n\n## 🧪 確認・デバッグ\n\n### ログ確認\n\n```bash\n# 送信ログ確認\ncat logs/send_log.txt\n\n# 特定エージェントのログ\ngrep \"boss1\" logs/send_log.txt\n\n# 完了ファイル確認\nls -la ./tmp/worker*_done.txt\n```\n\n### セッション状態確認\n\n```bash\n# セッション一覧\ntmux list-sessions\n\n# ペイン一覧\ntmux list-panes -t multiagent\ntmux list-panes -t president\n```\n\n## 🔄 環境リセット\n\n```bash\n# セッション削除\ntmux kill-session -t multiagent\ntmux kill-session -t president\n\n# 完了ファイル削除\nrm -f ./tmp/worker*_done.txt\n\n# 再構築（自動クリア付き）\n./setup.sh\n```\n\n---\n\n## 📄 ライセンス\n\nこのプロジェクトは[MIT License](LICENSE)の下で公開されています。\n\n## 🤝 コントリビューション\n\nプルリクエストやIssueでのコントリビューションを歓迎いたします！\n\n---\n\n🚀 **Agent Communication を体感してください！** 🤖✨ ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishimoto265%2FClaude-Code-Communication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishimoto265%2FClaude-Code-Communication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishimoto265%2FClaude-Code-Communication/lists"}