⚙ CC Marketing · L3 Score 0/0
Lesson 3 of 12 · Claude Code Marketing

Promote a working skill to something a client owns

The reusable ship-it procedure: connectors, secrets, schedules, and a cloud routine that survives a closed laptop. Every later build points here.

Built from the course by Nick Saraev Source span 1:45:34-3:10:16 ~15 min lesson 5 quiz checkpoints

💡 Dotted words are definitions

Underlined terms have plain-English definitions. Hover on desktop, tap on mobile.

✅ Quizzes keep score

Each section ends with a check. Your teacher-agent takes follow-up questions any time.

01 · Skill to routine

From skill to loop to routine: the productization ladder

You already have a working skill — a reusable instruction set that generates ad creative on demand. The next step is to promote it up the ladder: a loop runs on your local machine on a schedule, while a routine runs in the cloud on a schedule and dumps output to a company-accessible folder 1:48:38. The hand-drawn diagram captures the evolution from prompts to skills to loops to routines — a cart becoming a self-driving car 1:49:00. For your agency, this is the difference between a service you perform and an asset the client owns.

Hand-drawn diagram illustrating the progression from prompts to skills to loops to routines, with a cart evolving into a self-driving car.
1:49:00 · diagramThe progression from prompt to skill to loop to routine — each step adds autonomy and removes your laptop from the critical path.

The connection-mode selector in Claude Code's dashboard shows the three execution contexts: Local, Cloud, and Remote Control. Routines live in Cloud mode, which is why they survive a closed laptop 0:24:31. When you convert a skill to a loop, you give the model more autonomy — it passes its own previous outputs back through itself to create time-based variation, and Claude uses cron to schedule the daily run 1:47:06.

Claude Code’s empty dashboard displays usage totals and an open connection-mode selector with Local, Cloud, Remote Control options.
0:24:31 · UIThe connection-mode selector — routines run in Cloud mode, not Local.

What distinguishes a routine from a loop?

Lead-in: The speaker explicitly defines loops as local and routines as cloud-scheduled with shared-folder output. The other options invert the definitions or confuse the ladder.
02 · Connectors and the first routine

Wiring Google Drive and GitHub into a routine

To make a routine deliver to a shared folder, you first connect the connectors. The speaker creates a private GitHub repo to hold the routine's code and configuration 1:50:10. Then he connects Google Drive via the connectors settings, authorizes with his Google account, and shares the target folder with anyone with the link 1:51:42. The routine detail page shows the two connectors — Google Drive and Claude_Code_Remote — plus the GitHub repo and the schedule 1:53:13.

Claude’s Connectors settings display the Google Drive authorization dialog and a confirmation that Google Drive is connected.
1:51:42 · settingsAuthorizing Google Drive as a connector — the first step to a shared output folder.
Routine detail page for “Maker School Daily Ad Batch” showing its Google Drive and Claude_Code_Remote connectors, GitHub repository, schedule, and upload instructions.
1:53:13 · routine detailThe routine's connectors, repo, and schedule — the anatomy of a cloud routine.

Notice the routine is created in a paused/testing state before it goes live. This is the pattern you'll replicate for clients: connect the storage, point the routine at a repo, and test before scheduling.

What role does the GitHub repo play in the routine?

Lead-in: The speaker creates a private GitHub repo as the code repository for the routine. The Drive folder is for output, not the repo.
03 · The routine delivers

Dated subfolders and shared Drive output

Once the routine runs, it generates ads and uploads them to a dated subfolder in Google Drive, making them accessible to team members via the shared link 1:54:45. The Drive view shows the uploaded ad image ad_01.png alongside other ad PNGs 1:54:39. This is the moment the skill becomes a client-owned asset: the output lands in a folder the client can see, without you being online.

Google Drive displays the uploaded Maker School ad image ad_01.png alongside other ad PNG files.
1:54:39 · DriveThe routine's output — a dated subfolder with ad PNGs, ready for the client.

For your agency, this is the deliverable: a shared Drive folder that fills itself on schedule. The client owns the folder, the routine, and the output — you own the setup.

