gws-drive
Skill này làm gì
Agent này giúp bạn quản lý file trong Google Drive. Bạn có thể dùng nó để tải file lên, tạo bản sao, tìm kiếm và quản lý thư mục cũng như drive dùng chung.
Khi nào nên dùng
- ✓Khi bạn cần tải một tài liệu mới lên Drive.
- ✓Khi bạn muốn tìm một file mà bạn không nhớ đã lưu ở đâu.
- ✓Khi bạn cần tạo bản sao của một file quan trọng.
Liên kết skill
https://github.com/googleworkspace/cli/blob/main/skills/gws-drive/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
“Tải file 'report.pdf' lên thư mục 'Documents'.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kết nối với Google Drive của bạn để thực hiện các hành động bạn yêu cầu. Bạn nói với nó muốn làm gì (như 'liệt kê file') và nó thực hiện trên Drive của bạ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.
drive (v3)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws drive <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+upload |
Upload a file with automatic metadata |
API Resources
about
get— Gets information about the user, the user's Drive, and system capabilities. For more information, see Return user info. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.
accessproposals
get— Retrieves an access proposal by ID. For more information, see Manage pending access proposals.list— List the access proposals on a file. For more information, see Manage pending access proposals. Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.resolve— Approves or denies an access proposal. For more information, see Manage pending access proposals.
approvals
get— Gets an Approval by ID.list— Lists the Approvals on a file.
apps
get— Gets a specific app. For more information, see Return user info.list— Lists a user's installed apps. For more information, see Return user info.
changes
getStartPageToken— Gets the starting pageToken for listing future changes. For more information, see Retrieve changes.list— Lists the changes for a user or shared drive. For more information, see Retrieve changes.watch— Subscribes to changes for a user. For more information, see Notifications for resource changes.
channels
stop— Stops watching resources through this channel. For more information, see Notifications for resource changes.
comments
create— Creates a comment on a file. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.delete— Deletes a comment. For more information, see Manage comments and replies.get— Gets a comment by ID. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.list— Lists a file's comments. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.update— Updates a comment with patch semantics. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.
drives
create— Creates a shared drive. For more information, see Manage shared drives.
…
Câu hỏi thường gặp
Tôi có cần kết nối với Google Drive không?
Có, bạn cần cấp quyền cho agent truy cập tài khoản Google Drive để nó có thể quản lý file của bạn.
Tôi có thể tạo thư mục mới không?
Có, bạn có thể tạo thư mục mới và sắp xếp file của mình.
Làm sao để tìm file?
Bạn có thể yêu cầu liệt kê file hoặc tìm theo tên, loại hoặc nội dung bằng các lệnh cụ thể.
Chi tiết
Mô tả gốc của tác giả
Google Drive: Manage files, folders, and shared drives.
repo: googleworkspace/cli
Độ phổ biến
- Sao GitHub
- 32k
- Vị trí xếp hạng
- #9162
- 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ự
discrawl
394kCho phép agent của bạn tìm kiếm và tóm tắt kho lưu trữ tin nhắn Discord trên máy, kiểm tra độ mới của dữ liệu và đọc tin nhắn trực tiếp.
clickhouse-io
280kGiúp agent của bạn tối ưu truy vấn và schema trong ClickHouse theo thực hành tốt nhất cho phân tích dữ liệu hiệu năng cao khi truy vấn chậm.
scientific-db-pubmed-database
280kGiúp agent của bạn tìm bài báo khoa học trong lĩnh vực y sinh. Hữu ích cho nghiên cứu cần thông tin y khoa cụ thể.