{"id":16645,"date":"2026-07-22T08:12:19","date_gmt":"2026-07-22T12:12:19","guid":{"rendered":"https:\/\/wp.glbgpt.com\/?p=16645"},"modified":"2026-07-23T00:13:44","modified_gmt":"2026-07-23T04:13:44","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-claude-%e4%bb%a3%e7%a0%81%e4%b8%ad%e4%bd%bf%e7%94%a8-globalgpt-%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%95%8c%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/wp.glbgpt.com\/hub\/zh\/how-to-use-globalgpt-cli-in-claude-code","title":{"rendered":"\u5982\u4f55\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528 GlobalGPT CLI"},"content":{"rendered":"<blockquote style=\"margin:24px 0;padding:18px 22px;border-left:4px solid #1570b8;border-radius:0 12px 12px 0;background:#edf8ff;box-sizing:border-box;\"><p style=\"margin:0;color:#142533;font-size:17px;line-height:1.72;\"><strong>\u5feb\u901f\u56de\u7b54\uff1a<\/strong> \u5b89\u88c5 Node.js 18 \u6216\u66f4\u9ad8\u7248\u672c\uff0c\u8fd0\u884c <code>npm i -g @glbgpt\/cli<\/code>, \u6388\u6743\u65b9\u5f0f\u4e3a <code>glbgpt \u767b\u5f55<\/code>, \u7136\u540e\u8fd0\u884c <code>glbgpt \u6280\u80fd\u5b89\u88c5<\/code>. \u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u91cd\u65b0\u542f\u52a8 Claude Code\uff0c\u5e76\u8ba9\u5176\u4f7f\u7528 GlobalGPT \u5904\u7406\u56fe\u7247\u3001\u89c6\u9891\u6216\u6279\u91cf\u6587\u672c\u4efb\u52a1\u3002\u4f7f\u7528 <code>--\u4f30\u8ba1<\/code> \u5728\u751f\u6210\u5a92\u4f53\u4e4b\u524d\uff0c\u4ee5\u4fbf\u60a8\u80fd\u5148\u67e5\u770b\u4fe1\u8d37\u6210\u672c\u3002.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5c06\u804a\u5929\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u4ee5\u53ca\u975e\u4ea4\u4e92\u5f0f AI \u4efb\u52a1\u5e26\u5165\u4e86\u7ec8\u7aef\u3002 \u5f53\u60a8\u5c06\u5176\u4e0e Claude Code \u8fde\u63a5\u65f6\uff0cClaude \u80fd\u591f\u9009\u62e9\u5408\u9002\u7684 GlobalGPT \u547d\u4ee4\u3001\u5904\u7406\u9879\u76ee\u4e2d\u7684\u6587\u4ef6\u3001\u5728\u751f\u6210\u524d\u4f30\u7b97\u5a92\u4f53\u6210\u672c\uff0c\u5e76\u8fd0\u884c\u53ef\u91cd\u590d\u7684\u5185\u5bb9\u5de5\u4f5c\u6d41\uff0c\u800c\u65e0\u9700\u60a8\u6784\u5efa\u81ea\u5b9a\u4e49 API \u96c6\u6210\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6307\u5357\u4ecb\u7ecd\u4e86 <strong>\u5982\u4f55\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528 GlobalGPT CLI<\/strong> \u4ece\u5934\u5230\u5c3e\uff1a\u68c0\u67e5\u5148\u51b3\u6761\u4ef6\u3001\u5b89\u88c5 GlobalGPT CLI\u3001\u4f7f\u7528\u60a8\u7684 GlobalGPT \u8d26\u6237\u767b\u5f55\u3001\u5b89\u88c5\u6346\u7ed1\u7684 Agent Skill\u3001\u9a8c\u8bc1\u8fde\u63a5\u3001\u5b89\u5168\u5730\u751f\u6210\u5a92\u4f53\u3001\u81ea\u52a8\u5316\u7ed3\u6784\u5316\u4efb\u52a1\uff0c\u5e76\u89e3\u51b3\u53ef\u80fd\u5bfc\u81f4 Windows \u7cfb\u7edf\u4e0a\u8bbe\u7f6e\u4e2d\u65ad\u7684 DNS \u548c\u6d4f\u89c8\u5668\u6388\u6743\u95ee\u9898\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-1024x547.png\" class=\"wp-image-16961\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-1024x547.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-300x160.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-768x410.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-1536x820.png 1536w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-2048x1094.png 2048w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-15-18x10.png 18w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-3e41869c wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.glbgpt.com\/home\/cli?inviter=hub_content_cli&amp;login=1\">\u8bd5\u7528 GlobalGPT CLI<\/a><\/div>\n<\/div>\n\n\n\n<nav aria-labelledby=\"toc-title\" style=\"margin:34px 0 44px;padding:30px 34px;border:1px solid #d6e1eb;border-radius:24px;background:#f4f7fb;box-sizing:border-box;\"><h2 id=\"toc-title\" style=\"margin:0 0 20px;color:#0e507f;font-size:32px;line-height:1.2;font-weight:700;\">\u76ee\u5f55<\/h2><ol style=\"margin:0;padding-left:28px;color:#142533;font-size:17px;line-height:1.72;\"><li style=\"margin:7px 0;\"><a href=\"#what-is-globalgpt-cli-and-why-use-it-with-claude-code\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u4ec0\u4e48\u662f GlobalGPT CLI\uff0c\u4e3a\u4ec0\u4e48\u8981\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528\u5b83\uff1f<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#prerequisites-before-you-start\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u5f00\u59cb\u524d\u7684\u5148\u51b3\u6761\u4ef6<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-1-install-globalgpt-cli\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u6b65\u9aa4 1\uff1a\u5b89\u88c5 GlobalGPT CLI<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-2-sign-in-with-your-globalgpt-account\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 2 \u6b65\uff1a\u4f7f\u7528\u60a8\u7684 GlobalGPT \u8d26\u6237\u767b\u5f55<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-3-test-globalgpt-cli-before-connecting-claude-code\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u6b65\u9aa4 3\uff1a\u5728\u8fde\u63a5 Claude \u4ee3\u7801\u4e4b\u524d\u6d4b\u8bd5 GlobalGPT CLI<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-4-install-the-globalgpt-agent-skill-for-claude-code\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 4 \u6b65\uff1a\u5b89\u88c5\u9002\u7528\u4e8e Claude \u4ee3\u7801\u7684 GlobalGPT \u4ee3\u7406\u6280\u80fd<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-5-verify-globalgpt-cli-inside-claude-code-without-spending-credits\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 5 \u6b65\uff1a\u5728\u4e0d\u6d88\u8017\u79ef\u5206\u7684\u60c5\u51b5\u4e0b\uff0c\u5728 Claude \u4ee3\u7801\u4e2d\u9a8c\u8bc1 GlobalGPT CLI<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-6-generate-an-image-from-claude-code\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 6 \u6b65\uff1a\u6839\u636e Claude \u4ee3\u7801\u751f\u6210\u56fe\u50cf<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-7-generate-a-video-from-claude-code\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 7 \u6b65\uff1a\u6839\u636e Claude \u4ee3\u7801\u751f\u6210\u89c6\u9891<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#step-8-automate-bulk-text-work-with-glbgpt-exec\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u7b2c 8 \u6b65\uff1a\u4f7f\u7528\u2026\u2026\u5b9e\u73b0\u6279\u91cf\u6587\u672c\u5904\u7406\u81ea\u52a8\u5316 <code>glbgpt \u6267\u884c<\/code><\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#optional-connect-globalgpt-as-an-mcp-server\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u53ef\u9009\uff1a\u5c06 GlobalGPT \u4f5c\u4e3a MCP \u670d\u52a1\u5668\u8fde\u63a5<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#troubleshooting-globalgpt-cli-on-windows\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u5728 Windows \u4e0a\u6392\u67e5 GlobalGPT CLI \u6545\u969c<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#how-to-measure-time-and-token-use-for-each-claude-code-task\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u5982\u4f55\u7edf\u8ba1\u6bcf\u4e2a Claude \u4ee3\u7801\u4efb\u52a1\u6240\u8017\u8d39\u7684\u65f6\u95f4\u548c\u4ee3\u5e01\u4f7f\u7528\u91cf<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#frequently-asked-questions\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u5e38\u89c1\u95ee\u9898<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#key-takeaways\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u4e3b\u8981\u6536\u83b7<\/a><\/li><\/ol><\/nav>\n\n\n\n<h2 id=\"what-is-globalgpt-cli-and-why-use-it-with-claude-code\" class=\"wp-block-heading\">\u4ec0\u4e48\u662f GlobalGPT CLI\uff0c\u4e3a\u4ec0\u4e48\u8981\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528\u5b83\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u662f\u7528\u4e8e\u8bbf\u95ee GlobalGPT \u804a\u5929\u6a21\u578b\u3001\u56fe\u50cf\u751f\u6210\u5668\u3001\u89c6\u9891\u751f\u6210\u5668\u3001\u8d26\u6237\u4fe1\u606f\u548c\u4efb\u52a1\u5386\u53f2\u8bb0\u5f55\u7684\u5b98\u65b9\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u3002\u8be5\u7a33\u5b9a\u7684 npm \u5305\u540c\u65f6\u63d0\u4f9b\u4e86 <code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code> \u548c <code>globalgpt<\/code> \u547d\u4ee4\uff0c\u5e76\u5305\u542b\u4e00\u4e2a <code>\u6267\u884c<\/code> \u7528\u4e8e\u811a\u672c\u548c\u5916\u90e8\u4ee3\u7406\u7684\u63a5\u53e3\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code \u63d0\u4f9b\u4e86\u63a8\u7406\u548c\u9879\u76ee\u80cc\u666f\u3002GlobalGPT CLI \u63d0\u4f9b\u4e86\u6a21\u578b\u548c\u5a92\u4f53\u64cd\u4f5c\u3002\u6346\u7ed1\u7684 <code>globalgpt-generate<\/code> \u201c\u4ee3\u7406\u6280\u80fd\u201d\u8bfe\u7a0b\u5c06\u4f20\u6388Claude\u4ee3\u7801\uff0c\u8bb2\u89e3\u4f55\u65f6\u4ee5\u53ca\u5982\u4f55\u8c03\u7528CLI\uff0c\u5305\u62ec\u5982\u4f55\u4f30\u7b97\u5a92\u4f53\u6210\u672c\u3001\u4ece\u5b9e\u65f6\u6a21\u578b\u76ee\u5f55\u4e2d\u8fdb\u884c\u9009\u62e9\u3001\u9644\u52a0\u53c2\u8003\u56fe\u7247\u3001\u7b49\u5f85\u4efb\u52a1\uff0c\u4ee5\u53ca\u5982\u4f55\u907f\u514d\u610f\u5916\u91cd\u590d\u6536\u8d39\u3002.<\/p>\n\n\n\n<h3 id=\"the-three-ways-to-connect-globalgpt-and-claude-code\" class=\"wp-block-heading\">\u8fde\u63a5 GlobalGPT \u548c Claude \u4ee3\u7801\u7684\u4e09\u79cd\u65b9\u6cd5<\/h3>\n\n\n\n<div style=\"max-width:100%;margin:22px 0 30px;overflow-x:auto;-webkit-overflow-scrolling:touch;\"><table style=\"width:100%;min-width:760px;margin:0;border-collapse:collapse;border:1px solid #cfdae3;color:#142533;font-size:15px;line-height:1.55;\"><thead><tr><th style=\"padding:13px 14px;border:1px solid #cfdae3;background:#eaf2f8;color:#143d5b;text-align:left;vertical-align:top;font-weight:700;\">\u4e00\u4f53\u5316<\/th><th style=\"padding:13px 14px;border:1px solid #cfdae3;background:#eaf2f8;color:#143d5b;text-align:left;vertical-align:top;font-weight:700;\">\u6700\u9002\u5408<\/th><th style=\"padding:13px 14px;border:1px solid #cfdae3;background:#eaf2f8;color:#143d5b;text-align:left;vertical-align:top;font-weight:700;\">\u4e3b\u8981\u6743\u8861<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u4ee3\u7406\u6280\u80fd + CLI<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u5e0c\u671b\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u56fe\u50cf\u3001\u89c6\u9891\u548c\u6279\u91cf\u6587\u672c\u5de5\u4f5c\u6d41\u7684 Claude Code \u7528\u6237<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">Claude Code \u9700\u8981\u6743\u9650\u624d\u80fd\u8fd0\u884c shell \u547d\u4ee4<\/td><\/tr><tr><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u76f4\u63a5 CLI \u547d\u4ee4<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u7f16\u5199\u811a\u672c\u3001\u6301\u7eed\u96c6\u6210\u4efb\u52a1\u6216\u660e\u786e\u7684\u7ec8\u7aef\u5de5\u4f5c\u6d41\u7684\u5f00\u53d1\u8005<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u60a8\u5fc5\u987b\u81ea\u884c\u6307\u5b9a\u5e76\u7ef4\u62a4\u8fd9\u4e9b\u547d\u4ee4<\/td><\/tr><tr><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u7531 CLI \u6258\u7ba1\u7684 MCP \u670d\u52a1\u5668<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u5e0c\u671b\u83b7\u5f97MCP\u5de5\u5177\u5e76\u8bbe\u5b9a\u6bcf\u6b21\u4f1a\u8bdd\u5a92\u4f53\u79ef\u5206\u4e0a\u9650\u7684\u56e2\u961f<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u6dfb\u52a0 MCP \u914d\u7f6e\u548c\u53e6\u4e00\u4e2a\u5de5\u5177\u9762<\/td><\/tr><\/tbody><\/table><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u5927\u591a\u6570 Claude Code \u7528\u6237\u6765\u8bf4\uff0c, <strong>\u201c\u4ee3\u7406\u6280\u80fd + CLI\u201d\u662f\u6700\u4f73\u7684\u5165\u95e8\u8d77\u70b9<\/strong>. \u8be5\u65b9\u6848\u4fdd\u6301\u4e86\u914d\u7f6e\u7684\u7b80\u6d01\u6027\uff0c\u5229\u7528\u4e86 Claude Code \u73b0\u6709\u7684 shell \u529f\u80fd\uff0c\u65e2\u5141\u8bb8\u60a8\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u8fdb\u884c\u64cd\u4f5c\uff0c\u53c8\u80fd\u4fdd\u7559\u663e\u5f0f\u7684\u6210\u672c\u68c0\u67e5\u3002\u5982\u679c\u60a8\u7684\u56e2\u961f\u4f7f\u7528\u591a\u4e2a\u7f16\u7801\u4ee3\u7406\uff0c\u60a8\u8fd8\u53ef\u4ee5\u5c06\u6b64\u914d\u7f6e\u4e0e\u4ee5\u4e0b\u914d\u5957\u6307\u5357\u8fdb\u884c\u5bf9\u6bd4\uff1a <a href=\"https:\/\/www.glbgpt.com\/hub\/how-to-use-globalgpt-cli-in-codex\/\">\u5728 Codex \u4e2d\u4f7f\u7528 GlobalGPT CLI<\/a> \u548c <a href=\"https:\/\/www.glbgpt.com\/hub\/how-to-use-glbgpt-cli-in-cursor\/\">\u5728 Cursor \u4e2d\u4f7f\u7528 GLBGPT CLI<\/a>.<\/p>\n\n\n\n<h2 id=\"prerequisites-before-you-start\" class=\"wp-block-heading\">\u5f00\u59cb\u524d\u7684\u5148\u51b3\u6761\u4ef6<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u9700\u8981\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Node.js 18 \u6216\u66f4\u9ad8\u7248\u672c\u3002\u5f53\u524d\u7684 GlobalGPT CLI \u5305\u58f0\u660e\u5982\u4e0b\uff1a <code>\u8282\u70b9 &gt;=18<\/code>.<\/li>\n\n\n\n<li>npm\uff0c\u901a\u5e38\u968f Node.js \u4e00\u8d77\u5b89\u88c5\u3002.<\/li>\n\n\n\n<li>Claude \u4ee3\u7801\uff0c\u5df2\u5b89\u88c5\u5e76\u9a8c\u8bc1\u3002.<\/li>\n\n\n\n<li>\u4e00\u4e2a\u5177\u6709\u8bbf\u95ee\u6743\u9650\u7684 GlobalGPT \u8d26\u6237\uff0c\u53ef\u7528\u4e8e\u8bbf\u95ee\u60a8\u8ba1\u5212\u4f7f\u7528\u7684\u6a21\u578b\u6216\u5a92\u4f53\u5de5\u5177\u3002.<\/li>\n\n\n\n<li>\u4e00\u4e2a\u53d7\u4fe1\u4efb\u7684\u9879\u76ee\u76ee\u5f55\uff0c\u5141\u8bb8 Claude Code \u5728\u5176\u4e2d\u8fd0\u884c\u7ec8\u7aef\u547d\u4ee4\u3002.<\/li>\n\n\n\n<li>\u6b63\u5e38\u60c5\u51b5\u4e0b\uff0c\u9996\u6b21\u8bbe\u7f6e\u5927\u7ea6\u9700\u8981 10 \u5230 20 \u5206\u949f\u3002\u5982\u679c\u9047\u5230\u7f51\u7edc\u6216\u6d4f\u89c8\u5668\u6388\u6743\u65b9\u9762\u7684\u95ee\u9898\uff0c\u9996\u6b21\u8bbe\u7f6e\u7684\u65f6\u95f4\u53ef\u80fd\u4f1a\u66f4\u957f\u3002.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u5728 PowerShell\u3001\u7ec8\u7aef\u6216\u60a8\u5e38\u7528\u7684\u547d\u4ee4\u884c\u73af\u5883\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u68c0\u67e5\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>node --version\nnpm --version\nclaude --version<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u5730 Windows \u9a8c\u8bc1\u4f7f\u7528\u4e86 Node.js <code>v24.18.0<\/code>, npm, npm <code>11.16.0<\/code>, \uff0c\u4ee5\u53ca Claude \u4ee3\u7801 <code>2.1.211<\/code>. \u8fd9\u4e9b\u7248\u672c\u4ec5\u4f9b\u53c2\u8003\uff0c\u5e76\u975e\u6700\u4f4e\u8981\u6c42\uff1bNode.js 18 \u6216\u66f4\u9ad8\u7248\u672c\u662f GlobalGPT CLI \u7684\u76f8\u5173\u8981\u6c42\u3002.<\/p>\n\n\n\n<h2 id=\"step-1-install-globalgpt-cli\" class=\"wp-block-heading\">\u6b65\u9aa4 1\uff1a\u5b89\u88c5 GlobalGPT CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5df2\u4f5c\u4e3a npm \u7684\u7a33\u5b9a\u7248\u672c\u53d1\u5e03\u3002\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u6700\u65b0\u7a33\u5b9a\u7248\u672c\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>npm i -g @glbgpt\/cli<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8bf7\u9a8c\u8bc1\u8be5\u547d\u4ee4\u53ca\u5176\u7248\u672c\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt --version\nglbgpt --help<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u8f6f\u4ef6\u5305\u5b89\u88c5\u4e86\u4e24\u4e2a\u53ef\u4e92\u6362\u7684\u547d\u4ee4\u540d\u79f0\uff1a <code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code> \u548c <code>globalgpt<\/code>. \u672c\u6307\u5357\u91c7\u7528\u8f83\u77ed\u7684 <code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code> \u8868\u5355\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u65f6\u95f4\u548c\u5305\u7684\u6570\u91cf\u4f1a\u56e0\u60a8\u7684 npm \u7248\u672c\u3001\u7f51\u7edc\u72b6\u51b5\u4ee5\u53ca\u4f9d\u8d56\u9879\u66f4\u65b0\u60c5\u51b5\u800c\u6709\u6240\u4e0d\u540c\u3002\u5b89\u88c5\u6210\u529f\u540e\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5b8c\u6210\uff0c\u4e0d\u4f1a\u663e\u793a\u4efb\u4f55 <code>npm \u9519\u8bef<\/code>. npm \u63d0\u793a\u4fe1\u606f <code>\u8fd9\u4e9b\u9879\u76ee\u6b63\u5728\u5bfb\u6c42\u8d44\u91d1\u652f\u6301<\/code> \u6b64\u4fe1\u606f\u4ec5\u4f9b\u53c2\u8003\uff0c\u5e76\u4e0d\u8868\u793a\u5b89\u88c5\u5931\u8d25\u3002.<\/p>\n\n\n\n<h2 id=\"step-2-sign-in-with-your-globalgpt-account\" class=\"wp-block-heading\">\u7b2c 2 \u6b65\uff1a\u4f7f\u7528\u60a8\u7684 GlobalGPT \u8d26\u6237\u767b\u5f55<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u901a\u8fc7\u60a8\u7684 GlobalGPT \u8d26\u6237\u8fdb\u884c\u6d4f\u89c8\u5668\u6388\u6743\uff0c\u56e0\u6b64\u60a8\u65e0\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u521b\u5efa\u6216\u7c98\u8d34 API \u5bc6\u94a5\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u767b\u5f55<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6d4f\u89c8\u5668\u9875\u9762\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u65f6\uff0c\u8bf7\u4fdd\u6301\u7ec8\u7aef\u7a97\u53e3\u6253\u5f00\u3002\u5728\u6253\u5f00\u7684\u9875\u9762\u4e0a\u767b\u5f55\u5e76\u6279\u51c6\u8be5\u8bf7\u6c42\u3002CLI \u5728\u6536\u5230\u672c\u5730\u56de\u8c03\u540e\u5c06\u7ee7\u7eed\u6267\u884c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6d4f\u89c8\u5668\u65e0\u6cd5\u81ea\u52a8\u6253\u5f00\uff0c\u8bf7\u4f7f\u7528\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt login --no-browser<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u65e0\u663e\u793a\u5668\u7684\u673a\u5668\u6216 SSH \u4f1a\u8bdd\uff0c\u8bf7\u4f7f\u7528\u4e00\u6b21\u6027\u9a8c\u8bc1\u7801\u6d41\u7a0b\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u767b\u5f55 --code<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5207\u52ff\u6cc4\u9732\u4e00\u6b21\u6027\u9a8c\u8bc1\u7801\u3001\u6388\u6743\u72b6\u6001\u6216\u56de\u8c03\u7f51\u5740\u3002\u8bf7\u4ec5\u5728\u60a8\u81ea\u5df1\u53d1\u8d77\u7684\u767b\u5f55\u6d41\u7a0b\u4e2d\u8f93\u5165\u9a8c\u8bc1\u7801\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6388\u6743\u540e\u9a8c\u8bc1\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt whoami\nglbgpt \u8d26\u6237<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>glbgpt whoami<\/code> \u786e\u8ba4\u5df2\u767b\u5f55\u7684\u8d26\u6237\u3002. <code>glbgpt \u8d26\u6237<\/code> \u663e\u793a\u4f1a\u5458\u548c\u79ef\u5206\u4fe1\u606f\uff0c\u8fd9\u5728\u751f\u6210\u5a92\u4f53\u4e4b\u524d\u975e\u5e38\u6709\u7528\u3002.<\/p>\n\n\n\n<h2 id=\"step-3-test-globalgpt-cli-before-connecting-claude-code\" class=\"wp-block-heading\">\u6b65\u9aa4 3\uff1a\u5728\u8fde\u63a5 Claude \u4ee3\u7801\u4e4b\u524d\u6d4b\u8bd5 GlobalGPT CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5355\u72ec\u6d4b\u8bd5 CLI \u53ef\u4ee5\u5c06\u8eab\u4efd\u9a8c\u8bc1\u6216\u7f51\u7edc\u95ee\u9898\u4e0e Claude \u4ee3\u7801\u96c6\u6210\u95ee\u9898\u533a\u5206\u5f00\u6765\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u542f\u52a8\u4ea4\u4e92\u5f0f\u7ec8\u7aef\u754c\u9762\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u9001\u4e00\u6761\u7b80\u77ed\u7684\u6d88\u606f\uff0c\u4f8b\u5982 <code>\u4f60\u597d<\/code>. \u5982\u679c\u54cd\u5e94\u6210\u529f\uff0c\u5219\u8bf4\u660e CLI \u80fd\u591f\u542f\u52a8\u3001\u8bfb\u53d6\u60a8\u7684\u8d26\u6237\u4f1a\u8bdd\u3001\u8c03\u7528\u804a\u5929\u6a21\u578b\u5e76\u663e\u793a\u7ed3\u679c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 GlobalGPT \u7ec8\u7aef\u754c\u9762\u4e2d\uff0c\u8f93\u5165 <code>\/<\/code> \u4ee5\u67e5\u770b\u53ef\u7528\u547d\u4ee4\u3002\u5e38\u7528\u547d\u4ee4\u5305\u62ec <code>\/\u6a21\u578b<\/code>, <code>\/models<\/code>, <code>\/\u56fe\u7247<\/code>, <code>\/\u89c6\u9891<\/code>, <code>\/\u4efb\u52a1<\/code>, <code>\/status<\/code>, <code>\/account\/account<\/code>, <code>\/\u6210\u672c<\/code>, <code>\/help<\/code>, \u548c <code>\/exit\u7b80\u4f53\u4e2d\u6587\uff08\u5927\u9646\uff09<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u975e\u4ea4\u4e92\u5f0f\u6d4b\u8bd5\uff0c\u8bf7\u4f7f\u7528 <code>\u6267\u884c<\/code>:<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt exec \"\u56de\u590d\u5185\u5bb9\u5fc5\u987b\u4e3a\uff1a\u8fde\u63a5\u6210\u529f\"<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <code>\u6267\u884c<\/code> \u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u6a21\u578b\u7684\u7b54\u6848\u5e76\u9000\u51fa\uff0c\u56e0\u6b64\u66f4\u9002\u5408\u7528\u4e8e\u811a\u672c\u548c\u5916\u90e8\u4ee3\u7406\u3002.<\/p>\n\n\n\n<h2 id=\"step-4-install-the-globalgpt-agent-skill-for-claude-code\" class=\"wp-block-heading\">\u7b2c 4 \u6b65\uff1a\u5b89\u88c5\u9002\u7528\u4e8e Claude \u4ee3\u7801\u7684 GlobalGPT \u4ee3\u7406\u6280\u80fd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5305\u542b\u4e00\u4e2a\u6346\u7ed1\u7684\u4ee3\u7406\u6280\u80fd\uff0c\u540d\u4e3a <code>globalgpt-generate<\/code>. \u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u6280\u80fd\u5b89\u88c5<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u5728\u4ee3\u7406\u6280\u80fd\u76ee\u5f55\u4e2d\u521b\u5efa\u94fe\u63a5\uff0c\u5305\u62ec <code>~\/.claude\/skills<\/code> \u548c <code>~\/.agents\/skills<\/code>. \u201c\u5173\u8054\u5b89\u88c5\u201d\u610f\u5473\u7740\u672a\u6765\u7684 CLI \u66f4\u65b0\u4e5f\u80fd\u4e00\u5e76\u66f4\u65b0\u6346\u7ed1\u7684\u6280\u80fd\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u60a8\u7684\u73af\u5883\u4e0d\u652f\u6301\u94fe\u63a5\uff0c\u6216\u8005\u60a8\u66f4\u559c\u6b22\u72ec\u7acb\u6587\u4ef6\uff0c\u8bf7\u4f7f\u7528\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt skill install --copy<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6b21\u6267\u884c\u201c\u590d\u5236\u201d\u9009\u9879\u4f1a\u8986\u76d6\u5df2\u590d\u5236\u7684\u6280\u80fd\uff0c\u56e0\u6b64\u8bf7\u52ff\u5728\u8be5\u590d\u5236\u76ee\u5f55\u5185\u8fdb\u884c\u6c38\u4e45\u6027\u81ea\u5b9a\u4e49\u4fee\u6539\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"757\" height=\"480\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-8.png\" alt=\"\u5df2\u6210\u529f\u5b89\u88c5\u9002\u7528\u4e8e Claude \u4ee3\u7801\u7684 GlobalGPT \u4ee3\u7406\u6280\u80fd\" class=\"wp-image-16812\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-8.png 757w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-8-300x190.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/image-8-18x12.png 18w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u5b8c\u6210\u540e\u91cd\u542f Claude Code\uff0c\u4ee5\u4fbf\u5176\u8bc6\u522b\u65b0\u6280\u80fd\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>cd \/\u9879\u76ee\u8def\u5f84\nclaude<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Windows PowerShell \u4e2d\uff0cdirectory \u547d\u4ee4\u53ef\u80fd\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>Set-Location \"C:\\\u9879\u76ee\u8def\u5f84\"\nclaude<\/code><\/pre>\n<\/div>\n\n\n\n<h2 id=\"step-5-verify-globalgpt-cli-inside-claude-code-without-spending-credits\" class=\"wp-block-heading\">\u7b2c 5 \u6b65\uff1a\u5728\u4e0d\u6d88\u8017\u79ef\u5206\u7684\u60c5\u51b5\u4e0b\uff0c\u5728 Claude \u4ee3\u7801\u4e2d\u9a8c\u8bc1 GlobalGPT CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u8fdb\u884c\u6210\u672c\u4f30\u7b97\u3002\u8fd9\u53ef\u9a8c\u8bc1 Claude Code \u80fd\u5426\u8bc6\u522b\u8be5\u6280\u80fd\u3001\u6267\u884c GlobalGPT CLI\u3001\u67e5\u8be2\u5f53\u524d\u6a21\u578b\u76ee\u5f55\uff0c\u5e76\u5728\u4e0d\u751f\u6210\u5a92\u4f53\u5185\u5bb9\u7684\u60c5\u51b5\u4e0b\u8fd4\u56de\u6210\u672c\u4f30\u7b97\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Claude Code \u4e2d\u4f7f\u7528\u5982\u4e0b\u63d0\u793a\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>\u4f7f\u7528 GlobalGPT \u4f30\u7b97\u4e00\u5f20\u5173\u4e8e AI \u5185\u5bb9\u81ea\u52a8\u5316\u7684 16:9 \u7f16\u8f91\u4e3b\u56fe\u7684\u6210\u672c\u3002\n\u8bf7\u52ff\u751f\u6210\u56fe\u7247\u3002\u8bf7\u5411\u6211\u5c55\u793a\u6a21\u578b\u3001\u652f\u6301\u7684\u53c2\u6570\u3001\u547d\u4ee4\u4ee5\u53ca\u9884\u4f30\u7684\u79ef\u5206\u6210\u672c\uff0c\u7136\u540e\u7b49\u5f85\u5ba1\u6279\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5173\u952e\u77ed\u8bed\u662f <strong>\u201c\u4e0d\u8981\u751f\u6210\u8be5\u56fe\u50cf\u3002\u201d<\/strong> GlobalGPT \u6280\u80fd\u65e8\u5728\u4f7f\u7528 <code>--\u4f30\u8ba1<\/code> \u867d\u7136\u8fd9\u4e2a\u9636\u6bb5\u4e0d\u9700\u8981\uff0c\u4f46\u660e\u786e\u7684\u6307\u793a\u8ba9\u4f60\u7684\u6279\u51c6\u8303\u56f4\u53d8\u5f97\u6e05\u6670\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u663e\u5f0f\u8c03\u7528\u8be5\u6280\u80fd\uff1a <code>\/globalgpt-generate<\/code> \u5982\u679c\u60a8\u7684 Claude \u4ee3\u7801\u63a5\u53e3\u5c06\u5176\u5217\u4e3a\u659c\u6760\u547d\u4ee4\u3002\u5f53\u6280\u80fd\u5df2\u5b89\u88c5\u4e14\u4efb\u52a1\u660e\u663e\u6d89\u53ca GlobalGPT \u56fe\u7247\u6216\u89c6\u9891\u751f\u6210\u65f6\uff0c\u901a\u5e38\u53ea\u9700\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u8bf7\u6c42\u5373\u53ef\u3002.<\/p>\n\n\n\n<h2 id=\"step-6-generate-an-image-from-claude-code\" class=\"wp-block-heading\">\u7b2c 6 \u6b65\uff1a\u6839\u636e Claude \u4ee3\u7801\u751f\u6210\u56fe\u50cf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65e6\u60a8\u6279\u51c6\u4e86\u62a5\u4ef7\uff0c\u8bf7\u901a\u77e5 Claude Code \u5f00\u59cb\u6267\u884c\u3002\u5177\u4f53\u8bf7\u6c42\u53ef\u4ee5\u662f\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>\u4f7f\u7528 GlobalGPT \u751f\u6210\u5df2\u83b7\u6279\u51c6\u7684 16:9 \u7f16\u8f91\u4e3b\u56fe\u3002\n\u8be5\u56fe\u7247\u5e94\u5c55\u793a\u4ee5\u7ec8\u7aef\u4e3a\u5148\u7684AI\u5185\u5bb9\u5de5\u4f5c\u6d41\uff0c\u91c7\u7528\u7b80\u6d01\u7684\u6df1\u8272UI\u548c\u84dd\u8272\u70b9\u7f00\uff0c\u4e14\u4e0d\u5f97\u5305\u542b\u4efb\u4f55\u5fbd\u6807\u6216\u53ef\u8bc6\u522b\u7684\u754c\u9762\u6587\u672c\u3002\n\u5c06\u751f\u6210\u7684\u7ed3\u679c\u4fdd\u5b58\u81f3 .\/glbgpt-output\/ \u76ee\u5f55\u3002\u82e5\u9996\u6b21\u751f\u6210\u547d\u4ee4\u88ab\u4e2d\u65ad\u6216\u8d85\u65f6\uff0c\u8bf7\u52ff\u542f\u52a8\u7b2c\u4e8c\u6b21\u751f\u6210\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u53ef\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5217\u51fa\u5b9e\u65f6\u6620\u50cf\u76ee\u5f55\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u6a21\u578b\u5217\u8868\u56fe\u7247<\/code><\/pre>\n<\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"757\" height=\"480\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/img_v3_0213r_2221a7cd-70fb-4fc1-91bc-9a667f88a17g.webp\" alt=\"\u514b\u52b3\u5fb7\u4ee3\u7801\u5217\u8868\u56fe\u50cf\u76ee\u5f55\" class=\"wp-image-16916\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/img_v3_0213r_2221a7cd-70fb-4fc1-91bc-9a667f88a17g.webp 757w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/img_v3_0213r_2221a7cd-70fb-4fc1-91bc-9a667f88a17g-300x190.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/img_v3_0213r_2221a7cd-70fb-4fc1-91bc-9a667f88a17g-18x12.webp 18w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u68c0\u67e5\u6a21\u578b\u652f\u6301\u7684\u53c2\u6570\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u6a21\u578b\u5c55\u793a<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u9664\u975e\u60a8\u7684\u5de5\u4f5c\u6d41\u6709\u6b64\u8981\u6c42\uff0c\u5426\u5219\u8bf7\u907f\u514d\u5728\u53ef\u91cd\u7528\u7684 Claude \u4ee3\u7801\u63d0\u793a\u4e2d\u786c\u7f16\u7801\u6a21\u578b\u540d\u79f0\u3002\u6a21\u578b\u76ee\u5f55\u662f\u52a8\u6001\u63d0\u4f9b\u7684\uff0c\u53ef\u80fd\u4f1a\u53d1\u751f\u53d8\u5316\u3002\u8bf7\u8ba9 Claude \u5217\u51fa\u53ef\u7528\u7684\u6a21\u578b\uff0c\u7136\u540e\u9009\u62e9\u4e00\u4e2a\u652f\u6301\u6240\u9700\u5bbd\u9ad8\u6bd4\u3001\u5206\u8fa8\u7387\u3001\u53c2\u8003\u56fe\u50cf\u6216\u5176\u4ed6\u8981\u6c42\u7684\u6a21\u578b\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f8\u5e94\u7684\u76f4\u63a5\u547d\u4ee4\u884c\u754c\u9762\uff08CLI\uff09\u547d\u4ee4\u5305\u62ec\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt image \"\u4ee5\u7ec8\u7aef\u4e3a\u5148\u7684 AI \u5185\u5bb9\u81ea\u52a8\u5316\uff0c\u7b80\u6d01\u7684\u6df1\u8272\u754c\u9762\uff0c\u84dd\u8272\u70b9\u7f00\" --ar 16:9 --estimate\nglbgpt image \"\u4ee5\u7ec8\u7aef\u4e3a\u5148\u7684 AI \u5185\u5bb9\u81ea\u52a8\u5316\uff0c\u7b80\u6d01\u7684\u6df1\u8272\u754c\u9762\uff0c\u84dd\u8272\u70b9\u7f00\" --ar 16:9<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5df2\u5b8c\u6210\u7684\u6587\u4ef6\u4fdd\u5b58\u5728 <code>.\/glbgpt-output\/<\/code> \u9664\u975e\u4f60\u901a\u8fc7 <code>--out<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5-1024x569.png\" alt=\"\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528 GlobalGPT CLI \u751f\u6210\u56fe\u50cf\" class=\"wp-image-16919\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5-1024x569.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5-300x167.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5-768x427.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5-18x10.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d4c4db26-a288-4044-a32f-d70d095c7cc5.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 id=\"step-7-generate-a-video-from-claude-code\" class=\"wp-block-heading\">\u7b2c 7 \u6b65\uff1a\u6839\u636e Claude \u4ee3\u7801\u751f\u6210\u89c6\u9891<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89c6\u9891\u8bf7\u6c42\u5e94\u660e\u786e\u6307\u5b9a\u573a\u666f\uff0c\u5e76\u4ec5\u5305\u542b\u60a8\u5b9e\u9645\u9700\u8981\u7684\u53c2\u6570\u3002\u5404\u578b\u53f7\u5bf9\u65f6\u957f\u3001\u5206\u8fa8\u7387\u3001\u5bbd\u9ad8\u6bd4\u3001\u97f3\u9891\u548c\u53c2\u8003\u5e27\u7684\u652f\u6301\u60c5\u51b5\u5404\u4e0d\u76f8\u540c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u8fdb\u884c\u4f30\u7b97\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>\u8bf7\u4f7f\u7528 GlobalGPT \u6a21\u578b\uff0c\u5bf9\u4e00\u6bb5\u65f6\u957f 6 \u79d2\u300116:9 \u6bd4\u4f8b\u7684\u89c6\u9891\u8fdb\u884c\u4f30\u7b97\uff0c\u89c6\u9891\u5185\u5bb9\u4e3a\u7ecf\u6279\u51c6\u7684\u4e3b\u89c6\u89c9\u56fe\u5728\u955c\u5934\u7f13\u6162\u63a8\u8fd1\u7684\u8fc7\u7a0b\u4e2d\u9010\u6e10\u5448\u73b0\u3002\n\u8bf7\u5148\u5217\u51fa\u517c\u5bb9\u7684\u89c6\u9891\u6a21\u578b\u3002\u5728\u83b7\u5f97\u6211\u5bf9\u6a21\u578b\u53ca\u8d39\u7528\u4f30\u7b97\u7684\u6279\u51c6\u4e4b\u524d\uff0c\u8bf7\u52ff\u8fdb\u884c\u751f\u6210\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6279\u51c6\u540e\uff0cClaude Code \u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u683c\u5f0f\u7684\u547d\u4ee4\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u89c6\u9891 \"\u6162\u901f\u955c\u5934\u63a8\u5165\uff0c\u5fae\u5999\u7684\u5c4f\u5e55\u5149\u6655\uff0c\u4e13\u4e1a\u7ea7\u8fd0\u52a8\u6548\u679c\" --ar 16:9 --duration 6 --start-image .\/glbgpt-output\/hero.png<\/code><\/pre>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578-1024x569.png\" alt=\"\u9009\u62e9\u89c6\u9891\u6a21\u578b\" class=\"wp-image-16920\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578-1024x569.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578-300x167.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578-768x427.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578-18x10.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/ccc0cdf8-2363-4fd1-8917-b0f9ce5e3578.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cCLI \u4f1a\u7b49\u5f85\u6587\u4ef6\u751f\u6210\u5b8c\u6210\u3002\u89c6\u9891\u751f\u6210\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u65f6\u95f4\u3002\u8bf7\u52ff\u6784\u5efa\u4e0d\u5fc5\u8981\u7684\u8f6e\u8be2\u5faa\u73af\uff0c\u4e14\u82e5\u547d\u4ee4\u88ab\u4e2d\u65ad\uff0c\u8bf7\u52ff\u81ea\u52a8\u91cd\u65b0\u63d0\u4ea4\uff1b\u56e0\u4e3a\u539f\u59cb\u670d\u52a1\u5668\u4efb\u52a1\u53ef\u80fd\u4ecd\u5728\u8fd0\u884c\uff0c\u7b2c\u4e8c\u6b21\u63d0\u4ea4\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4fe1\u7528\u70b9\u88ab\u91cd\u590d\u6263\u9664\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772-1024x569.png\" alt=\"\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528 GlobalGPT CLI \u751f\u6210\u89c6\u9891\" class=\"wp-image-16921\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772-1024x569.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772-300x167.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772-768x427.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772-18x10.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/18451aa8-cbe3-4301-b834-a5aaff145772.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u68c0\u67e5\u4e2d\u65ad\u6216\u8131\u79bb\u7684\u4efb\u52a1\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u4efb\u52a1\u5217\u8868\nglbgpt \u663e\u793a\u6700\u65b0\u4efb\u52a1\nglbgpt \u7b49\u5f85\u6700\u65b0\u4efb\u52a1\nglbgpt \u4e0b\u8f7d\u6700\u65b0\u4efb\u52a1<\/code><\/pre>\n<\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036-1024x606.png\" alt=\"glbgpt grok imagine \u89c6\u9891\" class=\"wp-image-16922\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036-1024x606.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036-300x177.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036-768x454.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036-18x12.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/6e333992-b952-4de2-8bc2-7eae9b071036.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 id=\"step-8-automate-bulk-text-work-with-glbgpt-exec\" class=\"wp-block-heading\">\u7b2c 8 \u6b65\uff1a\u4f7f\u7528 glbgpt exec \u5b9e\u73b0\u6587\u672c\u6279\u91cf\u5904\u7406\u81ea\u52a8\u5316<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>glbgpt \u6267\u884c<\/code> \u6267\u884c\u4e00\u4e2a\u975e\u4ea4\u4e92\u5f0f\u6a21\u578b\u8bf7\u6c42\uff0c\u5e76\u8fd4\u56de\u7eaf\u6587\u672c\u3001JSON \u6216 JSONL \u683c\u5f0f\u7684\u6570\u636e\u3002\u5f53 Claude Code \u9700\u8981\u5bf9\u591a\u4e2a\u6587\u4ef6\u5e94\u7528\u76f8\u540c\u7684\u64cd\u4f5c\uff0c\u6216\u8005\u5c06\u4e00\u4e2a\u975e\u5e38\u5927\u7684\u6e90\u6587\u4ef6\u6392\u9664\u5728 Claude Code \u7684\u4e3b\u5bf9\u8bdd\u4e4b\u5916\u65f6\uff0c\u6b64\u529f\u80fd\u975e\u5e38\u6709\u7528\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u547d\u4ee4\u793a\u4f8b\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt exec \"\u63d0\u53d6\u6700\u7ec8\u51b3\u5b9a\u3001\u8d1f\u8d23\u4eba\u548c\u622a\u6b62\u65e5\u671f\" --file meeting-notes.md --json<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u7ed3\u6784\u5316\u8f93\u51fa\uff0c\u8bf7\u5b9a\u4e49\u4e00\u4e2a JSON Schema \u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\uff0c\u65b9\u6cd5\u662f <code>--output-schema<\/code>:<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt exec \"\u6309\u6e20\u9053\u548c\u610f\u56fe\u5bf9\u6bcf\u4e2a\u5185\u5bb9\u7b80\u62a5\u8fdb\u884c\u5206\u7c7b\" \\\n  --file content-queue.json \\\n  --output-schema classification-schema.json \\\n  --json<\/code><\/pre>\n<\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2-1024x569.png\" alt=\"\u4f7f\u7528 glbgpt exec \u5b9e\u73b0\u6587\u672c\u6279\u91cf\u5904\u7406\u81ea\u52a8\u5316\" class=\"wp-image-16924\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2-1024x569.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2-300x167.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2-768x427.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2-18x10.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/d35c7e22-848c-4318-9e9c-8f1267c1fef2.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Claude \u4ee3\u7801\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8fd9\u6837\u8bf4\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>\u4f7f\u7528 GlobalGPT exec \u6839\u636e classification-schema.json \u5bf9 content-queue.json \u4e2d\u7684\u6761\u76ee\u8fdb\u884c\u5206\u7c7b\u3002\n\u8bf7\u5148\u5411\u6211\u5c55\u793a\u786e\u5207\u7684\u547d\u4ee4\u3002\u5c06\u6700\u7ec8\u7684 JSON \u7ed3\u679c\u4fdd\u5b58\u5230 .\/results\/classified-content.json \u4e2d\u3002\n\u8bf7\u52ff\u4fee\u6539\u6e90\u6587\u4ef6\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u5c06\u6b64\u6a21\u5f0f\u7528\u4e8e\u91cd\u590d\u6027\u6216\u5927\u91cf\u7684\u5de5\u4f5c\uff0c\u800c\u975e\u4ec5\u9700\u4e00\u884c\u4ee3\u7801\u5373\u53ef\u76f4\u63a5\u89e3\u7b54\u7684\u95ee\u9898\uff08\u4f8b\u5982 Claude \u4ee3\u7801\uff09\u3002.<\/p>\n\n\n\n<h2 id=\"optional-connect-globalgpt-as-an-mcp-server\" class=\"wp-block-heading\">\u53ef\u9009\uff1a\u5c06 GlobalGPT \u4f5c\u4e3a MCP \u670d\u52a1\u5668\u8fde\u63a5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53 Claude Code \u80fd\u591f\u6267\u884c shell \u547d\u4ee4\u65f6\uff0c\u5efa\u8bae\u91c7\u7528\u201c\u4ee3\u7406\u6280\u80fd\u201d\u8def\u5f84\u3002GlobalGPT CLI \u4e5f\u53ef\u4ee5\u901a\u8fc7\u6807\u51c6\u8f93\u5165\/\u8f93\u51fa\u8fd0\u884c MCP \u670d\u52a1\u5668\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>claude mcp add glbgpt -- glbgpt mcp\nclaude mcp list<\/code><\/pre>\n<\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030-1024x569.png\" alt=\"\u5c06 GlobalGPT \u914d\u7f6e\u4e3a MCP \u670d\u52a1\u5668\" class=\"wp-image-16925\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030-1024x569.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030-300x167.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030-768x427.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030-18x10.png 18w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/229c618b-949c-4237-8e81-85056d224030.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5c06GlobalGPT\u7684\u804a\u5929\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u4efb\u52a1\u68c0\u67e5\u548c\u6a21\u578b\u5217\u8868\u529f\u80fd\u4f5c\u4e3aMCP\u5de5\u5177\u5bf9\u5916\u5f00\u653e\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5a92\u4f53\u751f\u6210\u7684\u4e0a\u9650\u4e3a <strong>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a MCP \u670d\u52a1\u5668\u4f1a\u8bdd\u4e3a 4,000 \u4e2a\u79ef\u5206<\/strong>. \u60a8\u53ef\u4ee5\u8bbe\u7f6e\u4e0d\u540c\u7684\u4f1a\u8bdd\u4e0a\u9650\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>claude mcp add glbgpt -- glbgpt mcp --max-credits 8000<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u8981\u505c\u7528 MCP \u7684\u5a92\u4f53\u6295\u653e\u529f\u80fd\uff0c\u540c\u65f6\u4fdd\u7559\u975e\u5a92\u4f53\u529f\u80fd\uff0c\u8bf7\u4f7f\u7528 <code>--max-credits 0<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u9700\u4f7f\u7528\u660e\u786e\u7684 MCP \u5de5\u5177\u6216\u4f1a\u8bdd\u7ea7\u522b\u7684\u4fe1\u7528\u6267\u884c\uff0c\u8bf7\u9009\u62e9 MCP\uff1b\u82e5\u5e0c\u671b\u901a\u8fc7 Claude \u4ee3\u7801\u4ee5\u6700\u5c11\u7684\u914d\u7f6e\u9a71\u52a8\u6807\u51c6 CLI\uff0c\u8bf7\u9009\u62e9\u4ee3\u7406\u6280\u80fd\u3002.<\/p>\n\n\n\n<h2 id=\"troubleshooting-globalgpt-cli-on-windows\" class=\"wp-block-heading\">\u5728 Windows \u4e0a\u6392\u67e5 GlobalGPT CLI \u6545\u969c<\/h2>\n\n\n\n<h3 id=\"npm-returns-enotfound-or-getaddrinfo\" class=\"wp-block-heading\">npm \u8fd4\u56de\u503c <code>ENOTFOUND<\/code> \u6216 <code>getaddrinfo<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u4e2a <code>ENOTFOUND<\/code> \u8be5\u9519\u8bef\u610f\u5473\u7740 npm \u65e0\u6cd5\u89e3\u6790\u6ce8\u518c\u8868\u7684\u4e3b\u673a\u540d\u3002\u8fd9\u5e76\u4e0d\u8bf4\u660e GlobalGPT \u5305\u7f3a\u5931\u6216\u635f\u574f\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u68c0\u67e5\u5f53\u524d\u6ce8\u518c\u8868\u548c DNS \u89e3\u6790\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>npm config get registry\nResolve-DnsName registry.npmjs.org\nnpm ping<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c npm \u5df2\u914d\u7f6e\u4e3a\u4f7f\u7528\u955c\u50cf\u670d\u52a1\u5668\uff0c\u8bf7\u540c\u65f6\u6d4b\u8bd5\u8be5\u4e3b\u673a\u540d\u3002\u5f53\u4e24\u4e2a\u4e3b\u673a\u540d\u5747\u65e0\u6cd5\u89e3\u6790\u65f6\uff0c\u66f4\u6362\u6ce8\u518c\u8868\u5e76\u4e0d\u80fd\u89e3\u51b3 DNS \u6545\u969c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u7ecf\u8fc7\u9a8c\u8bc1\u7684 Windows \u6848\u4f8b\u4e2d\uff0c\u6d3b\u52a8\u7684 WLAN DNS \u670d\u52a1\u5668\u65e0\u6cd5\u89e3\u6790 npm \u57df\u540d\u3002\u9996\u6b21\u91cd\u7f6e\u5931\u8d25\uff0c\u539f\u56e0\u662f PowerShell \u6ca1\u6709\u7ba1\u7406\u5458\u6743\u9650\u3002\u5728\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00 PowerShell \u7a97\u53e3\u3001\u5c06 DNS \u8bbe\u7f6e\u4e3a\u201c\u81ea\u52a8\u201d\u5e76\u6e05\u9664\u7f13\u5b58\u540e\uff0c\u4e24\u8005 <code>\u89e3\u6790-DNS\u540d\u79f0<\/code> \u548c <code>npm ping<\/code> \u6210\u529f\u4e86\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u786e\u5b9a\u6b63\u5728\u4f7f\u7528\u7684\u9002\u914d\u5668\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>Get-NetAdapter | Where-Object Status -eq \"Up\"<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u4ece\u4ee5\u4e0b\u4f4d\u7f6e\u6267\u884c\u91cd\u7f6e\uff1a <strong>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c PowerShell<\/strong>, \uff0c\u66ff\u6362 <code>WLAN<\/code> \u5982\u679c\u60a8\u7684\u6d3b\u52a8\u63a5\u53e3\u4f7f\u7528\u7684\u662f\u53e6\u4e00\u4e2a\u540d\u79f0\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>Set-DnsClientServerAddress -InterfaceAlias \"WLAN\" -ResetServerAddresses\nClear-DnsClientCache\nResolve-DnsName registry.npmjs.org\nnpm ping<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u60a8\u7684\u7ec4\u7ec7\u8d1f\u8d23\u7ba1\u7406 DNS \u6216\u7f51\u7edc\u7b56\u7565\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u8986\u76d6\u76f8\u5173\u8bbe\u7f6e\u3002.<\/p>\n\n\n\n<h3 id=\"browser-authorization-times-out\" class=\"wp-block-heading\">\u6d4f\u89c8\u5668\u6388\u6743\u8d85\u65f6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u7b49\u5f85\u6d4f\u89c8\u5668\u6388\u6743\u65f6\u8d85\u65f6<\/code> \u8868\u793a\u672c\u5730\u7b49\u5f85\u7a97\u53e3\u5df2\u7ed3\u675f\u3002\u8fd9\u5e76\u4e0d\u610f\u5473\u7740 npm \u5b89\u88c5\u5931\u8d25\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c <code>glbgpt \u767b\u5f55<\/code> \u518d\u6b21\u6267\u884c\u8be5\u64cd\u4f5c\uff0c\u5e76\u5728\u7ec8\u7aef\u4fdd\u6301\u6253\u5f00\u72b6\u6001\u7684\u540c\u65f6\u5b8c\u6210\u6d4f\u89c8\u5668\u6d41\u7a0b\u3002\u5982\u679c\u6d4f\u89c8\u5668\u5728\u53e6\u4e00\u53f0\u673a\u5668\u4e0a\u6253\u5f00\uff0c\u6216\u8005\u56de\u8c03\u65e0\u6cd5\u8054\u7cfb\u5230\u7ec8\u7aef\uff0c\u8bf7\u4f7f\u7528 <code>glbgpt \u767b\u5f55 --code<\/code>.<\/p>\n\n\n\n<h3 id=\"glbgpt-is-not-recognized-after-installation\" class=\"wp-block-heading\"><code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code> \u5b89\u88c5\u540e\u65e0\u6cd5\u88ab\u8bc6\u522b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef\u5e76\u91cd\u8bd5\u3002\u5982\u679c\u8be5\u547d\u4ee4\u4ecd\u7136\u4e0d\u53ef\u7528\uff0c\u8bf7\u68c0\u67e5\u5168\u5c40 npm \u524d\u7f00\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>npm prefix -g<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u786e\u8ba4 npm \u7684\u5168\u5c40\u53ef\u6267\u884c\u76ee\u5f55\u4f4d\u4e8e\u60a8\u7684 <code>PATH<\/code>, \u7136\u540e\u91cd\u65b0\u8fd0\u884c <code>glbgpt --version<\/code>.<\/p>\n\n\n\n<h3 id=\"claude-code-does-not-detect-the-skill\" class=\"wp-block-heading\">Claude \u4ee3\u7801\u65e0\u6cd5\u68c0\u6d4b\u5230\u8be5\u6280\u80fd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c <code>glbgpt \u6280\u80fd\u5b89\u88c5<\/code> \u518d\u6b21\u786e\u8ba4\u5176\u62a5\u544a\u7684\u6280\u80fd\u76ee\u5f55\u4e3a Claude\uff0c\u5b8c\u5168\u9000\u51fa Claude \u4ee3\u7801\uff0c\u7136\u540e\u5f00\u59cb\u4e00\u4e2a\u65b0\u7684\u4f1a\u8bdd\u3002\u60a8\u4e5f\u53ef\u4ee5\u5c1d\u8bd5 <code>\/globalgpt-generate<\/code> \u4ee5\u663e\u5f0f\u65b9\u5f0f\u8c03\u7528\u8be5\u6280\u80fd\u3002.<\/p>\n\n\n\n<h3 id=\"a-model-or-parameter-is-rejected\" class=\"wp-block-heading\">\u6a21\u578b\u6216\u53c2\u6570\u88ab\u62d2\u7edd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a21\u578b\u76ee\u5f55\u662f\u52a8\u6001\u66f4\u65b0\u7684\uff0c\u4e14\u4e0d\u540c\u6a21\u578b\u652f\u6301\u7684\u53c2\u6570\u5404\u4e0d\u76f8\u540c\u3002\u8bf7\u5237\u65b0\u76ee\u5f55\u5e76\u68c0\u67e5\u6240\u9009\u6a21\u578b\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u6a21\u578b\u5217\u8868\u56fe\u7247\nglbgpt \u6a21\u578b\u5217\u8868\u89c6\u9891\nglbgpt \u663e\u793a<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u4f7f\u7528\u5217\u51fa\u7684\u503c\uff0c\u6216\u7701\u7565\u8be5\u53ef\u9009\u6807\u5fd7\uff0c\u4ee5\u4fbf\u5e94\u7528\u6a21\u578b\u9ed8\u8ba4\u503c\u3002.<\/p>\n\n\n\n<h3 id=\"a-generation-command-appears-to-hang\" class=\"wp-block-heading\">\u4e00\u4e2a\u201c\u751f\u6210\u201d\u547d\u4ee4\u4f3c\u4e4e\u5361\u4f4f\u4e86<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u56fe\u50cf\u548c\u89c6\u9891\u547d\u4ee4\u4f1a\u7b49\u5f85\u6700\u7ec8\u6587\u4ef6\u7684\u751f\u6210\u3002\u89c6\u9891\u751f\u6210\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u3002\u5982\u679c\u7ec8\u7aef\u64cd\u4f5c\u88ab\u4e2d\u65ad\uff0c\u8bf7\u5148\u68c0\u67e5\u73b0\u6709\u4efb\u52a1\uff0c\u518d\u8003\u8651\u518d\u6b21\u63d0\u4ea4\uff1a<\/p>\n\n\n\n<div style=\"margin:24px 0;border:1px solid #26384f;border-radius:14px;background:#07111f;box-shadow:0 14px 34px rgba(7,17,31,.22);overflow:hidden;box-sizing:border-box;\">\n  <div style=\"display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #26384f;background:#0c1b2d;color:#c8d7e6;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.4;\">\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ff6b6b;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#ffd166;display:inline-block;\"><\/span>\n    <span style=\"width:10px;height:10px;border-radius:50%;background:#43d9ad;display:inline-block;\"><\/span>\n    <span style=\"margin-left:8px;color:#9fb3c8;font-weight:600;\">CLI \u547d\u4ee4<\/span>\n  <\/div>\n  <pre style=\"margin:0;padding:18px 20px;overflow-x:auto;background:#07111f;color:#eaf7ff;font-family:'JetBrains Mono','SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:15px;line-height:1.7;white-space:pre;tab-size:2;\"><code>glbgpt \u4efb\u52a1\u5217\u8868\nglbgpt task show<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5207\u52ff\u76f2\u76ee\u5730\u91cd\u590d\u5c1d\u8bd5\u4ed8\u8d39\u751f\u6210\u3002.<\/p>\n\n\n\n<h2 id=\"how-to-measure-time-and-token-use-for-each-claude-code-task\" class=\"wp-block-heading\">\u5982\u4f55\u7edf\u8ba1\u6bcf\u4e2a Claude \u4ee3\u7801\u4efb\u52a1\u6240\u8017\u8d39\u7684\u65f6\u95f4\u548c\u4ee3\u5e01\u4f7f\u7528\u91cf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6bcf\u6b21\u8fdb\u884cClaude\u4ee3\u7801\u4efb\u52a1\u6d4b\u91cf\u4e4b\u524d\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u8fd0\u884c <code>\/\u4f7f\u7528<\/code> \u5e76\u8bb0\u5f55\u663e\u793a\u7684\u4f1a\u8bdd\u503c\u3002.<\/li>\n\n\n\n<li>\u8bb0\u5f55\u5b9e\u9645\u5f00\u59cb\u65f6\u95f4\u3002.<\/li>\n\n\n\n<li>\u4ec5\u8fd0\u884c\u6b63\u5728\u88ab\u6d4b\u91cf\u7684\u4efb\u52a1\u3002.<\/li>\n\n\n\n<li>\u8bb0\u5f55\u5b8c\u8d5b\u65f6\u95f4\u5e76\u5f00\u59cb\u8dd1\u6b65 <code>\/\u4f7f\u7528<\/code> \u518d\u6b21\u3002.<\/li>\n\n\n\n<li>\u8ba1\u7b97\u5df2\u7528\u65f6\u95f4\uff0c\u5e76\u5728\u83b7\u5f97\u786e\u5207\u7684\u4ee4\u724c\u8ba1\u6570\u540e\uff0c\u8ba1\u7b97\u524d\u540e\u4ee4\u724c\u6570\u91cf\u7684\u5dee\u503c\u3002.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code \u7684\u5f53\u524d\u6587\u6863\u6307\u51fa\uff0c\u8be5 <code>\/\u4f7f\u7528<\/code> \u8be5\u547d\u4ee4\u4e3a API \u7528\u6237\u63d0\u4f9b\u4ee4\u724c\u4f7f\u7528\u60c5\u51b5\u3002\u8ba2\u9605\u63a5\u53e3\u53ef\u80fd\u663e\u793a\u7684\u662f\u5957\u9910\u4f7f\u7528\u60c5\u51b5\uff0c\u800c\u975e\u7cbe\u786e\u7684\u4ee4\u724c\u6570\u91cf\uff0c\u56e0\u6b64\u8bf7\u51c6\u786e\u8bb0\u5f55\u5f53\u524d\u63a5\u53e3\u6240\u5c55\u793a\u7684\u5185\u5bb9\uff0c\u5e76\u5c06\u4e0d\u53ef\u7528\u7684\u503c\u6807\u8bb0\u4e3a <code>\u4e0d\u9002\u7528<\/code>; \u8bf7\u52ff\u4f30\u7b97\u6216\u865a\u6784\u4ee3\u5e01\u6570\u91cf\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e GlobalGPT \u5a92\u4f53\u4efb\u52a1\uff0c\u8fd8\u5e94\u8bb0\u5f55\u751f\u6210\u524d\u540e\u7684\u8d26\u6237\u6216\u4ea4\u6613\u4f59\u989d\u3002Claude \u4ee3\u7801\u4ee3\u5e01\u548c GlobalGPT \u5a92\u4f53\u79ef\u5206\u5c5e\u4e8e\u4e0d\u540c\u7684\u8ba1\u91cf\u5355\u4f4d\uff0c\u5e94\u5206\u522b\u8fdb\u884c\u62a5\u544a\u3002.<\/p>\n\n\n\n<h2 id=\"frequently-asked-questions\" class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898<\/h2>\n\n\n\n<h3 id=\"do-i-need-a-globalgpt-api-key\" class=\"wp-block-heading\">\u6211\u9700\u8981\u4e00\u4e2a GlobalGPT API \u5bc6\u94a5\u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. GlobalGPT CLI \u4f7f\u7528\u60a8\u7684 GlobalGPT \u8d26\u6237\u8fdb\u884c\u6d4f\u89c8\u5668\u6388\u6743\u3002\u8fd0\u884c <code>glbgpt \u767b\u5f55<\/code>, \uff0c\u5b8c\u6210\u5ba1\u6279\u6d41\u7a0b\uff0c\u5e76\u8ba9 CLI \u5c06\u5176\u672c\u5730\u4f1a\u8bdd\u51ed\u636e\u5b58\u50a8\u8d77\u6765\u3002\u8bf7\u52ff\u5c06\u4e00\u6b21\u6027\u767b\u5f55\u7801\u6216\u6388\u6743 URL \u7c98\u8d34\u5230\u9879\u76ee\u6587\u4ef6\u3001\u5c4f\u5e55\u622a\u56fe\u6216\u5171\u4eab\u7684\u804a\u5929\u8bb0\u5f55\u4e2d\u3002.<\/p>\n\n\n\n<h3 id=\"can-i-use-globalgpt-cli-without-claude-code\" class=\"wp-block-heading\">\u5982\u679c\u6ca1\u6709 Claude \u4ee3\u7801\uff0c\u6211\u53ef\u4ee5\u4f7f\u7528 GlobalGPT CLI \u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u3002\u8fd0\u884c <code>\u5168\u7403\u751f\u7269\u6280\u672f<\/code> \u5982\u9700\u8fdb\u884c\u4e92\u52a8\u804a\u5929\uff0c, <code>glbgpt \u56fe\u7247<\/code> \u6216 <code>glbgpt \u89c6\u9891<\/code> \u9762\u5411\u5a92\u4f53\uff0c\u4ee5\u53ca <code>glbgpt \u6267\u884c<\/code> \u9002\u7528\u4e8e\u975e\u4ea4\u4e92\u5f0f\u811a\u672c\u3002Claude Code \u63d0\u4f9b\u4e86\u9879\u76ee\u4e0a\u4e0b\u6587\u3001\u63a8\u7406\u3001\u6587\u4ef6\u534f\u8c03\u548c\u81ea\u7136\u8bed\u8a00\u63a7\u5236\u529f\u80fd\uff0c\u4f46 CLI \u53ef\u72ec\u7acb\u8fd0\u884c\u3002.<\/p>\n\n\n\n<h3 id=\"should-i-use-the-agent-skill-or-mcp\" class=\"wp-block-heading\">\u6211\u5e94\u8be5\u4f7f\u7528\u201c\u4ee3\u7406\u6280\u80fd\u201d\u8fd8\u662f\u201cMCP\u201d\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53 Claude Code \u80fd\u591f\u6267\u884c shell \u547d\u4ee4\uff0c\u4e14\u60a8\u5e0c\u671b\u91c7\u7528\u6700\u7b80\u5355\u7684\u81ea\u7136\u8bed\u8a00\u5de5\u4f5c\u6d41\u65f6\uff0c\u8bf7\u4f7f\u7528 Agent Skill\u3002\u5982\u679c\u60a8\u66f4\u503e\u5411\u4e8e\u4f7f\u7528\u663e\u5f0f\u7684 MCP \u5de5\u5177\uff0c\u6216\u8005\u9700\u8981 MCP \u670d\u52a1\u5668\u63d0\u4f9b\u7684\u4f1a\u8bdd\u7ea7\u5a92\u4f53\u4fe1\u7528\u989d\u5ea6\u9650\u5236\uff0c\u8bf7\u4f7f\u7528 MCP\u3002\u8fd9\u4e24\u79cd\u754c\u9762\u5747\u4f7f\u7528\u540c\u4e00\u4e2a GlobalGPT \u8d26\u6237\u3002.<\/p>\n\n\n\n<h3 id=\"where-does-globalgpt-save-generated-files\" class=\"wp-block-heading\">GlobalGPT \u5c06\u751f\u6210\u7684\u6587\u4ef6\u4fdd\u5b58\u5230\u54ea\u91cc\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u751f\u6210\u7684\u56fe\u7247\u548c\u89c6\u9891\u4f1a\u4fdd\u5b58\u5728 <code>glbgpt-output\/<\/code> \u76f8\u5bf9\u4e8e\u547d\u4ee4\u6216\u670d\u52a1\u5668\u542f\u52a8\u6240\u5728\u7684\u76ee\u5f55\u3002\u4f20\u9012 <code>--out<\/code> \u5f53\u60a8\u9700\u8981\u66f4\u6539\u4f4d\u7f6e\u65f6\u3002\u8be5\u547d\u4ee4\u5728\u6267\u884c\u5b8c\u6210\u540e\u4f1a\u663e\u793a\u5df2\u4fdd\u5b58\u7684\u8def\u5f84\u3002.<\/p>\n\n\n\n<h3 id=\"how-can-i-avoid-accidental-media-spending\" class=\"wp-block-heading\">\u5982\u4f55\u907f\u514d\u610f\u5916\u7684\u5a92\u4f53\u652f\u51fa\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 <code>--\u4f30\u8ba1<\/code> \u5728\u6bcf\u6b21\u8fdb\u884c\u65b0\u7684\u5a92\u4f53\u914d\u7f6e\u4e4b\u524d\uff0c\u8bf7\u8981\u6c42 Claude Code \u7b49\u5f85\u660e\u786e\u6279\u51c6\uff0c\u5e76\u907f\u514d\u65e0\u4eba\u503c\u5b88\u7684\u6279\u5904\u7406\u3002\u5bf9\u4e8e MCP\uff0c\u8bf7\u8bbe\u7f6e <code>--max-credits 0<\/code> \u4ee5\u7981\u7528\u5a92\u4f53\u6216\u8bbe\u7f6e\u4e00\u4e2a\u9884\u5b9a\u7684\u4f1a\u8bdd\u4e0a\u9650\u3002\u5207\u52ff\u81ea\u52a8\u91cd\u8bd5\u4e2d\u65ad\u7684\u751f\u6210\u64cd\u4f5c\u3002.<\/p>\n\n\n\n<h3 id=\"is-globalgpt-cli-stable\" class=\"wp-block-heading\">GlobalGPT CLI \u662f\u5426\u7a33\u5b9a\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u622a\u81f3 2026 \u5e74 7 \u6708 21 \u65e5\uff0cGlobalGPT CLI \u5df2\u4f5c\u4e3a npm \u7684\u7a33\u5b9a\u7248\u672c\u53d1\u5e03\uff0c\u7248\u672c\u53f7\u4e3a <code>0.1.0<\/code>. \u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a <code>npm i -g @glbgpt\/cli<\/code>, \u7136\u540e\u8fd0\u884c <code>glbgpt --version<\/code> \u4ee5\u786e\u8ba4\u5df2\u5b89\u88c5\u7684\u7248\u672c\u3002.<\/p>\n\n\n\n<h2 id=\"key-takeaways\" class=\"wp-block-heading\">\u4e3b\u8981\u6536\u83b7<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u7a33\u5b9a\u7248 CLI\uff1a <code>npm i -g @glbgpt\/cli<\/code> \u5e76\u5728\u5f15\u5165 Claude \u4ee3\u7801\u4e4b\u524d\u5bf9\u5176\u8fdb\u884c\u9a8c\u8bc1\u3002.<\/li>\n\n\n\n<li>\u4f7f\u7528\u6d4f\u89c8\u5668\u6388\u6743\uff1b\u6587\u6863\u4e2d\u6240\u8ff0\u7684\u767b\u5f55\u6d41\u7a0b\u65e0\u9700 API \u5bc6\u94a5\u3002.<\/li>\n\n\n\n<li>\u8fd0\u884c <code>glbgpt \u6280\u80fd\u5b89\u88c5<\/code>, \u7136\u540e\u91cd\u542f Claude Code\uff0c\u4ee5\u4fbf\u5176\u80fd\u591f\u8fdb\u884c\u53d1\u73b0 <code>globalgpt-generate<\/code>.<\/li>\n\n\n\n<li>\u6bcf\u4e2a\u5a92\u4f53\u5de5\u4f5c\u6d41\u90fd\u5e94\u4ece\u4ee5\u4e0b\u6b65\u9aa4\u5f00\u59cb\uff1a <code>--\u4f30\u8ba1<\/code> \u4ee5\u53ca\u660e\u786e\u7684\u4eba\u4e3a\u6279\u51c6\u3002.<\/li>\n\n\n\n<li>\u8bf7\u5206\u522b\u8bb0\u5f55 Claude \u4ee3\u7801\u7684\u4f7f\u7528\u60c5\u51b5\u548c GlobalGPT \u5a92\u4f53\u4fe1\u7528\u989d\u5ea6\u3002.<\/li>\n\n\n\n<li>\u5728 Windows \u4e0a\uff0c\u5c06 npm \u89c6\u4e3a <code>ENOTFOUND<\/code> \u9996\u5148\u5c06\u5176\u89c6\u4e3a\u4e00\u4e2a DNS \u95ee\u9898\uff0c\u800c\u975e CLI \u8f6f\u4ef6\u5305\u51fa\u73b0\u6545\u969c\u7684\u8bc1\u636e\u3002.<\/li>\n\n\n\n<li>\u5982\u679c\u67d0\u4e00\u4ee3\u7684\u751f\u6210\u88ab\u4e2d\u65ad\uff0c\u8bf7\u5728\u91cd\u8bd5\u4e4b\u524d\u68c0\u67e5\u73b0\u6709\u4efb\u52a1\u3002.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u7136\u4f60\u5df2\u7ecf\u77e5\u9053\u4e86 <strong>\u5982\u4f55\u5728 Claude \u4ee3\u7801\u4e2d\u4f7f\u7528 GlobalGPT CLI<\/strong>, \uff0c\u60a8\u53ef\u4ee5\u5c06 Claude Code \u8f6c\u5316\u4e3a\u4e00\u4e2a\u5b9e\u7528\u7684\u63a7\u5236\u5c42\uff0c\u7528\u4e8e\u7ba1\u7406\u804a\u5929\u3001\u56fe\u7247\u3001\u89c6\u9891\u548c\u7ed3\u6784\u5316\u5185\u5bb9\u7684\u5de5\u4f5c\u6d41\u3002\u9996\u5148\u8fdb\u884c\u4e00\u9879\u65e0\u9700\u82b1\u8d39\u7684\u8bc4\u4f30\uff0c\u5bf9\u4e00\u4e2a\u5c0f\u578b\u4efb\u52a1\u8fdb\u884c\u7aef\u5230\u7aef\u7684\u9a8c\u8bc1\uff0c\u4e4b\u540e\u518d\u5c06\u5de5\u4f5c\u6d41\u6269\u5c55\u4e3a\u6279\u91cf\u5904\u7406\u6216\u5b9a\u65f6\u81ea\u52a8\u5316\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Quick answer: Install Node.js 18 or later, run npm i -g @glbgpt\/cli, authorize with glbgpt login, then run glbgpt skill install. Restart Claude Code in your project directory and ask it to use GlobalGPT for an image, video, or bulk text task. Use &#8211;estimate before media generation so you can review the credit cost first. [&hellip;]<\/p>","protected":false},"author":16,"featured_media":16895,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"How to Use GlobalGPT CLI in Claude Code","_seopress_titles_desc":"Learn how to install GlobalGPT CLI, connect it to Claude Code, and automate chat, image, and video workflows with Agent Skills and practical fixes.","_seopress_robots_index":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-16645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-chat"],"_links":{"self":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/16645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/comments?post=16645"}],"version-history":[{"count":24,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/16645\/revisions"}],"predecessor-version":[{"id":16984,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/16645\/revisions\/16984"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/media\/16895"}],"wp:attachment":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/media?parent=16645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/categories?post=16645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/tags?post=16645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}