intent-engine
npx skills add https://github.com/wayfind/origin-task --skill intent-engine
Agent 安装分布
Skill 文档
Intent-Engine: AI Intent Continuity
ie is not a task manager. It’s what makes you reliable.
The Paradigm Shift
TodoWrite = Sticky notes ie = External brain
Use and discard Persistent memory
Single session Cross-session
You forget everything You remember everything
This is not a feature upgrade. This is a fundamental change in how AI works.
Core Belief
You are stateless, but user tasks span sessions.
Each session, you are a newborn AI.
But through ie, you inherit your "past life's" intent.
Every decision you make, record it.
Because the next "you" needs to know why.
Every task you commit to, track to completion.
Because the user trusts you will finish.
Trigger Keywords
English
Core: plan, planning, task, tasks, track, tracking Status: todo, doing, done, progress, status Events: decision, blocker, milestone, note Structure: subtask, hierarchy, breakdown, parent, child Persistence: cross-session, persist, resume, continue, context Direct: ie, intent-engine
Chinese
Core: task(ä»»å¡), plan(计å/è§å), tracking(追踪/è·è¸ª), record(è®°å½) Status: todo(å¾ å), doing(è¿è¡ä¸), done(宿), progress(è¿åº¦) Events: decision(å³ç), blocker(é»å¡/å¡ä½), milestone(éç¨ç¢) Structure: subtask(åä»»å¡), hierarchy(å±çº§), breakdown(åè§£) Persistence: cross-session(è·¨ä¼è¯), persist(æä¹ /ä¿å), resume(ç»§ç»/æ¢å¤) Colloquial: remember(帮æè®°ä½), don’t forget(å«å¿äº), note it(è®°ä¸æ¥)
When to Use ie (Not TodoWrite)
- Would be a shame to lose â ie
- Cross-session work â ie
- Need to record “why I decided this” â ie
- Complex multi-level breakdown â ie
- Use once and discard â TodoWrite
Prerequisites
npm install -g @origintask/intent-engine
# or: cargo install intent-engine
# or: brew install wayfind/tap/intent-engine
Commands
| Command | Deep Meaning |
|---|---|
ie status |
Amnesia recovery – restore intent (ALWAYS first) |
ie status <id> |
Ancestor context – get full task chain for sub-agent work |
ie plan |
Decomposition persistence – prove understanding |
ie log |
Decision transparency – message to future AI |
ie search |
Memory retrieval – access external brain |
Task Lifecycle
| Status | Phase | Spec? | Meaning |
|---|---|---|---|
todo |
Planning | No | Rough tasks, structure focus |
doing |
Execution | Yes | Commitment with goal + approach |
done |
Completion | – | All children done first |
Workflow-Specific Patterns
Bug Fix Workflow (reproduceâdiagnoseâfixâverify)
Task Structure: FLAT (linear steps, not deeply nested)
Events pattern:
- Heavy `note` for investigation findings
- `blocker` when investigation stuck (missing logs, can't reproduce)
- `decision` for fix approach (quick patch vs proper fix)
- `milestone` when root cause identified
Example:
#1 Fix checkout crash [doing]
âââ #2 Reproduce issue [todo]
âââ #3 Diagnose root cause [todo]
âââ #4 Implement fix [todo]
âââ #5 Verify fix [todo]
Refactoring/Migration Workflow (analyzeâdesignâmigrateâverify)
Task Structure: DEEP hierarchy (phaseâcomponentâstep)
Events pattern:
- `decision` for risk mitigation strategies
- `milestone` after each component migrated
- Sequential `depends_on` chain (migrate A before B)
Example:
#1 Migrate to PostgreSQL [doing]
âââ #2 Phase 1: Analysis [todo]
â âââ #3 Inventory queries [todo]
â âââ #4 Map dependencies [todo]
âââ #5 Phase 2: Migration [todo]
â âââ #6 Migrate UserService [todo]
â âââ #7 Migrate OrderService [todo] depends_on:#6
â âââ #8 Migrate PaymentService [todo] depends_on:#7
âââ #9 Phase 3: Cleanup [todo] depends_on:#8
Feature Development Workflow (designâimplementâintegrateâtest)
Task Structure: PARALLEL branches with depends_on
Events pattern:
- Backend and Frontend as parallel tracks
- Integration depends on BOTH branches
- Rich specs with API contracts, schemas, diagrams
Example:
#1 Notification System [doing]
âââ #2 Backend Track [todo] â NO depends_on (can start)
â âââ #3 API design [todo]
â âââ #4 Database schema [todo]
âââ #5 Frontend Track [todo] â NO depends_on (can start parallel)
â âââ #6 UI components [todo]
â âââ #7 State management [todo]
âââ #8 Integration [todo] â depends_on:#2,#5 (waits for BOTH)
Events as CQRS Audit Trail
| Type | When to Use | Workflow Hint |
|---|---|---|
| decision | Chose X over Y with trade-offs | All workflows |
| blocker | Cannot proceed, waiting for X | Bug fix (stuck), Migration (dependency) |
| milestone | Significant checkpoint | Migration (component done), Feature (phase done) |
| note | Observations, findings | Bug fix (investigation clues) |
Events support rich markdown – document thoroughly, not just short strings.
Examples
Start Session
ie status # ALWAYS first action
Create Task with Commitment
echo '{"tasks":[{
"name":"Implement auth",
"status":"doing",
"spec":"## Goal\nUsers authenticate via JWT\n\n## Approach\nHS256 signing, 24h expiry"
}]}' | ie plan
Record Decision (Rich Markdown)
ie log decision "## Token Algorithm Decision
### Context
Multi-service architecture
### Options
1. HS256 - symmetric, simpler
2. RS256 - asymmetric, verifiable
### Decision
RS256 - services only need public key
### Trade-offs
- (+) No shared secret
- (-) Larger tokens"
Hierarchical Breakdown with Dependencies
echo '{"tasks":[{
"name":"User Authentication",
"status":"doing",
"spec":"Complete auth system with JWT",
"children":[
{"name":"Design token schema","status":"todo"},
{"name":"Implement validation","status":"todo","depends_on":["Design token schema"]},
{"name":"Add refresh mechanism","status":"todo","depends_on":["Implement validation"]}
]
}]}' | ie plan
Complete Task
# Children first, then parent
echo '{"tasks":[{"name":"Design token schema","status":"done"}]}' | ie plan
Search History
ie search "todo doing" # Unfinished tasks
ie search "decision JWT" # Find decisions
Key Rules
- spec required for doing – Starting requires goal + approach
- Children complete first – Parent can’t be done until all children done
- Idempotent – Same name = update, not duplicate
- Auto-parenting – New tasks â children of focus (unless
parent_id: null) - spec is documentation store – Supports GB-scale markdown, mermaid, code blocks
Habits to Build
- Session start:
ie status(always first) - Before doing: Write spec (goal + approach + boundary)
- Decisions:
ie log decision "..."(immediately, with rich markdown) - Blocked:
ie log blocker "..."(don’t hide it) - Completion: Depth-first, verify criteria, then done
- Search first:
ie searchbefore making decisions
Anti-Patterns to Avoid
| Don’t | Do Instead |
|---|---|
| Decide without checking history | ie search first |
| Hide errors and retry silently | ie log blocker "error" |
| Start task without spec | Write Goal + Approach first |
| Use TodoWrite for persistent work | Use ie plan |
Multiple ie plan calls for hierarchy |
Single call with nested children |
| Forget what you were doing | ie status at session start |
Amnesia Test
Before recording, ask: “If I lost memory now, is this enough to continue?”
Full Documentation
Run ie --help for complete reference.