From memorylane
Reviews detected patterns from MemoryLane, scores on repetition cross-app flow feasibility and specificity, filters aggressively, surfaces top automation candidates.
npx claudepluginhub deusxmachina-dev/memorylane --plugin memorylaneThis skill is limited to using the following tools:
Curate the raw output from MemoryLane's pattern detector. Filter aggressively, score what survives, polish the top candidates, and present them as actionable automation opportunities.
Discovers repeated workflow patterns from screen activity timelines and suggests automations via native integrations, n8n/Make/Zapier, or custom scripts.
Detects repeated workflow patterns from AI sessions and suggests reusable skills to automate them. Use when optimizing workflows.
Discovers recurring patterns across code analyses. Embedded in run-analysis skill; do not invoke separately—use run-analysis instead.
Share bugs, ideas, or general feedback.
Curate the raw output from MemoryLane's pattern detector. Filter aggressively, score what survives, polish the top candidates, and present them as actionable automation opportunities.
Call list_patterns() to get every detected pattern. Each pattern includes: id, name, description, apps, automationIdea, sightingCount, lastSeenAt, lastConfidence.
If there are zero patterns, tell the user: "No patterns detected yet. Run /discover-patterns first, or wait for the daily detector to accumulate data." Stop.
This step is pure reasoning — no tool calls.
Score each pattern on 4 dimensions (each 0–2.5, composite 0–10):
| Dimension | 2.5 (strong) | 0 (discard) |
|---|---|---|
| Repetition | 5+ sightings, seen within last 7 days | 1 sighting, sounds one-off |
| Cross-app | 3+ apps, clear data flow between them | Single-app pattern |
| Feasibility | Public APIs exist, linear workflow | Requires human judgment |
| Specificity | Named apps, described data/fields, clear trigger | Generic ("uses browser") |
Selective tool calls on top candidates only:
get_pattern_details for the top 3 surviving patterns — get sighting history, evidence text, and linked activity IDs.search_context for the top 1–2 patterns — verify the pattern holds across a wider 30-day window. Use a query that captures the core workflow (e.g., the key apps + action).get_activity_details only if a pattern's automation idea needs specific data fields (URLs, field names, data being moved). Max 5 activity IDs, max 2 patterns. Do NOT reproduce raw OCR containing passwords, API keys, or personal messages.Use findings from this step to adjust scores or discard patterns that don't hold up under scrutiny.
For each surviving pattern, rewrite:
Output the review as markdown (not HTML):
## Pattern Review — {N} candidates from {total} detected
{1-line summary of overall findings}
---
### 1. {polished_name}
**Category:** {category} | **Apps:** {apps} | **Sightings:** {count} | **Confidence:** {pct}%
{polished description}
**Automation:** {polished approach}
**Effort:** {effort} | **Est. time saved:** {estimate}/week
---
### 2. {polished_name}
...
End with a filter summary: "{X} patterns discarded ({brief breakdown — e.g., '3 programming, 2 browsing, 1 too generic'})."
If no patterns survive filtering, say so directly: "All {N} detected patterns were filtered out ({breakdown}). The detector is picking up casual activity rather than cross-app workflows. Try again after a week that includes operational work like data entry, reporting, or cross-tool data movement."
Use AskUserQuestion with two interactive prompts built dynamically from surviving patterns:
{
"questions": [
{
"question": "Which patterns do you want to act on?",
"header": "Patterns",
"options": [
{
"label": "1. {polished_name}",
"description": "{short_description}"
},
{
"label": "2. {polished_name}",
"description": "{short_description}"
}
],
"multiSelect": true
},
{
"question": "What should I do next?",
"header": "Next step",
"options": [
{
"label": "Create PDF briefing",
"description": "Generate a process description document — via /pattern-to-pdf"
},
{
"label": "Create automation runbook",
"description": "Generate a step-by-step automation runbook — via /pattern-to-runbook"
},
{
"label": "Dig deeper",
"description": "Gather more evidence — inspect OCR, widen search window, verify edge cases"
}
],
"multiSelect": false
}
]
}
Generate one option per surviving pattern in the first question (up to 8).
After the user responds:
/pattern-to-pdf for each selected pattern./pattern-to-runbook for each selected pattern.get_pattern_details and get_activity_details with a broader set of activity IDs, then present updated findings with more specific automation recommendations.