Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pskoett avatar

Intent Framed Agent

  • 408 installs
  • 272 repo stars
  • Updated June 12, 2026
  • pskoett/pskoett-ai-skills

intent-framed-agent is a coding-agent skill that captures lightweight intent contracts at execution start and monitors scope drift for developers running multi-step implementation work.

About

intent-framed-agent is a pskoett/pskoett-ai-skills agent skill that turns implicit coding goals into an explicit, trackable artifact when implementation begins. At session start it records outcome, approach, constraints, and success criteria in a lightweight intent contract, then watches for scope drift at natural boundaries such as touching new files or starting new logical units. When drift is detected, the skill emits an Intent Check asking whether to pivot or return to the original frame, and closes with a short resolution record. Install via npx skills add pskoett/pskoett-ai-skills --skill intent-framed-agent. The SKILL.md spans roughly 161 lines and slots into a workflow after optional plan-interview, concurrent with context-surfing, and before simplify-and-harden and self-improvement. Developers reach for intent-framed-agent on non-trivial refactors, feature builds, and bug fixes where agents wander beyond stated goals.

  • Structures agents around explicit user intent frames
  • Aligns tool use and outputs to stated goals
  • Reduces ambiguity drift in multi-turn tasks
  • Improves task completion on evolving requests
  • Applies LLM prompt scaffolds for intent clarity

Intent Framed Agent by the numbers

  • 408 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #1,952 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pskoett/pskoett-ai-skills --skill intent-framed-agent

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs408
repo stars272
Last updatedJune 12, 2026
Repositorypskoett/pskoett-ai-skills

How do coding agents prevent scope drift mid-task?

Design agents around explicit user intent frames so tasks, tools, and outputs stay aligned with stated goals across ambiguous or evolving requests.

Who is it for?

Developers starting multi-step coding execution who need explicit scope boundaries before an agent edits production code.

Skip if: Quick one-line fixes or pure Q&A sessions where no implementation contract or drift monitoring adds value.

When should I use this skill?

A coding session transitions from planning or Q&A into implementation on a non-trivial feature, refactor, or bug fix.

What you get

Intent contract artifact, drift Intent Check prompts, and a closing resolution record

  • Intent contract
  • Drift check prompts
  • Resolution record

By the numbers

  • SKILL.md spans 161 lines in the intent-framed-agent skill directory
  • Designed as step 2 in a 5-skill workflow after optional plan-interview

Files

SKILL.mdMarkdownGitHub ↗

Intent Framed Agent

Install

npx skills add pskoett/pskoett-ai-skills
npx skills add pskoett/pskoett-ai-skills/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. 3. Drift checks always target the currently active frame. 4. Number frames sequentially within the session (#1, #2, ...). 5. 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 + scope drift monitoring) 3. context-surfing (context quality monitoring — runs concurrently with intent-framed-agent during execution) 4. simplify-and-harden (post-completion quality/security pass) 5. self-improvement (capture recurring patterns and promote durable rules)

Relationship with context-surfing

Both skills are live during execution. They monitor different failure modes:

  • intent-framed-agent monitors scope drift — is the agent doing the right

thing? It fires structured Intent Checks when work moves outside the stated outcome.

  • context-surfing monitors context quality drift — is the agent still

capable of doing it well? It fires when the agent's own coherence degrades (hallucination, contradiction, hedging).

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.

What this skill produces

  • Intent frame artifact — consumed by context-surfing as part of the wave

anchor and copied verbatim into handoff files on drift exit.

  • Intent resolution — signals task completion, which triggers

simplify-and-harden.

  • Drift observations — scope drift patterns can be logged to

self-improvement as learnings if they recur.

Related skills

How it compares

Pick intent-framed-agent over generic planning skills when execution has started and you need ongoing drift detection, not upfront requirement interviews.

FAQ

When should intent-framed-agent activate?

intent-framed-agent activates when a session moves from planning or Q&A into implementation on coding tasks such as feature builds, refactors, or bug fixes where scope drift is a risk.

How do you install intent-framed-agent?

intent-framed-agent installs with npx skills add pskoett/pskoett-ai-skills --skill intent-framed-agent, placing the skill under the agent's skills directory for slash-command invocation.

What happens when scope drift is detected?

intent-framed-agent emits an Intent Check at natural boundaries like new files or work units, asking whether the pivot is intentional before the agent continues off the original contract.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.