Skip to content

Save a prompt, run it again

  • Anyone who types the same prompt more than once
  • Watch 0:24
  • Read 3 min
Install Stapler Squad
Transcript

What happens on screen

  1. The workflow's input template asks for sources, short linked wiki pages and a list of what changed.
  2. A dialog asks for the input before the run starts.
  3. The terminal shows the sample agent searching, writing two linked pages and updating the index.
  4. The omnibar recognises the workflow name and treats the rest of the line as its input.
  5. The workflow runs daily at three in the morning and keeps its seven most recent sessions.

Captions

  • 0:01 The input template marks where your topic goes
  • 0:05 Run it from the page and type a topic
  • 0:07 A new session starts in the wiki directory
  • 0:13 Or type @topic-synthesis and the topic in the omnibar
  • 0:16 This one is scheduled to run every day at 03:00
  • 0:21 Back to the first run: the pages it wrote
  1. Open Workflows and edit Topic Synthesis to see its input template.

    The instructions stay the same and only the topic changes.

    The edit form of the Topic Synthesis workflow, with an input template that starts with the topic placeholder.
    Marker 1 shows the input template. The {{input}} placeholder is replaced by the topic you give at run time.
  2. Press Run on Topic Synthesis and type a topic.

    The Run Topic Synthesis dialog with a topic about SQLite write-ahead logging typed into the input field.
    Marker 1 shows the topic typed into the run dialog.
  3. Run it. A new session starts in the wiki directory with your topic filled in.

    The terminal of a Topic Synthesis session showing sample output that lists the wiki pages created or changed.
    The session lists the pages it created or changed. The output shown is canned sample text.
  4. Next time, open the omnibar, type @topic-synthesis followed by the topic, and press Enter.

    The omnibar resolving the topic-synthesis workflow and showing the topic as its argument.
    Marker 1 shows the resolved workflow and the argument it will receive.
  5. Edit Nightly Worktree Disk Cleanup to see its schedule. Its prompt removes only clean worktrees whose pull request is merged or closed, and asks for what was removed, what was kept and why, and the space freed.

    The workflow form has no auto-approval setting, but the chosen program and your session defaults can still skip permission prompts, so check them before scheduling.

    The edit form of the nightly cleanup workflow, scheduled daily at 03:00 with scheduled runs enabled and seven sessions kept.
    Marker 1 shows the daily schedule at 03:00, in the server's time zone.

Try it

Install Stapler SquadRead the help page

Recorded 2026-12-04 (build 8417998)

Recorded with sample data, not a real team's work.