[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"content-/claude-code-web-session":3,"all-pages-for-dir":331,"related-/claude-code-web-session":332,"og-image-/claude-code-web-session":352},{"id":4,"title":5,"body":6,"category":317,"concepts":317,"description":318,"extension":319,"meta":320,"navigation":321,"ogImage":317,"path":322,"project_name":317,"published":323,"publishedAt":324,"seo":325,"source":317,"stem":326,"tags":327,"todo":317,"unpublished":323,"updatedAt":317,"__hash__":330},"pages/2026-01/2026-01-03/claude-code-web-session.md","Claude Code ウェブ版とローカルCLIのセッション連携",{"type":7,"value":8,"toc":299},"minimark",[9,13,17,26,75,83,92,96,99,116,119,132,135,151,154,162,165,177,181,185,202,206,221,250,253,256,276,279,295],[10,11,5],"h1",{"id":12},"claude-code-ウェブ版とローカルcliのセッション連携",[14,15,16],"h2",{"id":16},"結論",[18,19,20,21,25],"p",{},"本記事では、セッション引き継ぎが",[22,23,24],"strong",{},"双方向で可能","であることを説明する。",[27,28,29,45],"table",{},[30,31,32],"thead",{},[33,34,35,39,42],"tr",{},[36,37,38],"th",{},"方向",[36,40,41],{},"可否",[36,43,44],{},"コマンド",[46,47,48,63],"tbody",{},[33,49,50,54,57],{},[51,52,53],"td",{},"Web版 → ローカルCLI",[51,55,56],{},"可能",[51,58,59],{},[60,61,62],"code",{},"claude --teleport \u003Csession-id>",[33,64,65,68,70],{},[51,66,67],{},"ローカルCLI → Web版",[51,69,56],{},[51,71,72],{},[60,73,74],{},"& タスク説明",[14,76,78,79,82],{"id":77},"ローカルcli-web版への引き継ぎ-コマンド","ローカルCLI → Web版への引き継ぎ（",[60,80,81],{},"&"," コマンド）",[84,85,86],"blockquote",{},[18,87,88,91],{},[22,89,90],{},"注意",": この機能は Research Preview（実験的機能）です。エラーが発生する場合があります。",[93,94,95],"h3",{"id":95},"前提条件",[18,97,98],{},"claude.ai アカウントでログインが必要：",[100,101,106],"pre",{"className":102,"code":103,"language":104,"meta":105,"style":105},"language-bash shiki shiki-themes vitesse-light vitesse-light","/login\n","bash","",[60,107,108],{"__ignoreMap":105},[109,110,113],"span",{"class":111,"line":112},"line",1,[109,114,103],{"class":115},"senZ8",[93,117,118],{"id":118},"使い方",[100,120,122],{"className":102,"code":121,"language":104,"meta":105,"style":105},"& タスクの説明をここに書く\n",[60,123,124],{"__ignoreMap":105},[109,125,126,129],{"class":111,"line":112},[109,127,81],{"class":128},"shFtX",[109,130,131],{"class":115}," タスクの説明をここに書く\n",[18,133,134],{},"実行すると：",[136,137,138,142,148],"ol",{},[139,140,141],"li",{},"セッション履歴がWeb版にアップロードされる",[139,143,144,147],{},[60,145,146],{},"claude.ai/code/session_xxx"," のURLが発行される",[139,149,150],{},"Web版でバックグラウンド実行が開始される",[93,152,153],{"id":153},"出力例",[100,155,160],{"className":156,"code":158,"language":159},[157],"language-text","This task is now running in the background.\nMonitor it with /tasks or at https://claude.ai/code/session_01JVzeepMEdTVHrjxExBT85c\n\nOr, resume it later with: claude --teleport session_01JVzeepMEdTVHrjxExBT85c\n","text",[60,161,158],{"__ignoreMap":105},[93,163,164],{"id":164},"既知の問題",[166,167,168,171,174],"ul",{},[139,169,170],{},"セッション履歴が大きいとアップロードに失敗することがある",[139,172,173],{},"Web版のサンドボックス環境でエラーが発生する場合がある",[139,175,176],{},"「Research Preview」のため安定性は保証されない",[14,178,180],{"id":179},"web版-ローカルcliへの引き継ぎ手順","Web版 → ローカルCLIへの引き継ぎ手順",[93,182,184],{"id":183},"_1-web版で作業開始","1. Web版で作業開始",[136,186,187,196,199],{},[139,188,189,195],{},[190,191,192],"a",{"href":192,"rel":193},"https://claude.ai/code",[194],"nofollow"," にアクセス",[139,197,198],{},"GitHub連携してリポジトリを選択",[139,200,201],{},"タスクを実行",[93,203,205],{"id":204},"_2-ローカルに引き継ぐ","2. ローカルに引き継ぐ",[136,207,208,215,218],{},[139,209,210,211,214],{},"Web版UIの「",[22,212,213],{},"Open in CLI","」ボタンをクリック",[139,216,217],{},"表示されるコマンドをコピー",[139,219,220],{},"ターミナルで実行:",[100,222,224],{"className":102,"code":223,"language":104,"meta":105,"style":105},"claude --resume \u003Csession-id>\n",[60,225,226],{"__ignoreMap":105},[109,227,228,231,235,239,243,247],{"class":111,"line":112},[109,229,230],{"class":115},"claude",[109,232,234],{"class":233},"snbK4"," --resume",[109,236,238],{"class":237},"stQ0i"," \u003C",[109,240,242],{"class":241},"sdGka","session-i",[109,244,246],{"class":245},"sG7-3","d",[109,248,249],{"class":237},">\n",[18,251,252],{},"ローカルの未コミット変更は自動的にスタッシュされ、リモートセッションが読み込まれる。",[14,254,255],{"id":255},"制限事項",[166,257,258,264,270],{},[139,259,260,263],{},[22,261,262],{},"GitHub専用",": Web版はGitHubリポジトリのみ対応（GitLabは非対応）",[139,265,266,269],{},[22,267,268],{},"同一アカウント",": CLIとWeb版で同じアカウントで認証されている必要あり",[139,271,272,275],{},[22,273,274],{},"自動プッシュ",": Web版での変更は自動的にリモートブランチにプッシュされる",[14,277,278],{"id":278},"参考リンク",[166,280,281,288],{},[139,282,283],{},[190,284,287],{"href":285,"rel":286},"https://docs.anthropic.com/en/docs/claude-code/claude-code-on-the-web",[194],"Claude Code on the web",[139,289,290],{},[190,291,294],{"href":292,"rel":293},"https://docs.anthropic.com/en/docs/claude-code/common-workflows",[194],"Common workflows",[296,297,298],"style",{},"html pre.shiki code .senZ8, html code.shiki .senZ8{--shiki-default:#59873A;--shiki-dark:#59873A}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .shFtX, html code.shiki .shFtX{--shiki-default:#999999;--shiki-dark:#999999}html pre.shiki code .snbK4, html code.shiki .snbK4{--shiki-default:#A65E2B;--shiki-dark:#A65E2B}html pre.shiki code .stQ0i, html code.shiki .stQ0i{--shiki-default:#AB5959;--shiki-dark:#AB5959}html pre.shiki code .sdGka, html code.shiki .sdGka{--shiki-default:#B56959;--shiki-dark:#B56959}html pre.shiki code .sG7-3, html code.shiki .sG7-3{--shiki-default:#393A34;--shiki-dark:#393A34}",{"title":105,"searchDepth":300,"depth":300,"links":301},2,[302,303,311,315,316],{"id":16,"depth":300,"text":16},{"id":77,"depth":300,"text":304,"children":305},"ローカルCLI → Web版への引き継ぎ（& コマンド）",[306,308,309,310],{"id":95,"depth":307,"text":95},3,{"id":118,"depth":307,"text":118},{"id":153,"depth":307,"text":153},{"id":164,"depth":307,"text":164},{"id":179,"depth":300,"text":180,"children":312},[313,314],{"id":183,"depth":307,"text":184},{"id":204,"depth":307,"text":205},{"id":255,"depth":300,"text":255},{"id":278,"depth":300,"text":278},null,"Web版とローカルCLI間でセッションを引き継ぐ方法と制限事項","md",{},true,"/claude-code-web-session",false,"2026-01-03T00:00:00.000Z",{"title":5,"description":318},"2026-01/2026-01-03/claude-code-web-session",[328,329],"claude-code","workflow","AJO6OBP5WBlMXlwkPfRTd4QuvwRdUeRN6Y6sTqX9KSc",[],[333,337,341,345,348],{"title":334,"path":335,"publishedAt":336},"tool-call-malformed と一日戦って、予防策を /make-diary に焼き込んだ","/tool-call-malformed-subagent-workflow","2026-05-31T00:00:00.000Z",{"title":338,"path":339,"publishedAt":340},"Claude Codeの/worktree機能とプロジェクト深掘り調査 - 並行開発とresearch.mdの実践","/claude-code-worktree-workflow-2026-02-23","2026-02-23T00:00:00.000Z",{"title":342,"path":343,"publishedAt":344},"私のClaude Codeの使い方","/claude-code-workflow-ja","2026-02-21T00:00:00.000Z",{"title":346,"path":347,"publishedAt":324},"Boris流 Claude Code 活用術 13選","/boris-claude-code-workflow",{"title":349,"path":350,"publishedAt":351},"並列ブランチ問題: 同じファイルへの複数PRがコンフリクトする理由と対策","/parallel-branch-problem","2025-12-31T00:00:00.000Z","https://log.eurekapu.com/og/blog/claude-code-web-session.png?v=2026-01-03T00%3A00%3A00.000Z&title=Claude%20Code%20%E3%82%A6%E3%82%A7%E3%83%96%E7%89%88%E3%81%A8%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABCLI%E3%81%AE%E3%82%BB%E3%83%83%E3%82%B7%E3%83%A7%E3%83%B3%E9%80%A3%E6%90%BA&author=Kei%20Komatsu&sig=c982c7cee49bd5d0",1785654706635]