/memorylane:write-automation-guidefrom MemoryLane
Generates step-by-step automation instructions for a workflow, tailored to Claude, n8n, or Zapier. Best run after analyzing processes.
Ships in MemoryLane. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
In priority order, do NOT re-derive what you already have:
/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.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.
Respect the constraints everywhere in Step 3, and call out any step the constraints force to stay human.
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:
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]
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
automation-guide, workflow-instructions, n8n, zapier, process-automation
6 skills in this plugin
/analyze-processesFind a person's repeated tasks from their screen activity, and what each one is worth automating, with the time and money saved. Outputs the numbers and data a report is built from, not the visual. Use to analyze processes, mine workflows, or see what is automatable and what it saves. Every figure is labelled and grounded, never made up.
/build-n8n-workflow(BETA) Turn one process from a MemoryLane analysis, report or screen recording into a simple working n8n workflow, plus a short recipe to test and publish it. Builds the workflow in n8n when connected, else a file to paste in. One happy path, fewest steps. Use after analyze-processes.
/build-netsuite-automation(BETA) Turn one process from a MemoryLane analysis, report or screen recording into a simple NetSuite automation (SuiteFlow, plus a script only where needed), with a short recipe to build, test and switch it on. One happy path, fewest steps. Use after analyze-processes.
/build-reportTurn a process analysis into a polished, client-ready report, first an HTML deck you review, then a matching PDF. Use to package an analysis into an exec report or PDF. Shows the deck for approval before making the PDF, and never makes up numbers.
/recent-activitySummarize what you've been doing in the last 30 minutes.npx claudepluginhub deusxmachina-dev/memorylane --plugin memorylaneOther plugins' skills for the same job