intelligent-memory-trigger-system
Intelligent 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'.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/daddy-sun/smart-memory-trigger-system🧠 Intelligent Memory Trigger System
🎯 Skill Overview
An 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."
📋 Usage Scenarios
Automatically triggers this skill when encountering the following situations:
Mandatory Trigger Conditions (Hard Requirements)
- Steps ≥ 3: Task contains 3 or more operational steps
- Cross-system ≥ 2: Task involves 2 or more system components
- Configuration Changes: Modifying core configuration files or system settings
- Repetition Occurrence: Same or similar task appears for the 2nd time
- User Explicit Request: User indicates "remember", "summarize", "process"
Recommended Trigger Conditions
- Complexity Score ≥ 6 points (see evaluation algorithm)
- Potential Reuse: User mentions "next time", "in the future"
- Team Collaboration Tasks: Involving multiple agent collaboration
- Error Risk: Complex operations prone to errors
🧠 Core Decision Logic
Complexity Evaluation Algorithm
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;
}
Decision Thresholds
- Total Score ≥ 8 points → Must create memory trigger
- Total Score 6-7 points → Recommend creating memory trigger
- Total Score ≤ 5 points → No need to create memory trigger
🔍 Repetition Pattern Detection
Task Type Identification Keywords
System Configuration: ["configuration", "settings", "install", "deploy"]
File Operations: ["create", "edit", "delete", "move"]
Command Line: ["execute", "run", "command", "script"]
Platform Integration: ["Feishu", "WeChat", "API", "integration"]
Repetition Detection Logic
When similarity between current task and historical tasks > 0.7, treat as repetition pattern and should create or reference existing workflow.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-daddy-sun-smart-memory-trigger-system": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
designer-intelligence-station
Designer intelligence collection tool. Monitors 46 public sources (AI/hardware/mobile/design), dynamic quality-based filtering v2.1.8, generates structured daily/weekly reports. All data stored locally.
calling-agent-squad
Activate a multi-agent team (the Squad) to manage complex projects, business tasks, or development workflows. The squad includes a Manager, Architect, Coder, Reviewer, and Observer. Use when the user wants to "call a squad", "start a project", or "deploy squad" with specialized roles and quality control loops.
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
auto-context
智能上下文卫生检查器。分析当前会话的上下文污染程度 (长对话、主题漂移、噪声累积),建议:continue、/fork、/btw 或新会话。 支持手动触发(/auto-context)和自动触发(响应层实现)。 基于 ArXiv 论文和认知心理学研究的多维度评估体系。