agentleFS
stunt-doublestunt-double/stuntdouble-mcp/skills/maintain-automations/SKILL.md

maintain-automations

Skill1 starsChanged 32 days agoMITView on GitHub

Change an existing Stunt Double workflow or checklist without losing run history: retime triggers, edit and rewire steps, build condition branches, update checks in place, pause or retire.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Pause or retire: prefer toggle_workflow to pause.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Maintain automations

  1. Find and read: search(workspace_id, query), list_workflows, list_checklists. get_workflow(workflow_id) shows steps, connections, execution_order and unreachable_step_ids; read it before changing anything.
  2. Trigger and details: update_workflow(workflow_id, name?, description?, trigger_config?). For a schedule send { cron, timezone } with the timezone from get_me.
  3. Steps:
    • update_workflow_step(step_id, config) replaces the config in full: send every key.
    • add_workflow_step(...) appends and connects; remove_workflow_step(step_id) repoints its inputs at its outputs.
    • reorder_workflow_steps(workflow_id, step_ids) sets one linear order. Pass every id (one left out is disconnected); it flattens branches.
  4. Branches: connect_workflow_steps(workflow_id, source_step_id, target_step_id, branch). On a condition step branch is 'true' or 'false'; otherwise null. A step appended after a condition lands on true; false is unconnected by default, so a failed condition ends the run unless you connect it. source_step_id: null is the trigger; target_step_id: null disconnects.
  5. Checklists: get_checklist(checklist_id), then update_checklist(checklist_id, checks=[…]) sending each existing check with its id. A kept id keeps run history; a dropped check is deleted with its results. Also adjustable: instructions, url, actor_id, pass_threshold, run_mode.
  6. Verify: get_workflow again (all steps in execution_order, none unreachable), then run_workflow or run_checklist once.
  7. Pause or retire: prefer toggle_workflow to pause. delete_workflow and delete_checklist discard all run history, so use them only when the user asks.

Example, notify only on failure: add_workflow_step(workflow_id, step_type="condition", config={ field: "previous_step.failed", operator: "gt", value: 0 }), then add_workflow_step(workflow_id, step_type="notification", config={ channel: "email", recipients: { type: "all_members" }, template: "failed" }).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.