[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"article-rtk-cuts-token-waste-ai-coding-tools-en":3,"tags-rtk-cuts-token-waste-ai-coding-tools-en":35,"related-lang-rtk-cuts-token-waste-ai-coding-tools-en":45,"related-posts-rtk-cuts-token-waste-ai-coding-tools-en":49,"series-tools-ff9ce73e-0707-4dbf-9ad5-37828f559f5b":86},{"id":4,"title":5,"content":6,"summary":7,"source":8,"source_url":9,"author":10,"image_url":11,"keywords":12,"language":19,"translated_content":10,"views":20,"is_premium":21,"created_at":22,"updated_at":22,"cover_image":11,"published_at":23,"rewrite_status":24,"rewrite_error":10,"rewritten_from_id":25,"slug":26,"category":27,"related_article_id":28,"status":29,"google_indexed_at":30,"x_posted_at":10,"tweet_text":10,"title_rewritten_at":10,"title_original":10,"key_takeaways":31,"topic_cluster_id":10,"embedding":10,"is_canonical_seed":21},"ff9ce73e-0707-4dbf-9ad5-37828f559f5b","rtk cuts token waste in AI coding tools","\u003Cp data-speakable=\"summary\">\u003Ca href=\"https:\u002F\u002Fzhuanlan.zhihu.com\u002Fp\u002F2034374831710450529\" target=\"_blank\" rel=\"noopener\">rtk\u003C\u002Fa> is a setup helper that installs token-saving configs for popular \u003Ca href=\"\u002Ftag\u002Fai-coding-tools\">AI coding tools\u003C\u002Fa>.\u003C\u002Fp>\u003Cp>If you use an \u003Ca href=\"\u002Ftag\u002Fai-coding\">AI coding\u003C\u002Fa> assistant every day, the hidden cost is often context bloat, not model fees alone. The short post on \u003Ca href=\"https:\u002F\u002Fzhuanlan.zhihu.com\" target=\"_blank\" rel=\"noopener\">Zhihu\u003C\u002Fa> points to a small utility called \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-tool\u002Frtk\" target=\"_blank\" rel=\"noopener\">rtk\u003C\u002Fa> that generates starter config for several agents with one command.\u003C\u002Fp>\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Tool\u003C\u002Fth>\u003Cth>Install command\u003C\u002Fth>\u003Cth>Agent target\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Default \u002F Claude Code \u002F Copilot\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init -g\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>General\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-cli\" target=\"_blank\" rel=\"noopener\">Gemini CLI\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init -g --gemini\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Gemini\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex\" target=\"_blank\" rel=\"noopener\">Codex\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init -g --codex\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>OpenAI Codex\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fcursor.com\" target=\"_blank\" rel=\"noopener\">Cursor\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init -g --agent cursor\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Cursor\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fwindsurf.com\" target=\"_blank\" rel=\"noopener\">Windsurf\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init --agent windsurf\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Windsurf\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcline\u002Fcline\" target=\"_blank\" rel=\"noopener\">Cline\u003C\u002Fa> \u002F Roo Code\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init --agent cline\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Cline \u002F Roo Code\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FKilo-Org\u002Fkilocode\" target=\"_blank\" rel=\"noopener\">Kilo Code\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init --agent kilocode\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Kilo Code\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ca href=\"https:\u002F\u002Fdevelopers.googleblog.com\u002Fen\u002Fintroducing-google-antigravity\u002F\" target=\"_blank\" rel=\"noopener\">Google Antigravity\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>\u003Ccode>rtk init --agent antigravity\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Antigravity\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Ch2>What rtk is trying to fix\u003C\u002Fh2>\u003Cp>AI coding tools are fast, but they can waste tokens when they repeatedly read the same project instructions, style rules, and tool preferences. That becomes expensive in long sessions, especially when you jump between multiple assistants.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778249463194-7pub.png\" alt=\"rtk cuts token waste in AI coding tools\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>rtk focuses on the boring part that matters: creating the right starter files so each tool begins with cleaner context. If the setup is good, the assistant spends less time re-reading your preferences and more time on code.\u003C\u002Fp>\u003Cul>\u003Cli>One command creates tool-specific config\u003C\u002Fli>\u003Cli>Supports several agents from one workflow\u003C\u002Fli>\u003Cli>Targets token waste caused by repeated context loading\u003C\u002Fli>\u003Cli>Fits teams that switch between editors and CLI agents\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>Why this matters for daily coding\u003C\u002Fh2>\u003Cp>The practical benefit is simple. Smaller, better-scoped prompts usually mean fewer wasted tokens and fewer weird answers caused by noisy context. For solo developers, that can mean lower usage. For teams, it can make \u003Ca href=\"\u002Ftag\u002Fagent\">agent\u003C\u002Fa> behavior more consistent across machines.\u003C\u002Fp>\u003Cp>That matters because AI coding is no longer one tool. A developer might use \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code\" target=\"_blank\" rel=\"noopener\">Claude Code\u003C\u002Fa> for terminal work, \u003Ca href=\"https:\u002F\u002Fcursor.com\" target=\"_blank\" rel=\"noopener\">Cursor\u003C\u002Fa> for IDE editing, and \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-cli\" target=\"_blank\" rel=\"noopener\">Gemini CLI\u003C\u002Fa> for quick shell tasks. Each one has its own config style, and rtk tries to normalize that setup step.\u003C\u002Fp>\u003Cblockquote>\"The best code is the code you never have to write.\" — \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMartin_Fowler\" target=\"_blank\" rel=\"noopener\">Martin Fowler\u003C\u002Fa>\u003C\u002Fblockquote>\u003Cp>Fowler’s line is about software design, but it fits this kind of tooling too. If a helper can remove repetitive setup across agents, it saves time before the first prompt even lands.\u003C\u002Fp>\u003Ch2>How the commands differ across tools\u003C\u002Fh2>\u003Cp>The command list in the post shows a split between a generic install path and agent-specific flags. The generic form is \u003Ccode>rtk init -g\u003C\u002Fcode>, while some tools use \u003Ccode>--agent\u003C\u002Fcode> and others use named flags like \u003Ccode>--\u003Ca href=\"\u002Ftag\u002Fgemini\">gemini\u003C\u002Fa>\u003C\u002Fcode> or \u003Ccode>--\u003Ca href=\"\u002Ftag\u002Fcodex\">codex\u003C\u002Fa>\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778249461233-980i.png\" alt=\"rtk cuts token waste in AI coding tools\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>That may look minor, but it reveals the product’s real goal: one interface, many targets. Instead of asking developers to memorize eight different setup guides, rtk packages them into a single entry point.\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>-g\u003C\u002Fcode> appears in the default, Gemini, and Codex commands\u003C\u002Fli>\u003Cli>\u003Ccode>--agent\u003C\u002Fcode> is used for Cursor, Windsurf, Cline, Kilo Code, and Antigravity\u003C\u002Fli>\u003Cli>The post names at least 8 supported tool targets\u003C\u002Fli>\u003Cli>Claude Code and Copilot share the default install path\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>What to watch next\u003C\u002Fh2>\u003Cp>rtk will matter most if it keeps its templates aligned with how each assistant actually reads project instructions. AI tools change fast, and config files that work today can get stale when vendors tweak agent behavior.\u003C\u002Fp>\u003Cp>For now, the appeal is obvious: fewer setup decisions, less duplicated context, and a cleaner starting point for AI-assisted coding. If you already switch between editors and terminal agents, this is the kind of utility worth testing on one repo before rolling it out everywhere.\u003C\u002Fp>\u003Cp>My bet is that tools like rtk become standard team plumbing, the same way formatter configs and lint rules did. The real question is which assistants keep their config surfaces stable enough for a shared helper to stay useful.\u003C\u002Fp>","rtk adds token-saving config templates for Claude Code, Cursor, Gemini CLI, Codex, and more.","zhuanlan.zhihu.com","https:\u002F\u002Fzhuanlan.zhihu.com\u002Fp\u002F2034374831710450529",null,"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778249463194-7pub.png",[13,14,15,16,17,18],"rtk","AI coding tools","token saving","Claude Code","Cursor","Gemini CLI","en",1,false,"2026-05-08T14:10:41.918356+00:00","2026-05-08T14:10:41.894+00:00","done","7c5c5c37-0943-4505-9840-52050cb3fc54","rtk-cuts-token-waste-ai-coding-tools-en","tools","af0a8e90-53d6-484d-a6f8-0a9b3d263bab","published","2026-05-09T09:00:15.025+00:00",[32,33,34],"rtk generates starter configs for multiple AI coding tools.","The main benefit is reducing repeated context and token waste.","It supports Claude Code, Cursor, Gemini CLI, Codex, Windsurf, Cline, Kilo Code, and Antigravity.",[36,37,39,41,43],{"name":13,"slug":13},{"name":17,"slug":38},"cursor",{"name":16,"slug":40},"claude-code",{"name":14,"slug":42},"ai-coding-tools",{"name":15,"slug":44},"token-saving",{"id":28,"slug":46,"title":47,"language":48},"rtk-cuts-token-waste-ai-coding-tools-zh","rtk 幫 AI coding 工具省 Token","zh",[50,56,62,68,74,80],{"id":51,"slug":52,"title":53,"cover_image":54,"image_url":54,"created_at":55,"category":27},"8b02abfa-eb16-4853-8b15-63d302c7b587","why-vidhub-huiyuan-hutong-bushi-quan-shebei-tongyong-en","Why VidHub 会员互通不是“买一次全设备通用”","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778789439875-uceq.png","2026-05-14T20:10:26.046635+00:00",{"id":57,"slug":58,"title":59,"cover_image":60,"image_url":60,"created_at":61,"category":27},"abe54a57-7461-4659-b2a0-99918dfd2a33","why-buns-zig-to-rust-experiment-is-right-en","Why Bun’s Zig-to-Rust experiment is the right move","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778767895201-5745.png","2026-05-14T14:10:29.298057+00:00",{"id":63,"slug":64,"title":65,"cover_image":66,"image_url":66,"created_at":67,"category":27},"f0015918-251b-43d7-95af-032d2139f3f6","why-openai-api-pricing-is-product-strategy-en","Why OpenAI API pricing is a product strategy, not a footnote","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778749841805-uyhg.png","2026-05-14T09:10:27.921211+00:00",{"id":69,"slug":70,"title":71,"cover_image":72,"image_url":72,"created_at":73,"category":27},"7096dab0-6d27-42d9-b951-7545a5dddf33","why-claude-code-prompt-design-beats-ide-copilots-en","Why Claude Code’s prompt design beats IDE copilots","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778742651754-3kxk.png","2026-05-14T07:10:30.953808+00:00",{"id":75,"slug":76,"title":77,"cover_image":78,"image_url":78,"created_at":79,"category":27},"1f1bff1e-0ebc-4fa7-a078-64dc4b552548","why-databricks-model-serving-is-right-default-en","Why Databricks Model Serving is the right default for production infe…","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778692290314-gopj.png","2026-05-13T17:10:32.167576+00:00",{"id":81,"slug":82,"title":83,"cover_image":84,"image_url":84,"created_at":85,"category":27},"029add1b-4386-4970-bd37-45809d6f7f2f","why-ibm-bob-right-kind-ai-coding-assistant-en","Why IBM’s Bob is the right kind of AI coding assistant","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1778664645900-cyz4.png","2026-05-13T09:30:22.413196+00:00",[87,92,97,102,107,112,117,122,127,132],{"id":88,"slug":89,"title":90,"created_at":91},"8008f1a9-7a00-4bad-88c9-3eedc9c6b4b1","surepath-ai-mcp-policy-controls-en","SurePath AI's New MCP Policy Controls Enhance AI Security","2026-03-26T01:26:52.222015+00:00",{"id":93,"slug":94,"title":95,"created_at":96},"27e39a8f-b65d-4f7b-a875-859e2b210156","mcp-standard-ai-tools-2026-en","MCP Standard in 2026: Integrating AI Tools","2026-03-26T01:27:43.127519+00:00",{"id":98,"slug":99,"title":100,"created_at":101},"165f9a19-c92d-46ba-b3f0-7125f662921d","rag-2026-transforming-enterprise-ai-en","How RAG in 2026 is Transforming Enterprise AI","2026-03-26T01:28:11.485236+00:00",{"id":103,"slug":104,"title":105,"created_at":106},"6a2a8e6e-b956-49d8-be12-cc47bdc132b2","mastering-ai-prompts-2026-guide-en","Mastering AI Prompts: A 2026 Guide for Developers","2026-03-26T01:29:07.835148+00:00",{"id":108,"slug":109,"title":110,"created_at":111},"d6653030-ee6d-4043-898d-d2de0388545b","evolving-world-prompt-engineering-en","The Evolving World of Prompt Engineering","2026-03-26T01:29:42.061205+00:00",{"id":113,"slug":114,"title":115,"created_at":116},"3ab2c67e-4664-4c67-a013-687a2f605814","garry-tan-open-sources-claude-code-toolkit-en","Garry Tan Open-Sources a Claude Code Toolkit","2026-03-26T08:26:20.245934+00:00",{"id":118,"slug":119,"title":120,"created_at":121},"66a7cbf8-7e76-41d4-9bbf-eaca9761bf69","github-ai-projects-to-watch-in-2026-en","20 GitHub AI Projects to Watch in 2026","2026-03-26T08:28:09.752027+00:00",{"id":123,"slug":124,"title":125,"created_at":126},"231306b3-1594-45b2-af81-bb80e41182f2","claude-code-vs-cursor-2026-en","Claude Code vs Cursor in 2026","2026-03-26T13:27:14.177468+00:00",{"id":128,"slug":129,"title":130,"created_at":131},"9f332fda-eace-448a-a292-2283951eee71","practical-github-guide-learning-ml-2026-en","A Practical GitHub Guide to Learning ML in 2026","2026-03-27T01:16:50.125678+00:00",{"id":133,"slug":134,"title":135,"created_at":136},"1b1f637d-0f4d-42bd-974b-07b53829144d","aiml-2026-student-ai-ml-lab-repo-review-en","AIML-2026 Is a Bare-Bones Student Lab Repo","2026-03-27T01:21:51.661231+00:00"]