一键导入
session
Toggle session document capture on or off. Use /session on, /session off, or /session to toggle.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Toggle session document capture on or off. Use /session on, /session off, or /session to toggle.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backport existing plans into the Obsidian daily journal. Use when plans exist in the vault but are missing journal entries.
Estimate the scope and runtime of the frontmatter backfill — hardware specs, vault size, pending upgrades, and a calibrated time estimate. Read-only; nothing is modified.
Upgrade existing vault notes to the current frontmatter standard (type, date, duration_s, normalized model + context_window) so they appear in the managed Obsidian bases. Interruptible and resumable.
Display all configuration options with their effective value and which config layer set them.
Display current session details including ID, duration, turn counts, token usage, and tool stats.
Rewrite the Obsidian daily journal for a selected day from existing plan/summary notes. Use when journal entries are missing, corrupted, or need regeneration.
| name | session |
| description | Toggle session document capture on or off. Use /session on, /session off, or /session to toggle. |
Toggle the capture-session hook on or off. State is persisted in the TOML config cascade.
on — enable session captureoff — disable session captureRun the config printer to discover current state:
CLAUDE_CWD="$PWD" bun ${CLAUDE_PLUGIN_ROOT}/hooks/print-session-config.ts
Parse the JSON output to get enabled (boolean).
on → target = trueoff → target = falseenabled valueAsk the user:
Where should session state be saved?
- Project-local (
.claude/capture-plan.tomlin this repo)- User-global (
~/.config/capture-plan/config.toml)
Wait for the user's answer before proceeding.
Run the setter script with the chosen scope:
CLAUDE_CWD="$PWD" bun ${CLAUDE_PLUGIN_ROOT}/hooks/set-session-enabled.ts <scope> <target>
Where <scope> is project or user, and <target> is true or false.
Tell the user:
true)false)