verified-state-change
它能做什么
这个技能引导 AI 进行真正生效的改动,例如编辑、删除、移动或安排事项。适合希望改动得到仔细执行并在事后检查的人。
适用场景
- ✓当你要求 AI 在某个应用或文件中编辑、移动或删除一项内容的时候。
- ✓当改动必须针对某一特定记录,而不是类似的记录的时候。
- ✓当你希望确认改动确实已保存的时候。
技能链接
https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/verified-state-change/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把周五的会议改到下周一同一时间,并确认日历上显示的是新时间。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 首先读取当前条目,确认确切的目标。它只进行一次改动,然后再次读取该条目,检查其是否具有预期的值,且没有其他内容被改变。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
Use when creating, editing, deleting, moving, sending, scheduling, or otherwise changing persistent state through an application, API, filesystem, or service.
Procedure
- Read the current state and identify the target using stable identifiers plus enough content to disambiguate it.
- Preserve fields the user did not ask to change and choose the narrowest supported mutation.
- For destructive or externally visible actions, confirm that the user's instruction authorizes the exact target and effect.
- Perform the mutation once and capture the returned identifier, status, or revision.
- Read the target again through an independent list, fetch, status, or content operation.
- Compare the observed state with the requested outcome and repair only the specific mismatch.
Pitfalls
- Do not infer the target from a stale active item when a stable identifier can be fetched.
- Do not report success from an accepted request alone; asynchronous or partial operations may not have completed.
- Do not replace an entire object when a field-level update is supported and safer.
- Do not silently broaden a mutation to adjacent files, records, accounts, or services.
Verification
- The target identity was confirmed before mutation.
- A read-back shows the intended values and preserves unrelated state.
- Any external effect has a concrete status, identifier, or observable result.
常见问题
它会不经询问就删除东西吗?
该技能说明,具有破坏性或可见影响的操作,需要你的指令明确涵盖该目标和效果,才能进行。
它会改动其他字段吗?
它会保留你没有要求修改的字段,并使用范围最小的受支持更新方式。
成功提示足够了吗?
不够。该技能说明,报告成功之前要先回读该条目。
详情
作者的原始描述
Make scoped state changes with target confirmation, minimal mutation, and read-back verification
repo: odysseus-dev/odysseus
热度
- GitHub 星标
- 95k
- 排名
- #1309
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
odysseus
95k让你的智能体通过限定范围的令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
odysseus
95k让你的智能体通过 Codex Agent 令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
artifact-completion
95k帮你的智能体尽早产出所需的文件或文档,根据实际输出进行完善,并在宣布完成前进行检查。
terminal-recovery
95k帮你的智能体从失败的终端命令中恢复,读取错误信息,找出可能的原因,并尝试一次有针对性的修复。