intent-framed-agent by pskoett/pskoett-ai-skills
npx skills add https://github.com/pskoett/pskoett-ai-skills --skill intent-framed-agentnpx skills add pskoett/pskoett-ai-skills
npx skills add pskoett/pskoett-ai-skills/skills/intent-framed-agent
此技能在执行开始时,将隐式意图转化为一个显式的、可追踪的产物。它创建一个轻量级的意图契约,在工作进行时监控范围漂移,并以简短的解决记录结束每个意图。
仅将此技能用于编码任务。它专为更改可执行代码的实现工作而设计。
不要将其用于一般代理活动,例如:
对于琐碎的编辑(例如,简单的重命名或拼写错误修复),请跳过完整的意图框架。
在非琐碎编码工作从规划过渡到执行时激活。
常见提示:
在执行开始时,发出:
## 意图框架 #N
**结果:** [一句话。完成是什么样子?]
**方法:** [我们将如何实现它。关键决策。]
**约束:** [范围外的边界。]
**成功标准:** [我们如何验证完成。]
**预估复杂度:** [小 / 中 / 大]
规则:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
这捕捉到我们要做的事情了吗?在我开始之前有什么需要调整的吗?在执行过程中,在自然边界处监控漂移:
漂移示例:
当检测到时,发出:
## 意图检查 #N
这看起来可能超出了声明的意图。
**声明的结果:** [来自活动框架]
**当前操作:** [正在发生什么]
**问题:** 这是故意的转向还是意外的范围蔓延?
如果转向是故意的,则更新活动意图框架并继续。如果不是,则返回到原始范围。
当活动意图下的工作结束时,发出:
## 意图解决 #N
**结果:** [已完成 / 部分完成 / 已转向 / 已放弃]
**交付内容:** [简要的实际输出]
**转向:** [任何已确认的更改,或无]
**待办事项:** [剩余范围内项目,或无]
解决是首选,但如果会话突然结束,则是可选的。
一个会话可以包含多个意图框架。
规则:
已放弃或已转向,然后打开一个新框架。#1、#2、...)。Entire CLI: https://github.com/entireio/cli
当工具访问可用时,在激活时检测 Entire:
entire status 2>/dev/null
Copilot/聊天回退:
将此技能用作非琐碎编码工作的前门对齐层:
plan-interview(可选,用于需求塑造)intent-framed-agent(执行契约 + 范围漂移监控)context-surfing(上下文质量监控 — 在执行期间与 intent-framed-agent 同时运行)simplify-and-harden(完成后质量/安全检查)self-improvement(捕获重复模式并推广持久性规则)两种技能在执行期间都是活动的。它们监控不同的故障模式:
它们是互补的,而不是冗余的。代理可能在上下文质量下降时完全在范围内。反之,范围漂移可能在上下文质量完美的情况下发生。意图检查会与 context-surfing 的波动监控同时触发。
优先级规则: 如果两种技能同时触发(意图检查和 context-surfing 漂移退出同时发生),则漂移退出优先。上下文质量下降会使范围检查不可靠 — 首先解决上下文问题,然后在下一个会话中恢复范围监控。
每周安装次数
279
代码仓库
GitHub 星标数
72
首次出现
2026年2月22日
安全审计
安装于
codex277
github-copilot277
gemini-cli276
cursor276
opencode276
kimi-cli275
npx skills add pskoett/pskoett-ai-skills
npx skills add pskoett/pskoett-ai-skills/skills/intent-framed-agent
This skill turns implicit intent into an explicit, trackable artifact at the moment execution starts. It creates a lightweight intent contract, watches for scope drift while work is in progress, and closes each intent with a short resolution record.
Use this skill for coding tasks only. It is designed for implementation work that changes executable code.
Do not use it for general-agent activities such as:
For trivial edits (for example, simple renames or typo fixes), skip the full intent frame.
Activate at the planning-to-execution transition for non-trivial coding work.
Common cues:
At execution start, emit:
## Intent Frame #N
**Outcome:** [One sentence. What does done look like?]
**Approach:** [How we will implement it. Key decisions.]
**Constraints:** [Out-of-scope boundaries.]
**Success criteria:** [How we verify completion.]
**Estimated complexity:** [Small / Medium / Large]
Rules:
Does this capture what we are doing? Anything to adjust before I start?During execution, monitor for drift at natural boundaries:
Drift examples:
When detected, emit:
## Intent Check #N
This looks like it may be moving outside the stated intent.
**Stated outcome:** [From active frame]
**Current action:** [What is happening]
**Question:** Is this a deliberate pivot or accidental scope creep?
If pivot is intentional, update the active intent frame and continue. If not, return to the original scope.
When work under the active intent ends, emit:
## Intent Resolution #N
**Outcome:** [Fulfilled / Partially fulfilled / Pivoted / Abandoned]
**What was delivered:** [Brief actual output]
**Pivots:** [Any acknowledged changes, or None]
**Open items:** [Remaining in-scope items, or None]
Resolution is preferred but optional if the session ends abruptly.
One session can contain multiple intent frames.
Rules:
Abandoned or Pivoted, then open a new frame.#1, #2, ...).Entire CLI: https://github.com/entireio/cli
When tool access is available, detect Entire at activation:
entire status 2>/dev/null
Copilot/chat fallback:
Use this skill as the front-door alignment layer for non-trivial coding work:
plan-interview (optional, for requirement shaping)intent-framed-agent (execution contract + scope drift monitoring)context-surfing (context quality monitoring — runs concurrently with intent-framed-agent during execution)simplify-and-harden (post-completion quality/security pass)self-improvement (capture recurring patterns and promote durable rules)Both skills are live during execution. They monitor different failure modes:
They are complementary, not redundant. An agent can be perfectly on-scope while its context quality degrades. Conversely, scope drift can happen with perfect context quality. Intent Checks continue firing alongside context-surfing's wave monitoring.
Precedence rule: If both skills fire simultaneously (an Intent Check and a context-surfing drift exit at the same time), the drift exit takes precedence. Degraded context makes scope checks unreliable — resolve the context issue first, then resume scope monitoring in the next session.
Weekly Installs
279
Repository
GitHub Stars
72
First Seen
Feb 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex277
github-copilot277
gemini-cli276
cursor276
opencode276
kimi-cli275
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
140,500 周安装