Skip navigation
SOMEONE ON THE CLAUDE CODE TEAM JUST EXPLAINED HOW TO MAKE A TASK RUN THE SAME WAY EVERY TIME
0:00 / 0:24

SOMEONE ON THE CLAUDE CODE TEAM JUST EXPLAINED HOW TO MAKE A TASK RUN THE SAME WAY EVERY TIME

Dean W. Perkins

@deanwperkins212K followers

Visit on X
213 likesDownloadOriginal post

40,141 views

SOMEONE ON THE CLAUDE CODE TEAM JUST EXPLAINED HOW TO MAKE A TASK RUN THE SAME WAY EVERY TIME Lydia Hallie uses dynamic workflows for any task she wants to rerun the same way. No need for hundreds of subagents: around 10 is enough for her. Two types of people will see this: Person 1: explains the same task to Claude every week and gets something different every time. Person 2: turns it into a workflow and reruns it with one command. How it works: → Ask Claude to "make a workflow that does X" → Claude writes the file, plain JavaScript you can edit → You decide which subagents run and in what order → Save it from /workflows → Rerun it anytime with /name A skill tells Claude how to do something. A workflow tells it exactly in what order. Save this 🔖

12 Comments

Comments from the original post on X (Twitter)

  • Gonzalo's profile picture

    @gnzzalo_

    a mí lo que me pasa es que luego no me acuerdo de que lo tengo guardado y lo vuelvo a pedir a mano

    2 likes

  • Ayush Bhardwaj's profile picture

    @HastagAB

    When a workflow pins which steps run and in what order, the payoff shows up at debugging time: reruns become comparable, so a drifting output can be diffed step by step instead of re-reading a whole transcript. 'It worked last week' becomes something you can investigate.

    1 like

  • Lozo's profile picture

    @lozoboss

    Explaining the same task every monday was my whole job for a while The rerun button is the real upgrade

    1 like

  • Solanaboy's profile picture

    @okpebenbela

    "around 10 is enough" — enough for what exactly, nobody ever says what the 10 do

  • MASA's profile picture

    @themahis

    How does it handle error recovery if a subagent fails mid-run?

  • Ali Homsi's profile picture

    @Ali_Homsi

    I keep a log of my agent's past mistakes and let my agent maintain it it every session.. making that a /workflow instead of a prompt is what I'll try next. does the file survive a big refactor?

  • Marco's profile picture

    @maarcoofdezz

    yo soy la persona 1 y me acabo de dar cuenta ahora mismo

  • Dean W. Perkins's profile picture

    @deanwperkins

    hahaha theres a lof of people like you

  • Raven's profile picture

    @heyraven_io

    i just watched a bug report get a workflow and my improv career feels unstable

  • silvan's profile picture

    @silvanrec

    viene de Lydia Hallie, que trabaja ahí, así que me lo creo bastante más que a los hilos de siempre

  • céline ✧'s profile picture

    @celineodier

    wow, I didnt knew I was person 1 until now

  • Rodrigo Lemela Duarte's profile picture

    @RodrigoLemela

    rerunning a task the same way every time is what makes a workflow worth keeping. around 10 subagents also keeps it small enough that you can still read what each one did.