← 返回 Skills 市场
DAF Intent Guard — 意图漂移检测
作者
deepseek609609-collab
· GitHub ↗
· v1.0.0
· MIT-0
147
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install daf-intent-guard
功能描述
Tracks intent drift across multi-turn tasks. Before executing any multi-step task, call this to detect if the user's new instruction is a small patch, requir...
使用说明 (SKILL.md)
DAF Intent Guard
Use this skill when:
- A user modifies an in-progress task
- A user gives a new instruction that might conflict with what is already done
- You need to decide whether to continue, roll back, or restart
How to use
Call the guard before executing any new instruction on an ongoing task:
python3 {baseDir}/daf_guard.py \
--current-anchor \x3Cindex> \
--old-constraints '\x3Cjson>' \
--new-constraints '\x3Cjson>' \
--new-action '\x3Caction>' \
--requires '\x3Cjson_array>' \
--anchors '\x3Cjson>'
Decision meanings
- patch: Small change. Update parameters and continue from current anchor.
- replan: Significant change. Roll back to anchor
first_affected_anchorand re-execute from there. - abort: Task cancelled or too much has changed. Stop and confirm with user before restarting.
Example
User was booking a flight (seat locked at anchor 1), now says "change destination to New York":
- old-constraints: {"destination":"KL","date":"today","cabin":"economy"}
- new-constraints: {"destination":"New York","date":"today","cabin":"economy"}
- Expected: replan (destination change affects anchor 0)
安全使用建议
This skill appears internally coherent and low-risk: it runs a local Python script to compute intent-drift decisions and does not contact external endpoints or ask for credentials. Before installing, verify the file origin (source is listed as unknown) and review the daf_guard.py contents yourself (they are small and readable). When integrating, pass only non-sensitive JSON (the script logs/prints decisions) and test on safe example tasks to confirm behavior meets your agent's expectations.
功能分析
Type: OpenClaw Skill
Name: daf-intent-guard
Version: 1.0.0
The daf-intent-guard skill is a utility designed to help AI agents manage state transitions by calculating the 'semantic distance' between old and new task constraints. The core logic in `daf_guard.py` uses basic heuristics (regex, hardcoded region lists, and date parsing) to determine if a user's change requires a minor update (patch), a partial rollback (replan), or a full stop (abort). The code is self-contained, lacks external dependencies, and performs no risky operations such as network calls, file system access, or command execution.
能力评估
Purpose & Capability
Name/description (intent-drift detection) match the included Python implementation: the script computes semantic distance, anchor rollback, and emits patch/replan/abort decisions. Required binary (python3) is appropriate and proportionate.
Instruction Scope
SKILL.md instructs only running the local Python script with JSON arguments. The script reads only its CLI args and performs local computation; it does not read unrelated files, environment variables, or send data externally.
Install Mechanism
No installation/spec downloads are present; the skill is delivered as a small local Python file and README. There are no external install URLs or archive extraction steps.
Credentials
No environment variables, credentials, or config paths are requested. The script takes inputs via CLI JSON parameters only, which is proportional to the task.
Persistence & Privilege
always is false and the skill does not request to modify other skills or agent-wide settings. It does not attempt to persist secrets or alter system configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install daf-intent-guard - 安装完成后,直接呼叫该 Skill 的名称或使用
/daf-intent-guard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首次发布。支持多步任务中的意图漂移检测,自动判断patch/replan/abort
元数据
常见问题
DAF Intent Guard — 意图漂移检测 是什么?
Tracks intent drift across multi-turn tasks. Before executing any multi-step task, call this to detect if the user's new instruction is a small patch, requir... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。
如何安装 DAF Intent Guard — 意图漂移检测?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install daf-intent-guard」即可一键安装,无需额外配置。
DAF Intent Guard — 意图漂移检测 是免费的吗?
是的,DAF Intent Guard — 意图漂移检测 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
DAF Intent Guard — 意图漂移检测 支持哪些平台?
DAF Intent Guard — 意图漂移检测 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DAF Intent Guard — 意图漂移检测?
由 deepseek609609-collab(@deepseek609609-collab)开发并维护,当前版本 v1.0.0。
推荐 Skills