gws-sheets
Skill này làm gì
Công cụ này cho phép bạn làm việc với Google Sheets. Bạn có thể đọc dữ liệu từ bảng tính, thêm hàng mới hoặc tạo bảng tính mới.
Khi nào nên dùng
- ✓Khi bạn cần thêm thông tin mới vào một danh sách.
- ✓Khi bạn muốn lấy dữ liệu cụ thể từ một bảng.
- ✓Khi bạn cần tạo một bản ghi dữ liệu mới.
Liên kết skill
https://github.com/googleworkspace/cli/blob/main/skills/gws-sheets/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thêm một hàng 'Apple', 'Red', 'Sweet' vào danh sách trái cây của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với Google Sheets để thực hiện các thao tác. Bạn nói bạn muốn làm gì (đọc, ghi, thêm) và với bảng tính nào, và công cụ sẽ thực hiện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
sheets (v4)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws sheets <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+append |
Append a row to a spreadsheet |
+read |
Read values from a spreadsheet |
API Resources
spreadsheets
batchUpdate— Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order.create— Creates a spreadsheet, returning the newly created spreadsheet.get— Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using thefieldsURL parameter in HTTP * Set the includeGridData URL parameter to true.getByDataFilter— Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see Read, write, and search metadata. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified.developerMetadata— Operations on the 'developerMetadata' resourcesheets— Operations on the 'sheets' resourcevalues— Operations on the 'values' resource
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws sheets --help
# Inspect a method's required params, types, and defaults
gws schema sheets.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Câu hỏi thường gặp
Tôi có cần tài khoản Google không?
Có, để truy cập và chỉnh sửa Google Sheets, bạn cần đăng nhập vào tài khoản Google.
AI biết dùng bảng tính nào bằng cách nào?
Bạn cần chỉ định tên hoặc ID của bảng tính trong yêu cầu. Nếu không chắc, bạn có thể yêu cầu AI liệt kê các bảng tính của bạn.
Tôi có thể tạo bảng tính từ đầu không?
Có, công cụ cho phép bạn tạo bảng tính mới.
Chi tiết
Độ phổ biến
- Sao GitHub
- 32k
- Vị trí xếp hạng
- #9187
- Giấy phép
- Apache-2.0
- Cập nhật
- 6/10/2026
Bình luận
- …
Thêm skill từ kho mã này
gws-admin-reports
32kGiúp agent của bạn lấy báo cáo hoạt động từ Google Workspace. Thu thập dữ liệu kiểm toán và sử dụng.
gws-calendar-agenda
32kGiúp agent của bạn xem các sự kiện sắp tới trên tất cả lịch. Hữu ích để sắp xếp lịch trình và biết những gì sắp diễn ra.
gws-calendar-insert
32kCho phép agent của bạn tạo sự kiện mới trong Google Calendar. Hữu ích để lên lịch hẹn và cuộc họp.
gws-calendar
32kCho phép agent của bạn quản lý lịch và sự kiện. Hữu ích để sắp xếp công việc và đời sống cá nhân.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.