Skip to content
Monitoring
Skill

/write-automation-guide

Write step-by-step automation instructions for a workflow, tailored to your tool (Claude, n8n or Zapier). Best run right after analyze-processes.

From plugin
memorylane
1246 skills1 MCP

Claude Code

$ npx -y skills add deusXmachina-dev/memorylane --skill write-automation-guide --agent claude-code

SKILL.md

write-automation-guide.SKILL.md
name: write-automation-guide
allowed-tools: AskUserQuestion, Read, Glob, Write(./automation/*), mcp__memorylane__browse_timeline, mcp__memorylane__search_context, mcp__memorylane__get_activity_details, mcp__memorylane__get_db_path, mcp__plugin_memorylane_memorylane__browse_timeline, mcp__plugin_memorylane_memorylane__search_activity, mcp__plugin_memorylane_memorylane__get_activity_details, mcp__plugin_memorylane_memorylane__list_organizations, mcp__plugin_memorylane_memorylane__list_teams, mcp__plugin_memorylane_memorylane__list_devices
description: Write step-by-step automation instructions for a workflow, tailored to your tool (Claude, n8n or Zapier). Best run right after analyze-processes.

Automation Instructions

Turn one workflow into clear, build-ready instructions for a specific automation tool. Assumes it runs **after** `/analyze-processes`, so it reuses their output as the source and does NOT re-mine the timeline unless nothing is supplied.

Before you start

Read `${CLAUDE_PLUGIN_ROOT}/references/data-sources.md`. It says whether to use the local or remote tools, and how the remote ones differ. Tool names below are the local ones.

Tools can load on demand, so search for them first. If neither the local tools (`search_context`) nor the remote tools (`search_activity`) turn up, stop and reply with exactly:

> MemoryLane isn't connected yet. In Claude, open **Settings > Connectors** and sign in to **MemoryLane**. If you use the MemoryLane desktop app, open **Settings > Integrations** there and click **Connect** or **Reconnect** next to **Claude Cowork**. Then run this again.

Do not suggest plugin settings, Retry, or toggling the plugin.

Step 1. Get the workflow (prefer prior output)

In priority order, do NOT re-derive what you already have:

1. **A process from `/analyze-processes`** (a `process-analysis*.md` ledger, or a process the user points to) -> read that process's steps, apps, frequency, and automatable split. Glob `process-analysis*.md` in the working dir; if found, use the last fenced json block. 2. **A workflow the user describes in chat** -> use the description as-is.

Only if NONE of the above is available, fall back to mining: `search_context(query)` across ~30 days for instances, `browse_timeline` around the strongest matches for the full sequence, and `get_activity_details(ids)` on 2 to 3 clear instances for exact steps. Keep it bounded.

Step 2. Ask three things (one batched AskUserQuestion)

1. **Target tool** - Claude, n8n, or Zapier. Drives the whole output style. 2. **Constraints** - anything it must NOT do (no writes to prod, no emails to customers, human approval required, leave step X manual, etc.). 3. **Output format** - text, markdown, or JSON. **Assume markdown if skipped.**

Respect the constraints everywhere in Step 3, and call out any step the constraints force to stay human.

Step 3. Write the instructions (tailored to the tool + format)

Reconstruct the flow from trigger to done, separating **variables** (change each run, the inputs) from **constants** (fixed, hardcoded). Then write it for the chosen tool:

  • **Claude (Cowork / Skill)** - frame as Connect, Create, Run. Which apps to connect, the

Skill/agent brief and the steps Claude runs, what it drafts vs writes, and the human approval gate before anything is sent or saved.

  • **n8n** - the trigger node, the ordered nodes with the app/action and the data mapped

between them, and error/retry handling. Deterministic, so any judgment step stays a human or AI-assist node.

  • **Zapier** - the Trigger, then one Action per step (app + action + field mapping), plus

any Filter or Path for branches. Note steps Zapier cannot do that need a human or code.

Render in the chosen format: **markdown** = the skeleton below; **text** = the same content as plain prose, no markdown; **JSON** = one object `{ name, tool, trigger, variables[], constants[], steps[{n, app, action, input, output, on_error}], human_steps[], constraints[] }`.

Markdown skeleton (keep it tight, drop empty sections):

# [Workflow] - Automation instructions ([tool])

**Does:** [one line] **Trigger:** [what starts it] **Frequency:** [from the source]
**Constraints:** [what it must not do]

## Variables (inputs that change each run)

- [name]: [example]

## Constants (hardcoded)

- [name]: [value]

## Steps

1. [Action] in [app] - input [x] -> output [y]. On error: [fallback].
2. ...

## Stays human

- [step + why, incl. anything the constraints forced manual]

## Build notes ([tool])

- [trigger + key apps/nodes/actions + effort: easy/medium/hard]

Step 4. Save and present

Ask where to save (default `./automation/[workflow-slug].md` in the working folder, or `.txt` / `.json` to match the format). Create the folder if needed. Then show the path and a 2-line summary (tool, step count, key apps). Offer to do another workflow.

Notes

  • **Privacy** - never put passwords, API keys, or personal-message content in the output;

keep only process-relevant details (app names, field labels, URLs).

  • **Gaps** - if the source evidence is thin, say which steps are assumed and what the user

should confirm before building.

Read more
@deusxmachina-dev
Ships withmemorylane
1246 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
124
Star history of deusXmachina-dev/memorylane on GitHub, a chart by star-history.com

Other skills on memorylane.

build-report

build-report

Turn a process analysis into a polished, client-ready report, first an HTML deck you review, then a matching PDF. Use to package…

More skills from other plugins.

agentdb-advanced

agentdb-advanced

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid…

ruview13d102k
@ruvnet@ruvnetInstall Skill
install

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a…

@kubeshark@kubesharkInstall Skill
scan

scan

Scan a project with sentrux to get structural health grades (A-F) across 14 dimensions including coupling, cycles, cohesion, dead…

sentrux7mo3.3k
@sentrux@sentruxInstall Skill
phone-input

phone-input

Call the user on the phone for real-time voice conversations. Use this when you need input, want to report on completed work, or…

callme7mo2.7k
@zeframlou@zeframlouInstall Skill

Questions about write-automation-guide.

Which coding agents can use write-automation-guide?
write-automation-guide installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.