[{"data":1,"prerenderedAt":2136},["ShallowReactive",2],{"header-counts":3,"footer-counts":6,"compare-warp-vs-claude-code":8,"compare-a-warp":9,"compare-b-claude-code":844},{"tools":4,"reviews":5},98,27,{"tools":4,"reviews":5,"playbooks":7,"news":5},22,null,{"id":10,"title":11,"alternatives":12,"api_compatible":8,"body":17,"category":784,"chinese_friendly":303,"cover":785,"description":786,"domestic":787,"extension":788,"faq":8,"free":324,"github":749,"languages":789,"lastVerified":8,"meta":791,"models":8,"navigation":324,"notSuitable":8,"opensource":324,"path":792,"pillar":793,"platforms":794,"priceTable":798,"pricing":816,"published":817,"relatedPlaybooks":8,"relatedReviews":8,"score":818,"self_host":787,"seo":819,"seoTitle":820,"slug":821,"sources":822,"stem":834,"suitable":8,"tagline":835,"tags":836,"updated":817,"verdict":842,"website":737,"__hash__":843},"tools\u002Ftools\u002Fcoding\u002Fcli\u002Fwarp.md","Warp",[13,14,15,16],"coding\u002Fcli\u002Fclaude-code","coding\u002Fcli\u002Faider","coding\u002Fcli\u002Fcodex","coding\u002Fcli\u002Fgemini-cli",{"type":18,"value":19,"toc":766},"minimark",[20,25,51,57,60,65,68,81,85,88,92,127,131,144,148,151,155,251,264,278,282,360,378,381,420,423,556,562,576,581,598,601,643,647,650,664,667,684,687,727,730,754,762],[21,22,24],"h2",{"id":23},"tldr","TL;DR",[26,27,32,44],"div",{"className":28},[29,30,31],"card","p-5","my-4",[33,34,35,39,40,43],"p",{},[36,37,38],"strong",{},"一句话："," 用 Rust 重写的 ",[36,41,42],{},"AI-native 终端","，2020 年创立（红杉\u002FGV 投资），mac 开发者中用户量很大。它不是给老终端加 AI 插件，而是从头围绕「块状命令输出 + 现代文本编辑 + 内置 AI」重新设计。2025 年开源（客户端 AGPLv3，62k+ GitHub stars）。",[33,45,46,47,50],{},"核心能力：自然语言生成命令、本地 + 云端 agent、codebase 索引、跨 zsh\u002Fbash\u002Ffish。代价是 AI 走 ",[36,48,49],{},"credit 制","，重度使用月成本高。",[52,53,54],"blockquote",{},[33,55,56],{},"来源说明：本文基于 warp.dev 官方与定价页、GitHub 仓库、多份独立评测（aitools.inc \u002F theaiagentindex）综合整理。Warp 迭代快、credit 规则随官方调整，请以最新官方信息为准。",[21,58,59],{"id":59},"核心特性",[61,62,64],"h3",{"id":63},"块状终端blocks","块状终端（Blocks）",[33,66,67],{},"Warp 最标志性的设计：把每条命令的「输入 + 输出」组织成一个可导航的「块」，而不是一长串滚动文本。好处：",[69,70,71,75,78],"ul",{},[72,73,74],"li",{},"历史命令一眼区分，点一下就能复制整块输入或输出",[72,76,77],{},"块可以分享给同事（连命令带输出）",[72,79,80],{},"命令行支持像代码编辑器一样把光标放任意位置编辑、多行编辑、智能选择",[61,82,84],{"id":83},"ai-命令助手","AI 命令助手",[33,86,87],{},"直接在终端里用自然语言问，拿到命令建议、解释和复杂工作流帮助。比如输入「重启 docker 并清缓存」生成对应命令。内置 400+ CLI 工具的智能补全。",[61,89,91],{"id":90},"warp-agent-云端-agent","Warp Agent + 云端 agent",[69,93,94,100,110,116],{},[72,95,96,99],{},[36,97,98],{},"本地 agent","：在终端里 agentic 地完成编码任务",[72,101,102,105,106,109],{},[36,103,104],{},"云端 agent（Cloud Agents）","：关键差异点——",[36,107,108],{},"终端关掉后任务还在云端继续跑","，适合长时间自主工作流",[72,111,112,115],{},[36,113,114],{},"codebase 索引","：付费档支持单仓库最多 10 万文件索引",[72,117,118,126],{},[36,119,120,125],{},[121,122,124],"a",{"href":123},"\u002Fwiki\u002Fmcp.html","MCP"," 支持","：所有付费档可用",[61,128,130],{"id":129},"oz多-agent-编排2026-06","Oz：多 agent 编排（2026-06）",[33,132,133,134,138,139,143],{},"2026 年 6 月 Warp 推出 Oz 编排层，能在一个统一工作流里协调 ",[121,135,137],{"href":136},"\u002Fcoding\u002Fcli\u002Fclaude-code.html","Claude Code","、",[121,140,142],{"href":141},"\u002Fcoding\u002Fcli\u002Fcodex.html","Codex"," 和 Warp Agent——把多个 agent harness 统一调度。",[61,145,147],{"id":146},"warp-drive","Warp Drive",[33,149,150],{},"团队共享层：保存常用命令为可复用 workflow（带参数）、共享 Notebook、实时 session 分享做结对编程。",[21,152,154],{"id":153},"价格与运行成本credit-制","价格与运行成本（credit 制）",[156,157,158,177],"table",{},[159,160,161],"thead",{},[162,163,164,168,171,174],"tr",{},[165,166,167],"th",{},"套餐",[165,169,170],{},"价格",[165,172,173],{},"Credits",[165,175,176],{},"备注",[178,179,180,195,209,223,237],"tbody",{},[162,181,182,186,189,192],{},[183,184,185],"td",{},"Free",[183,187,188],{},"$0",[183,190,191],{},"限量 AI + BYO 推理",[183,193,194],{},"终端基础功能全免费",[162,196,197,200,203,206],{},[183,198,199],{},"Build",[183,201,202],{},"$20\u002F月（年付 $18）",[183,204,205],{},"1500\u002F月",[183,207,208],{},"官方推荐，前沿模型全开",[162,210,211,214,217,220],{},[183,212,213],{},"Max",[183,215,216],{},"$200\u002F月",[183,218,219],{},"12× Build",[183,221,222],{},"重度自主工作流",[162,224,225,228,231,234],{},[183,226,227],{},"Business",[183,229,230],{},"$50\u002Fseat\u002F月",[183,232,233],{},"1500\u002F月\u002F人",[183,235,236],{},"团队 ZDR + SSO，最多 25 席",[162,238,239,242,245,248],{},[183,240,241],{},"Enterprise",[183,243,244],{},"联系销售",[183,246,247],{},"定制",[183,249,250],{},"BYOLLM + 自托管云 agent",[33,252,253,256,257,263],{},[36,254,255],{},"credit 消耗要点","（据官方与 ",[121,258,262],{"href":259,"rel":260},"https:\u002F\u002Ftheaiagentindex.com\u002Fagents\u002Fwarp-ai",[261],"nofollow","theaiagentindex 评测","）：",[69,265,266,269,272,275],{},[72,267,268],{},"credit 同时用于云端和本地 agent",[72,270,271],{},"用前沿模型（GPT \u002F Claude \u002F Gemini）消耗更快",[72,273,274],{},"支持 Reload credits（按量加购，有阶梯折扣）+ auto-reload + 团队消费上限",[72,276,277],{},"年付约 9 折",[21,279,281],{"id":280},"上手-5-分钟","上手 5 分钟",[283,284,289],"pre",{"className":285,"code":286,"language":287,"meta":288,"style":288},"language-bash shiki shiki-themes github-light github-dark","# macOS\nbrew install --cask warp\n\n# Windows\nwinget install Warp.Warp\n\n# Linux（.deb \u002F .rpm \u002F AppImage \u002F pacman，x64 与 ARM64）\n# 去 https:\u002F\u002Fapp.warp.dev\u002Fget_warp 选对应包\n","bash","",[290,291,292,301,319,326,332,343,348,354],"code",{"__ignoreMap":288},[293,294,297],"span",{"class":295,"line":296},"line",1,[293,298,300],{"class":299},"sJ8bj","# macOS\n",[293,302,304,308,312,316],{"class":295,"line":303},2,[293,305,307],{"class":306},"sScJk","brew",[293,309,311],{"class":310},"sZZnC"," install",[293,313,315],{"class":314},"sj4cs"," --cask",[293,317,318],{"class":310}," warp\n",[293,320,322],{"class":295,"line":321},3,[293,323,325],{"emptyLinePlaceholder":324},true,"\n",[293,327,329],{"class":295,"line":328},4,[293,330,331],{"class":299},"# Windows\n",[293,333,335,338,340],{"class":295,"line":334},5,[293,336,337],{"class":306},"winget",[293,339,311],{"class":310},[293,341,342],{"class":310}," Warp.Warp\n",[293,344,346],{"class":295,"line":345},6,[293,347,325],{"emptyLinePlaceholder":324},[293,349,351],{"class":295,"line":350},7,[293,352,353],{"class":299},"# Linux（.deb \u002F .rpm \u002F AppImage \u002F pacman，x64 与 ARM64）\n",[293,355,357],{"class":295,"line":356},8,[293,358,359],{"class":299},"# 去 https:\u002F\u002Fapp.warp.dev\u002Fget_warp 选对应包\n",[361,362,363,366,369,372,375],"ol",{},[72,364,365],{},"安装后用账号登录（国内需代理过验证）",[72,367,368],{},"习惯块状输出——每条命令是一个独立块",[72,370,371],{},"输入自然语言（如「找出占用 8080 端口的进程并杀掉」）让 AI 生成命令",[72,373,374],{},"试 Warp Agent：让它跑一个多步骤任务，看它读输出、自动纠错",[72,376,377],{},"团队用户配 Warp Drive 共享 workflow",[21,379,380],{"id":380},"国内使用注意事项",[361,382,383,389,395,401],{},[72,384,385,388],{},[36,386,387],{},"网络","：AI 推理在境外，agent \u002F 命令生成没代理会卡顿",[72,390,391,394],{},[36,392,393],{},"支付","：付费档只收海外卡",[72,396,397,400],{},[36,398,399],{},"语言","：界面以英文为主，中文支持弱",[72,402,403,406,407,409,410,414,415,419],{},[36,404,405],{},"替代路径","：国内终端 AI 工作流可考虑 ",[121,408,137],{"href":136},"（配国内中转）、",[121,411,413],{"href":412},"\u002Fcoding\u002Fcli\u002Faider.html","Aider","（开源、可接国内模型 API）、",[121,416,418],{"href":417},"\u002Fcoding\u002Fcopilot\u002Ftongyi-lingma.html","通义灵码"," 命令行能力",[21,421,422],{"id":422},"与同类怎么选",[156,424,425,446],{},[159,426,427],{},[162,428,429,432,434,438,442],{},[165,430,431],{},"维度",[165,433,11],{},[165,435,436],{},[121,437,137],{"href":136},[165,439,440],{},[121,441,413],{"href":412},[165,443,444],{},[121,445,142],{"href":141},[178,447,448,463,479,494,510,527,542],{},[162,449,450,453,455,458,461],{},[183,451,452],{},"形态",[183,454,42],{},[183,456,457],{},"终端内 agent",[183,459,460],{},"终端内 pair programmer",[183,462,457],{},[162,464,465,468,471,474,477],{},[183,466,467],{},"终端 UX 革新",[183,469,470],{},"★★★★★ 块状\u002F编辑",[183,472,473],{},"★★★☆☆ 普通终端跑",[183,475,476],{},"★★★☆☆",[183,478,476],{},[162,480,481,484,487,490,492],{},[183,482,483],{},"云端 agent",[183,485,486],{},"★★★★★ 有",[183,488,489],{},"✗",[183,491,489],{},[183,493,476],{},[162,495,496,499,502,504,507],{},[183,497,498],{},"开源",[183,500,501],{},"★★★★☆ 客户端 AGPLv3",[183,503,489],{},[183,505,506],{},"★★★★★ Apache",[183,508,509],{},"★★★★☆",[162,511,512,515,518,521,524],{},[183,513,514],{},"模型灵活度",[183,516,517],{},"★★★★☆ 多家 + BYOK",[183,519,520],{},"★★★☆☆ 主 Claude",[183,522,523],{},"★★★★★ 任意 API",[183,525,526],{},"★★★☆☆ 主 OpenAI",[162,528,529,532,535,537,540],{},[183,530,531],{},"成本可预测性",[183,533,534],{},"★★★☆☆ credit 制",[183,536,509],{},[183,538,539],{},"★★★★★ 按 API 付",[183,541,509],{},[162,543,544,547,550,552,554],{},[183,545,546],{},"国内可用性",[183,548,549],{},"★★☆☆☆",[183,551,476],{},[183,553,509],{},[183,555,476],{},[33,557,558,561],{},[36,559,560],{},"选 Warp 如果你","：",[69,563,564,567,570,573],{},[72,565,566],{},"想要根本性更好的终端 UX（块状输出 + 现代编辑）",[72,568,569],{},"需要云端 agent 跑关终端也不停的长任务",[72,571,572],{},"mac \u002F Linux 用户、能搞定网络和支付",[72,574,575],{},"想要一个 GUI 化、可分享、可团队协作的终端",[33,577,578,561],{},[36,579,580],{},"别选 Warp 如果你",[69,582,583,589,592,595],{},[72,584,585,586,588],{},"重度使用且预算敏感（credit 制不如按 API 付划算，去 ",[121,587,413],{"href":412},"）",[72,590,591],{},"Windows 重度用户（打磨不如 mac\u002FLinux）",[72,593,594],{},"国内 + 不想折腾代理",[72,596,597],{},"只想要纯净轻量终端（用 iTerm2 \u002F Alacritty）",[21,599,600],{"id":600},"避坑清单",[69,602,603,609,619,625,631,637],{},[72,604,605,608],{},[36,606,607],{},"credit 制要算账","：Build 的 1500 credits 看着多，跑 agent + 前沿模型消耗快，重度用户得上 Max（$200）或买 Reload credits，成本不低。",[72,610,611,614,615,618],{},[36,612,613],{},"Windows 打磨落后","：据 ",[121,616,262],{"href":259,"rel":617},[261],"，Windows 版虽可用，但稳定性和细节不如 mac \u002F Linux。Windows 用户预期别拉太高。",[72,620,621,624],{},[36,622,623],{},"开源 ≠ 全开源","：开源的是客户端（AGPLv3）和 UI 框架（MIT），后端服务和 AI 基础设施不开源。要完全自托管得上 Enterprise。",[72,626,627,630],{},[36,628,629],{},"AGPLv3 注意合规","：如果你 fork 改 Warp 客户端并对外提供网络服务，AGPLv3 要求公开你的修改源码。企业内部商用前确认许可证义务。",[72,632,633,636],{},[36,634,635],{},"数据出网","：默认 AI 走云端。介意代码出网的，Free 档可 BYO 推理，或上 Business\u002FEnterprise 的 Zero Data Retention。",[72,638,639,642],{},[36,640,641],{},"国内三道坎","：网络、支付、英文界面，没代理基本玩不转。",[21,644,646],{"id":645},"适合-不适合","适合 \u002F 不适合",[33,648,649],{},"✅ 适合：",[69,651,652,655,658,661],{},[72,653,654],{},"想要现代化、AI-native 的终端体验",[72,656,657],{},"需要云端 agent 跑长时间自主任务",[72,659,660],{},"mac \u002F Linux 开发者",[72,662,663],{},"团队需要共享命令 \u002F workflow \u002F 结对",[33,665,666],{},"❌ 不适合：",[69,668,669,675,678,681],{},[72,670,671,672,674],{},"预算敏感的重度 AI 使用者（",[121,673,413],{"href":412}," 按 API 付更省）",[72,676,677],{},"Windows 重度用户",[72,679,680],{},"国内首选且不想配代理",[72,682,683],{},"偏好极简纯净终端",[21,685,686],{"id":686},"相关阅读",[69,688,689,703,716],{},[72,690,691,692,694,695,694,697,694,699],{},"同类对比：",[121,693,137],{"href":136}," \u002F ",[121,696,413],{"href":412},[121,698,142],{"href":141},[121,700,702],{"href":701},"\u002Fcoding\u002Fcli\u002Fgemini-cli.html","Gemini CLI",[72,704,705,706,694,710,694,712],{},"概念：",[121,707,709],{"href":708},"\u002Fwiki\u002Fai-agent.html","AI Agent",[121,711,124],{"href":123},[121,713,715],{"href":714},"\u002Fwiki\u002Fcontext-rot.html","Context Rot",[72,717,718,719,694,723],{},"模型：",[121,720,722],{"href":721},"\u002Fmodels\u002Fclaude-opus-4-5.html","Claude Opus 4.5",[121,724,726],{"href":725},"\u002Fmodels\u002Fgpt-5-1-codex-max.html","GPT-5.1-Codex-Max",[21,728,729],{"id":729},"来源",[69,731,732,744,751],{},[72,733,734,735,739,740],{},"官网：",[121,736,737],{"href":737,"rel":738},"https:\u002F\u002Fwarp.dev",[261]," ｜ 定价：",[121,741,742],{"href":742,"rel":743},"https:\u002F\u002Fwww.warp.dev\u002Fpricing",[261],[72,745,746,747],{},"GitHub：",[121,748,749],{"href":749,"rel":750},"https:\u002F\u002Fgithub.com\u002Fwarpdotdev\u002FWarp",[261],[72,752,753],{},"第三方评测：aitools.inc \u002F theaiagentindex.com",[33,755,756,757,761],{},"本卡片由 AIHO 编辑部根据官方公开资料与第三方评测整理。所有事实点均标注来源；如发现价格 \u002F 命令 \u002F 功能与最新官方信息不一致，请通过 ",[121,758,760],{"href":759},"mailto:hello@aiho.net","反馈邮箱"," 反馈。",[763,764,765],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}",{"title":288,"searchDepth":321,"depth":321,"links":767},[768,769,776,777,778,779,780,781,782,783],{"id":23,"depth":303,"text":24},{"id":59,"depth":303,"text":59,"children":770},[771,772,773,774,775],{"id":63,"depth":321,"text":64},{"id":83,"depth":321,"text":84},{"id":90,"depth":321,"text":91},{"id":129,"depth":321,"text":130},{"id":146,"depth":321,"text":147},{"id":153,"depth":303,"text":154},{"id":280,"depth":303,"text":281},{"id":380,"depth":303,"text":380},{"id":422,"depth":303,"text":422},{"id":600,"depth":303,"text":600},{"id":645,"depth":303,"text":646},{"id":686,"depth":303,"text":686},{"id":729,"depth":303,"text":729},"cli","\u002Fimg\u002Ftools\u002Fwarp.webp","Warp 真实评测：用 Rust 重写的 AI-native 终端，块状命令输出、自然语言生成命令、本地+云端 agent、codebase 索引。AIHO 编辑部基于官方与多份独立评测整理，含 credit 定价、与 Claude Code 对比、避坑指南。",false,"md",[790],"en",{},"\u002Ftools\u002Fcoding\u002Fcli\u002Fwarp","coding",[795,796,797],"windows","macos","linux",[799,802,807,810,813],{"plan":185,"price":188,"limit":800,"cn_pay":801,"note":194},"限量 AI credits + BYO 推理，云 agent\u002F索引受限","—",{"plan":199,"price":803,"limit":804,"cn_pay":805,"note":806},"$20\u002F月（年付 9 折 $18）","1500 credits\u002F月，前沿 OpenAI\u002FAnthropic\u002FGoogle 模型","⚠️ 需海外卡","官方推荐档",{"plan":213,"price":216,"limit":808,"cn_pay":809,"note":222},"12× Build 的 credits","⚠️",{"plan":227,"price":230,"limit":811,"cn_pay":809,"note":812},"1500 credits + 团队 ZDR + SAML SSO","团队（最多 25 席）",{"plan":241,"price":244,"limit":814,"cn_pay":801,"note":815},"无限席位 + BYOLLM + 自托管云 agent","大企业","Free（100-限量 AI）\u002F Build $20\u002Fmo 1500 credits \u002F Max $200\u002Fmo \u002F Business $50\u002Fseat","2026-06-28",{"power":328,"ux":334,"price":321,"cn_support":303,"stability":328},{"title":11,"description":786},"Warp 终端评测 2026：AI 增强终端，智能命令行工具","coding\u002Fcli\u002Fwarp",[823,825,827,829,832],{"title":824,"url":737},"Warp 官方",{"title":826,"url":742},"Warp 定价页",{"title":828,"url":749},"Warp GitHub (warpdotdev\u002FWarp)",{"title":830,"url":831},"Warp Features & Pricing (aitools.inc)","https:\u002F\u002Faitools.inc\u002Ftools\u002Fwarp",{"title":833,"url":259},"Warp AI Review 2026 (theaiagentindex)","tools\u002Fcoding\u002Fcli\u002Fwarp","Rust 重写的 AI-native 终端，块状输出 + agent + 云端 agent",[784,837,838,839,840,841],"terminal","agent","rust","block-output","cloud-agent","重新发明终端 UX 的标杆：块状输出 + 现代文本编辑 + AI 命令生成确实好用，2025 开源（AGPLv3）加分。但 AI 走 credit 制，重度使用成本高，Windows 打磨不如 mac\u002FLinux，国内网络+支付有门槛。","TSJE9rs4LHNXl0XOm-_4BxSrBqtslBhxdOHlkKYn0Bk",{"id":845,"title":137,"alternatives":846,"api_compatible":848,"body":850,"category":784,"chinese_friendly":321,"cover":2064,"description":2065,"domestic":787,"extension":788,"faq":8,"free":787,"github":2022,"languages":2066,"lastVerified":8,"meta":2067,"models":2068,"navigation":324,"notSuitable":2072,"opensource":787,"path":2076,"pillar":793,"platforms":2077,"priceTable":2078,"pricing":2097,"published":2098,"relatedPlaybooks":8,"relatedReviews":2099,"score":2106,"self_host":787,"seo":2107,"seoTitle":2108,"slug":13,"sources":2109,"stem":2122,"suitable":2123,"tagline":2129,"tags":2130,"updated":2133,"verdict":2134,"website":2009,"__hash__":2135},"tools\u002Ftools\u002Fcoding\u002Fcli\u002Fclaude-code.md",[15,14,847],"coding\u002Fcli\u002Fcline",[849],"anthropic",{"type":18,"value":851,"toc":2047},[852,854,900,905,907,911,921,951,954,958,965,1000,1015,1019,1022,1177,1195,1199,1208,1284,1287,1291,1305,1308,1323,1403,1406,1423,1436,1444,1446,1606,1608,1648,1650,1806,1811,1825,1830,1850,1852,1948,1950,2001,2003,2040,2044],[21,853,24],{"id":23},[26,855,857,866,877],{"className":856},[29,30,31],[33,858,859,861,862,865],{},[36,860,38],{}," Anthropic 官方 CLI Agent，终端原生，长任务执行能力是目前体感最稳的一档。装好后在任何项目根目录跑 ",[290,863,864],{},"claude","，用自然语言让它读代码、改文件、跑测试、提交 commit——全自动。",[33,867,868,869,872,873,876],{},"最大价值是 ",[36,870,871],{},"不绑死 IDE","——VS Code、JetBrains、Vim、Emacs、Neovim 全能用，远程 SSH 也行。代价是 ",[36,874,875],{},"国内三大门槛","：账号要海外手机、支付要海外卡、网络要稳定代理。",[33,878,879,882,883,887,888,891,892,895,896,899],{},[36,880,881],{},"2026-07 最新进展","：核心模型已升级为 ",[121,884,886],{"href":885},"\u002Fmodels\u002Fclaude-sonnet-5.html","Claude Sonnet 5","（复杂任务用 Opus 4.8），1M 上下文；新增 ",[290,889,890],{},"\u002Ffork","（复制会话到后台并行）、",[290,893,894],{},"\u002Fsubtask","（取代内联子 agent）；会话级上限（WebSearch 200 次、子 agent 200 个）；MCP 调用超 2 分钟自动转后台。",[36,897,898],{},"Claude Code for Visual Studio","（7-08）成为首个正式接入调试器（断点\u002F运行时变量\u002F调用栈）的 AI 编程工具。当前版本 v2.1.201–206。Claude Code 约占 AI 编程赛道一半市场，ARR 约 $2.5B。",[52,901,902],{},[33,903,904],{},"来源说明：本文基于 code.claude.com 官方文档、Anthropic 定价页面、第三方独立评测（laozhang.ai \u002F explainx.ai \u002F computingforgeeks.com）综合整理。Anthropic 模型版本迭代快，命令和价格请以最新官方文档为准。",[21,906,59],{"id":59},[61,908,910],{"id":909},"终端原生的-agent-体验","终端原生的 Agent 体验",[33,912,913,914,917,918,920],{},"不像 Cursor \u002F Windsurf 那种\"AI IDE\"，Claude Code 是个 ",[36,915,916],{},"CLI 工具","——在任何编辑器旁边开个终端，跑 ",[290,919,864],{},"，就进入了一个能读你整个 codebase 的对话环境。",[283,922,924],{"className":285,"code":923,"language":287,"meta":288,"style":288},"cd your-project\nclaude                          # 进入交互模式\n> 帮我把这个 Express 项目迁移到 Fastify，写完之后跑测试确认通过\n",[290,925,926,934,941],{"__ignoreMap":288},[293,927,928,931],{"class":295,"line":296},[293,929,930],{"class":314},"cd",[293,932,933],{"class":310}," your-project\n",[293,935,936,938],{"class":295,"line":303},[293,937,864],{"class":306},[293,939,940],{"class":299},"                          # 进入交互模式\n",[293,942,943,947],{"class":295,"line":321},[293,944,946],{"class":945},"szBVR",">",[293,948,950],{"class":949},"sVt8B"," 帮我把这个 Express 项目迁移到 Fastify，写完之后跑测试确认通过\n",[33,952,953],{},"它会自动：列出相关文件 → 给出计划 → 等你按回车确认 → 一次改多个文件 → 跑测试 → 报告结果。整个过程你可以在另一个窗口干别的，Claude Code 不抢编辑器焦点。",[61,955,957],{"id":956},"子代理sub-agents-并行任务","子代理（Sub-agents）+ 并行任务",[33,959,960,961,964],{},"Claude Code 2.x 引入了 ",[121,962,963],{"href":708},"子代理"," 机制：主对话可以派发独立的子任务到隔离 context 中跑，结果摘要返回主线。典型场景：",[283,966,968],{"className":285,"code":967,"language":287,"meta":288,"style":288},"\u002Fsubtask            # 派发独立子任务（2026-07 起取代内联子 agent）\n\u002Ffork               # 复制当前会话到后台并行推进\n\u002Fagents             # 管理子代理\n\u002Ftasks              # 列出后台运行的子代理\n",[290,969,970,977,984,992],{"__ignoreMap":288},[293,971,972,974],{"class":295,"line":296},[293,973,894],{"class":306},[293,975,976],{"class":299},"            # 派发独立子任务（2026-07 起取代内联子 agent）\n",[293,978,979,981],{"class":295,"line":303},[293,980,890],{"class":306},[293,982,983],{"class":299},"               # 复制当前会话到后台并行推进\n",[293,985,986,989],{"class":295,"line":321},[293,987,988],{"class":306},"\u002Fagents",[293,990,991],{"class":299},"             # 管理子代理\n",[293,993,994,997],{"class":295,"line":328},[293,995,996],{"class":306},"\u002Ftasks",[293,998,999],{"class":299},"              # 列出后台运行的子代理\n",[33,1001,1002,1003,1008,1009,1011,1012,1014],{},"据 ",[121,1004,1007],{"href":1005,"rel":1006},"https:\u002F\u002Fcomputingforgeeks.com\u002Fclaude-code-cheat-sheet",[261],"computingforgeeks.com 2026 cheat sheet"," 整理，子代理让\"一边改前端，一边改后端\"这种并行操作不会污染主对话上下文。2026-07 更新后，",[290,1010,894],{}," 取代了旧的内联子 agent 写法，",[290,1013,890],{}," 则能把整个会话复制一份丢到后台继续跑；会话级新增上限（WebSearch 200 次、子 agent 200 个），MCP 调用超 2 分钟自动转后台执行。",[61,1016,1018],{"id":1017},"slash-命令生产力关键","Slash 命令（生产力关键）",[33,1020,1021],{},"Claude Code 内置了一套 slash 命令，是日常使用的核心：",[156,1023,1024,1034],{},[159,1025,1026],{},[162,1027,1028,1031],{},[165,1029,1030],{},"命令",[165,1032,1033],{},"用途",[178,1035,1036,1050,1060,1073,1083,1093,1103,1113,1123,1133,1143,1153,1163],{},[162,1037,1038,1043],{},[183,1039,1040],{},[290,1041,1042],{},"\u002Finit",[183,1044,1045,1046,1049],{},"第一次进入仓库时跑，生成 ",[290,1047,1048],{},"CLAUDE.md","（项目记忆）",[162,1051,1052,1057],{},[183,1053,1054],{},[290,1055,1056],{},"\u002Fmemory",[183,1058,1059],{},"编辑长期记忆",[162,1061,1062,1067],{},[183,1063,1064],{},[290,1065,1066],{},"\u002Fclear",[183,1068,1069,1070,588],{},"清空当前对话，重新开始（",[36,1071,1072],{},"最被低估的命令",[162,1074,1075,1080],{},[183,1076,1077],{},[290,1078,1079],{},"\u002Fcompact",[183,1081,1082],{},"长对话压缩，挽救快爆炸的 context window",[162,1084,1085,1090],{},[183,1086,1087],{},[290,1088,1089],{},"\u002Fcontext",[183,1091,1092],{},"显示当前 context 用量",[162,1094,1095,1100],{},[183,1096,1097],{},[290,1098,1099],{},"\u002Fplan",[183,1101,1102],{},"切到 plan 模式（只规划不执行）",[162,1104,1105,1110],{},[183,1106,1107],{},[290,1108,1109],{},"\u002Fmodel",[183,1111,1112],{},"切换模型（Opus \u002F Sonnet \u002F Haiku）",[162,1114,1115,1120],{},[183,1116,1117],{},[290,1118,1119],{},"\u002Fdiff",[183,1121,1122],{},"看本轮所有改动",[162,1124,1125,1130],{},[183,1126,1127],{},[290,1128,1129],{},"\u002Fcode-review",[183,1131,1132],{},"对 diff 跑代码审查",[162,1134,1135,1140],{},[183,1136,1137],{},[290,1138,1139],{},"\u002Frewind",[183,1141,1142],{},"回滚到任意 checkpoint（代码 + 对话）",[162,1144,1145,1150],{},[183,1146,1147],{},[290,1148,1149],{},"\u002Fmcp",[183,1151,1152],{},"管理 MCP 服务器",[162,1154,1155,1160],{},[183,1156,1157],{},[290,1158,1159],{},"\u002Fdoctor",[183,1161,1162],{},"排查环境问题",[162,1164,1165,1174],{},[183,1166,1167,1170,1171],{},[290,1168,1169],{},"\u002Fresume"," ",[290,1172,1173],{},"\u002Fbranch",[183,1175,1176],{},"回到 \u002F fork 历史对话",[33,1178,1179,1184,1185,1187,1188,1190,1191,1194],{},[121,1180,1183],{"href":1181,"rel":1182},"https:\u002F\u002Flearn-prompting.fr\u002Fblog\u002Fclaude-code-slash-commands-reference",[261],"learn-prompting.fr 2026-04 总结","：成熟团队最常用的三个是 ",[290,1186,1079],{},"（每 20-30 分钟一次防止 context drift）、",[290,1189,1066],{},"（新任务开新会话）、自定义命令（写在 ",[290,1192,1193],{},".claude\u002Fcommands\u002F"," 提交进 git）。",[61,1196,1198],{"id":1197},"mcp-集成一等公民","MCP 集成（一等公民）",[33,1200,1201,1203,1204,1207],{},[121,1202,124],{"href":123}," 是 Anthropic 自家协议，Claude Code 是 MCP 支持最完整的客户端。配置一次 ",[290,1205,1206],{},".mcp.json","，Claude Code 就能在对话里调任意 MCP server 暴露的 tool：",[283,1209,1213],{"className":1210,"code":1211,"language":1212,"meta":288,"style":288},"language-json shiki shiki-themes github-light github-dark","{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"command\": \"npx\",\n      \"args\": [\"@modelcontextprotocol\u002Fserver-postgres\", \"postgresql:\u002F\u002F...\"]\n    }\n  }\n}\n","json",[290,1214,1215,1220,1228,1235,1249,1269,1274,1279],{"__ignoreMap":288},[293,1216,1217],{"class":295,"line":296},[293,1218,1219],{"class":949},"{\n",[293,1221,1222,1225],{"class":295,"line":303},[293,1223,1224],{"class":314},"  \"mcpServers\"",[293,1226,1227],{"class":949},": {\n",[293,1229,1230,1233],{"class":295,"line":321},[293,1231,1232],{"class":314},"    \"postgres\"",[293,1234,1227],{"class":949},[293,1236,1237,1240,1243,1246],{"class":295,"line":328},[293,1238,1239],{"class":314},"      \"command\"",[293,1241,1242],{"class":949},": ",[293,1244,1245],{"class":310},"\"npx\"",[293,1247,1248],{"class":949},",\n",[293,1250,1251,1254,1257,1260,1263,1266],{"class":295,"line":334},[293,1252,1253],{"class":314},"      \"args\"",[293,1255,1256],{"class":949},": [",[293,1258,1259],{"class":310},"\"@modelcontextprotocol\u002Fserver-postgres\"",[293,1261,1262],{"class":949},", ",[293,1264,1265],{"class":310},"\"postgresql:\u002F\u002F...\"",[293,1267,1268],{"class":949},"]\n",[293,1270,1271],{"class":295,"line":345},[293,1272,1273],{"class":949},"    }\n",[293,1275,1276],{"class":295,"line":350},[293,1277,1278],{"class":949},"  }\n",[293,1280,1281],{"class":295,"line":356},[293,1282,1283],{"class":949},"}\n",[33,1285,1286],{},"之后你就能直接说\"查一下 users 表里最近 7 天注册的人数\"——Claude Code 自动通过 MCP 跑 SQL，结果返回对话里继续讨论。",[61,1288,1290],{"id":1289},"后台-远程模式","后台 \u002F 远程模式",[33,1292,1293,1296,1297,1300,1301,1304],{},[290,1294,1295],{},"\u002Fbackground"," 让当前会话脱离终端，作为后台 agent 继续跑；",[290,1298,1299],{},"\u002Fteleport"," 把网页端会话拉到本地终端继续；",[290,1302,1303],{},"\u002Fremote-control"," 从手机或另一台机器接管这台机器的 Claude Code 会话。这套体系是面向\"agent 长时间跑\"设计的，区别于 Cursor 的\"实时交互\"。",[21,1306,1307],{"id":1307},"价格与运行成本",[33,1309,1310,1311,1316,1317,1322],{},"根据 ",[121,1312,1315],{"href":1313,"rel":1314},"https:\u002F\u002Fwww.explainx.ai\u002Fblog\u002Fclaude-code-pricing-guide-2026",[261],"explainx.ai 2026-06 评测"," 和 ",[121,1318,1321],{"href":1319,"rel":1320},"https:\u002F\u002Fclaude.com\u002Fpricing",[261],"Anthropic 官方定价"," 整理：",[156,1324,1325,1337],{},[159,1326,1327],{},[162,1328,1329,1332,1334],{},[165,1330,1331],{},"路径",[165,1333,170],{},[165,1335,1336],{},"适用场景",[178,1338,1339,1352,1365,1378,1390],{},[162,1340,1341,1346,1349],{},[183,1342,1343],{},[36,1344,1345],{},"BYOK（自带 API key）",[183,1347,1348],{},"按 token 计费",[183,1350,1351],{},"全自由，但单月烧到 $500+ 也常见",[162,1353,1354,1359,1362],{},[183,1355,1356],{},[36,1357,1358],{},"Pro",[183,1360,1361],{},"$20\u002F月（年付 ~$17）",[183,1363,1364],{},"个人开发者，每天 1-4 小时",[162,1366,1367,1372,1375],{},[183,1368,1369],{},[36,1370,1371],{},"Max 5x",[183,1373,1374],{},"$100\u002F月",[183,1376,1377],{},"重度用户 + Opus 模型访问",[162,1379,1380,1385,1387],{},[183,1381,1382],{},[36,1383,1384],{},"Max 20x",[183,1386,216],{},[183,1388,1389],{},"8h+ agentic 工作流 \u002F 团队共享",[162,1391,1392,1397,1400],{},[183,1393,1394],{},[36,1395,1396],{},"Team Premium",[183,1398,1399],{},"$100\u002Fseat 年付 \u002F $125 月付",[183,1401,1402],{},"团队，含管理",[33,1404,1405],{},"API token 价格（2026-07 公开数据）：",[69,1407,1408,1414,1420],{},[72,1409,1410,1413],{},[36,1411,1412],{},"Sonnet 5","：促销 input $2 \u002F output $10（至 2026-08-31），之后标准 $3 \u002F $15 per 1M token",[72,1415,1416,1419],{},[36,1417,1418],{},"Opus 4.8","：input $5 \u002F output $25 per 1M token（已大幅低于早期 Opus 4 的 $15\u002F$75）",[72,1421,1422],{},"Haiku 4.x：input $1 \u002F output $5 per 1M token",[52,1424,1425],{},[33,1426,1427,1428,1431,1432,1435],{},"SWE-bench Verified 参考：Opus 4.8 官方提交 ",[36,1429,1430],{},"87.6%","、Sonnet 5 ",[36,1433,1434],{},"80.8%","（Claude Code 内实测），是长任务编程能力的第一梯队。注意 Sonnet 5 换了新分词器，同文本 token 数约 +30%，核算成本要按实际 token 量。",[33,1437,1438,1443],{},[121,1439,1442],{"href":1440,"rel":1441},"https:\u002F\u002Fwww.ksred.com\u002Fclaude-code-pricing-guide-which-plan-actually-saves-you-money",[261],"ksred 博客真实使用日志","：作者 8 个月用 ~100 亿 token，API 价折合 $15,000+，订阅实际只花 $800——订阅模式对重度用户极度划算，但前提是能搞定支付。",[21,1445,281],{"id":280},[283,1447,1449],{"className":285,"code":1448,"language":287,"meta":288,"style":288},"# macOS \u002F Linux \u002F Windows (WSL)\ncurl -fsSL https:\u002F\u002Fclaude.ai\u002Finstall.sh | bash\n\n# macOS 用 Homebrew\nbrew install --cask claude-code\n\n# Windows PowerShell\nirm https:\u002F\u002Fclaude.ai\u002Finstall.ps1 | iex\n\n# 验证 + 登录\nclaude --version\nclaude auth login          # 走浏览器 OAuth，绑定 Pro \u002F Max 订阅\n# 或用 API key\nexport ANTHROPIC_API_KEY=sk-ant-...\n\n# 进项目，启动\ncd your-project\nclaude \u002Finit               # 生成 CLAUDE.md\nclaude                     # 进入交互模式\n",[290,1450,1451,1456,1473,1477,1482,1493,1497,1502,1515,1520,1526,1534,1548,1554,1569,1574,1580,1587,1598],{"__ignoreMap":288},[293,1452,1453],{"class":295,"line":296},[293,1454,1455],{"class":299},"# macOS \u002F Linux \u002F Windows (WSL)\n",[293,1457,1458,1461,1464,1467,1470],{"class":295,"line":303},[293,1459,1460],{"class":306},"curl",[293,1462,1463],{"class":314}," -fsSL",[293,1465,1466],{"class":310}," https:\u002F\u002Fclaude.ai\u002Finstall.sh",[293,1468,1469],{"class":945}," |",[293,1471,1472],{"class":306}," bash\n",[293,1474,1475],{"class":295,"line":321},[293,1476,325],{"emptyLinePlaceholder":324},[293,1478,1479],{"class":295,"line":328},[293,1480,1481],{"class":299},"# macOS 用 Homebrew\n",[293,1483,1484,1486,1488,1490],{"class":295,"line":334},[293,1485,307],{"class":306},[293,1487,311],{"class":310},[293,1489,315],{"class":314},[293,1491,1492],{"class":310}," claude-code\n",[293,1494,1495],{"class":295,"line":345},[293,1496,325],{"emptyLinePlaceholder":324},[293,1498,1499],{"class":295,"line":350},[293,1500,1501],{"class":299},"# Windows PowerShell\n",[293,1503,1504,1507,1510,1512],{"class":295,"line":356},[293,1505,1506],{"class":306},"irm",[293,1508,1509],{"class":310}," https:\u002F\u002Fclaude.ai\u002Finstall.ps1",[293,1511,1469],{"class":945},[293,1513,1514],{"class":306}," iex\n",[293,1516,1518],{"class":295,"line":1517},9,[293,1519,325],{"emptyLinePlaceholder":324},[293,1521,1523],{"class":295,"line":1522},10,[293,1524,1525],{"class":299},"# 验证 + 登录\n",[293,1527,1529,1531],{"class":295,"line":1528},11,[293,1530,864],{"class":306},[293,1532,1533],{"class":314}," --version\n",[293,1535,1537,1539,1542,1545],{"class":295,"line":1536},12,[293,1538,864],{"class":306},[293,1540,1541],{"class":310}," auth",[293,1543,1544],{"class":310}," login",[293,1546,1547],{"class":299},"          # 走浏览器 OAuth，绑定 Pro \u002F Max 订阅\n",[293,1549,1551],{"class":295,"line":1550},13,[293,1552,1553],{"class":299},"# 或用 API key\n",[293,1555,1557,1560,1563,1566],{"class":295,"line":1556},14,[293,1558,1559],{"class":945},"export",[293,1561,1562],{"class":949}," ANTHROPIC_API_KEY",[293,1564,1565],{"class":945},"=",[293,1567,1568],{"class":949},"sk-ant-...\n",[293,1570,1572],{"class":295,"line":1571},15,[293,1573,325],{"emptyLinePlaceholder":324},[293,1575,1577],{"class":295,"line":1576},16,[293,1578,1579],{"class":299},"# 进项目，启动\n",[293,1581,1583,1585],{"class":295,"line":1582},17,[293,1584,930],{"class":314},[293,1586,933],{"class":310},[293,1588,1590,1592,1595],{"class":295,"line":1589},18,[293,1591,864],{"class":306},[293,1593,1594],{"class":310}," \u002Finit",[293,1596,1597],{"class":299},"               # 生成 CLAUDE.md\n",[293,1599,1601,1603],{"class":295,"line":1600},19,[293,1602,864],{"class":306},[293,1604,1605],{"class":299},"                     # 进入交互模式\n",[21,1607,380],{"id":380},[361,1609,1610,1616,1621,1626],{},[72,1611,1612,1615],{},[36,1613,1614],{},"账号","：注册 claude.ai 需要海外手机号（Google Voice \u002F Twilio 可，国内号被封死）",[72,1617,1618,1620],{},[36,1619,393],{},"：Pro \u002F Max 订阅只收海外信用卡（MasterCard \u002F Visa）+ 海外账单地址。第三方平台（如老张 \u002F DMXAPI）可用支付宝走 API 代理，但是 BYOK 模式",[72,1622,1623,1625],{},[36,1624,387],{},"：终端 OAuth 流程对代理稳定性要求高，掉线会反复弹浏览器",[72,1627,1628,1630,1631,1633,1634,1638,1639,694,1643,1647],{},[36,1629,405],{},"：用 ",[121,1632,413],{"href":412}," 或 ",[121,1635,1637],{"href":1636},"\u002Fcoding\u002Fcli\u002Fcline.html","Cline"," 接 ",[121,1640,1642],{"href":1641},"\u002Fmodels\u002Fdeepseek-v3.html","DeepSeek-V3",[121,1644,1646],{"href":1645},"\u002Fmodels\u002Fglm-5.2.html","GLM-5.2"," 是国内最经济的\"Claude Code 平替\"思路",[21,1649,422],{"id":422},[156,1651,1652,1675],{},[159,1653,1654],{},[162,1655,1656,1658,1660,1666,1671],{},[165,1657,431],{},[165,1659,137],{},[165,1661,1662],{},[121,1663,1665],{"href":1664},"\u002Fcoding\u002Fide\u002Fcursor.html","Cursor",[165,1667,1668],{},[121,1669,1670],{"href":141},"Codex CLI",[165,1672,1673],{},[121,1674,413],{"href":412},[178,1676,1677,1692,1706,1724,1746,1760,1774,1791],{},[162,1678,1679,1681,1684,1687,1690],{},[183,1680,452],{},[183,1682,1683],{},"CLI（IDE 无关）",[183,1685,1686],{},"AI-first IDE",[183,1688,1689],{},"CLI",[183,1691,1689],{},[162,1693,1694,1697,1700,1702,1704],{},[183,1695,1696],{},"长任务能力",[183,1698,1699],{},"★★★★★",[183,1701,509],{},[183,1703,509],{},[183,1705,476],{},[162,1707,1708,1711,1718,1720,1722],{},[183,1709,1710],{},"上下文管理",[183,1712,1713,1714,1170,1716],{},"★★★★★ ",[290,1715,1079],{},[290,1717,1066],{},[183,1719,509],{},[183,1721,509],{},[183,1723,476],{},[162,1725,1726,1729,1737,1740,1743],{},[183,1727,1728],{},"子代理 \u002F 并行",[183,1730,1731,1732,1170,1734,588],{},"✅（",[290,1733,988],{},[290,1735,1736],{},"\u002Fbatch",[183,1738,1739],{},"部分（Bug bot）",[183,1741,1742],{},"⚠️ 有限",[183,1744,1745],{},"❌",[162,1747,1748,1751,1754,1756,1758],{},[183,1749,1750],{},"MCP 支持",[183,1752,1753],{},"★★★★★ 一等公民",[183,1755,509],{},[183,1757,476],{},[183,1759,1745],{},[162,1761,1762,1765,1767,1769,1771],{},[183,1763,1764],{},"Git 集成",[183,1766,509],{},[183,1768,476],{},[183,1770,476],{},[183,1772,1773],{},"★★★★★ 每改即 commit",[162,1775,1776,1779,1782,1785,1788],{},[183,1777,1778],{},"国内门槛",[183,1780,1781],{},"高（账号+支付+网络）",[183,1783,1784],{},"高（账号+支付）",[183,1786,1787],{},"高",[183,1789,1790],{},"低（BYOK 国产模型）",[162,1792,1793,1795,1798,1801,1803],{},[183,1794,170],{},[183,1796,1797],{},"$20-$200\u002F月",[183,1799,1800],{},"$20\u002F月",[183,1802,1797],{},[183,1804,1805],{},"仅 API 成本",[33,1807,1808,561],{},[36,1809,1810],{},"选 Claude Code 如果你",[69,1812,1813,1816,1819,1822],{},[72,1814,1815],{},"重视长任务自主性 + 上下文管理",[72,1817,1818],{},"JetBrains \u002F Vim 用户，不想换 IDE",[72,1820,1821],{},"团队需要 SSH 远程 \u002F 后台 agent 模式",[72,1823,1824],{},"已经在用 Claude Pro\u002FMax，加 Code 是边际成本",[33,1826,1827,561],{},[36,1828,1829],{},"别选 Claude Code 如果你",[69,1831,1832,1838,1843],{},[72,1833,1834,1835,1837],{},"国内、个人、预算紧（去 ",[121,1836,413],{"href":412}," + DeepSeek）",[72,1839,1840,1841,588],{},"想要纯 IDE 内 inline 体验（",[121,1842,1665],{"href":1664},[72,1844,1845,1846,588],{},"主要写补全而非 agent 任务（",[121,1847,1849],{"href":1848},"\u002Fcoding\u002Fcopilot\u002Fgithub-copilot.html","GitHub Copilot",[21,1851,600],{"id":600},[69,1853,1854,1867,1882,1896,1904,1922,1936,1942],{},[72,1855,1856,1862,1863,1866],{},[36,1857,1858,1861],{},[290,1859,1860],{},"ANTHROPIC_API_KEY"," 优先级最高","：你以为在用 Pro 订阅，但 env 里有 key 时实际走 API 计费——卡崩之前先 ",[290,1864,1865],{},"env | grep ANTHROPIC"," 检查",[72,1868,1869,1875,1876,1878,1879,1881],{},[36,1870,1871,1872,1874],{},"长会话不 ",[290,1873,1079],{}," 会越来越笨","：context 接近上限时，模型会开始忘记前面约定。社区共识：每 20-30 分钟 ",[290,1877,1079],{}," 一次或 ",[290,1880,1066],{}," 开新会话",[72,1883,1884,1889,1890,1895],{},[36,1885,1886,1888],{},[290,1887,1109],{}," 切换是个坑","：跨模型切会丢部分 context ",[121,1891,1894],{"href":1892,"rel":1893},"https:\u002F\u002Fwww.reddit.com\u002Fr\u002FClaudeAI\u002F",[261],"据 r\u002FClaudeAI 反馈","；建议起新会话指定模型",[72,1897,1898,1903],{},[36,1899,1900,1902],{},[290,1901,1042],{}," 生成的 CLAUDE.md 要 review","：自动生成的会有冗余\u002F错误，第一次进项目花 5 分钟整理",[72,1905,1906,1911,1912,1170,1915,1170,1918,1921],{},[36,1907,1908,1910],{},[290,1909,1193],{}," 自定义命令是放大器","：把团队最常用的工作流写成 ",[290,1913,1914],{},"\u002Fdeploy",[290,1916,1917],{},"\u002Fmigrate",[290,1919,1920],{},"\u002Freview-pr","，提交进 git",[72,1923,1924,1927,1928,1931,1932,1935],{},[36,1925,1926],{},"后台 agent + 重写大量文件 = 危险组合","：长任务跑通常加 ",[290,1929,1930],{},"--permission-mode plan"," 或开 ",[290,1933,1934],{},"acceptEdits"," 但配合 git worktree",[72,1937,1938,1941],{},[36,1939,1940],{},"Windows 原生支持有限","：官方推荐 WSL，PowerShell 安装路径有时跑不通",[72,1943,1944,1947],{},[36,1945,1946],{},"API token 烧钱速度","：BYOK 模式下，复杂 refactor 单次任务可能消耗几百万 token",[21,1949,686],{"id":686},[69,1951,1952,1966,1980,1990],{},[72,1953,691,1954,694,1956,694,1960,694,1962,694,1964],{},[121,1955,1665],{"href":1664},[121,1957,1959],{"href":1958},"\u002Fcoding\u002Fide\u002Fwindsurf.html","Windsurf",[121,1961,1670],{"href":141},[121,1963,413],{"href":412},[121,1965,1637],{"href":1636},[72,1967,705,1968,694,1970,694,1974,694,1976],{},[121,1969,709],{"href":708},[121,1971,1973],{"href":1972},"\u002Fwiki\u002Ffunction-calling.html","Function Calling",[121,1975,124],{"href":123},[121,1977,1979],{"href":1978},"\u002Fwiki\u002Fcontext-engineering.html","Context Engineering",[72,1981,718,1982,694,1984,694,1986],{},[121,1983,886],{"href":885},[121,1985,722],{"href":721},[121,1987,1989],{"href":1988},"\u002Fmodels\u002Fclaude-haiku-4.html","Claude Haiku 4",[72,1991,1992,1993,694,1997],{},"进阶：",[121,1994,1996],{"href":1995},"\u002Fwiki\u002Fvibe-coding.html","Vibe Coding",[121,1998,2000],{"href":1999},"\u002Fwiki\u002Fprompt-engineering.html","Prompt Engineering",[21,2002,729],{"id":729},[69,2004,2005,2011,2018,2024,2031,2037],{},[72,2006,734,2007],{},[121,2008,2009],{"href":2009,"rel":2010},"https:\u002F\u002Fclaude.com\u002Fclaude-code",[261],[72,2012,2013,2014],{},"官方文档：",[121,2015,2016],{"href":2016,"rel":2017},"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Foverview",[261],[72,2019,746,2020],{},[121,2021,2022],{"href":2022,"rel":2023},"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code",[261],[72,2025,2026,2027],{},"CLI Reference：",[121,2028,2029],{"href":2029,"rel":2030},"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference",[261],[72,2032,2033,2034],{},"官方定价：",[121,2035,1319],{"href":1319,"rel":2036},[261],[72,2038,2039],{},"第三方评测：laozhang.ai \u002F explainx.ai \u002F computingforgeeks.com \u002F ksred.com \u002F learn-prompting.fr",[33,2041,756,2042,761],{},[121,2043,760],{"href":759},[763,2045,2046],{},"html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}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);}",{"title":288,"searchDepth":321,"depth":321,"links":2048},[2049,2050,2057,2058,2059,2060,2061,2062,2063],{"id":23,"depth":303,"text":24},{"id":59,"depth":303,"text":59,"children":2051},[2052,2053,2054,2055,2056],{"id":909,"depth":321,"text":910},{"id":956,"depth":321,"text":957},{"id":1017,"depth":321,"text":1018},{"id":1197,"depth":321,"text":1198},{"id":1289,"depth":321,"text":1290},{"id":1307,"depth":303,"text":1307},{"id":280,"depth":303,"text":281},{"id":380,"depth":303,"text":380},{"id":422,"depth":303,"text":422},{"id":600,"depth":303,"text":600},{"id":686,"depth":303,"text":686},{"id":729,"depth":303,"text":729},"\u002Fimg\u002Ftools\u002Fclaude-code.webp","Claude Code 2026 真实评测：Anthropic 官方 CLI 编程 Agent，适合终端、SSH、JetBrains\u002FVim 用户和长任务代码改造。本文整理安装使用、Sub-agents、Slash 命令、MCP、价格套餐、国内使用门槛，以及和 Cursor、Aider、Codex CLI 的区别。",[790],{},[2069,2070,2071],"claude-sonnet-5","claude-opus-4-8","claude-haiku-4",[2073,2074,2075],"国内裸跑（账号 \u002F 支付 \u002F 网络三关）","预算 ¥100\u002F月以内的个人开发者","只想做基础代码补全（用 GitHub Copilot 更经济）","\u002Ftools\u002Fcoding\u002Fcli\u002Fclaude-code",[796,797,795],[2079,2085,2089,2093],{"plan":2080,"price":2081,"limit":2082,"cn_pay":2083,"note":2084},"Pay-as-go","按 API token 计费","Sonnet $3\u002F$15 per Mtok，Opus $15\u002F$75","✅ 第三方中转支持支付宝","BYOK 模式",{"plan":2086,"price":1800,"limit":2087,"cn_pay":805,"note":2088},"Claude Pro","约 1-4 小时\u002F天活跃编码","网页 + Code 共享额度",{"plan":2090,"price":1374,"limit":2091,"cn_pay":805,"note":2092},"Claude Max 5x","Pro 的 5 倍 + Opus 接入","重度用户",{"plan":2094,"price":216,"limit":2095,"cn_pay":805,"note":2096},"Claude Max 20x","Pro 的 20 倍 + 优先队列","8h+\u002F天 agentic 工作流","API 按 token 计费 \u002F Pro $20 \u002F Max $100-$200 \u002F Team Premium $100-$125 seat","2026-06-18",[2100,2101,2102,2103,2104,2105],"ai-coding-tool-decision-tree","aider-deep-review","claude-code-deep-review","claude-skills-practice","codex-deep-review","cursor-deep-review",{"power":334,"ux":328,"price":321,"cn_support":303,"stability":328},{"title":137,"description":2065},"Claude Code 评测 2026：Anthropic 官方 CLI Agent，长任务编程怎么用",[2110,2112,2113,2115,2118,2120],{"title":2111,"url":2016},"Claude Code 官方文档",{"title":1321,"url":1319},{"title":2114,"url":2029},"Claude Code CLI Reference",{"title":2116,"url":2117},"Claude Code Pricing Guide 2026","https:\u002F\u002Fblog.laozhang.ai\u002Fen\u002Fposts\u002Fclaude-code-pricing-guide",{"title":2119,"url":1005},"Claude Code Cheat Sheet 2026",{"title":2121,"url":2022},"Claude Code Changelog（v2.1.x）","tools\u002Fcoding\u002Fcli\u002Fclaude-code",[2124,2125,2126,2127,2128],"JetBrains \u002F Vim \u002F Emacs 用户（不想换编辑器）","需要长任务自主规划（>30min 单次任务）","服务器开发、运维脚本、CI\u002FCD 场景","需要在 SSH 远程主机上跑 AI 编程","重视稳定性 + 长上下文连贯性","Anthropic 官方终端 AI Coding Agent，长任务能力业界第一梯队",[784,838,837,849,2131,2132],"long-task","mcp","2026-07-20","Cursor 的强力补充。终端原生、IDE 无关、长任务跑得比 Cursor 稳。但 API 计费贵且国内更难用。","YIQtC5U4vEsz2B9Smm0TktyJo6JZ-dCcq31GUqSt1ms",1785428432090]