{"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":"how-to-use-globalgpt-cli-in-claude-code","status":"publish","type":"post","link":"https:\/\/wp.glbgpt.com\/zh-hk\/hub\/how-to-use-globalgpt-cli-in-claude-code","title":{"rendered":"\u5982\u4f55\u5728 Claude \u7a0b\u5f0f\u78bc\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\u88dd Node.js 18 \u6216\u66f4\u65b0\u7248\u672c\uff0c\u57f7\u884c <code>npm i -g @glbgpt\/cli<\/code>, \u6388\u6b0a\u65b9\u5f0f\u70ba <code>glbgpt \u767b\u5165<\/code>, \u7136\u5f8c\u57f7\u884c <code>glbgpt \u6280\u80fd\u5b89\u88dd<\/code>. \u5728\u60a8\u7684\u5c08\u6848\u76ee\u9304\u4e2d\u91cd\u65b0\u555f\u52d5 Claude Code\uff0c\u4e26\u6307\u793a\u5176\u4f7f\u7528 GlobalGPT \u4f86\u8655\u7406\u5716\u7247\u3001\u5f71\u7247\u6216\u5927\u91cf\u6587\u5b57\u4efb\u52d9\u3002\u8acb\u4f7f\u7528 <code>--\u4f30\u8a08<\/code> \u5728\u751f\u6210\u5a92\u9ad4\u4e4b\u524d\uff0c\u4ee5\u4fbf\u60a8\u80fd\u5148\u5be9\u95b1\u4fe1\u8cb8\u6210\u672c\u3002.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5c07\u804a\u5929\u3001\u5716\u7247\u751f\u6210\u3001\u5f71\u7247\u751f\u6210\u4ee5\u53ca\u975e\u4e92\u52d5\u5f0f AI \u4efb\u52d9\u5e36\u5165\u7d42\u7aef\u6a5f\u3002 \u7576\u60a8\u5c07\u5176\u8207 Claude Code \u6574\u5408\u6642\uff0cClaude \u4fbf\u80fd\u81ea\u52d5\u9078\u64c7\u5408\u9069\u7684 GlobalGPT \u6307\u4ee4\u3001\u8655\u7406\u5c08\u6848\u4e2d\u7684\u6a94\u6848\u3001\u5728\u751f\u6210\u524d\u9810\u4f30\u5a92\u9ad4\u6210\u672c\uff0c\u4e26\u57f7\u884c\u53ef\u91cd\u8907\u7684\u5167\u5bb9\u5de5\u4f5c\u6d41\u7a0b\uff0c\u800c\u7121\u9700\u60a8\u81ea\u884c\u5efa\u7f6e\u81ea\u8a02 API \u6574\u5408\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6307\u5357\u8aaa\u660e <strong>\u5982\u4f55\u5728 Claude \u7a0b\u5f0f\u78bc\u4e2d\u4f7f\u7528 GlobalGPT CLI<\/strong> \u5f9e\u982d\u5230\u5c3e\uff1a\u6aa2\u67e5\u5148\u6c7a\u689d\u4ef6\u3001\u5b89\u88dd GlobalGPT CLI\u3001\u4f7f\u7528\u60a8\u7684 GlobalGPT \u5e33\u6236\u767b\u5165\u3001\u5b89\u88dd\u96a8\u9644\u7684 Agent Skill\u3001\u9a57\u8b49\u9023\u7dda\u3001\u5b89\u5168\u5730\u7522\u751f\u5a92\u9ad4\u3001\u81ea\u52d5\u5316\u7d50\u69cb\u5316\u4efb\u52d9\uff0c\u4e26\u89e3\u6c7a\u53ef\u80fd\u4e2d\u65b7 Windows \u8a2d\u5b9a\u6d41\u7a0b\u7684 DNS \u53ca\u700f\u89bd\u5668\u6388\u6b0a\u554f\u984c\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\">\u8a66\u8a66 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\u9304<\/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\u9ebc\u662f GlobalGPT CLI\uff0c\u70ba\u4f55\u8981\u8207 Claude \u4ee3\u78bc\u642d\u914d\u4f7f\u7528\uff1f<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#prerequisites-before-you-start\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u958b\u59cb\u4e4b\u524d\u9808\u77e5<\/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\u9a5f 1\uff1a\u5b89\u88dd 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;\">\u6b65\u9a5f 2\uff1a\u4f7f\u7528\u60a8\u7684 GlobalGPT \u5e33\u865f\u767b\u5165<\/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\u9a5f 3\uff1a\u5728\u9023\u63a5 Claude \u7a0b\u5f0f\u78bc\u4e4b\u524d\uff0c\u5148\u6e2c\u8a66 GlobalGPT \u547d\u4ee4\u5217\u4ecb\u9762<\/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;\">\u6b65\u9a5f 4\uff1a\u5b89\u88dd\u9069\u7528\u65bc Claude \u7a0b\u5f0f\u78bc \u7684 GlobalGPT \u4ee3\u7406\u7a0b\u5f0f\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;\">\u6b65\u9a5f 5\uff1a\u5728\u4e0d\u6d88\u8017\u9ede\u6578\u7684\u60c5\u6cc1\u4e0b\uff0c\u65bc Claude \u7a0b\u5f0f\u78bc\u4e2d\u9a57\u8b49 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;\">\u6b65\u9a5f 6\uff1a\u6839\u64da Claude \u7a0b\u5f0f\u78bc\u751f\u6210\u5f71\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;\">\u6b65\u9a5f 7\uff1a\u6839\u64da Claude \u7a0b\u5f0f\u78bc\u751f\u6210\u5f71\u7247<\/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 \u4f86\u81ea\u52d5\u5316\u8655\u7406\u5927\u91cf\u6587\u5b57\u5de5\u4f5c <code>glbgpt \u57f7\u884c\u6a94<\/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\u9078\uff1a\u5c07 GlobalGPT \u8a2d\u5b9a\u70ba MCP \u4f3a\u670d\u5668<\/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\u9664 GlobalGPT CLI \u7684\u554f\u984c<\/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\u6e2c\u91cf\u6bcf\u500b Claude \u7a0b\u5f0f\u78bc\u4efb\u52d9\u6240\u9700\u7684\u6642\u9593\u8207\u4ee3\u5e63\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\u898b\u554f\u984c<\/a><\/li><li style=\"margin:7px 0;\"><a href=\"#key-takeaways\" style=\"color:#0e5a98;text-decoration:underline;text-underline-offset:3px;\">\u91cd\u9ede\u6458\u8981<\/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\u9ebc\u662f GlobalGPT CLI\uff0c\u70ba\u4f55\u8981\u8207 Claude \u4ee3\u78bc\u642d\u914d\u4f7f\u7528\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u662f\u7528\u65bc\u5b58\u53d6 GlobalGPT \u804a\u5929\u6a21\u578b\u3001\u5716\u7247\u751f\u6210\u5668\u3001\u5f71\u7247\u751f\u6210\u5668\u3001\u5e33\u6236\u8cc7\u8a0a\u53ca\u4efb\u52d9\u6b77\u53f2\u7d00\u9304\u7684\u5b98\u65b9\u547d\u4ee4\u5217\u5ba2\u6236\u7aef\u3002\u5176\u7a69\u5b9a\u7684 npm \u5957\u4ef6\u540c\u6642\u63d0\u4f9b\u4e86 <code>glbgpt<\/code> \u548c <code>globalgpt<\/code> \u6307\u4ee4\uff0c\u4e26\u5305\u542b\u4e00\u500b <code>\u57f7\u884c<\/code> \u7528\u65bc\u8173\u672c\u548c\u5916\u90e8\u4ee3\u7406\u7a0b\u5f0f\u7684\u4ecb\u9762\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code \u63d0\u4f9b\u63a8\u7406\u8207\u5c08\u6848\u80cc\u666f\u3002GlobalGPT CLI \u63d0\u4f9b\u6a21\u578b\u8207\u5a92\u9ad4\u64cd\u4f5c\u3002\u6346\u7d81\u7684 <code>globalgpt-generate<\/code> \u300c\u4ee3\u7406\u6280\u80fd\u300d\u8ab2\u7a0b\u5c07\u6559\u6388 Claude \u4ee3\u78bc\uff0c\u8aaa\u660e\u4f55\u6642\u4ee5\u53ca\u5982\u4f55\u547c\u53eb CLI\uff0c\u5167\u5bb9\u5305\u542b\u5982\u4f55\u4f30\u7b97\u5a92\u9ad4\u6210\u672c\u3001\u5f9e\u5373\u6642\u6a21\u578b\u76ee\u9304\u4e2d\u9078\u53d6\u9805\u76ee\u3001\u9644\u52a0\u53c3\u8003\u5716\u7247\u3001\u7b49\u5f85\u4efb\u52d9\uff0c\u4ee5\u53ca\u907f\u514d\u610f\u5916\u7522\u751f\u91cd\u8907\u6536\u8cbb\u3002.<\/p>\n\n\n\n<h3 id=\"the-three-ways-to-connect-globalgpt-and-claude-code\" class=\"wp-block-heading\">\u9023\u63a5 GlobalGPT \u8207 Claude \u4ee3\u78bc\u7684\u4e09\u7a2e\u65b9\u5f0f<\/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;\">\u6574\u5408<\/th><th style=\"padding:13px 14px;border:1px solid #cfdae3;background:#eaf2f8;color:#143d5b;text-align:left;vertical-align:top;font-weight:700;\">\u6700\u9069\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\u7684\u6b0a\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 Claude Code \u4f86\u5efa\u7acb\u81ea\u7136\u8a9e\u8a00\u8655\u7406\u7684\u5716\u7247\u3001\u5f71\u7247\u53ca\u5927\u91cf\u6587\u5b57\u5de5\u4f5c\u6d41\u7a0b\u7684\u4f7f\u7528\u8005<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">Claude Code \u9700\u8981\u6b0a\u9650\u624d\u80fd\u57f7\u884c shell \u6307\u4ee4<\/td><\/tr><tr><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u76f4\u63a5 CLI \u6307\u4ee4<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u958b\u767c\u4eba\u54e1\u64b0\u5beb\u8173\u672c\u3001\u6301\u7e8c\u6574\u5408 (CI) \u5de5\u4f5c\u6216\u660e\u78ba\u7684\u7d42\u7aef\u6a5f\u5de5\u4f5c\u6d41\u7a0b<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u60a8\u5fc5\u9808\u81ea\u884c\u6307\u5b9a\u4e26\u7dad\u8b77\u9019\u4e9b\u6307\u4ee4<\/td><\/tr><tr><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u7531 CLI \u8a17\u7ba1\u7684 MCP \u4f3a\u670d\u5668<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u5e0c\u671b\u53d6\u5f97 MCP \u5de5\u5177\uff0c\u4e26\u8a2d\u5b9a\u6bcf\u5834\u6b21\u5a92\u9ad4\u62b5\u7528\u984d\u5ea6\u4e0a\u9650\u7684\u5718\u968a<\/td><td style=\"padding:13px 14px;border:1px solid #cfdae3;text-align:left;vertical-align:top;\">\u65b0\u589e MCP \u8a2d\u5b9a\u53ca\u53e6\u4e00\u500b\u5de5\u5177\u5e73\u9762<\/td><\/tr><\/tbody><\/table><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c0d\u65bc\u5927\u591a\u6578 Claude Code \u4f7f\u7528\u8005\u800c\u8a00\uff0c, <strong>\u300cAgent Skill + CLI\u300d\u662f\u6700\u4f73\u7684\u8d77\u9ede<\/strong>. \u6b64\u8a2d\u5b9a\u4e0d\u50c5\u9ad4\u7a4d\u5c0f\u5de7\uff0c\u9084\u80fd\u5229\u7528 Claude Code \u73fe\u6709\u7684\u6bbc\u5c64\u529f\u80fd\uff0c\u4e26\u8b93\u60a8\u4ee5\u81ea\u7136\u8a9e\u8a00\u9032\u884c\u64cd\u4f5c\uff0c\u540c\u6642\u4ecd\u80fd\u4fdd\u7559\u660e\u78ba\u7684\u6210\u672c\u6aa2\u67e5\u6a5f\u5236\u3002\u82e5\u60a8\u7684\u5718\u968a\u4f7f\u7528\u591a\u500b\u7de8\u78bc\u4ee3\u7406\u7a0b\u5f0f\uff0c\u60a8\u4ea6\u53ef\u5c07\u6b64\u8a2d\u5b9a\u8207\u4ee5\u4e0b\u76f8\u95dc\u6307\u5357\u9032\u884c\u6bd4\u8f03\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\">\u958b\u59cb\u4e4b\u524d\u9808\u77e5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u60a8\u9700\u8981\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Node.js 18 \u6216\u66f4\u65b0\u7248\u672c\u3002\u76ee\u524d\u7684 GlobalGPT CLI \u5957\u4ef6\u5ba3\u544a <code>\u7bc0\u9ede &gt;=18<\/code>.<\/li>\n\n\n\n<li>npm\uff0c\u901a\u5e38\u6703\u96a8 Node.js \u4e00\u4f75\u5b89\u88dd\u3002.<\/li>\n\n\n\n<li>Claude \u4ee3\u78bc\uff0c\u5df2\u5b89\u88dd\u4e26\u5b8c\u6210\u9a57\u8b49\u3002.<\/li>\n\n\n\n<li>\u4e00\u500b\u5177\u5099 GlobalGPT \u6b0a\u9650\u7684\u5e33\u6236\uff0c\u53ef\u5b58\u53d6\u60a8\u8a08\u5283\u4f7f\u7528\u7684\u6a21\u578b\u6216\u5a92\u9ad4\u5de5\u5177\u3002.<\/li>\n\n\n\n<li>\u4e00\u500b\u503c\u5f97\u4fe1\u8cf4\u7684\u5c08\u6848\u76ee\u9304\uff0c\u5141\u8a31 Claude Code \u5728\u5176\u4e2d\u57f7\u884c\u7d42\u7aef\u6a5f\u6307\u4ee4\u3002.<\/li>\n\n\n\n<li>\u4e00\u822c\u8a2d\u5b9a\u7d04\u9700 10 \u81f3 20 \u5206\u9418\u3002\u82e5\u9047\u5230\u7db2\u8def\u6216\u700f\u89bd\u5668\u6388\u6b0a\u554f\u984c\uff0c\u9996\u6b21\u8a2d\u5b9a\u7684\u6642\u9593\u53ef\u80fd\u6703\u8f03\u9577\u3002.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u5728 PowerShell\u3001\u7d42\u7aef\u6a5f\u6216\u60a8\u504f\u597d\u7684\u547d\u4ee4\u5217\u4ecb\u9762\u4e2d\u57f7\u884c\u4ee5\u4e0b\u6aa2\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 \u6307\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 \u9a57\u8b49\u4f7f\u7528\u4e86 Node.js <code>v24.18.0<\/code>, npm <code>11.16.0<\/code>, \uff0c\u4ee5\u53ca Claude \u4ee3\u78bc <code>2.1.211<\/code>. \u9019\u4e9b\u7248\u672c\u50c5\u4f9b\u53c3\u8003\uff0c\u4e26\u975e\u6700\u4f4e\u8981\u6c42\uff1bNode.js 18 \u6216\u66f4\u65b0\u7248\u672c\u624d\u662f GlobalGPT CLI \u7684\u76f8\u95dc\u8981\u6c42\u3002.<\/p>\n\n\n\n<h2 id=\"step-1-install-globalgpt-cli\" class=\"wp-block-heading\">\u6b65\u9a5f 1\uff1a\u5b89\u88dd GlobalGPT CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5df2\u4f5c\u70ba npm \u7684\u7a69\u5b9a\u7248\u672c\u767c\u5e03\u3002\u8acb\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u5b89\u88dd\u6700\u65b0\u7a69\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 \u6307\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\u88dd\u5b8c\u6210\u5f8c\uff0c\u8acb\u78ba\u8a8d\u6307\u4ee4\u53ca\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 \u6307\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\">\u6b64\u5957\u4ef6\u6703\u5b89\u88dd\u5169\u500b\u53ef\u4e92\u63db\u7684\u6307\u4ee4\u540d\u7a31\uff1a <code>glbgpt<\/code> \u548c <code>globalgpt<\/code>. \u672c\u6307\u5357\u63a1\u7528\u8f03\u7c21\u77ed\u7684 <code>glbgpt<\/code> \u8868\u55ae\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88dd\u6642\u9593\u8207\u5957\u4ef6\u6578\u91cf\u6703\u56e0\u60a8\u7684 npm \u7248\u672c\u3001\u7db2\u8def\u72c0\u6cc1\u53ca\u4f9d\u8cf4\u9805\u66f4\u65b0\u800c\u6709\u6240\u4e0d\u540c\u3002\u5b89\u88dd\u6210\u529f\u5f8c\uff0c\u7cfb\u7d71\u6703\u81ea\u52d5\u5b8c\u6210\uff0c\u4e0d\u6703\u986f\u793a\u4efb\u4f55 <code>npm \u932f\u8aa4<\/code>. npm \u7684\u8a0a\u606f <code>\u9019\u4e9b\u5c08\u6848\u6b63\u5728\u5c0b\u6c42\u8cc7\u91d1<\/code> \u6b64\u8a0a\u606f\u50c5\u4f9b\u53c3\u8003\uff0c\u4e26\u4e0d\u8868\u793a\u5b89\u88dd\u5931\u6557\u3002.<\/p>\n\n\n\n<h2 id=\"step-2-sign-in-with-your-globalgpt-account\" class=\"wp-block-heading\">\u6b65\u9a5f 2\uff1a\u4f7f\u7528\u60a8\u7684 GlobalGPT \u5e33\u865f\u767b\u5165<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u6703\u900f\u904e\u60a8\u7684 GlobalGPT \u5e33\u6236\u9032\u884c\u700f\u89bd\u5668\u6388\u6b0a\uff0c\u56e0\u6b64\u60a8\u7121\u9700\u5728\u547d\u4ee4\u5217\u4e2d\u5efa\u7acb\u6216\u8cbc\u4e0a API \u91d1\u9470\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u57f7\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 \u6307\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\u5165<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u700f\u89bd\u5668\u9801\u9762\u8655\u65bc\u6d3b\u8e8d\u72c0\u614b\u6642\uff0c\u8acb\u4fdd\u6301\u7d42\u7aef\u6a5f\u958b\u555f\u3002\u8acb\u5728\u958b\u555f\u7684\u9801\u9762\u4e2d\u767b\u5165\u4e26\u6838\u51c6\u8a72\u8acb\u6c42\u3002CLI \u5c07\u5728\u6536\u5230\u672c\u5730\u56de\u8abf\u5f8c\u7e7c\u7e8c\u57f7\u884c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u700f\u89bd\u5668\u7121\u6cd5\u81ea\u52d5\u958b\u555f\uff0c\u8acb\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 \u6307\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\u5165 --no-browser<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u70ba\u7121\u986f\u793a\u5668\u7684\u6a5f\u5668\u6216 SSH \u9023\u7dda\uff0c\u8acb\u4f7f\u7528\u4e00\u6b21\u6027\u9a57\u8b49\u78bc\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 \u6307\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\u5165 --code<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5207\u52ff\u5206\u4eab\u4e00\u6b21\u6027\u9a57\u8b49\u78bc\u3001\u6388\u6b0a\u72c0\u614b\u6216\u56de\u547c\u7db2\u5740\u3002\u8acb\u50c5\u5728\u60a8\u81ea\u884c\u555f\u52d5\u7684\u767b\u5165\u6d41\u7a0b\u4e2d\u8f38\u5165\u9a57\u8b49\u78bc\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6388\u6b0a\u5f8c\u9a57\u8b49\u6703\u8a71\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 \u6307\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 \u5e33\u6236<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>glbgpt whoami<\/code> \u78ba\u8a8d\u5df2\u767b\u5165\u7684\u5e33\u6236\u3002. <code>glbgpt \u5e33\u6236<\/code> \u986f\u793a\u6703\u54e1\u8cc7\u683c\u8207\u4fe1\u7528\u8cc7\u8a0a\uff0c\u9019\u5728\u751f\u6210\u5a92\u9ad4\u4e4b\u524d\u76f8\u7576\u6709\u7528\u3002.<\/p>\n\n\n\n<h2 id=\"step-3-test-globalgpt-cli-before-connecting-claude-code\" class=\"wp-block-heading\">\u6b65\u9a5f 3\uff1a\u5728\u9023\u63a5 Claude \u7a0b\u5f0f\u78bc\u4e4b\u524d\uff0c\u5148\u6e2c\u8a66 GlobalGPT \u547d\u4ee4\u5217\u4ecb\u9762<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u55ae\u7368\u6e2c\u8a66 CLI\uff0c\u53ef\u5c07\u8eab\u4efd\u9a57\u8b49\u6216\u7db2\u8def\u554f\u984c\u8207 Claude \u7a0b\u5f0f\u78bc\u6574\u5408\u554f\u984c\u5340\u5206\u958b\u4f86\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u555f\u52d5\u4e92\u52d5\u5f0f\u7d42\u7aef\u4ecb\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 \u6307\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<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u50b3\u9001\u4e00\u5247\u7c21\u77ed\u8a0a\u606f\uff0c\u4f8b\u5982 <code>\u55e8<\/code>. \u82e5\u56de\u61c9\u6210\u529f\uff0c\u5373\u8868\u793a CLI \u80fd\u5920\u555f\u52d5\u3001\u8b80\u53d6\u60a8\u7684\u5e33\u6236\u6703\u8a71\u3001\u5b58\u53d6\u804a\u5929\u6a21\u578b\uff0c\u4e26\u986f\u793a\u7d50\u679c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 GlobalGPT \u7d42\u7aef\u4ecb\u9762\u4e2d\uff0c\u8f38\u5165 <code>\/<\/code> \u4ee5\u67e5\u770b\u53ef\u7528\u7684\u6307\u4ee4\u3002\u5e38\u898b\u7684\u6307\u4ee4\u5305\u62ec <code>\/\u6a21\u578b<\/code>, <code>\/models<\/code>, <code>\/\u5716\u7247<\/code>, <code>\/\u5f71\u7247<\/code>, <code>\/\u4efb\u52d9<\/code>, <code>\/\u72c0\u614b<\/code>, <code>\/\u5e33\u6236<\/code>, <code>\/\u6210\u672c<\/code>, <code>\/help<\/code>, \u4ee5\u53ca <code>\/exit<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u8981\u9032\u884c\u975e\u4e92\u52d5\u5f0f\u6e2c\u8a66\uff0c\u8acb\u4f7f\u7528 <code>\u57f7\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 \u6307\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\u8986\u5167\u5bb9\u5fc5\u9808\u5b8c\u5168\u70ba\uff1a\u9023\u7dda\u6210\u529f\"<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7684 <code>\u57f7\u884c<\/code> \u6b64\u6307\u4ee4\u6703\u8f38\u51fa\u6a21\u578b\u7684\u7d50\u679c\u4e26\u7d50\u675f\u57f7\u884c\uff0c\u56e0\u6b64\u66f4\u9069\u5408\u7528\u65bc\u8173\u672c\u548c\u5916\u90e8\u4ee3\u7406\u7a0b\u5f0f\u3002.<\/p>\n\n\n\n<h2 id=\"step-4-install-the-globalgpt-agent-skill-for-claude-code\" class=\"wp-block-heading\">\u6b65\u9a5f 4\uff1a\u5b89\u88dd\u9069\u7528\u65bc Claude \u7a0b\u5f0f\u78bc \u7684 GlobalGPT \u4ee3\u7406\u7a0b\u5f0f\u6280\u80fd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u5167\u5efa\u4e86\u4e00\u500b\u540d\u70ba <code>globalgpt-generate<\/code>. \u8acb\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u9032\u884c\u5b89\u88dd\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 \u6307\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\u88dd<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u5b89\u88dd\u7a0b\u5f0f\u6703\u5728\u4ee3\u7406\u7a0b\u5f0f\u6280\u80fd\u76ee\u9304\u4e2d\u5efa\u7acb\u9023\u7d50\uff0c\u5305\u62ec <code>~\/.claude\/skills<\/code> \u548c <code>~\/.agents\/skills<\/code>. \u6240\u8b02\u300c\u95dc\u806f\u5f0f\u5b89\u88dd\u300d\uff0c\u610f\u6307\u672a\u4f86\u66f4\u65b0 CLI \u6642\uff0c\u4e5f\u80fd\u4e00\u4f75\u66f4\u65b0\u5167\u5efa\u7684\u6280\u80fd\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u60a8\u7684\u74b0\u5883\u4e0d\u652f\u63f4\u9023\u7d50\uff0c\u6216\u8005\u60a8\u504f\u597d\u4f7f\u7528\u7368\u7acb\u6a94\u6848\uff0c\u8acb\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 \u6307\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\">\u82e5\u518d\u6b21\u57f7\u884c\u300c\u8907\u88fd\u300d\u9078\u9805\uff0c\u5c07\u6703\u8986\u5beb\u5df2\u8907\u88fd\u7684\u6280\u80fd\uff0c\u56e0\u6b64\u8acb\u52ff\u5728\u8a72\u8907\u88fd\u76ee\u9304\u5167\u9032\u884c\u6c38\u4e45\u6027\u7684\u81ea\u8a02\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\u88dd\u9069\u7528\u65bc Claude \u7a0b\u5f0f\u78bc \u7684 GlobalGPT \u4ee3\u7406\u7a0b\u5f0f\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\u88dd\u5b8c\u6210\u5f8c\uff0c\u8acb\u91cd\u65b0\u555f\u52d5 Claude Code\uff0c\u4ee5\u4fbf\u5176\u5075\u6e2c\u5230\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 \u6307\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 \/\u5c08\u6848\u8def\u5f91\nclaude<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Windows PowerShell \u4e2d\uff0cdirectory \u6307\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 \u6307\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:\\\u60a8\u7684\u5c08\u6848\u8def\u5f91\"\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\">\u6b65\u9a5f 5\uff1a\u5728\u4e0d\u6d88\u8017\u9ede\u6578\u7684\u60c5\u6cc1\u4e0b\uff0c\u65bc Claude \u7a0b\u5f0f\u78bc\u4e2d\u9a57\u8b49 GlobalGPT CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u9032\u884c\u6210\u672c\u4f30\u7b97\u3002\u9019\u53ef\u78ba\u8a8d Claude Code \u80fd\u5920\u5075\u6e2c\u8a72\u6280\u80fd\u3001\u57f7\u884c GlobalGPT CLI\u3001\u67e5\u8a62\u7576\u524d\u6a21\u578b\u76ee\u9304\uff0c\u4e26\u5728\u4e0d\u7522\u751f\u5a92\u9ad4\u5167\u5bb9\u7684\u60c5\u6cc1\u4e0b\u56de\u50b3\u6210\u672c\u4f30\u7b97\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u5728 Claude Code \u4e2d\u4f7f\u7528\u985e\u4f3c\u4ee5\u4e0b\u7684\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 \u6307\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>\u8acb\u4f7f\u7528 GlobalGPT \u4f30\u7b97\u4e00\u5f35\u95dc\u65bc AI \u5167\u5bb9\u81ea\u52d5\u5316\u7684 16:9 \u7de8\u8f2f\u4e3b\u5716\u7684\u6210\u672c\u3002\n\u8acb\u52ff\u751f\u6210\u5716\u7247\u3002\u8acb\u5217\u51fa\u6a21\u578b\u3001\u652f\u63f4\u7684\u53c3\u6578\u3001\u6307\u4ee4\u4ee5\u53ca\u9810\u4f30\u7684\u4fe1\u7528\u9ede\u6578\u6210\u672c\uff0c\u7136\u5f8c\u7b49\u5f85\u5be9\u6838\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u95dc\u9375\u7684\u77ed\u8a9e\u662f <strong>\u201c\u300c\u8acb\u52ff\u751f\u6210\u8a72\u5716\u50cf\u3002\u300d\u201d<\/strong> GlobalGPT \u6280\u80fd\u7684\u8a2d\u8a08\u76ee\u7684\u662f\u7528\u65bc <code>--\u4f30\u8a08<\/code> \u96d6\u7136\u9019\u53ea\u662f\u73fe\u968e\u6bb5\u7684\u60c5\u6cc1\uff0c\u4f46\u660e\u78ba\u7684\u6307\u793a\u8b93\u60a8\u7684\u6279\u51c6\u7bc4\u570d\u66f4\u52a0\u6e05\u6670\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u60a8\u4e5f\u53ef\u4ee5\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u660e\u78ba\u547c\u53eb\u6b64\u6280\u80fd\uff1a <code>\/globalgpt-generate<\/code> \u5982\u679c\u60a8\u7684 Claude Code \u4ecb\u9762\u5c07\u5176\u5217\u70ba\u659c\u7dda\u6307\u4ee4\uff0c\u5247\u901a\u5e38\u5728\u5b89\u88dd\u8a72\u6280\u80fd\u5f8c\uff0c\u4e14\u4efb\u52d9\u660e\u986f\u6d89\u53ca GlobalGPT \u5716\u7247\u6216\u5f71\u7247\u751f\u6210\u6642\uff0c\u4f7f\u7528\u81ea\u7136\u8a9e\u8a00\u8acb\u6c42\u4fbf\u5df2\u8db3\u5920\u3002.<\/p>\n\n\n\n<h2 id=\"step-6-generate-an-image-from-claude-code\" class=\"wp-block-heading\">\u6b65\u9a5f 6\uff1a\u6839\u64da Claude \u7a0b\u5f0f\u78bc\u751f\u6210\u5f71\u50cf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65e6\u60a8\u6838\u51c6\u4e86\u5831\u50f9\u55ae\uff0c\u8acb\u6307\u793a Claude Code \u8457\u624b\u9032\u884c\u3002\u5177\u9ad4\u7684\u8acb\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 \u6307\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>\u8acb\u4f7f\u7528 GlobalGPT \u751f\u6210\u7d93\u6838\u51c6\u7684 16:9 \u7de8\u8f2f\u4e3b\u5716\u3002\n\u8a72\u5716\u7247\u61c9\u5448\u73fe\u4ee5\u7d42\u7aef\u6a5f\u70ba\u5148\u7684 AI \u5167\u5bb9\u5de5\u4f5c\u6d41\u7a0b\uff0c\u5177\u5099\u7c21\u6f54\u7684\u6df1\u8272\u4f7f\u7528\u8005\u4ecb\u9762\u3001\u85cd\u8272\u9ede\u7db4\uff0c\u4e14\u4e0d\u5f97\u51fa\u73fe\u4efb\u4f55\u6a19\u8a8c\u6216\u53ef\u8fa8\u8b58\u7684\u4ecb\u9762\u6587\u5b57\u3002\n\u5c07\u7d50\u679c\u5132\u5b58\u81f3 .\/glbgpt-output\/ \u76ee\u9304\u4e2d\u3002\u82e5\u9996\u6b21\u6307\u4ee4\u906d\u4e2d\u65b7\u6216\u8d85\u6642\uff0c\u8acb\u52ff\u555f\u52d5\u7b2c\u4e8c\u6b21\u751f\u6210\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">GlobalGPT CLI \u53ef\u900f\u904e\u4ee5\u4e0b\u6307\u4ee4\u5217\u51fa\u5373\u6642\u6620\u50cf\u76ee\u9304\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 \u6307\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\u6e05\u55ae\u5716\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\u52de\u5fb7\u7a0b\u5f0f\u78bc\u6e05\u55ae\u5716\u7247\u76ee\u9304\" 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\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u6aa2\u8996\u6a21\u578b\u6240\u652f\u63f4\u7684\u53c3\u6578\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 \u6307\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\u7a0b\u6709\u6b64\u9700\u6c42\uff0c\u5426\u5247\u8acb\u907f\u514d\u5728\u53ef\u91cd\u8907\u4f7f\u7528\u7684 Claude \u7a0b\u5f0f\u78bc\u63d0\u793a\u4e2d\u786c\u7de8\u78bc\u6a21\u578b\u540d\u7a31\u3002\u6a21\u578b\u76ee\u9304\u662f\u52d5\u614b\u63d0\u4f9b\u7684\uff0c\u5167\u5bb9\u53ef\u80fd\u6703\u8b8a\u66f4\u3002\u8acb\u8b93 Claude \u5217\u51fa\u53ef\u7528\u7684\u6a21\u578b\uff0c\u7136\u5f8c\u9078\u64c7\u4e00\u500b\u652f\u63f4\u6240\u9700\u9577\u5bec\u6bd4\u3001\u89e3\u6790\u5ea6\u3001\u53c3\u8003\u5f71\u50cf\u6216\u5176\u4ed6\u8981\u6c42\u7684\u6a21\u578b\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u7684 CLI \u5c0d\u61c9\u6307\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 \u6307\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\u7d42\u7aef\u6a5f\u70ba\u5148\u7684 AI \u5167\u5bb9\u81ea\u52d5\u5316\u3001\u7c21\u6f54\u7684\u6df1\u8272\u4ecb\u9762\u3001\u85cd\u8272\u9ede\u7db4\" --ar 16:9 --estimate\nglbgpt image \"\u4ee5\u7d42\u7aef\u6a5f\u70ba\u5148\u7684 AI \u5167\u5bb9\u81ea\u52d5\u5316\u3001\u7c21\u6f54\u7684\u6df1\u8272\u4ecb\u9762\u3001\u85cd\u8272\u9ede\u7db4\" --ar 16:9<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5df2\u5b8c\u6210\u7684\u6a94\u6848\u5132\u5b58\u65bc <code>.\/glbgpt-output\/<\/code> \u9664\u975e\u4f60\u901a\u904e <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 \u7a0b\u5f0f\u78bc\u4e2d\u4f7f\u7528 GlobalGPT CLI \u751f\u6210\u5716\u7247\" 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\">\u6b65\u9a5f 7\uff1a\u6839\u64da Claude \u7a0b\u5f0f\u78bc\u751f\u6210\u5f71\u7247<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f71\u7247\u8acb\u6c42\u61c9\u660e\u78ba\u6307\u5b9a\u5834\u666f\uff0c\u4e26\u50c5\u5217\u51fa\u60a8\u5be6\u969b\u9700\u8981\u7684\u53c3\u6578\u3002\u5404\u578b\u865f\u5c0d\u64ad\u653e\u6642\u9577\u3001\u89e3\u6790\u5ea6\u3001\u9577\u5bec\u6bd4\u3001\u97f3\u8a0a\u53ca\u53c3\u8003\u5e40\u7684\u652f\u6301\u60c5\u6cc1\u5404\u4e0d\u76f8\u540c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u5f9e\u4f30\u7b97\u958b\u59cb\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 \u6307\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>\u8acb\u4f7f\u7528 GlobalGPT \u4f86\u4f30\u7b97\u4e00\u6bb5\u9577\u5ea6\u70ba 6 \u79d2\u3001\u6bd4\u4f8b\u70ba 16:9 \u7684\u5f71\u7247\uff0c\u5167\u5bb9\u70ba\u7d93\u6838\u51c6\u7684\u4e3b\u8996\u89ba\u5716\u900f\u904e\u6162\u901f\u93e1\u982d\u63a8\u5165\u6548\u679c\u5448\u73fe\u751f\u52d5\u6548\u679c\u3002\n\u8acb\u5148\u5217\u51fa\u76f8\u5bb9\u7684\u5f71\u7247\u6a21\u578b\u3002\u5728\u672c\u4eba\u6838\u51c6\u6a21\u578b\u53ca\u7248\u6b0a\u8cbb\u7528\u4f30\u7b97\u524d\uff0c\u8acb\u52ff\u9032\u884c\u751f\u6210\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d93\u6838\u51c6\u5f8c\uff0cClaude Code \u53ef\u4f7f\u7528\u985e\u4f3c\u4ee5\u4e0b\u683c\u5f0f\u7684\u6307\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 \u6307\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 \u5f71\u7247\u300c\u7de9\u6162\u7684\u93e1\u982d\u63a8\u5165\u3001\u5fae\u5999\u7684\u87a2\u5e55\u5149\u6688\u3001\u5c08\u696d\u7684\u52d5\u614b\u6548\u679c\u300d --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=\"\u9078\u64c7\u5f71\u7247\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\">CLI \u9810\u8a2d\u6703\u7b49\u5f85\u6a94\u6848\u8655\u7406\u5b8c\u6210\u3002\u5f71\u7247\u751f\u6210\u53ef\u80fd\u9700\u8981\u5e7e\u5206\u9418\u6642\u9593\u3002\u8acb\u52ff\u5efa\u7acb\u4e0d\u5fc5\u8981\u7684\u8f2a\u8a62\u8ff4\u5708\uff0c\u4e14\u82e5\u6307\u4ee4\u4e2d\u9014\u88ab\u4e2d\u65b7\uff0c\u8acb\u52ff\u81ea\u52d5\u91cd\u65b0\u63d0\u4ea4\uff1b\u56e0\u70ba\u539f\u59cb\u7684\u4f3a\u670d\u5668\u4efb\u52d9\u53ef\u80fd\u4ecd\u5728\u57f7\u884c\u4e2d\uff0c\u7b2c\u4e8c\u6b21\u63d0\u4ea4\u53ef\u80fd\u6703\u5c0e\u81f4\u4fe1\u7528\u9ede\u6578\u88ab\u91cd\u8907\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 \u7a0b\u5f0f\u78bc\u4e2d\u4f7f\u7528 GlobalGPT CLI \u751f\u6210\u5f71\u7247\" 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\">\u8acb\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u6aa2\u67e5\u4e2d\u65b7\u6216\u5df2\u5206\u96e2\u7684\u4efb\u52d9\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 \u6307\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\u52d9\u6e05\u55ae\nglbgpt \u986f\u793a\u6700\u5f8c\u4e00\u9805\u4efb\u52d9\nglbgpt \u7b49\u5f85\u6700\u5f8c\u4e00\u9805\u4efb\u52d9\nglbgpt \u4e0b\u8f09\u6700\u5f8c\u4e00\u9805\u4efb\u52d9<\/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 \u5f71\u7247\" 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\">\u6b65\u9a5f 8\uff1a\u4f7f\u7528 glbgpt exec \u81ea\u52d5\u5316\u8655\u7406\u5927\u91cf\u6587\u5b57\u5de5\u4f5c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>glbgpt \u57f7\u884c\u6a94<\/code> \u57f7\u884c\u4e00\u500b\u975e\u4e92\u52d5\u5f0f\u6a21\u578b\u8acb\u6c42\uff0c\u4e26\u56de\u50b3\u7d14\u6587\u5b57\u3001JSON \u6216 JSONL \u683c\u5f0f\u3002\u7576 Claude Code \u9700\u8981\u5c0d\u591a\u500b\u6a94\u6848\u5957\u7528\u76f8\u540c\u64cd\u4f5c\uff0c\u6216\u5c07\u975e\u5e38\u9f90\u5927\u7684\u4f86\u6e90\u6a94\u6848\u6392\u9664\u5728 Claude Code \u7684\u4e3b\u8981\u5c0d\u8a71\u4e4b\u5916\u6642\uff0c\u6b64\u529f\u80fd\u4fbf\u5341\u5206\u5be6\u7528\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u6307\u4ee4\u7bc4\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 \u6307\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 \"\u64f7\u53d6\u6700\u7d42\u6c7a\u8b70\u3001\u8ca0\u8cac\u4eba\u53ca\u622a\u6b62\u65e5\u671f\" --file meeting-notes.md --json<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u8981\u7522\u751f\u7d50\u69cb\u5316\u8f38\u51fa\uff0c\u8acb\u5b9a\u7fa9\u4e00\u500b JSON Schema \u6a94\u6848\uff0c\u4e26\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u50b3\u5165\uff1a <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 \u6307\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 \"\u4f9d\u7ba1\u9053\u8207\u610f\u5716\u5206\u985e\u6240\u6709\u5167\u5bb9\u7c21\u5831\" \\\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 \u81ea\u52d5\u5316\u8655\u7406\u5927\u91cf\u6587\u5b57\u5de5\u4f5c\" 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 \u7a0b\u5f0f\u78bc\u4e2d\uff0c\u4f60\u53ef\u4ee5\u9019\u6a23\u5beb\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 \u6307\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>\u8acb\u4f7f\u7528 GlobalGPT exec \u6307\u4ee4\uff0c\u6839\u64da classification-schema.json \u5c0d content-queue.json \u4e2d\u7684\u689d\u76ee\u9032\u884c\u5206\u985e\u3002\n\u8acb\u5148\u986f\u793a\u78ba\u5207\u7684\u6307\u4ee4\u3002\u5c07\u6700\u7d42\u7684 JSON \u7d50\u679c\u5132\u5b58\u81f3 .\/results\/classified-content.json\u3002\n\u8acb\u52ff\u4fee\u6539\u539f\u59cb\u6a94\u6848\u3002.<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u5c07\u6b64\u6a21\u5f0f\u7528\u65bc\u91cd\u8907\u6027\u6216\u5927\u91cf\u7684\u5de5\u4f5c\uff0c\u800c\u975e\u50c5\u9700\u4e00\u884c\u6307\u4ee4\u5373\u53ef\u7531 Claude Code \u76f4\u63a5\u56de\u7b54\u7684\u554f\u984c\u3002.<\/p>\n\n\n\n<h2 id=\"optional-connect-globalgpt-as-an-mcp-server\" class=\"wp-block-heading\">\u53ef\u9078\uff1a\u5c07 GlobalGPT \u8a2d\u5b9a\u70ba MCP \u4f3a\u670d\u5668<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7576 Claude Code \u80fd\u5920\u57f7\u884c shell \u6307\u4ee4\u6642\uff0c\u5efa\u8b70\u63a1\u7528\u300cAgent Skill\u300d\u8def\u5f91\u3002GlobalGPT CLI \u4ea6\u53ef\u900f\u904e\u6a19\u6e96\u8f38\u5165\uff0f\u8f38\u51fa\u57f7\u884c MCP \u4f3a\u670d\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 \u6307\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=\"\u5c07 GlobalGPT \u8a2d\u5b9a\u70ba MCP \u4f3a\u670d\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\">\u6b64\u8209\u5c07 GlobalGPT \u7684\u804a\u5929\u3001\u5716\u7247\u751f\u6210\u3001\u5f71\u7247\u751f\u6210\u3001\u4efb\u52d9\u6aa2\u67e5\u53ca\u6a21\u578b\u6e05\u55ae\u7b49\u529f\u80fd\u4f5c\u70ba MCP \u5de5\u5177\u5c0d\u5916\u958b\u653e\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5a92\u9ad4\u751f\u6210\u6578\u91cf\u4e0a\u9650\u70ba <strong>\u9810\u8a2d\u6bcf\u5834 MCP \u4f3a\u670d\u5668\u9023\u7dda\u7684\u4fe1\u7528\u9ede\u6578\u4e0a\u9650\u70ba 4,000 \u9ede<\/strong>. \u60a8\u53ef\u4ee5\u8a2d\u5b9a\u4e0d\u540c\u7684\u6703\u8a71\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 \u6307\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\u9ad4\u652f\u51fa\uff0c\u540c\u6642\u4fdd\u7559\u975e\u5a92\u9ad4\u529f\u80fd\uff0c\u8acb\u4f7f\u7528 <code>--max-credits 0<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u60a8\u9700\u8981\u660e\u78ba\u7684 MCP \u5de5\u5177\u6216\u6703\u8a71\u5c64\u7d1a\u7684\u4fe1\u7528\u984d\u5ea6\u5f37\u5236\u57f7\u884c\uff0c\u8acb\u9078\u64c7 MCP\uff1b\u82e5\u60a8\u5e0c\u671b\u900f\u904e Claude \u7a0b\u5f0f\u78bc\u9a45\u52d5\u6a19\u6e96 CLI \u4e26\u5c07\u8a2d\u5b9a\u5de5\u4f5c\u91cf\u964d\u81f3\u6700\u4f4e\uff0c\u8acb\u9078\u64c7 Agent Skill\u3002.<\/p>\n\n\n\n<h2 id=\"troubleshooting-globalgpt-cli-on-windows\" class=\"wp-block-heading\">\u5728 Windows \u4e0a\u6392\u9664 GlobalGPT CLI \u7684\u554f\u984c<\/h2>\n\n\n\n<h3 id=\"npm-returns-enotfound-or-getaddrinfo\" class=\"wp-block-heading\">npm \u56de\u50b3\u503c <code>ENOTFOUND<\/code> \u6216 <code>getaddrinfo<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u984f\u8272 <code>ENOTFOUND<\/code> \u6b64\u932f\u8aa4\u8868\u793a npm \u7121\u6cd5\u89e3\u6790\u8a3b\u518a\u8868\u7684\u4e3b\u6a5f\u540d\u7a31\u3002\u9019\u4e26\u4e0d\u4ee3\u8868 GlobalGPT \u5957\u4ef6\u907a\u5931\u6216\u640d\u58de\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6aa2\u67e5\u7576\u524d\u7684\u767b\u9304\u6a94\u53ca 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 \u6307\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\u8a2d\u5b9a\u70ba\u4f7f\u7528\u93e1\u50cf\u4f3a\u670d\u5668\uff0c\u8acb\u4e00\u4f75\u6e2c\u8a66\u8a72\u4e3b\u6a5f\u540d\u7a31\u3002\u7576\u5169\u500b\u4e3b\u6a5f\u540d\u7a31\u5747\u7121\u6cd5\u89e3\u6790\u6642\uff0c\u66f4\u63db\u8a3b\u518a\u5eab\u4e26\u7121\u6cd5\u89e3\u6c7a DNS \u6545\u969c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5df2\u9a57\u8b49\u7684 Windows \u6848\u4f8b\u4e2d\uff0c\u8655\u65bc\u6d3b\u52d5\u72c0\u614b\u7684 WLAN DNS \u4f3a\u670d\u5668\u7121\u6cd5\u89e3\u6790 npm \u7db2\u57df\u3002\u9996\u6b21\u91cd\u7f6e\u5931\u6557\uff0c\u539f\u56e0\u662f PowerShell \u7f3a\u4e4f\u7ba1\u7406\u54e1\u6b0a\u9650\u3002\u5728\u958b\u555f\u5177\u6709\u7ba1\u7406\u54e1\u6b0a\u9650\u7684 PowerShell \u8996\u7a97\u3001\u5c07 DNS \u91cd\u8a2d\u70ba\u81ea\u52d5\u6a21\u5f0f\u4e26\u6e05\u9664\u5feb\u53d6\u5f8c\uff0c\u5169\u8005\u7686 <code>Resolve-DnsName<\/code> \u548c <code>npm ping<\/code> \u6210\u529f\u4e86\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\uff0c\u8acb\u8b58\u5225\u51fa\u6b63\u5728\u904b\u4f5c\u7684\u8f49\u63a5\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 \u6307\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\">\u63a5\u8457\u5f9e <strong>\u4ee5\u7cfb\u7d71\u7ba1\u7406\u54e1\u8eab\u5206\u57f7\u884c PowerShell<\/strong>, \u53d6\u4ee3 <code>WLAN<\/code> \u5982\u679c\u60a8\u7684\u6d3b\u8e8d\u4ecb\u9762\u4f7f\u7528\u5176\u4ed6\u540d\u7a31\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 \u6307\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\">\u82e5\u60a8\u7684\u7d44\u7e54\u8ca0\u8cac\u7ba1\u7406 DNS \u6216\u7db2\u8def\u653f\u7b56\uff0c\u8acb\u806f\u7d61\u7ba1\u7406\u54e1\uff0c\u800c\u975e\u76f4\u63a5\u8986\u5beb\u76f8\u95dc\u8a2d\u5b9a\u3002.<\/p>\n\n\n\n<h3 id=\"browser-authorization-times-out\" class=\"wp-block-heading\">\u700f\u89bd\u5668\u6388\u6b0a\u8d85\u6642<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u7b49\u5f85\u700f\u89bd\u5668\u6388\u6b0a\u6642\u8d85\u6642<\/code> \u8868\u793a\u672c\u5730\u7b49\u5f85\u6642\u6bb5\u5df2\u7d50\u675f\u3002\u9019\u4e26\u4e0d\u8868\u793a npm \u5b89\u88dd\u5931\u6557\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5954\u8dd1 <code>glbgpt \u767b\u5165<\/code> \u518d\u6b21\u57f7\u884c\u4e26\u5728\u7d42\u7aef\u6a5f\u4fdd\u6301\u958b\u555f\u7684\u72c0\u614b\u4e0b\u5b8c\u6210\u700f\u89bd\u5668\u6d41\u7a0b\u3002\u82e5\u700f\u89bd\u5668\u5728\u53e6\u4e00\u53f0\u6a5f\u5668\u4e0a\u958b\u555f\uff0c\u6216\u56de\u547c\u7121\u6cd5\u9023\u81f3\u8a72\u7d42\u7aef\u6a5f\uff0c\u8acb\u4f7f\u7528 <code>glbgpt \u767b\u5165 --code<\/code>.<\/p>\n\n\n\n<h3 id=\"glbgpt-is-not-recognized-after-installation\" class=\"wp-block-heading\"><code>glbgpt<\/code> \u5b89\u88dd\u5f8c\u7121\u6cd5\u88ab\u8b58\u5225<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u958b\u555f\u4e00\u500b\u65b0\u7684\u7d42\u7aef\u6a5f\u4e26\u91cd\u65b0\u5617\u8a66\u3002\u5982\u679c\u8a72\u6307\u4ee4\u4ecd\u7136\u7121\u6cd5\u4f7f\u7528\uff0c\u8acb\u6aa2\u67e5 npm \u7684\u5168\u57df\u524d\u7db4\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 \u6307\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\">\u8acb\u78ba\u8a8d npm \u7684\u5168\u57df\u53ef\u57f7\u884c\u6a94\u76ee\u9304\u662f\u5426\u4f4d\u65bc\u60a8\u7684 <code>PATH<\/code>, \u7136\u5f8c\u91cd\u65b0\u57f7\u884c <code>glbgpt --version<\/code>.<\/p>\n\n\n\n<h3 id=\"claude-code-does-not-detect-the-skill\" class=\"wp-block-heading\">Claude \u7a0b\u5f0f\u78bc\u7121\u6cd5\u5075\u6e2c\u8a72\u6280\u80fd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5954\u8dd1 <code>glbgpt \u6280\u80fd\u5b89\u88dd<\/code> \u518d\u6b21\u78ba\u8a8d\u7cfb\u7d71\u662f\u5426\u986f\u793a Claude \u6280\u80fd\u76ee\u9304\uff0c\u5b8c\u5168\u9000\u51fa Claude \u7a0b\u5f0f\u78bc\uff0c\u4e26\u958b\u59cb\u65b0\u7684\u5de5\u4f5c\u968e\u6bb5\u3002\u60a8\u4e5f\u53ef\u4ee5\u5617\u8a66 <code>\/globalgpt-generate<\/code> \u4ee5\u660e\u793a\u65b9\u5f0f\u547c\u53eb\u8a72\u6280\u80fd\u3002.<\/p>\n\n\n\n<h3 id=\"a-model-or-parameter-is-rejected\" class=\"wp-block-heading\">\u6a21\u578b\u6216\u53c3\u6578\u88ab\u62d2\u7d55<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u578b\u865f\u76ee\u9304\u662f\u52d5\u614b\u66f4\u65b0\u7684\uff0c\u4e14\u5404\u578b\u865f\u652f\u63f4\u7684\u53c3\u6578\u5404\u4e0d\u76f8\u540c\u3002\u8acb\u91cd\u65b0\u8f09\u5165\u76ee\u9304\u4e26\u6aa2\u67e5\u6240\u9078\u578b\u865f\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 \u6307\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\u6e05\u55ae\u5716\u7247\nglbgpt \u6a21\u578b\u6e05\u55ae\u5f71\u7247\nglbgpt \u986f\u793a<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u4f7f\u7528\u6e05\u55ae\u4e2d\u7684\u503c\uff0c\u6216\u7701\u7565\u6b64\u53ef\u9078\u6a19\u8a8c\uff0c\u4ee5\u4fbf\u5957\u7528\u6a21\u578b\u9810\u8a2d\u503c\u3002.<\/p>\n\n\n\n<h3 id=\"a-generation-command-appears-to-hang\" class=\"wp-block-heading\">\u4e00\u500b\u300cGeneration Command\u300d\u4f3c\u4e4e\u5361\u4f4f\u4e86<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5716\u7247\u548c\u5f71\u7247\u6307\u4ee4\u9810\u8a2d\u6703\u7b49\u5f85\u6700\u7d42\u6a94\u6848\u7522\u751f\u3002\u5f71\u7247\u751f\u6210\u53ef\u80fd\u9700\u8981\u6578\u5206\u9418\u3002\u82e5\u7d42\u7aef\u6a5f\u64cd\u4f5c\u4e2d\u65b7\uff0c\u8acb\u5148\u6aa2\u67e5\u73fe\u6709\u4efb\u52d9\uff0c\u518d\u8003\u616e\u91cd\u65b0\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 \u6307\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\u52d9\u6e05\u55ae\nglbgpt task show<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5207\u52ff\u76f2\u76ee\u5730\u91cd\u65b0\u5617\u8a66\u4ed8\u8cbb\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\u6e2c\u91cf\u6bcf\u500b Claude \u7a0b\u5f0f\u78bc\u4efb\u52d9\u6240\u9700\u7684\u6642\u9593\u8207\u4ee3\u5e63\u4f7f\u7528\u91cf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6bcf\u6b21\u9032\u884c Claude Code \u4efb\u52d9\u7684\u6e2c\u91cf\u4e4b\u524d\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5954\u8dd1 <code>\/\u7528\u6cd5<\/code> \u4e26\u8a18\u9304\u986f\u793a\u7684\u6703\u8a71\u503c\u3002.<\/li>\n\n\n\n<li>\u8a18\u9304\u5be6\u969b\u958b\u59cb\u6642\u9593\u3002.<\/li>\n\n\n\n<li>\u50c5\u57f7\u884c\u6b63\u5728\u9032\u884c\u91cf\u6e2c\u7684\u4efb\u52d9\u3002.<\/li>\n\n\n\n<li>\u8a18\u9304\u5b8c\u8cfd\u6642\u9593\u4e26\u958b\u59cb\u8dd1\u6b65 <code>\/\u7528\u6cd5<\/code> \u53c8\u4f86\u4e86\u3002.<\/li>\n\n\n\n<li>\u8a08\u7b97\u5df2\u8017\u8cbb\u7684\u6642\u9593\uff0c\u4e26\u5728\u53d6\u5f97\u78ba\u5207\u7684\u4ee3\u5e63\u6578\u91cf\u6642\uff0c\u8a08\u7b97\u4ee3\u5e63\u6578\u91cf\u7684\u589e\u6e1b\u5e45\u5ea6\u3002.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code \u7684\u73fe\u884c\u6587\u4ef6\u6307\u51fa\uff0c\u8a72 <code>\/\u7528\u6cd5<\/code> \u6b64\u6307\u4ee4\u63d0\u4f9b API \u4f7f\u7528\u8005\u4ee3\u5e63\u7684\u4f7f\u7528\u72c0\u6cc1\u3002\u8a02\u95b1\u4ecb\u9762\u53ef\u80fd\u6703\u986f\u793a\u65b9\u6848\u4f7f\u7528\u91cf\uff0c\u800c\u975e\u7cbe\u78ba\u7684\u4ee3\u5e63\u6578\u91cf\uff0c\u56e0\u6b64\u8acb\u7cbe\u78ba\u8a18\u9304\u7576\u524d\u4ecb\u9762\u6240\u63ed\u9732\u7684\u5167\u5bb9\uff0c\u4e26\u5c07\u4e0d\u53ef\u7528\u7684\u503c\u6a19\u8a18\u70ba <code>\u4e0d\u9069\u7528<\/code>; \u8acb\u52ff\u4f30\u7b97\u6216\u675c\u64b0\u4ee3\u5e63\u6578\u91cf\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u91dd\u5c0d GlobalGPT \u5a92\u9ad4\u4efb\u52d9\uff0c\u4ea6\u61c9\u8a18\u9304\u751f\u6210\u524d\u5f8c\u7684\u5e33\u6236\u6216\u4ea4\u6613\u9918\u984d\u3002Claude \u4ee3\u78bc\u4ee3\u5e63\u8207 GlobalGPT \u5a92\u9ad4\u7a4d\u5206\u5c6c\u65bc\u4e0d\u540c\u55ae\u4f4d\uff0c\u61c9\u5206\u5225\u9032\u884c\u7533\u5831\u3002.<\/p>\n\n\n\n<h2 id=\"frequently-asked-questions\" class=\"wp-block-heading\">\u5e38\u898b\u554f\u984c<\/h2>\n\n\n\n<h3 id=\"do-i-need-a-globalgpt-api-key\" class=\"wp-block-heading\">\u6211\u9700\u8981 GlobalGPT API \u91d1\u9470\u55ce\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. GlobalGPT CLI \u6703\u900f\u904e\u60a8\u7684 GlobalGPT \u5e33\u6236\u9032\u884c\u700f\u89bd\u5668\u6388\u6b0a\u3002\u57f7\u884c <code>glbgpt \u767b\u5165<\/code>, \u5b8c\u6210\u6838\u51c6\u6d41\u7a0b\uff0c\u4e26\u8b93 CLI \u5132\u5b58\u5176\u672c\u6a5f\u5de5\u4f5c\u968e\u6bb5\u6191\u8b49\u3002\u8acb\u52ff\u5c07\u4e00\u6b21\u6027\u767b\u5165\u78bc\u6216\u6388\u6b0a\u7db2\u5740\u8cbc\u5165\u5c08\u6848\u6a94\u6848\u3001\u87a2\u5e55\u622a\u5716\u6216\u5171\u4eab\u7684\u804a\u5929\u8a18\u9304\u4e2d\u3002.<\/p>\n\n\n\n<h3 id=\"can-i-use-globalgpt-cli-without-claude-code\" class=\"wp-block-heading\">\u5982\u679c\u6c92\u6709 Claude \u4ee3\u78bc\uff0c\u6211\u9084\u80fd\u4f7f\u7528 GlobalGPT CLI \u55ce\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u3002\u57f7\u884c <code>glbgpt<\/code> \u82e5\u8981\u9032\u884c\u4e92\u52d5\u5f0f\u804a\u5929\uff0c, <code>glbgpt \u5716\u7247<\/code> \u6216 <code>glbgpt \u5f71\u7247<\/code> \u4f9b\u5a92\u9ad4\u53c3\u8003\uff0c\u4ee5\u53ca <code>glbgpt \u57f7\u884c\u6a94<\/code> \u9069\u7528\u65bc\u975e\u4e92\u52d5\u5f0f\u8173\u672c\u3002Claude Code \u63d0\u4f9b\u4e86\u5c08\u6848\u80cc\u666f\u3001\u63a8\u7406\u3001\u6a94\u6848\u5354\u8abf\u4ee5\u53ca\u81ea\u7136\u8a9e\u8a00\u63a7\u5236\u529f\u80fd\uff0c\u4f46 CLI \u4ecd\u53ef\u7368\u7acb\u904b\u4f5c\u3002.<\/p>\n\n\n\n<h3 id=\"should-i-use-the-agent-skill-or-mcp\" class=\"wp-block-heading\">\u6211\u8a72\u4f7f\u7528\u300c\u7279\u5de5\u6280\u80fd\u300d\u9084\u662f\u300cMCP\u300d\u5462\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7576 Claude Code \u53ef\u57f7\u884c shell \u6307\u4ee4\uff0c\u4e14\u60a8\u5e0c\u671b\u63a1\u7528\u6700\u7c21\u55ae\u7684\u81ea\u7136\u8a9e\u8a00\u5de5\u4f5c\u6d41\u7a0b\u6642\uff0c\u8acb\u4f7f\u7528 Agent Skill\u3002\u82e5\u60a8\u504f\u597d\u660e\u78ba\u7684 MCP \u5de5\u5177\uff0c\u6216\u9700\u8981 MCP \u4f3a\u670d\u5668\u7684\u300c\u6703\u8a71\u5c64\u7d1a\u300d\u5a92\u9ad4\u4fe1\u7528\u984d\u5ea6\u4e0a\u9650\uff0c\u8acb\u4f7f\u7528 MCP\u3002\u9019\u5169\u7a2e\u4ecb\u9762\u5747\u4f7f\u7528\u76f8\u540c\u7684 GlobalGPT \u5e33\u6236\u3002.<\/p>\n\n\n\n<h3 id=\"where-does-globalgpt-save-generated-files\" class=\"wp-block-heading\">GlobalGPT \u6703\u5c07\u751f\u6210\u7684\u6a94\u6848\u5132\u5b58\u5230\u54ea\u88e1\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u751f\u6210\u7684\u5716\u7247\u548c\u5f71\u7247\u6703\u5132\u5b58\u65bc <code>glbgpt-output\/<\/code> \u4ee5\u8a72\u6307\u4ee4\u6216\u4f3a\u670d\u5668\u555f\u52d5\u7684\u76ee\u9304\u70ba\u57fa\u6e96\u3002\u50b3\u905e <code>--out<\/code> \u7576\u60a8\u9700\u8981\u8b8a\u66f4\u4f4d\u7f6e\u6642\u3002\u8a72\u6307\u4ee4\u6703\u5728\u57f7\u884c\u5b8c\u7562\u5f8c\u986f\u793a\u5df2\u5132\u5b58\u7684\u8def\u5f91\u3002.<\/p>\n\n\n\n<h3 id=\"how-can-i-avoid-accidental-media-spending\" class=\"wp-block-heading\">\u8a72\u5982\u4f55\u907f\u514d\u610f\u5916\u7684\u5a92\u9ad4\u652f\u51fa\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 <code>--\u4f30\u8a08<\/code> \u5728\u6bcf\u6b21\u9032\u884c\u65b0\u7684\u5a92\u9ad4\u914d\u7f6e\u4e4b\u524d\uff0c\u8acb\u8981\u6c42 Claude Code \u7b49\u5f85\u660e\u78ba\u6279\u51c6\uff0c\u4e26\u907f\u514d\u57f7\u884c\u7121\u4eba\u503c\u5b88\u7684\u6279\u6b21\u8655\u7406\u3002\u5c0d\u65bc MCP\uff0c\u8acb\u8a2d\u5b9a <code>--max-credits 0<\/code> \u4ee5\u505c\u7528\u5a92\u9ad4\u6216\u8a2d\u5b9a\u660e\u78ba\u7684\u6703\u8a71\u4e0a\u9650\u3002\u5207\u52ff\u81ea\u52d5\u91cd\u8a66\u4e2d\u65b7\u7684\u751f\u6210\u4f5c\u696d\u3002.<\/p>\n\n\n\n<h3 id=\"is-globalgpt-cli-stable\" class=\"wp-block-heading\">GlobalGPT CLI \u662f\u5426\u7a69\u5b9a\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u622a\u81f3 2026 \u5e74 7 \u6708 21 \u65e5\uff0cGlobalGPT CLI \u5df2\u4f5c\u70ba npm \u7684\u7a69\u5b9a\u7248\u672c\u767c\u5e03\uff0c\u7248\u672c\u865f\u70ba <code>0.1.0<\/code>. \u8acb\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u9032\u884c\u5b89\u88dd\uff1a <code>npm i -g @glbgpt\/cli<\/code>, \u7136\u5f8c\u57f7\u884c <code>glbgpt --version<\/code> \u4ee5\u78ba\u8a8d\u5df2\u5b89\u88dd\u7684\u7248\u672c\u3002.<\/p>\n\n\n\n<h2 id=\"key-takeaways\" class=\"wp-block-heading\">\u91cd\u9ede\u6458\u8981<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8acb\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u5b89\u88dd\u7a69\u5b9a\u7248 CLI\uff1a <code>npm i -g @glbgpt\/cli<\/code> \u4e26\u5728\u5f15\u5165 Claude \u7a0b\u5f0f\u78bc\u4e4b\u524d\u9032\u884c\u9a57\u8b49\u3002.<\/li>\n\n\n\n<li>\u8acb\u4f7f\u7528\u700f\u89bd\u5668\u6388\u6b0a\uff1b\u6839\u64da\u6587\u4ef6\u6240\u8ff0\u7684\u767b\u5165\u6d41\u7a0b\uff0c\u7121\u9700 API \u91d1\u9470\u3002.<\/li>\n\n\n\n<li>\u5954\u8dd1 <code>glbgpt \u6280\u80fd\u5b89\u88dd<\/code>, \u7136\u5f8c\u91cd\u65b0\u555f\u52d5 Claude Code\uff0c\u4ee5\u4fbf\u5b83\u80fd\u9032\u884c\u5075\u6e2c <code>globalgpt-generate<\/code>.<\/li>\n\n\n\n<li>\u6bcf\u500b\u5a92\u9ad4\u5de5\u4f5c\u6d41\u7a0b\u90fd\u61c9\u5f9e <code>--\u4f30\u8a08<\/code> \u4ee5\u53ca\u660e\u78ba\u7684\u4eba\u70ba\u6279\u51c6\u3002.<\/li>\n\n\n\n<li>\u8acb\u5206\u5225\u8a18\u9304 Claude \u4ee3\u78bc\u7684\u4f7f\u7528\u60c5\u6cc1\u53ca GlobalGPT \u5a92\u9ad4\u4fe1\u7528\u984d\u5ea6\u3002.<\/li>\n\n\n\n<li>\u5728 Windows \u4e0a\uff0c\u8acb\u5c07 npm \u8996\u70ba <code>ENOTFOUND<\/code> \u61c9\u5148\u8996\u70ba DNS \u554f\u984c\uff0c\u800c\u975e CLI \u5957\u4ef6\u640d\u58de\u7684\u8b49\u64da\u3002.<\/li>\n\n\n\n<li>\u82e5\u67d0\u500b\u4e16\u4ee3\u7684\u57f7\u884c\u904e\u7a0b\u4e2d\u65b7\uff0c\u8acb\u5728\u91cd\u65b0\u5617\u8a66\u4e4b\u524d\u6aa2\u67e5\u73fe\u6709\u7684\u4efb\u52d9\u3002.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u7136\u4f60\u5df2\u7d93\u77e5\u9053 <strong>\u5982\u4f55\u5728 Claude \u7a0b\u5f0f\u78bc\u4e2d\u4f7f\u7528 GlobalGPT CLI<\/strong>, \u60a8\u53ef\u4ee5\u5c07 Claude Code \u8f49\u5316\u70ba\u9069\u7528\u65bc\u804a\u5929\u3001\u5716\u7247\u3001\u5f71\u7247\u53ca\u7d50\u69cb\u5316\u5167\u5bb9\u5de5\u4f5c\u6d41\u7a0b\u7684\u5be6\u7528\u63a7\u5236\u5c64\u3002\u9996\u5148\u9032\u884c\u7121\u6210\u672c\u4f30\u7b97\uff0c\u5c0d\u4e00\u500b\u5c0f\u578b\u4efb\u52d9\u9032\u884c\u7aef\u5230\u7aef\u7684\u9a57\u8b49\uff0c\u4e4b\u5f8c\u518d\u5c07\u5de5\u4f5c\u6d41\u7a0b\u64f4\u5c55\u70ba\u6279\u6b21\u8655\u7406\u6216\u6392\u7a0b\u81ea\u52d5\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-hk\/wp-json\/wp\/v2\/posts\/16645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/comments?post=16645"}],"version-history":[{"count":24,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts\/16645\/revisions"}],"predecessor-version":[{"id":16984,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts\/16645\/revisions\/16984"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/media\/16895"}],"wp:attachment":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/media?parent=16645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/categories?post=16645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/tags?post=16645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}