What happens when the routine runs successfully?

Lead-in: The routine's instructions include creating a dated subfolder and uploading the generated images. The other options contradict the observed behavior.
04 · Scaling the pattern

Product Ad Gen: a second routine from the same template

The same pattern scales to a different product line. The speaker asks Claude to turn "product ad genen" into a routine mirroring the Maker School ads system, generating a Google Drive folder with a dated subfolder, and querying the existing routine for structure 2:28:41. He adds a new API key to the routine's default environment in ENV format so it applies to all new sessions 2:27:00. The resulting routine is active, scheduled daily at 5:59 AM PDT, with Google Drive and manual, API, and webhook run options 2:31:22.

The Product Ad Gen Daily Batch routine is active and scheduled to run daily at 5:59 AM PDT, with Google Drive and manual, API, and webhook run options visible.
2:31:22 · routineThe Product Ad Gen routine — active, scheduled, and connected to Drive.

The environment variable holds the API key without exposing it to the model — Claude only knows the variable name, preventing prompt-injection leaks 2:13:10. This is the security pattern you'll reuse for every client routine.

Why does the routine need an API key in the default environment?

Lead-in: The API key is for the image generation service (GPT Image 2), not for Drive, GitHub, or webhooks. The environment variable keeps it out of the model's context.
05 · The UGC video routine

Productizing the full pipeline: the client-owned daily batch

The UGC video routine is the culmination: it lists files in the asset drive folder, determines which are new, builds the cross of every influencer times product, generates a hero frame for each pairing, writes 10 ad-copy candidates, selects the best, determines video duration by word count, generates three video candidates per pairing, and inserts the results into the Google Drive link 3:09:15. The routine appears as "UGC video ads daily batch" with Google Drive folder-creation and asset-upload instructions 3:09:44. The speaker claims this pipeline runs for cents on the dollar every day, cheaper than a production studio 3:10:16.

The active UGC Video Ads Daily Batch routine shows Google Drive folder-creation and asset-upload instructions.
3:09:44 · routineThe UGC video routine's step-by-step instructions — the productized pipeline.

Your rule for client work: any skill that runs more than once a week becomes a routine with a Drive connector and a dated subfolder. That's the win — the client owns the output, the schedule, and the folder, and it runs without your laptop.

What is the key benefit of converting a skill to a routine for a client?

Lead-in: The routine's value is autonomy and shared delivery. Speed, credits, and key management are secondary or false.
✔ Wrap-up

Your score

0 / 8
Answer the quizzes above to see your result.

One-sentence summary

Convert a working skill into a cloud routine that delivers to shared Drive, so the client owns the output and it runs without your laptop.

📖 Reference

Glossary

Every term marked with a dotted underline above. Skim it, or search the page for a word.

⚙ For your system

Ideas worth stealing into your own setup

Proposals, not done deals: nothing gets added to your system until you choose it.

01 Daily ad batch as a productized service

Saw
The Maker School routine runs daily at 5:59 AM and delivers to a shared Drive folder.
Why
You can charge a monthly retainer for a client's daily ad batch, with the routine and Drive folder as the deliverable.
Form
Set up a routine per client with a Drive connector and a dated subfolder, and hand over the folder link.
Source
1:53:13 in the video

02 UGC video routine for client product launches

Saw
The UGC video routine crosses influencers and products, generates hero frames and scripts, and delivers to Drive.
Why
This replaces a production studio for client UGC ads, giving you a scalable, low-cost creative pipeline.
Form
Onboard each client's product images and influencer personas into an asset folder, then run the routine weekly.
Source
3:09:44 in the video

03 Shared Drive folder as the client handoff

Saw
The routine uploads ad PNGs to a dated subfolder in Google Drive, visible to the client.
Why
The client owns the folder and the output, making the routine a tangible asset they can review and download.
Form
Create a shared Drive folder per client, connect it as a routine connector, and share the link with the client.
Source
1:54:39 in the video
Expanded screenshot