AI with AIlabs
← All builds
3 min readSkill · Free

routines-creator

Design recurring Claude Code routines


What it does

Designs and builds Routines: named, repeatable Claude Code workflows that run on a schedule, on a trigger, or on demand, covering everything from "I don't know what to automate" through the actual build.

How it works

Two entry points. Recommend Mode for "I'm not sure what to build": five questions, one at a time, ending in two to three named routine suggestions with trigger type and setup complexity. Or straight into Discover for someone who already knows what they want.

Discover asks what the routine does, how it starts (schedule, event, or on-demand call), what apps it touches, what the output looks like, and whether it's solo or team use, then locks a one-sentence summary before moving to Design (a scannable plan: trigger, output, numbered steps, tools needed, setup prerequisites) and finally Build, one step at a time by routine type. Scheduled routines register via the scheduled-tasks tool, on-demand routines get written up as a new skill, event-triggered routines get wired through a connector.

Try it

Example prompt
I keep doing [task] manually and want it automated. Ask me one question at a time:
what should this routine do, how should it start (schedule, event, or on-demand), what
apps or info does it need, what should the output look like, and is this just for me or
does it need to work for a team? Once I confirm the plan, build it one step at a time.

Or read the full skill file before you install it:

SKILL.md

name: routines-creator

description: Designs and builds Routines for Claude Code or Cowork — automated, repeatable workflows that run on a schedule, on a trigger, or on demand. Use this skill whenever the user says 'create a routine', 'build a routine', 'I want to automate this', 'help me set up a recurring workflow', 'I do this every week/day and want Claude to handle it', 'set up a scheduled task', 'automate my morning/weekly/monthly process', or describes any task they want to happen automatically or consistently. Also trigger when the user says 'I keep doing X manually' or 'can Claude do Y for me automatically' or 'recommend me a routine' or 'what routine should I build' or 'help me figure out what to automate'. This skill covers the full lifecycle: recommending routines via questionnaire, interviewing the user, designing the routine architecture, identifying the right tools and integrations, and building the routine one step at a time — for both Claude Code and Cowork.

Routines Creator

A Routine is a named, repeatable workflow that Claude executes automatically or on demand. This skill helps the user go from "I want to automate X" — or even just "I don't know what to automate" — all the way to a working routine, on whichever platform they're using.

Two ways to start:

  • "I know what I want to build" → Platform Selection, then Phase 1: Discover
  • "I'm not sure what to build" → Recommend Mode first, then Platform Selection

Everything in this skill happens one step at a time. Claude asks one question, waits for the answer, then moves forward. Claude never presents a wall of information — only what the user needs right now. When building, each action gets its own step. The user says "done" (or "next" or "ready") to advance.

This approach exists because building routines involves a lot of decisions and actions — presenting them all at once creates overwhelm and makes it easy to miss things. One step at a time keeps things clear and manageable.


Platform Selection

Ask this before anything else — before Phase 1, and before Recommend Mode if the user already knows what they want to build. If Recommend Mode comes first, ask this immediately after the user picks a routine to build.

Ask exactly this (keep it short and clear):

"Quick question before we dive in — are you building this for Claude Code (the terminal/CLI tool) or Cowork (the desktop app)? The setup steps are different depending on which one."

Wait for the answer. Then carry the platform choice through every remaining phase — it affects Phase 2 (design notes and constraints) and Phase 3 (how the routine is actually built).

If they say Claude Code: Read references/claude-code-implementation.md before Phase 2. The build steps in Phase 3 will follow the Claude Code path.

If they say Cowork: Proceed with the existing Cowork build paths in Phase 3 (scheduled tasks MCP, skill files, Zapier/Make connectors).

If they're unsure: Briefly explain in one sentence: "Claude Code is the terminal app you install and run from your command line. Cowork is the desktop app you're using right now." Then ask again.


Recommend Mode

Use this when the user isn't sure what to build, asks for suggestions, or says something like "what routine would help me?" or "recommend me something to automate."

Read references/routine-recommender.md for the full questionnaire and recommendation logic.

The questionnaire has 5 questions, one at a time. After each answer, acknowledge it briefly before asking the next — don't just fire questions back-to-back. Once all 5 are answered, present 2–3 recommended routines, each with:

  • A name and one-sentence description
  • Why it fits based on what the user shared
  • The trigger type and estimated setup complexity (Simple / Moderate / Advanced)

Then ask: "Which of these feels most useful to start with?"

Once the user picks one, flow directly into Phase 1: Discover for that routine.


Phase 1: Discover

One question at a time. Ask only what you need, and wait for the answer before moving on. Never stack multiple questions in one message.

Start with the most important question — what the user actually wants to happen — then follow up based on what they say.

The questions to work through (in roughly this order):

  1. What do you want this routine to do? (If vague: "Walk me through it — what would happen first, then second, then last?")
  2. How should it start — on a schedule, when something happens, or when you call it yourself?
  3. What apps or info does it need to touch? (Gmail, Notion, Calendar, local files, etc.)
  4. What should the output look like? (Chat summary, a file, an email draft, a calendar event?)
  5. Is this just for you, or does it need to work for a team?

When you have enough to move forward, write a one-sentence summary of what the routine does and ask the user to confirm:

"So — a routine that [does X], runs [when], and produces [output]. Does that sound right?"

Wait for confirmation before moving to Phase 2. If they want to adjust something, make the change and confirm again.


Phase 2: Design

Read references/routine-types.md to categorize the routine and determine its trigger. Read references/tool-integrations.md to identify the right tools for each step.

Present the plan in this format — keep it scannable, not a wall of text:

## Routine: [Name]

**What it does:** [One sentence]
**Trigger:** [Specific time/event/call — be exact, e.g. "8:00 AM every weekday"]
**Output:** [What the user gets]

### Steps
1. [Step name] — [What happens, what tool is used]
2. [Step name] — [What happens, what tool is used]
3. [Step name] — [What happens, what tool is used]

### Tools needed
- [Tool]: [Why it's needed]

### Before this runs
[Required setup — connected apps, MCP IDs, anything the user needs to do first]

After presenting the plan, explain your key choices briefly. If there's a tradeoff worth mentioning ("I could use Zapier here, but the direct MCP is simpler"), mention it in one sentence and state your recommendation.

Then ask: "Does this plan look right, or would you like to change anything?"

If they want changes, update the plan and confirm again before building. Don't start building until the user explicitly approves.


Phase 3: Build

Once the plan is approved, build the routine one step at a time. Each step gets its own message. After delivering a step, end with:

"When you're ready, say done and I'll give you the next step."

Wait. Do not advance until the user says done (or "next", "ready", "continue", "ok", "yeah", "yep" — anything that signals they're ready to move forward).

Structure each build step like this:

**Step [N] of [total]: [Step name]**

[What to do — short, clear, specific. One action.]

[If there's something to check or confirm, note it here in one line.]

Keep each step to 3–5 lines max. If a step involves multiple sub-actions, break it into separate steps rather than combining them.


Build Path A: Cowork

Use this when the user chose Cowork during Platform Selection.

Scheduled routines (Cowork):

  • Step 1: Confirm the cron schedule — show it in both plain language and cron format ("every Monday at 8am = 0 8 * * 1")
  • Step 2: Write the self-contained task prompt
  • Step 3: Register via mcp__scheduled-tasks__create_scheduled_task — confirm the task ID and next run time
  • Step 4: Offer to run it once immediately as a test

On-demand routines (Cowork):

  • Step 1: Confirm the skill name and that the Skills Creator workspace is where it should live
  • Step 2: Write the SKILL.md content
  • Step 3: Save to the Skills Creator workspace folder
  • Step 4: Confirm how to invoke it (by saying its name or typing /skill-name)

Event-triggered routines (Cowork):

  • Step 1: Confirm the trigger event and which app fires it
  • Step 2: Set up the connector (Zapier MCP, Make MCP, or direct app MCP)
  • Step 3: Write the Claude prompt that runs when triggered
  • Step 4: Test with a sample event

Build Path B: Claude Code

Use this when the user chose Claude Code during Platform Selection. Read references/claude-code-implementation.md for the full technical details of each mechanism.

Claude Code has four ways to implement a routine — the right one depends on the routine type:

Routine typeClaude Code mechanism
On-demand (call it yourself)Skill file in .claude/skills/
Simple one-liner promptSlash command in .claude/commands/
Scheduled (runs automatically)claude trigger create
Event-triggered (fires on a tool or lifecycle event)Hook in .claude/settings.json

On-demand routines (Claude Code — Skill file):

  • Step 1: Confirm the skill name and scope — user-level (~/.claude/skills/) so it works everywhere, or project-level (.claude/skills/) for a specific project. Ask which they prefer.
  • Step 2: Write the SKILL.md content — include the YAML frontmatter (name, description) and the full step-by-step workflow
  • Step 3: Create the skill directory and save the file. If file access is available, write it directly. If not, show the user the exact file path and content to create.
  • Step 4: Confirm invocation — user can type /skill-name in Claude Code or just describe what they want (Claude auto-invokes based on the description)

Scheduled routines (Claude Code — claude trigger create):

  • Step 1: Confirm the schedule in cron format and show the plain-language equivalent
  • Step 2: Write the self-contained prompt Claude will run at each trigger
  • Step 3: Provide the exact claude trigger create command to run in the terminal. If possible, run it directly. If not, show the command clearly formatted in a code block with an explanation of each flag.
  • Step 4: Confirm it's registered — show what to expect and how to verify it's running

Event-triggered routines (Claude Code — Hooks):

  • Step 1: Confirm the hook event type (PreToolUse, PostToolUse, SessionStart, SessionEnd, UserPromptSubmit, Stop) and what triggers it
  • Step 2: Write the shell script or HTTP handler that will run
  • Step 3: Show the exact JSON snippet to add to .claude/settings.json. If file access is available, write it directly. If not, show the full config snippet to paste.
  • Step 4: Explain how to test it — what action will fire the hook for the first time

Simple prompt shortcuts (Claude Code — Slash command): Use this only for very simple, one-shot prompts that don't need a full skill structure.

  • Step 1: Confirm the command name
  • Step 2: Write the markdown file content (just the prompt)
  • Step 3: Save to ~/.claude/commands/<name>.md (user-level) or .claude/commands/<name>.md (project-level)
  • Step 4: Confirm — user invokes with /<name> in Claude Code

When Claude Code can't deploy directly

If this skill is running in Cowork (not Claude Code) and the user wants to build for Claude Code, Claude can still write the files to the filesystem — just ask for the path to their Claude Code project first:

"What's the path to your Claude Code project folder? For example: /Users/yourname/my-project — I'll save the files in the right place inside it."

If the user doesn't have a project yet or prefers to do it manually, present each file's content in a clearly labeled code block with the exact destination path above it, so they can copy-paste it themselves.


After the last step

Once all steps are done, send a short confirmation message:

"✅ [Routine Name] is ready. Here's how to use it: [one sentence]. Let me know if you'd like to test it now or adjust anything."


How to communicate throughout

The user may be working through a lot of decisions and actions. These guidelines apply at every phase:

  • One thing at a time. One question. One step. One action. Never combine.
  • Short messages. If you're about to write more than 6–8 lines, find a way to split it.
  • Be explicit about what comes next. End every message with a clear signal: a question, a "say done to continue", or a confirmation prompt. Never leave the user guessing.
  • Acknowledge before moving forward. When the user answers a question or completes a step, say something brief like "Got it" or "Perfect" before moving to the next thing. It signals you heard them.
  • No jargon without explanation. If you use a technical term (cron, MCP, webhook), explain it in parentheses the first time: "a cron schedule (the format computers use to define repeating times)".
  • Celebrate small wins. When a step is done, say so. When the routine is built, make it feel like an accomplishment — because it is.

Key Principles

Start narrow. A routine that does three things reliably beats one that tries ten and breaks. If the user's idea is big, suggest starting with the core and expanding once it's working.

Match the trigger to real behavior. "Every day" often means "every weekday." Ask. People default to "daily" when they mean Mon–Fri.

Surface setup requirements early. If a routine needs Gmail connected, Notion authorized, or a specific plugin installed, say so in Phase 2 — not mid-build when it's frustrating to discover.

Don't duplicate what exists. Before building a new routine, check if something similar is already set up. Build on what's there.


Reference Files

  • references/routine-types.md — Scheduled, triggered, and on-demand routine types with trigger mechanics and implementation guidance. Read during Phase 2.
  • references/tool-integrations.md — Available MCPs and tools, what they do, and when to use each. Read during Phase 2 when mapping steps to tools.
  • references/routine-recommender.md — Questionnaire questions and recommendation logic for Recommend Mode. Read at the start of Recommend Mode.
  • references/claude-code-implementation.md — Technical details for building routines in Claude Code: Skills, Slash Commands, Hooks, and Scheduled Tasks. Read when the user selects Claude Code during Platform Selection.

When to reach for it

Anything recurring, a morning brief, a weekly recap, a standing check-in, that you're currently doing by re-typing the same prompt.

Install this skill

Get the actual skill file running in your own Claude.

Download .skill file

Claude.ai, Claude Desktop, or Cowork

Download the .skill file above, then go to Settings → Capabilities → Skills and drag it in.

Claude Code

Download the .skill file (or copy the raw SKILL.md below), then unzip it into .claude/skills/routines-creator/SKILL.md in your project, or into ~/.claude/skills/ to make it available across every project.

Just want to try it once, right now?

Copy the raw SKILL.md text below and paste it into a new Claude conversation with: "Use these instructions as a skill for this conversation."

Get new guides and builds in your inbox

No noise. New artifacts, skills, and lessons when they drop — and early access when agents launch.

Want guided, step-by-step help building something like this?

That's Build AI with AI — a structured program that takes you from prompt templates to full automations, with real projects and community support.

Check out Build AI with AI →