{"id":84572,"date":"2026-07-26T14:41:22","date_gmt":"2026-07-26T06:41:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84572.html"},"modified":"2026-07-26T14:41:22","modified_gmt":"2026-07-26T06:41:22","slug":"%e5%bd%93%e6%88%91%e6%8a%8a-claude-code-%e4%bb%8e%e7%bb%88%e7%ab%af%e6%90%ac%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e4%b9%8b%e5%90%8e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84572.html","title":{"rendered":"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e..."},"content":{"rendered":"<h3>\u4e00\u4e2a\u6298\u817e\u7684\u5468\u672b<\/h3>\n<p>\u4e0a\u4e2a\u6708\u6709\u4e2a\u9700\u6c42\u8ba9\u6211\u5934\u75bc\u4e86\u5f88\u4e45\u3002<\/p>\n<p>\u6211\u4eec\u56e2\u961f\u7528 Claude Code \u505a\u5185\u90e8\u5de5\u5177\u5f00\u53d1&#xff0c;\u6548\u7387\u786e\u5b9e\u9ad8\u2014\u2014\u5199 prompt\u3001\u914d\u51e0\u4e2a MCP \u5de5\u5177&#xff0c;\u4e00\u4e2a\u529f\u80fd\u534a\u5929\u5c31\u642d\u51fa\u6765\u4e86\u3002\u4f46\u95ee\u9898\u4e5f\u968f\u4e4b\u800c\u6765&#xff1a;\u8fd9\u4e1c\u897f\u53ea\u80fd\u5728\u7ec8\u7aef\u7528\u3002<\/p>\n<p>\u4ea7\u54c1\u7ecf\u7406\u60f3\u628a\u5b83\u96c6\u6210\u5230\u5185\u90e8\u5e73\u53f0&#xff0c;\u8ba9\u975e\u6280\u672f\u7684\u540c\u4e8b\u4e5f\u80fd\u7528&#xff1b;\u6211\u60f3\u628a\u51e0\u4e2a\u5e38\u7528\u7684 Agent \u5c01\u88c5\u6210 API&#xff0c;\u4f9b\u5176\u4ed6\u670d\u52a1\u8c03\u7528\u3002\u4f46 Claude Code \u662f\u4e2a CLI \u5de5\u5177&#xff0c;\u5f3a\u4f9d\u8d56\u7ec8\u7aef\u4ea4\u4e92&#xff0c;\u8fd9\u8981\u600e\u4e48\u641e&#xff1f;<\/p>\n<p>\u90a3\u4e2a\u5468\u672b\u6211\u7ffb\u4e86\u597d\u591a\u8d44\u6599&#xff0c;\u751a\u81f3\u8003\u8651\u8fc7\u7528 expect \u811a\u672c\u6a21\u62df\u7ec8\u7aef\u8f93\u5165\u8f93\u51fa&#xff08;\u522b\u7b11&#xff0c;\u771f\u7684\u8bd5\u8fc7&#xff09;&#xff0c;\u6700\u540e\u5e72\u8106\u5fc3\u4e00\u6a2a&#xff1a;\u8981\u4e0d\u81ea\u5df1\u7814\u7a76\u4e00\u4e0b\u5b83\u7684\u5185\u90e8\u673a\u5236&#xff0c;\u770b\u80fd\u4e0d\u80fd\u628a\u6838\u5fc3\u80fd\u529b\u62bd\u51fa\u6765&#xff1f;<\/p>\n<h3>\u6478\u7d22\u7684\u8fc7\u7a0b<\/h3>\n<p>\u8bf4\u5e72\u5c31\u5e72\u3002\u6211\u627e\u4e86\u4e2a\u5f00\u6e90\u9879\u76ee learn-claude-code&#xff0c;\u5b83\u901a\u8fc7\u62e6\u622a Claude Code \u53d1\u5f80 Anthropic API \u7684\u8bf7\u6c42&#xff0c;\u5206\u6790\u51fa\u4e86 system prompt\u3001\u5de5\u5177\u5b9a\u4e49\u3001\u6d88\u606f\u7ed3\u6784\u7b49\u53c2\u6570\u3002\u987a\u7740\u8fd9\u4e2a\u601d\u8def&#xff0c;\u6211\u642d\u4e86\u4e2a\u7b80\u5355\u7684\u4ee3\u7406&#xff0c;\u5f00\u59cb\u89c2\u5bdf Claude Code \u5230\u5e95\u5728\u5e72\u4ec0\u4e48\u3002<\/p>\n<p>\u7ed3\u679c\u53d1\u73b0&#xff0c;Claude Code \u7684\u6838\u5fc3\u5176\u5b9e\u5c31\u662f\u4e00\u4e2a\u6807\u51c6\u7684 tool_use \u5faa\u73af&#xff0c;\u6ca1\u6709\u60f3\u8c61\u4e2d\u90a3\u4e48\u795e\u79d8&#xff1a;<\/p>\n<p>\u7528\u6237\u8f93\u5165 \u2192 \u6784\u5efa\u6d88\u606f \u2192 \u8c03 Anthropic API<br \/>\n    \u2191___________________|<br \/>\n         (\u5faa\u73af\u76f4\u5230\u7ed3\u675f)<\/p>\n<p>\u51e0\u4e2a\u5173\u952e\u53d1\u73b0&#xff1a;<\/p>\n<p>System Prompt \u662f\u5206\u5757\u7684 \u2014\u2014 \u4e0d\u662f\u4e00\u4e2a\u5927\u5b57\u7b26\u4e32&#xff0c;\u800c\u662f content \u5757\u6570\u7ec4&#xff0c;\u5206\u8eab\u4efd\u58f0\u660e\u3001\u5de5\u5177\u8bf4\u660e\u3001\u5de5\u4f5c\u6d41\u3001\u73af\u5883\u6ce8\u5165\u51e0\u6bb5\u3002\u73af\u5883\u6ce8\u5165\u90a3\u90e8\u5206&#xff08;\u5f53\u524d\u65f6\u95f4\u3001\u5de5\u4f5c\u76ee\u5f55\u3001CLAUDE.md \u5185\u5bb9&#xff09;\u662f\u6bcf\u8f6e\u52a8\u6001\u8ffd\u52a0\u7684\u3002<\/p>\n<p>\u4e0a\u4e0b\u6587\u538b\u7f29\u662f\u4e09\u5c42\u7b56\u7565 \u2014\u2014 \u65e5\u5e38\u5bf9\u8bdd\u5fae\u538b\u7f29&#xff08;\u622a\u65ad\u65e7\u5de5\u5177\u7ed3\u679c&#xff09;&#xff0c;\u8d85\u8fc7\u9608\u503c\u65f6\u89e6\u53d1 LLM \u6458\u8981&#xff0c;\u5b8c\u6574\u5bf9\u8bdd\u4f1a\u5b58\u6863\u5230 transcripts \u76ee\u5f55\u3002\u8fd9\u4e2a\u673a\u5236\u4fdd\u8bc1\u4e86\u957f\u5bf9\u8bdd\u4e0d\u4f1a\u7206 token\u3002<\/p>\n<p>\u5b50\u4ee3\u7406\u662f\u72ec\u7acb\u5b9e\u4f8b \u2014\u2014 \u901a\u8fc7\u7279\u6b8a\u5de5\u5177\u4fe1\u53f7\u6d3e\u751f&#xff0c;\u6709\u81ea\u5df1\u72ec\u7acb\u7684 messages \u5217\u8868\u548c\u5de5\u5177\u96c6&#xff0c;\u8fd0\u884c\u5b8c\u628a\u7ed3\u679c\u8fd4\u56de\u7ed9\u7236\u4ee3\u7406\u3002\u5d4c\u5957\u6df1\u5ea6\u6709\u9650\u5236&#xff08;\u9ed8\u8ba4 5 \u5c42&#xff09;\u3002<\/p>\n<p>\u641e\u660e\u767d\u8fd9\u4e9b\u4e4b\u540e&#xff0c;\u6211\u610f\u8bc6\u5230&#xff1a;\u7406\u8bba\u4e0a\u5b8c\u5168\u53ef\u4ee5\u590d\u73b0\u8fd9\u5957\u673a\u5236&#xff0c;\u7136\u540e\u628a CLI \u5916\u58f3\u6362\u6389\u3002<\/p>\n<h3>\u52a8\u624b\u5b9e\u73b0<\/h3>\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u7801\u4ee3\u7801\u7684\u8fc7\u7a0b\u4e86\u3002\u6211\u7ed9\u81ea\u5df1\u5b9a\u4e86\u51e0\u4e2a\u76ee\u6807&#xff1a;<\/p>\n<li>\u4fdd\u6301\u6838\u5fc3\u884c\u4e3a\u4e00\u81f4 \u2014\u2014 \u590d\u73b0 Agent \u5faa\u73af\u3001\u5de5\u5177\u8c03\u7528\u3001\u5b50\u4ee3\u7406\u9012\u5f52<\/li>\n<li>\u652f\u6301\u591a\u79cd\u63a5\u53e3 \u2014\u2014 HTTP\u3001SSE \u6d41\u5f0f\u3001WebSocket \u90fd\u8981<\/li>\n<li>\u4fdd\u7559 Claude Code \u7684\u9879\u76ee\u7ea7\u914d\u7f6e \u2014\u2014 .claude\/ \u90a3\u5957\u4e1c\u897f\u5f88\u597d\u7528<\/li>\n<li>\u652f\u6301\u591a Agent \u7f16\u6392 \u2014\u2014 \u590d\u6742\u573a\u666f\u9700\u8981\u628a\u591a\u4e2a Agent \u4e32\u8d77\u6765<\/li>\n<p>\u5927\u6982\u82b1\u4e86\u4e00\u5468\u591a\u65f6\u95f4&#xff0c;\u4e00\u4e2a\u80fd\u8dd1\u901a\u7684\u7248\u672c\u51fa\u6765\u4e86\u3002\u7ed9\u5b83\u8d77\u4e86\u4e2a\u540d\u5b57\u53eb CCServer&#xff08;Claude Code Server \u7684\u7f29\u5199&#xff0c;\u867d\u7136\u6709\u70b9\u968f\u610f\u4f46\u597d\u8bb0&#xff09;\u3002<\/p>\n<h3>\u7528\u8d77\u6765\u600e\u4e48\u6837<\/h3>\n<p>\u73b0\u5728\u6211\u7684\u90e8\u7f72\u65b9\u5f0f\u662f&#xff1a;\u670d\u52a1\u5668\u4e0a\u8dd1 CCServer&#xff0c;\u524d\u7aef\u7528 Gradio \u505a\u4e2a\u7b80\u5355\u754c\u9762&#xff0c;\u5185\u90e8\u5e73\u53f0\u7684\u5176\u4ed6\u670d\u52a1\u76f4\u63a5\u8c03 HTTP \u63a5\u53e3\u3002<\/p>\n<p>API \u8c03\u7528\u5f88\u7b80\u5355&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u4f1a\u8bdd<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-X<\/span> POST http:\/\/localhost:8000\/sessions<\/p>\n<p><span class=\"token comment\"># \u76f4\u63a5\u5bf9\u8bdd&#xff08;\u963b\u585e\u5f0f&#xff09;<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-X<\/span> POST http:\/\/localhost:8000\/chat <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-H<\/span> <span class=\"token string\">&#034;X-Session-Id: xxx&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-d<\/span> <span class=\"token string\">&#039;{&#034;message&#034;: &#034;\u5206\u6790\u8fd9\u4e2a\u76ee\u5f55\u7684\u4ee3\u7801\u7ed3\u6784&#034;}&#039;<\/span><\/p>\n<p><span class=\"token comment\"># \u6216\u8005 SSE \u6d41\u5f0f<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-X<\/span> GET <span class=\"token string\">&#034;http:\/\/localhost:8000\/chat\/stream?message&#061;\u4f60\u597d&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-H<\/span> <span class=\"token string\">&#034;X-Session-Id: xxx&#034;<\/span><\/p>\n<p>\u914d\u7f6e\u7ba1\u7406\u8fd8\u662f\u719f\u6089\u7684 .ccserver\/ \u76ee\u5f55&#xff1a;<\/p>\n<p>.ccserver\/<br \/>\n\u251c\u2500\u2500 agents\/          # \u81ea\u5b9a\u4e49 subagent<br \/>\n\u251c\u2500\u2500 skills\/          # \u6280\u80fd\u6587\u6863<br \/>\n\u251c\u2500\u2500 hooks\/           # \u751f\u547d\u5468\u671f\u94a9\u5b50<br \/>\n\u2514\u2500\u2500 settings.json    # \u6743\u9650\u914d\u7f6e<\/p>\n<p>\u683c\u5f0f\u548c Claude Code \u7684 .claude\/ \u4fdd\u6301\u4e00\u81f4&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u62f7\u8d1d\u590d\u7528\u3002<\/p>\n<p>\u591a Agent \u7f16\u6392 \u662f\u6211\u89c9\u5f97\u6700\u6709\u610f\u601d\u7684\u90e8\u5206\u3002\u6bd4\u5982\u6211\u505a\u4e86\u4e2a\u89d2\u8272\u626e\u6f14\u5bf9\u8bdd\u7cfb\u7edf&#xff0c;\u6d41\u7a0b\u662f\u8fd9\u6837\u7684&#xff1a;<\/p>\n<p>[\u7528\u6237\u8f93\u5165] \u2192 [\u610f\u56fe\u8bc6\u522b\/\u641c\u7d22] \u2192 [\u8bdd\u9898\u5efa\u8bae] \u2192 [\u751f\u6210\u56de\u590d] \u2192 [\u8d28\u91cf\u68c0\u67e5]<br \/>\n                                                  \u2193___________|<br \/>\n                                                    (\u4e0d\u901a\u8fc7\u5219\u91cd\u8bd5)<\/p>\n<p>\u6bcf\u4e2a\u8282\u70b9\u90fd\u662f\u4e00\u4e2a\u5b8c\u6574\u7684 Claude Agent&#xff0c;\u8282\u70b9\u95f4\u6309 DAG \u6267\u884c&#xff0c;\u652f\u6301\u6761\u4ef6\u56de\u8fb9\u505a\u91cd\u8bd5\u3002\u8fd9\u79cd\u663e\u5f0f\u7f16\u6392\u6bd4\u5355 Agent \u81ea\u4e3b\u8c03\u5ea6\u66f4\u53ef\u63a7&#xff0c;\u9002\u5408\u4e1a\u52a1\u6d41\u7a0b\u56fa\u5b9a\u7684\u573a\u666f\u3002<\/p>\n<h3>\u4e00\u4e9b\u8e29\u5751\u8bb0\u5f55<\/h3>\n<li>\n<p>Prompt \u517c\u5bb9\u6027 \u2014\u2014 Claude Code \u7684 system prompt \u7ed3\u6784\u5728\u4e0d\u540c\u7248\u672c\u6709\u53d8\u5316&#xff0c;\u6211\u5b9e\u73b0\u4e86\u4e00\u4e2a PromptLib \u7cfb\u7edf\u6765\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684\u62fc\u63a5\u903b\u8f91&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u5207\u6362\u3002<\/p>\n<\/li>\n<li>\n<p>\u5de5\u5177\u8c03\u7528\u683c\u5f0f \u2014\u2014 \u8981\u4e25\u683c\u6309\u7167 Anthropic API \u7684 tool_use \/ tool_result \u683c\u5f0f\u6765&#xff0c;\u53c2\u6570\u7c7b\u578b\u4e5f\u8981\u5bf9\u9f50&#xff0c;\u5426\u5219\u6a21\u578b\u884c\u4e3a\u4f1a\u4e0d\u4e00\u81f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f1a\u8bdd\u9694\u79bb \u2014\u2014 \u6bcf\u4e2a\u4f1a\u8bdd\u8981\u6709\u72ec\u7acb\u7684\u5de5\u4f5c\u76ee\u5f55\u6c99\u7bb1&#xff0c;\u5426\u5219\u6587\u4ef6\u64cd\u4f5c\u4f1a\u4e92\u76f8\u5e72\u6270\u3002\u6211\u7528 sessions\/{session_id}\/workdir\/ \u7684\u65b9\u5f0f\u6765\u7ba1\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0a\u4e0b\u6587\u538b\u7f29\u9608\u503c \u2014\u2014 \u9ed8\u8ba4 50000 \u5b57\u7b26\u89e6\u53d1 LLM \u538b\u7f29&#xff0c;\u8fd9\u4e2a\u503c\u8981\u6839\u636e\u5b9e\u9645 token \u6d88\u8017\u8c03\u6574&#xff0c;\u4e0d\u540c\u6a21\u578b\u7684\u6362\u7b97\u6bd4\u4f8b\u4e0d\u4e00\u6837\u3002<\/p>\n<\/li>\n<h3>\u5199\u5728\u6700\u540e<\/h3>\n<p>\u628a CCServer \u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e4b\u540e&#xff0c;\u6700\u5927\u7684\u611f\u53d7\u662f&#xff1a;Agent \u80fd\u529b\u7ec8\u4e8e\u53ef\u4ee5\u7528\u8d77\u6765\u4e86\u3002<\/p>\n<p>\u4ee5\u524d\u5199\u597d\u7684 prompt \u548c MCP \u914d\u7f6e&#xff0c;\u53ea\u80fd\u5728\u7ec8\u7aef\u91cc\u81ea\u5df1\u7528\u3002\u73b0\u5728\u53ef\u4ee5\u5c01\u88c5\u6210\u63a5\u53e3&#xff0c;\u5206\u4eab\u7ed9\u56e2\u961f&#xff0c;\u96c6\u6210\u5230\u5404\u79cd\u6d41\u7a0b\u91cc\u3002\u5bf9\u4e8e\u4e00\u4e9b\u590d\u6742\u7684\u591a\u6b65\u9aa4\u573a\u666f&#xff0c;Graph \u7f16\u6392\u4e5f\u8ba9\u6d41\u7a0b\u66f4\u6e05\u6670\u53ef\u63a7\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4e5f\u6709\u7c7b\u4f3c\u9700\u6c42\u2014\u2014\u60f3\u628a Claude Code \u7684\u80fd\u529b\u670d\u52a1\u5316\u3001\u6216\u8005\u9700\u8981\u591a Agent \u534f\u4f5c\u7f16\u6392\u2014\u2014\u53ef\u4ee5\u8bd5\u8bd5\u770b\u3002\u9879\u76ee\u5df2\u7ecf\u5f00\u6e90&#xff08;\u94fe\u63a5\u5728\u6587\u672b&#xff09;&#xff0c;\u8fd8\u5728\u6301\u7eed\u8fed\u4ee3\u4e2d\u3002<\/p>\n<p>\u5f53\u7136&#xff0c;\u8fd9\u53ea\u662f\u4e2a\u5b66\u4e60\u7814\u7a76\u6027\u8d28\u7684\u5b9e\u73b0&#xff0c;\u4e0d\u662f\u5b98\u65b9\u9879\u76ee&#xff0c;\u90e8\u5206\u9ad8\u7ea7\u7279\u6027&#xff08;\u6bd4\u5982 Claude Code \u5185\u7f6e\u7684\u90a3\u4e9b\u4e13\u7528 subagent&#xff09;\u8fd8\u6ca1\u6709\u5b8c\u5168\u5bf9\u9f50\u3002\u4f46\u6838\u5fc3\u7684 Agent \u5faa\u73af\u548c\u5de5\u5177\u7cfb\u7edf\u5df2\u7ecf\u633a\u7a33\u5b9a\u4e86&#xff0c;\u65e5\u5e38\u7528\u4e0b\u6765\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002<\/p>\n<p>\u76f8\u5173\u94fe\u63a5&#xff1a;<\/p>\n<ul>\n<li>\u9879\u76ee\u5730\u5740&#xff1a;https:\/\/github.com\/kazeMace\/ccserver<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u6298\u817e\u7684\u5468\u672b<br \/>\n\u4e0a\u4e2a\u6708\u6709\u4e2a\u9700\u6c42\u8ba9\u6211\u5934\u75bc\u4e86\u5f88\u4e45\u3002<br \/>\n\u6211\u4eec\u56e2\u961f\u7528 Claude Code \u505a\u5185\u90e8\u5de5\u5177\u5f00\u53d1&#xff0c;\u6548\u7387\u786e\u5b9e\u9ad8\u2014\u2014\u5199 prompt\u3001\u914d\u51e0\u4e2a MCP \u5de5\u5177&#xff0c;\u4e00\u4e2a\u529f\u80fd\u534a\u5929\u5c31\u642d\u51fa\u6765\u4e86\u3002\u4f46\u95ee\u9898\u4e5f\u968f\u4e4b\u800c\u6765&#xff1a;\u8fd9\u4e1c\u897f\u53ea\u80fd\u5728\u7ec8\u7aef\u7528\u3002<br \/>\n\u4ea7\u54c1\u7ecf\u7406\u60f3\u628a\u5b83\u96c6\u6210\u5230\u5185\u90e8\u5e73\u53f0&#xff0c;\u8ba9\u975e\u6280\u672f\u7684\u540c\u4e8b\u4e5f\u80fd\u7528&#xff1b;\u6211\u60f3\u628a\u51e0\u4e2a\u5e38\u7528\u7684 Agent \u5c01\u88c5\u6210 API&#xff0c;\u4f9b\u5176\u4ed6\u670d\u52a1\u8c03\u7528\u3002\u4f46 Claude Code \u662f\u4e2a CLI \u5de5\u5177&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43],"topic":[],"class_list":["post-84572","post","type-post","status-publish","format-standard","hentry","category-server","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/84572.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u4e2a\u6298\u817e\u7684\u5468\u672b \u4e0a\u4e2a\u6708\u6709\u4e2a\u9700\u6c42\u8ba9\u6211\u5934\u75bc\u4e86\u5f88\u4e45\u3002 \u6211\u4eec\u56e2\u961f\u7528 Claude Code \u505a\u5185\u90e8\u5de5\u5177\u5f00\u53d1&#xff0c;\u6548\u7387\u786e\u5b9e\u9ad8\u2014\u2014\u5199 prompt\u3001\u914d\u51e0\u4e2a MCP \u5de5\u5177&#xff0c;\u4e00\u4e2a\u529f\u80fd\u534a\u5929\u5c31\u642d\u51fa\u6765\u4e86\u3002\u4f46\u95ee\u9898\u4e5f\u968f\u4e4b\u800c\u6765&#xff1a;\u8fd9\u4e1c\u897f\u53ea\u80fd\u5728\u7ec8\u7aef\u7528\u3002 \u4ea7\u54c1\u7ecf\u7406\u60f3\u628a\u5b83\u96c6\u6210\u5230\u5185\u90e8\u5e73\u53f0&#xff0c;\u8ba9\u975e\u6280\u672f\u7684\u540c\u4e8b\u4e5f\u80fd\u7528&#xff1b;\u6211\u60f3\u628a\u51e0\u4e2a\u5e38\u7528\u7684 Agent \u5c01\u88c5\u6210 API&#xff0c;\u4f9b\u5176\u4ed6\u670d\u52a1\u8c03\u7528\u3002\u4f46 Claude Code \u662f\u4e2a CLI \u5de5\u5177&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84572.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-26T06:41:22+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84572.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84572.html\",\"name\":\"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-26T06:41:22+00:00\",\"dateModified\":\"2026-07-26T06:41:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84572.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84572.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84572.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e...\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/84572.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u4e2a\u6298\u817e\u7684\u5468\u672b \u4e0a\u4e2a\u6708\u6709\u4e2a\u9700\u6c42\u8ba9\u6211\u5934\u75bc\u4e86\u5f88\u4e45\u3002 \u6211\u4eec\u56e2\u961f\u7528 Claude Code \u505a\u5185\u90e8\u5de5\u5177\u5f00\u53d1&#xff0c;\u6548\u7387\u786e\u5b9e\u9ad8\u2014\u2014\u5199 prompt\u3001\u914d\u51e0\u4e2a MCP \u5de5\u5177&#xff0c;\u4e00\u4e2a\u529f\u80fd\u534a\u5929\u5c31\u642d\u51fa\u6765\u4e86\u3002\u4f46\u95ee\u9898\u4e5f\u968f\u4e4b\u800c\u6765&#xff1a;\u8fd9\u4e1c\u897f\u53ea\u80fd\u5728\u7ec8\u7aef\u7528\u3002 \u4ea7\u54c1\u7ecf\u7406\u60f3\u628a\u5b83\u96c6\u6210\u5230\u5185\u90e8\u5e73\u53f0&#xff0c;\u8ba9\u975e\u6280\u672f\u7684\u540c\u4e8b\u4e5f\u80fd\u7528&#xff1b;\u6211\u60f3\u628a\u51e0\u4e2a\u5e38\u7528\u7684 Agent \u5c01\u88c5\u6210 API&#xff0c;\u4f9b\u5176\u4ed6\u670d\u52a1\u8c03\u7528\u3002\u4f46 Claude Code \u662f\u4e2a CLI \u5de5\u5177&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/84572.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-26T06:41:22+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84572.html","url":"https:\/\/www.wsisp.com\/helps\/84572.html","name":"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e... - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-26T06:41:22+00:00","dateModified":"2026-07-26T06:41:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84572.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84572.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84572.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5f53\u6211\u628a Claude Code \u4ece\u7ec8\u7aef\u201c\u642c\u201c\u5230\u670d\u52a1\u5668\u4e0a\u4e4b\u540e..."}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=84572"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84572\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84572"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}