Intent
Semantic history for agent-driven development. Record goals, semantic snapshots, and decisions.
Install / Use
/learn @dozybot001/IntentREADME
Intent
中文 | English
A semantic history layer above Git for development. It records goals, semantic snapshots, and decisions.
Why
Git records how code changes. But it doesn't record why you're on this path, what you decided along the way, or where you left off.
Intent adds that missing layer: semantic history — a small set of formal objects that preserve product formation history and survive context loss.
Development is moving from writing code to guiding agents and distilling decisions. The history layer should reflect that.
flowchart LR
subgraph traditional["Traditional Coding"]
direction TB
H1["Human"]
C1["Code"]
H1 -->|"Git"| C1
end
subgraph agent["Agent Driven Development"]
direction TB
H2["Human"]
AG["Agent"]
C2["Code"]
H2 -."❌ no semantic history".-> AG
AG -->|"Git"| C2
end
subgraph withintent["Agent with Intent"]
direction TB
H3["Human"]
AG2["Agent"]
C3["Code"]
H3 -->|"Intent"| AG2
AG2 -->|"Git"| C3
end
traditional ~~~ agent ~~~ withintent
Three objects, one graph
| Object | What it captures | |---|---| | 🎯 Intent | A goal summarized from the interaction | | 📸 Snap | A semantic snapshot — what was done and why | | 🔶 Decision | A long-lived constraint that spans multiple intents |
Objects link automatically. Relationships are bidirectional and append-only.
flowchart LR
D1["🔶 Decision 1"]
D2["🔶 Decision 2"]
subgraph Intent1["🎯 Intent 1"]
direction LR
S1["📸 Snap 1"] --> S2["📸 Snap 2"] --> S3["📸 ..."]
end
subgraph Intent2["🎯 Intent 2"]
direction LR
S4["📸 Snap 1"] --> S5["📸 Snap 2"] --> S6["📸 ..."]
end
D1 -- auto-attach --> Intent1
D1 -- auto-attach --> Intent2
D2 -- auto-attach --> Intent2
How to record
Early versions used a Snap–Query model where the agent autonomously captured snapshots after each interaction. It worked — but it was noisy, expensive on tokens, and interrupted the natural flow of work.
We switched to the Intent–Session model: the agent works freely, and you tell it when to record. This turns out to be more pragmatic — it costs fewer tokens, never interrupts your workflow, and yields better semantic data — because recording is retrospective, the milestones are already settled, and summarizing certainties is naturally more accurate than guessing in-flight. The overhead for you is near zero: just say "record semantics" when a goal is done.
- Work with the agent on your goal
- When the goal is achieved, ask the agent to look back and build the semantic history
- The agent creates one intent (the goal) + snaps (milestones) + marks it done
"Session" doesn't strictly mean a full conversation — it represents any purposeful interaction where you know what you set out to do. Like git commit, recording is user-initiated.
MAARS uses this approach — each session's semantic history was recorded retrospectively.
Quick Start
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/dozybot001/Intent/main/scripts/install.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/dozybot001/Intent/main/scripts/install.ps1 | iex
# Clone repo & add agent skill
git clone https://github.com/dozybot001/Intent.git
npx skills add dozybot001/Intent -g --all
Requires Python 3.9+ and Git. The install script handles pipx automatically.
Re-run the installer anytime to upgrade or repair an existing itt install.
To browse semantic history in a browser, start IntHub Local (works from any directory):
itt hub start
Then, in your project repo:
itt hub link --api-base-url http://127.0.0.1:7210
itt hub sync
Tips: Type
/intent-clito load the recording guide, or simply say "record semantics" / "记录语义" if the agent already knows about Intent.
Showcase
This project manages its own development with Intent. Browse the live semantic history:
IntHub Showcase — interactive viewer for Intent project history, MAARS, and legacy data.
Or run itt hub start locally.
Docs
- Vision — why semantic history matters
- CLI Design — object model, commands, JSON contract
Community
License
MIT
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
