Workflow
Origin for Claude Code: The Daily Memory Loop
Use Origin inside Claude Code with /init, /brief, /capture, /handoff, and /distill so coding context carries across sessions.
Article packet
Workflows
Claude Code users who want project context to survive long work sessions
5 min read
01
Install from the Claude Code plugin marketplace, then run /init once.
02
Start real sessions with /brief and capture durable context during work.
03
End with /handoff so the next agent starts from current project state.
01
Install once, then verify the loop
Origin's Claude Code path starts with the plugin marketplace: `/plugin marketplace add 7xuanlu/origin`, `/plugin install origin@7xuanlu`, then `/init` after the restart Claude Code requests.
`/init` handles daemon setup, MCP wiring, local memory setup, and a first round-trip check. The goal is not to add another manual note-taking habit. The goal is to make the memory route available at the moment work happens.
02
Start with /brief
`/brief [topic]` loads project status, recent handoffs, preferences, and topic-relevant memories before edits begin.
That makes Claude Code less dependent on the current chat window. The agent walks into the session with the context Origin has already earned.
03
Capture decisions while they are fresh
`/capture` is for durable work knowledge: decisions, lessons, gotchas, project constraints, corrections, and preferences.
A good capture includes why the fact matters. One atomic memory is easier to search, supersede, cite, and distill than a paragraph that mixes five ideas.
04
Close with /handoff, then distill when needed
`/handoff` writes what changed, what remains open, and what the next agent should know. It also gives Origin better source material than a raw transcript.
When a theme repeats across sessions, `/distill` turns related captures into source-backed wiki pages. Those pages cite source memory IDs and refresh as the work changes.
- /brief: orient the agent before work.
- /capture: save one durable idea.
- /recall: look up a specific past thread.
- /handoff: preserve the session boundary.
- /distill: compose accumulated memories into wiki pages.
Make Claude Code sessions compound
Install Origin, run /init, then use /brief and /handoff around real work.
FAQ