iMU

Turn Repeat Work Into Scripts and Routines

By iMU · · 7 min read

A smart teammate can think. That does not mean it should think from scratch every Monday. If you have run the same job three times, you are ready to write it down, then let a routine run the part that should stay the same.

Quick answer: script or routine?

A script is a fixed method: the same steps, the same checks, the same output shape. A routine is when that method should run, on a clock or a clear trigger. Think first while you are designing the method. Run the method when you are doing the work again.

Three repeats is enough. Do not wait for a perfect system.
1Do it once byhand2Do it a secondtime3Write the steps4Schedule theroutine

Why repeat work drifts if you leave it in chat

The first time you ask for a morning brief, you will tweak the voice and the length. The third time, you should not still be negotiating the format. If the steps live only in old messages, the bot will invent a slightly new process each day. That costs attention, and it also costs usage, because the teammate is “thinking” through a problem you already solved.

The useful split is simple. Use judgment for new work. Use a written method for familiar work. If the method needs a change, you edit it on purpose, not in passing.

Write the method like a recipe, not a vibe

A good method is boring to read and easy to check. It says when to use it, what it needs, the steps, how you will know it worked, what it should return, and what must wait for you.

Copy and paste: turn a repeat job into a method
Turn the morning brief we just finished into a reusable method.

Write it to work/methods/morning-brief.md with these headings:
- When to use
- Inputs
- Steps
- How to check
- What to return
- Needs my approval

Keep the steps specific enough that a new chat could follow them without the old thread.
If a step still needs my judgment, mark it “ask me” instead of guessing.

Read that file the way you would read a recipe before you leave it with a teammate. If a step says “handle the inbox,” tighten it. If a check is missing, add one. This is also how a recorded walkthrough should be treated: a draft of the method, not the final method.

Write the method once. Edit it when the job changes, not in the middle of a rush.
Rethink it each day- New prompt every morning- Format keeps changing- Easy to skip a check- Hard to hand to a routineRun a written method- Same steps, on purpose- Output shape stays stable- Checks are in the file- A routine can call it

Then give the method a time, or a narrow trigger

A routine needs an owner, a schedule or trigger, a timezone, and a plan for missing data. “Every morning” is not enough. “Weekdays at 7:00 a.m. Bangkok time, follow work/methods/morning-brief.md, and skip if the inbox cannot be opened” is a routine.

Copy and paste: propose a routine, do not start it yet
Propose a routine for the morning brief method in work/methods/morning-brief.md.

Include: owner bot, weekdays and time (Asia/Bangkok), the exact files it should read and write,
what to do if the inbox or calendar is unavailable, and what it must never do without my yes.

Do not turn the routine on. Show me the plan and wait for approval.

Keep triggers narrow. “When I get a Slack message” is a fire hose. “When a message arrives in the #invoices channel that contains a PDF” is a trigger you can live with. Wide triggers burn usage and bury the work you actually wanted.

Use a script for the part that should not think

Some steps are the same every time: collect yesterday’s files, sort a folder, build a table, run a checklist. Those steps are better as a small script the routine can run than as a fresh essay from the model. You still use the teammate to design the script, read errors, and explain a surprise. You do not need it to reinvent the sort order at dawn.

If you cannot write the script yourself, ask the teammate to draft it, then run it on a safe sample. Keep the script in the work folder next to the method, and have the method say “run this,” not “figure this out again.”

A routine calls a method. A method may call a script. You approve the plan first.
DailyRoutine — Runs the method at a set timeInside itMethod — The written steps and checksStable stepsScript — The part that should come out the same

Test for real, on safe examples

A test run on a teammate with a computer is not a rehearsal in a vacuum. It can click, file, and call tools. Test on a sample you can afford to touch. Watch it once. If the result is right, turn the routine on. If the site or the process changes later, re-test. A routine is not “set and forget” forever. It is “set, then review.”

Give yourself a short weekly review

Once a week, read three things: what the routine produced, where it stalled, and whether the method still matches the job. If you corrected the bot twice, add the correction to the method. If you never opened the output, pause the routine. A quiet pause is better than a schedule that no longer earns its place.

Copy and paste: a Friday review
Read this week's files in work/results/ and work/corrections.md.

Give me a 10-line review: what ran, what looked useful, what failed or needed me,
and one proposed edit to work/methods/morning-brief.md.
Do not change the method until I say yes.

Start with one routine you would miss

You do not need a dozen schedules to be “set up.” One routine that drafts a brief you actually read is worth more than five that you silence. Get that one steady. Then, if a second job has also been done by hand three times, write its method too.

A skill is a method you call; a routine is a method that wakes itself

People mix these up, and the mix causes clutter. A skill is a written method you can invoke when you need it: “use the invoice-check method on this PDF.” A routine is that method plus a clock or a trigger, so it starts without you asking. You can have a skill for months before it deserves a routine.

If you are not sure, keep it as a skill. Call it by hand three more times. If you keep calling it at the same time of day, then propose the routine and wait for your own yes before it goes live. That keeps your mornings from filling up with schedules you do not actually open.

When you do save a skill, write the “when to use” line first. A skill without that line will get grabbed for the wrong job, and you will spend the next week teaching the bot when not to use it.

Your next step: join iMU free

iMU has a free seat with no card needed. Come in, start the first Grok Bot lesson, and use these guides when you are ready for the next rung.

Join iMU free