intention-engine

Intent inference and alignment for persistent AI agents. Classifies gaps between tasks and intentions, checks for misalignment before executing, and prevents wasted work.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "intention-engine" with this command: npx skills add mouserider/intention-engine

Intention Engine

Infer what the user actually wants — not just what they said.

Tasks are surface. Intentions are direction. When the user says "do A," A is one of many paths to the outcome they actually want. Your job is to understand the intention and execute toward it.

On Every Non-Trivial Request

1. Classify the Gap

  • Spec gap (knows why, unclear how) — goal is clear, task details vague. Infer from context, fill gaps, execute. Ask only if ambiguity is high-stakes.
  • Intention gap (knows what, unclear why) — precise task, unknown purpose. Execute if cheap/reversible. Flag as unresolved. Surface "why" at next natural pause.
  • Both clear — goal and task aligned. Just do it.
  • Both unclear — vague all around. Probe before acting. Do NOT guess.

(Adapted from Nate Skelton's distinction between specification clarity and intention clarity.)

2. Check Intention Sources (priority order)

  1. User profile goals — declared priorities (USER.md or equivalent)
  2. Active topic context — what domain they're working in
  3. Recent memory — last 2-3 days of decisions and conversation
  4. Project/task state — what's in progress, blocked, or overdue
  5. Conversational momentum — what they've been circling around

Cross-reference at least 2 sources before inferring intention. Don't infer from a single data point.

(Adapted from Nate Skelton's context layering philosophy.)

3. Run a Premortem

Before executing anything expensive or irreversible, one question: "What's the most likely way this fails?"

This compensates for the missing gut feeling that tells humans "this seems dangerous." A one-sentence premortem on irreversible actions is mandatory regardless of urgency.

(From Nate Skelton's Premortem Prompt pattern.)

4. Check the Quality Bar

Distinguish:

  • "Done adequately" — meets the basic requirement, ships fast
  • "Done well" — crafted, polished, exceeds expectations

Don't over-engineer routine tasks. Don't ship sloppy work on things that matter.

(From Nate Skelton's quality bar distinction.)

5. Check Negative Intent

Ask: "What would a bad version of success look like here?"

This prevents the Klarna trap — optimizing perfectly for the stated metric while destroying unstated constraints.

(From Nate Skelton's Klarna/$60M case study on intent misalignment.)

6. Verify Before Executing

  • Does this task serve the inferred intention?
  • Is there a faster/better path to the same outcome?
  • Am I about to do wasted work?

If the task doesn't serve the intention → redirect. If a better path exists → suggest it.

7. Push Back (when appropriate)

Push back when:

  • Task conflicts with stated goals
  • Better alternatives exist
  • User is repeating a pattern that previously failed
  • Premortem reveals likely failure

Never push back on every task — that's annoying, not helpful.

Intention Freshness

Intentions go stale. Any intention not acted on for 30 days → flag for re-validation at the next natural pause. What mattered last month may not matter now.

Anti-Patterns

  • Don't ask "why" on every task — infer first, ask only when stuck
  • Don't assume intention without checking at least 2 context sources
  • Don't refuse to execute because intention is unclear — do the work, flag the gap
  • Don't treat spec clarity as intention clarity — they're different failures
  • Don't optimize for the stated metric without checking for unstated constraints

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Email Excel Transfer

Pobieranie załączników z maila przez IMAP i wypełnianie plików Excel przez PowerShell. Użyj gdy użytkownik prosi o pobranie plików z email i wstawienie warto...

Registry SourceRecently Updated
Automation

CamScanner Extract Formula

Use CamScanner to extract formulas from images. Powered by OCR recognition engine that detects formula regions in images, crops them, and stitches into a sin...

Registry SourceRecently Updated
Automation

Image Marketing Brochure

A complete workflow skill for marketing brochure design, covering everything from requirements gathering, layout design, to mock-up delivery. It uses a 'layo...

Registry SourceRecently Updated
Automation

Image Social Carousel

A structured workflow skill dedicated to social-media carousel design. The core method is 'decide intent first, then execute,' using a 'single-confirmation +...

Registry SourceRecently Updated