跳到正文
Skillpedia
智能体95k · #1309

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/verified-state-change/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Read the current state and identify the target using stable identifiers plus enough content to disambiguate it.
  2. Preserve fields the user did not ask to change and choose the narrowest supported mutation.
  3. For destructive or externally visible actions, confirm that the user's instruction authorizes the exact target and effect.
  4. Perform the mutation once and capture the returned identifier, status, or revision.
  5. Read the target again through an independent list, fetch, status, or content operation.
  6. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能