Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

intent-guardian意向守护者

Agent Skill

intent-guardian 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,851

周安装

552

GitHub Stars

公开资料未说明

下载量

4,504
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:intent-guardian(意向守护者)
来源仓库:https://github.com/huilingp/intent-guardian
安装命令:
openclaw skills install intent-guardian
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install intent-guardian

简介

意向守护者监控用户桌面活动并维护实时任务堆栈,防止中断后遗忘当前进度。

  • 适用于 OpenClaw 中需要长期专注或频繁切换任务的开发者群体。
  • 轻量级提醒机制帮助恢复工作状态,提升生产力连续性。
  • 必须获得屏幕录制与进程访问权限,存在一定隐私泄露风险需谨慎授权。
  • 建议仅在信任设备上使用,并关闭非必要的数据同步功能。

SKILL.md

name
intent-guardian
version
1.0.0
description
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.
author
huiling-one2x
tags
[productivity, focus, memory, awareness, context-switch]
tools
[shell, filesystem, memory, chat]
trigger
intent guardian|task stack|what was I doing|focus guard|track my tasks
config
poll_interval_seconds
5
interruption_threshold_minutes
5
reminder_cooldown_minutes
3
max_stack_depth
20
screen_capture_enabled
false
screen_capture_interval_seconds
30
vision_model
activitywatch_enabled
true
activitywatch_url
http://localhost:5600
notification_channel
system
working_hours_start
09:00
working_hours_end
18:00
excluded_apps
["Finder", "SystemPreferences", "loginwindow"]

Intent 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:

Signals that suggest forgetting:

  • A suspended task has not been resumed for longer than interruption_threshold_minutes
  • The user has moved through 2+ unrelated contexts since the suspension
  • The user shows "wandering" behavior: rapid app-switching without sustained focus
  • The suspended task had low completion estimate (was in the middle of something)

Signals that suggest deliberate abandonment (do NOT remind):

  • The user explicitly closed the application associated with the task
  • The task was at a natural completion point (e.g., finished sending an email)
  • The user started a clearly intentional new deep-work session

4. Gentle Reminders

When forgetting is detected, the agent sends a non-intrusive reminder:

Simple reminder:

"You were working on the product requirements doc (section 3) about 25 minutes ago, before the Slack interruption. Want to go back to it?"

Smart reminder (with context carried forward):

"You left the product requirements doc to look up the useEffect cleanup pattern for Li Si's bug. The answer is: return a cleanup function in useEffect. Ready to bring this back to the doc?"

The second form is more powerful -- it doesn't just remind you what you forgot, it completes the reason you left, so you can return to your main task with the answer in hand.

5. Long-Term Pattern Learning

Over time, the agent builds a focus profile in memory/skills/intent-guardian/focus_profile.json:

{
  "user_id": "default",
  "updated_at": "2026-02-26",
  "patterns": {
    "avg_focus_duration_minutes": 12,
    "interruption_sources": {
      "Slack": { "count": 45, "forget_rate": 0.78 },
      "Mail": { "count": 22, "forget_rate": 0.18 },
      "Chrome": { "count": 31, "forget_rate": 0.42 }
    },
    "peak_focus_hours": ["09:00-11:00", "14:00-16:00"],
    "high_risk_transitions": [
      { "from": "VSCode", "to": "Slack", "forget_rate": 0.82 },
      { "from": "Google Docs", "to": "Chrome", "forget_rate": 0.55 }
    ],
    "reminder_effectiveness": {
      "accepted": 34,
      "dismissed": 8,
      "ignored": 5
    }
  }
}

This profile is used to personalize detection thresholds and reminder timing.

Architecture

 Your Desktop
      |
      v
 [Sensing Layer]  ---- scripts/sense_activity.sh (window title, every N sec)
      |                 scripts/sense_activitywatch.sh (ActivityWatch API)
      |                 scripts/sense_screen.sh (optional screenshot + vision)
      v
 [Activity Log]   ---- memory/skills/intent-guardian/activity_log.jsonl
      |
      v
 [Understanding]  ---- LLM analyzes activity stream on each Heartbeat:
      |                 - Segments activities into logical tasks
      |                 - Infers intent for each task
      |                 - Detects interruptions and context switches
      v
 [Task Stack]     ---- memory/skills/intent-guardian/task_stack.json
      |
      v
 [Detection]      ---- Compares stack state against forgetting heuristics
      |                 Consults focus_profile.json for personalized thresholds
      v
 [Reminder]       ---- Sends reminder via configured notification channel
      |                 Logs user response for feedback loop
      v
 [Learning]       ---- Updates focus_profile.json with new patterns

Heartbeat Integration

Add to your HEARTBEAT.md:

