Install
openclaw skills install smart-memory-trigger-systemIntelligent system that automatically determines when to create workflow documentation based on task complexity, repetition patterns, and user intent. Transforms from 'passively waiting for instructions' to 'actively providing help'.
openclaw skills install smart-memory-trigger-systemAn intelligent system that automatically determines when to create workflow documentation based on task complexity, repetition patterns, and user intent. Transforms agents from "passively waiting for instructions" to "actively providing help."
Automatically triggers this skill when encountering the following situations:
function evaluateComplexity(taskDescription) {
let score = 0;
// 1. Step Count Evaluation
if (taskDescription contains "first step" and "second step") score += 2;
if (taskDescription contains "third step") score += 2;
if (taskDescription contains "fourth step" or "finally") score += 2;
// 2. System Involvement Evaluation
if (taskDescription contains "configuration file" or ".json") score += 1;
if (taskDescription contains "command line" or "command") score += 1;
if (taskDescription contains "restart" or "gateway") score += 1;
if (taskDescription contains "Feishu" or "WeChat" or "platform") score += 1;
// 3. Configuration Impact Evaluation
if (taskDescription contains "configuration" or "settings") score += 1;
if (taskDescription contains "modify" or "edit") score += 1;
if (taskDescription contains "add" or "delete") score += 1;
// 4. Collaboration Requirement Evaluation
if (taskDescription contains "team" or "collaboration") score += 1;
if (taskDescription contains "multiple" or "several") score += 1;
return score;
}
System Configuration: ["configuration", "settings", "install", "deploy"]
File Operations: ["create", "edit", "delete", "move"]
Command Line: ["execute", "run", "command", "script"]
Platform Integration: ["Feishu", "WeChat", "API", "integration"]
When similarity between current task and historical tasks > 0.7, treat as repetition pattern and should create or reference existing workflow.
Recording Requests: ["remember", "record", "save", "memo"]
Summary Requests: ["summarize", "organize", "arrange", "sort"]
Process Requests: ["process", "steps", "method", "operation"]
Future Use: ["next time", "in the future", "later", "repeat"]
When detecting these keywords, proactively ask if workflow documentation is needed.
"Teacher Sun, this task appears to be relatively complex (score: X points) and may be reused. Would you like me to create a workflow document?"
"Teacher Sun, this task is very similar to the previous [similar task]. Should I reference the previous workflow?"
"Teacher Sun, you mentioned needing to [record/summarize/process]. Should I create the document now?"
"Teacher Sun, this configuration change may affect system stability. Should I record the detailed steps?"
[task-type]-workflow.mdfeishu-bot-configuration-workflow.mdC:\Users\sjh65\.openclaw\workspace\workflows\feishu-bot-configuration-workflow.mdStart Task
↓
Analyze Task Description
↓
Evaluate Complexity (step count, system involvement, configuration impact)
↓
Check Task History (is it a repetitive type?)
↓
Analyze User Intent (are there "remember", "summarize" keywords?)
↓
┌─────────────────────┐
│ Need to create memory trigger? │
└─────────────────────┘
↓
┌─────────────────────┐
│ Yes → Proactively ask user │
│ No → Execute task normally │
└─────────────────────┘
Skill Creation Time: 2026-03-18 Upgraded to English Version: 2026-03-20 Original Creator: Commander (based on Shrimp Assistant's design) Upgraded By: Shrimp Assistant (main agent) Goal: Achieve systematic, automated memory trigger decision-making