面向 Google Apps Script 的 AI

AI 副驾驶 Google Apps Script

Google Apps Script Copilot 直接运行在 script.google.com IDE 中,读取整个项目、编写函数并修复错误。不再需要在标签页之间复制粘贴。

受到信任超过 20,000 名开发者正在使用 Google Apps Script
Google Apps Script Copilot running inside the Apps Script editor
20,000+
Developers
10x
Faster script writing and debugging
1.2M
本月生成的代码行数
63%
每个脚本节省的时间
Google Apps Script Copilot 的全部能力

把 AI 副驾驶放进 你的编辑器

从快速提问到多文件重构:聊天、规划、补全和应用修改,全程不用离开你的 Apps Script 编辑器。

为什么我的 VLOOKUP 返回 #N/A?
查找列不是第一列,请改用 INDEX/MATCH。
上下文中有 2 个文件

AI 聊天

在理解已打开文件的聊天面板中询问项目问题、调试错误并生成 Apps Script 代码。

列出文件
读取 editor.gs
搜索 "TODO"
应用 3 处修改

Agent 模式

描述你想要的结果,让 Agent 探索项目:列文件、读取、搜索、lint、规划,并跨文件应用修改。

1扫描依赖
2起草迁移
3更新调用方

计划模式

面对更大的任务,AI 会先给出分步计划,并可在写代码前提出澄清问题。

function totalRevenue() {
  return rows.map(r => r.amt)map(r => r.amt)
}
Tab 接受

内联代码补全

输入时显示 ghost-text 建议,针对 Apps Script 与 Workspace API(Sheets、Docs、Gmail、Drive、Calendar)优化。

// 已选择
for (i=0; i<n; i++) sum += a[i];
重构为 reduce()
a.reduce((s, x) => s + x, 0)

快速编辑

选择代码并请求定向修改:重构、修复、补文档或优化,无需离开编辑器。

if (x == null) return;
+ if (x ?? true) return;
+log("guarded");
接受 还原

Diff 审阅与一键还原

每次 AI 修改都会以清晰的左右 diff 展示,等你批准后才触碰代码,并可一键还原任意回合。

AI 补丁range.setValue(total);
function saveTotal(row) {
range.setValue(total);
}

AI 代码应用

将 AI 生成的代码直接、安全地应用到项目中,并在所有受影响文件中保持干净写入。

MCP 集成

连接你的 Google 账号,启用 MCP(Model Context Protocol),获得更强的上下文感知 AI 能力。

"修复我的表格"
正在优化提示词

提示词增强

一键把粗略的一句话变成详细、结构清晰的提示词。

@
@editor.gs@utils.gs@Sheet1

@ 提及文件

用 @ 提及把项目中的任意文件加入对话,让 AI 带着完整上下文回答。

const x = parse(v)
这段代码做什么?

添加到聊天

一键把选中内容发送到聊天;当编辑器标出错误时,“添加到聊天”会直接出现在错误旁边。

代码审查bug
Sheets 专家范围
API 集成认证
/ 技能菜单

Skills

通过 slash 菜单附加真实的 Apps Script 专家技能:插件、代码审查、前端设计、Web 应用、库、Sheets 专家、优化、调试、触发器、API 集成和解释。

Lifetime + BYOK

一次付费。
使用自己的密钥。
永久使用。

Use your own API key with a supported provider. Provider charges apply.

OpenAI Anthropic Google OpenRouter DeepSeek Mistral Together AI Fireworks AI
已连接的提供商3 个已启用
Anthropic
Selected model
Connected
OpenAI
Selected model
Connected
Google
Selected model
Connected
本月合计Not tracked
由你的提供商计费,而不是我们。
从安装到第一个脚本,用时不到 2 分钟

更快编写 Apps Script 的方式。

01

30 秒安装

在 Chrome 应用商店一键安装。用你已在 Apps Script 使用的同一个 Google 账号登录。

02

打开任意 Apps Script 项目

Open the side panel in script.google.com. It understands your files, sheets, and triggers.

03

比复制粘贴更快交付

聊天、补全、重构、调试。或升级到 Lifetime 并接入自己的密钥,无限使用。

CHROME WEB STORE REVIEWS

What Apps Script users are saying.

Public reviews from the Chrome Web Store. Read all reviews

Love the extension, it has lot of 功能s on top of just an AI Chat There Pro Version worth it, it saves a lot of my time.
S
Sameer
Chrome Web Store review · Jul 13, 2026
I was a bit nervous about letting an AI edit my code, but the '代理模式' is amazing. I just tell it what I want, it figures out a plan and then shows me the exact changes before 真的会 making them.
DA
Danish Ali
Chrome Web Store review · Jul 4, 2026
Great tool , felt just like just cursor especially the new version.
AW
ahsan web
Chrome Web Store review · Jul 8, 2026
Honestly, this extension has been a lifesaver for my daily workflow. I used to spend half my time switching back and forth between the script editor and an AI chatbot, copying and pasting code until my brain fried.
OD
Orbitx devs
Chrome Web Store review · Jul 4, 2026
This extension provided me with essential support during a difficult project and significantly enhanced my productivity. It operates perfectly.
MN
Moeex Naeem
Chrome Web Store review · Jul 4, 2026
常见问题

问题解答。

The best choice depends on whether it works inside the Apps Script editor, understands your project context, supports the provider and model you need, and clearly explains how your data moves. Google Apps Script Copilot is an independent, purpose-built option for the Google Apps Script IDE; evaluate it alongside those criteria.

停止切换标签,开始交付。

Install Google Apps Script Copilot in 30 seconds. Your next Apps Script function is one prompt away.

永久免费套餐 无需信用卡 Lifetime 享 30 天退款