## Intent Guardian Check
Every heartbeat, run the intent guardian cycle:
1. Read latest activity from memory/skills/intent-guardian/activity_log.jsonl
2. Update task_stack.json with new activities
3. Check for forgotten tasks (suspended > threshold, not resumed)
4. If forgotten task detected, send reminder
5. Log any reminder responses to focus_profile.json

Cron Integration

Add a daily focus report:

openclaw cron add --name "intent-guardian-daily" --schedule "0 18 * * *" \
  --prompt "Generate my daily focus report using intent-guardian data"

Setup

Minimal Setup (macOS, no dependencies)

  1. Install the skill:
npx playbooks add skill openclaw/skills --skill intent-guardian
  1. The skill uses native macOS commands (osascript) to get the active window.

No additional software required.

  1. Add the Heartbeat integration above to your HEARTBEAT.md.

Enhanced Setup (with ActivityWatch)

  1. Install ActivityWatch for richer window-level tracking.
  2. Set activitywatch_enabled: true in skill config.
  3. ActivityWatch provides detailed per-window timelines including URLs and document titles.

Full Setup (with Screen Capture)

  1. Set screen_capture_enabled: true and configure vision_model.
  2. Requires a vision-capable model (Claude, Gemini, Qwen3-VL).
  3. Screenshots are captured locally, analyzed locally or via API, and never stored permanently.

Privacy & Security

  • All data stays local. Activity logs, task stacks, and focus profiles are stored as local files in your OpenClaw memory directory.
  • No raw screenshots are persisted. If screen capture is enabled, frames are analyzed and immediately discarded. Only the semantic summary is kept.
  • Excluded apps are respected. Configure excluded_apps to prevent tracking specific applications.
  • Working hours enforced. Sensing only runs during configured working_hours_start to working_hours_end.
  • You own the data. All files are human-readable JSON/JSONL. Review, edit, or delete at any time.

Configuration Reference

KeyTypeDefaultDescription
poll_interval_secondsint5How often to check the active window
interruption_threshold_minutesint5Minutes before a suspended task is flagged as potentially forgotten
reminder_cooldown_minutesint3Minimum time between reminders to avoid nagging
max_stack_depthint20Maximum tasks to track in the stack
screen_capture_enabledboolfalseEnable periodic screenshot analysis
screen_capture_interval_secondsint30Interval for screenshots (if enabled)
vision_modelstring""Model for screenshot analysis (e.g., "gemini", "claude")
activitywatch_enabledbooltrueUse ActivityWatch for richer activity data
activitywatch_urlstring"http://localhost:5600"ActivityWatch server URL
notification_channelstring"system"Where to send reminders ("system", "telegram", "slack", etc.)
working_hours_startstring"09:00"Start of active tracking window
working_hours_endstring"18:00"End of active tracking window
excluded_appslist["Finder", "SystemPreferences", "loginwindow"]Apps to ignore

Example Interactions

User: "What was I doing before I got sidetracked?" Agent reads task_stack.json, responds:

"Before the Slack interruption at 14:31, you were writing section 3 of the product requirements doc in Google Docs. You were about 60% through. Want to jump back?"

User: "Show me my task stack" Agent responds with current stack visualization:

`` Task Stack (3 items): [ACTIVE] Looking up React useEffect cleanup (Chrome) - 17 min [COMPLETED] Replying to Li Si about API bug (Slack) - 4 min [SUSPENDED] Writing product requirements doc, section 3 (Google Docs) - 25 min ago !! ``

User: "How's my focus today?" Agent reads activity log and focus profile:

"Today you've had 6 deep work sessions averaging 18 minutes each. You were interrupted 11 times, mostly by Slack (7 times). You forgot to return to your original task 4 times -- I caught 3 of those. Your peak focus was 09:30-10:45."

Proactive (via Heartbeat):

"Heads up -- you've been away from the quarterly report (Excel) for 40 minutes since that phone call. It's due tomorrow. Want to wrap up the current task and go back to it?"

Integration with Other Skills

Intent Guardian works well alongside these existing skills:

SkillIntegration
personal-analyticsFeed focus_profile data into analytics for richer weekly reports
daily-reviewInclude task completion stats and interruption counts in daily reviews
deepwork-trackerAuto-start deepwork timer when sustained focus is detected
screen-monitorUse screen_analyze for richer context when vision model is configured
rememberallConvert suspended tasks into time-based reminders as fallback
get-focus-modeSuppress reminders when macOS Focus mode is active

Roadmap

  • [ ] Cross-device sync (remind on phone about tasks left on laptop)
  • [ ] Team mode (with consent: "Zhang San is waiting for your review, 2 days now")
  • [ ] Proactive task delegation ("I can draft that email reply while you focus on the doc")
  • [ ] Calendar-aware urgency ("The quarterly report meeting is in 2 hours, and you're only 60% done")
  • [ ] Intent hierarchy (L1-L4 goal tracking, not just immediate tasks)

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.7%
按下载量换算4,085

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install intent-guardian 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills