/deen:handofffrom deen
Save a compact session handoff note to the Deen OS vault at the end of a work session, and restore context at the start of the next one. Invoke ONLY when explicitly requested via the /deen:handoff command or a Deen-qualified phrase such as "deen handoff", "deen wrap up", or "deen restore context". Do NOT auto-trigger on generic phrases like "handoff", "wrap up", "end of session", or "save my progress" on their own, so this never competes with a user's own separate handoff skill. Reads the vault path from ~/.deen-system/config.md.
Ships in deen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read vault_path from ~/.deen-system/config.md (frontmatter). The vault_path is already an absolute path (setup expanded any leading ~), so use it directly in shell commands. If that file is missing, tell the user to run /deen:setup first, then continue with vault_path = $HOME/Deen-OS.
If handoff_enabled is false in the config, do nothing and stop silently.
Detect the project name:
basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
Use the project name as-is for all vault paths (raw/<Project>/, wiki/<Project>/).
Vault layout:
<vault_path>/
├── raw/<Project>/YYYY-MM-DD.md ← raw session note (immutable once written)
├── wiki/<Project>/overview.md ← current project state (rewritten each session)
├── wiki/<Project>/patterns.md ← accumulated patterns (append-only)
├── log.md ← append-only session log
└── index.md ← project catalog
basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
git log --oneline -3 2>/dev/null
git diff HEAD~1..HEAD --name-only 2>/dev/null
git status --short 2>/dev/null
date +%Y-%m-%d
If git commands return nothing (no repo), skip the git-derived bullets. Also draw on the conversation for what was built, patterns found, decisions made, and what's next.
Compact, under 400 tokens, concrete outcomes only. Write to <vault_path>/raw/<Project>/<YYYY-MM-DD>.md (create the directory if needed):
## Handoff — <Project> — <YYYY-MM-DD>
### What we built
- <bullet per change, include file path>
### Key patterns (copy-paste ready)
<only NEW patterns from this session>
### Decisions
- <decision>: <one-line reason>
### Files changed
- `path/to/file` — description
### Next session
- <specific next task>
Omit any empty section.
<vault_path>/wiki/<Project>/overview.md — rewrite fully to current state: what's done (a short table), what's in progress, what's next, key patterns (brief). Create the directory if needed.<vault_path>/wiki/<Project>/patterns.md — append only NEW patterns/decisions under the relevant heading with a date stamp. Don't rewrite existing entries.<vault_path>/log.md — append one line: ## <YYYY-MM-DD> <Project> | <one-line summary>.<vault_path>/index.md — update this project's row (last session date + status). Create the file with a header row if it doesn't exist.Architectural = a new service/integration, a new/removed endpoint or tool, a completed major block, a schema change, a decision that changes how components connect. NOT architectural = bug fixes, config tweaks, docs/tests only.
If architectural: read ARCHITECTURE.md in the project root, rewrite the affected sections in place to reflect current reality (do not append), update its "Last updated" date and any "Built vs. Not Yet Built" checklist. Note in the confirmation that it was updated. If not architectural, skip silently.
Tell the user: Saved to <vault_path>/raw/<Project>/<date>.md — wiki updated. Do not print the full note.
cat "<vault_path>/wiki/<Project>/overview.md"
Append one line to <vault_path>/log.md (create the file if needed):
restored: <Project> — <YYYY-MM-DD HH:MM>
Use the current local date and time. This line is the restore half of the handoff round-trip: /deen:verify marks the handoff area green only when a saved raw note is dated on or before a restored: entry for the same project — proof that context survived a real session boundary.
State the project, current state, and what's next. Don't repeat the full file. Then ask: "What would you like to work on?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andrydeen/deen-system --plugin deen3 skills in this plugin
/setupBootstrap a personal Deen OS context vault and personalize it through guided onboarding. Creates the directory structure, routing CLAUDE.md files, and Context scaffolds, writes a per-user config at ~/.deen-system/config.md, then interviews the user to fill in identity, business, brand, customers, and strategy. Runs natively in Claude Code (conversational, English). Use when the user says "set up", "bootstrap", "initialize", "onboarding", or runs /deen:setup./verifyCheck that the Deen system is fully working on this machine — four areas (Claude Code practices, memory, handoff, Obsidian) reported green or red with an exact remedial step for every red. Invoke ONLY via the /deen:verify command or a Deen-qualified phrase such as "deen verify" or "deen check my setup". Do NOT auto-trigger on generic phrases like "verify" or "check setup" on their own. Read-only against the vault; re-runnable anytime. Reads the vault path from ~/.deen-system/config.md.Other plugins' skills for the same job