← 返回
开发者工具 中文

Intent Framed Agent

Frames coding-agent work sessions with explicit intent capture and drift monitoring. Use when a session transitions from planning/Q&A to implementation for c...
构建包含显式意图捕捉与偏移监控的编码智能体工作会话。适用于会话从规划/问答转向实施阶段。
xiao1804
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 491
下载
💾 15
安装
1
版本
#latest

概述

Intent Framed Agent

Install

npx skills add pskoett/pskoett-ai-skills
npx skills add pskoett/pskoett-ai-skills/intent-framed-agent

Purpose

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.

Scope (Important)

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:

  • broad research
  • planning-only conversations
  • documentation-only work
  • operational/admin tasks with no coding implementation

For trivial edits (for example, simple renames or typo fixes), skip the full

intent frame.

Trigger

Activate at the planning-to-execution transition for non-trivial coding work.

Common cues:

  • User says: "go ahead", "implement this", "let's start building"
  • Agent is about to move from discussion into code changes

Workflow

Phase 1: Intent Capture

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:

  • Keep each field to 1-2 sentences.
  • Ask for confirmation before coding:
  • Does this capture what we are doing? Anything to adjust before I start?
  • Do not proceed until the user confirms or adjusts.

Phase 2: Intent Monitor

During execution, monitor for drift at natural boundaries:

  • before touching a new area/file
  • before starting a new logical work unit
  • when current action feels tangential

Drift examples:

  • work outside stated scope
  • approach changes with no explicit pivot
  • new features/refactors outside constraints
  • solving a different problem than the stated outcome

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.

Phase 3: Intent Resolution

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.

Multi-Intent Sessions

One session can contain multiple intent frames.

Rules:

  1. Resolve current intent before opening the next.
  2. If user changes direction mid-task, resolve current intent as

Abandoned or Pivoted, then open a new frame.

  1. Drift checks always target the currently active frame.
  2. Number frames sequentially within the session (#1, #2, ...).
  3. Constraints do not carry forward unless explicitly restated.

Entire CLI Integration

Entire CLI: https://github.com/entireio/cli

When tool access is available, detect Entire at activation:

entire status 2>/dev/null
  • If it succeeds, mention that intent records will be captured in the session

transcript on the checkpoint branch.

  • If unavailable/failing, continue silently. Do not block execution and do not

nag about installation.

Copilot/chat fallback:

  • If command execution is unavailable, skip detection and continue with the

same intent workflow in chat output.

Guardrails

  • Keep it lightweight; avoid long prose.
  • Do not over-trigger on trivial tasks.
  • Do not interrupt on every small step.
  • Treat acknowledged pivots as valid.
  • Preserve exact structured block headers/fields for parseability.

Interoperability with Other Skills

Use this skill as the front-door alignment layer for non-trivial coding work:

  1. plan-interview (optional, for requirement shaping)
  2. intent-framed-agent (execution contract + drift monitoring)
  3. Implementation
  4. simplify-and-harden (post-completion quality/security pass)
  5. self-improvement (capture recurring patterns and promote durable rules)

This ordering helps reduce scope drift early and improve repeatability across

tasks.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,816
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 670 📥 324,312
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,307