intent-guardian
Watches your desktop activity, maintains a real-time task stack, detects when you forget what you were doing after interruptions, and gently reminds you. Your always-on focus companion.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/huilingp/intent-guardianIntent Guardian
Never lose your train of thought again.
Intent Guardian continuously monitors your desktop activity, builds a real-time understanding of what you're working on, and detects when you've been derailed by an interruption and forgotten your original task. When that happens, it nudges you back on track.
The Problem
Knowledge workers are interrupted every 3 minutes on average. After an interruption, it takes ~23 minutes to return to the original task -- and often, you never return at all. Not because the task isn't important, but because you simply forgot.
Intent Guardian solves this by maintaining a task stack -- a living model of what you're doing, what you were doing, and what got interrupted -- so you don't have to.
When to Use
- You are a multi-tasker who frequently context-switches between apps and tasks
- You often finish replying to a message and think "wait, what was I doing?"
- You want an AI companion that understands your work rhythm, not just your commands
- You want to build long-term awareness of your own focus patterns
Core Capabilities
1. Real-Time Activity Sensing
Polls the active window title and application name to build a continuous activity stream.
macOS:
bash command:"scripts/sense_activity.sh"
With ActivityWatch (richer data):
bash command:"scripts/sense_activitywatch.sh"
With Screen Capture (optional, requires vision model):
bash command:"scripts/sense_screen.sh"
2. Task Stack Maintenance
The agent maintains a task stack in memory/skills/intent-guardian/task_stack.json:
{
"stack": [
{
"id": "task_001",
"intent": "Writing product requirements doc, section 3",
"app": "Google Docs",
"window_title": "Product Requirements v2 - Google Docs",
"started_at": "2026-02-26T14:28:00",
"status": "suspended",
"suspended_at": "2026-02-26T14:31:00",
"suspended_by": "Slack notification from Li Si",
"completion_estimate": 0.6
},
{
"id": "task_002",
"intent": "Replying to Li Si about the API bug",
"app": "Slack",
"window_title": "Slack - #engineering",
"started_at": "2026-02-26T14:31:00",
"status": "completed",
"completed_at": "2026-02-26T14:35:00"
},
{
"id": "task_003",
"intent": "Looking up React useEffect cleanup pattern",
"app": "Chrome",
"window_title": "Stack Overflow - React useEffect cleanup",
"started_at": "2026-02-26T14:35:00",
"status": "active"
}
],
"current_focus": "task_003",
"forgotten_candidates": ["task_001"]
}
3. Interruption & Forgetting Detection
The agent analyzes the task stack to detect potential forgetting:
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-huilingp-intent-guardian": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
markdown-knowledge
将本地 Markdown 知识库与 OpenClaw 集成,支持语义检索和上下文注入。仅在用户触发时检索(搜索知识库、查一下知识库等),不主动注入。
autodream-core
通用记忆整理引擎 — 基于适配器模式的跨平台记忆整理技能。自动去重、合并、删除过时条目。| Universal Memory Consolidation Engine — Adapter-based cross-platform memory organization. Auto-dedup, merge, prune stale entries.
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 论文和认知心理学研究的多维度评估体系。