Find Gmail messages with attachments and save them to a Google Drive folder.
Install with Tessl CLI
npx tessl i github:googleworkspace/cli --skill recipe-save-email-attachments86
Quality
85%
Does it follow best practices?
Impact
93%
6.20xAverage score across 3 eval scenarios
Gmail attachment search and Drive upload workflow
Uses gws CLI
0%
100%
Messages list command
0%
100%
has:attachment query
100%
100%
Format table flag
0%
0%
Messages get command
0%
100%
Attachments get command
0%
100%
Attachments get params
0%
100%
Drive +upload syntax
0%
100%
Drive --parent flag
0%
100%
Correct step order
100%
100%
Without context: $0.2144 · 1m 11s · 13 turns · 20 in / 3,975 out tokens
With context: $0.3219 · 1m 7s · 19 turns · 278 in / 4,009 out tokens
Prerequisite skills and attachment params structure
gws-gmail prerequisite
0%
100%
gws-drive prerequisite
0%
100%
gws CLI used
0%
100%
has:attachment in query
100%
100%
userId me param
0%
100%
Messages list command
0%
100%
Attachments get command
0%
100%
Attachment messageId param
0%
100%
Attachment id param
0%
100%
Drive +upload with --parent
0%
100%
Without context: $0.1743 · 52s · 12 turns · 15 in / 2,993 out tokens
With context: $0.4325 · 1m 33s · 26 turns · 322 in / 5,296 out tokens
Full workflow script with userId and command params
gws CLI tool
0%
100%
userId me in messages list
0%
100%
has:attachment query
100%
100%
format table flag
0%
0%
Messages get userId and id
0%
100%
Attachments get subcommand
0%
100%
Attachments get userId
0%
100%
Drive +upload syntax
0%
100%
Drive --parent flag
0%
100%
Four-step sequence
100%
100%
Without context: $0.1983 · 1m 12s · 11 turns · 49 in / 4,245 out tokens
With context: $0.3019 · 1m 2s · 18 turns · 277 in / 3,663 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.