oh-my-obsidian-restore-history
Use this skill when the user wants to restore, migrate, or import past Codex session history into the Obsidian vault as structured documents.
Skill by hongdangmoo49
Chalk Labs
Need help deploying oh-my-obsidian-restore-history?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hongdangmoo49-oh-my-obsidian-restore-history
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/oh-my-obsidian-restore-history
What's inside
- Skill name
oh-my-obsidian-restore-history- Description
- Use this skill when the user wants to restore, migrate, or import past Codex session history into the Obsidian vault as structured documents.
- License
- MIT
- Instructions
- 104 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Oh My Obsidian Restore History Use this skill when the user wants to restore past Codex CLI session history, migrate existing session transcripts, or import historical coding sessions into the Obsidian vault as structured knowledge documents. ## Contract - Mutating use requires a resolved vault with `setup-state.status == "complete"`. - Never overwrite existing notes. Use exclusive create or a collision suffix. - Save restored sessions, including troubleshooting, under `작업기록/<category>/YYYY-MM/YYYY-MM-DD/<slug>.md`. - Inspect git status first. If unrelated changes exist, create notes but skip staging and commit, then report clearly. - If the resolver fails or setup is incomplete, surface the helper guidance and direct the user back to the `oh-my-obsidian setup` skill. ## Helper Scripts Resolve the plugin directory from this skill location, then use plugin-local helpers: ```bash # Step 1: Build session catalog (pre-extracts metadata, zero LLM tokens) node scripts/transcript-preextract.mjs scan --vault <path> --source codex \ [--cwd <path>] [--recent <N>] [--from <date>] [--to <date>] # Step 2: Restore Codex sessions to vault (also updates catalog) node scripts/codex-history.mjs restore --vault <path> \ --update-catalog \ [--cwd <path>] [--recent <N>] [--from <date>] [--to <date>] ``` Optional flags: - `--codex-home <path>` — override the default Codex home directory - `--cwd <path>` — filter sessions by working directory (project) - `--recent <N>` — restore only the N most recent sessions - `--from <YYYY-MM-DD>` — start date for date range filter - `--to <YYYY-MM-DD>` — end date for date range filter - `--all` — include all sessions regardless of CWD - `--commit-message <msg>` — custom git commit message - `--update-catalog` — update session-catalog.json after restore ## Platform-Aware Session Paths The helper automatically detects the Codex session directory: | Platform | Default Path | Override | |----------|-------------|----------| | macOS | `~/.codex/sessions/` | `$CODEX_HOME/sessions/` | | Linux | `~/.codex/sessions/` | `$CODEX_HOME/sessions/` | | WSL | `~/.codex/sessions/` | `$CODEX_HOME/sessions/` | | Windows | `%USERPROFILE%\.codex\sessions\` | `%CODEX_HOME%\sessions\` | ## Expected Flow 1. Ask the user for the restore scope using the four-choice interaction mode: ```text Codex 세션 기록을 복원할 범위를 선택하세요. 다음 중 하나로 답해주세요. 1. 최근 10개 세션 (권장) 2. 현재 프로젝트의 전체 세션 3. 기간 지정 (시작일-종료일) 4. 직접 입력 ``` 2. Run `transcript-preextract.mjs scan` to build the session catalog: ```bash node scripts/transcript-preextract.mjs scan --source codex --vault <path> [scope flags] ``` This creates `.oh-my-obsidian/session-catalog.json` with pre-extracted metadata. 3. Show the user a summary from the catalog: - Total count, total size, date range - Preview of the first few session topics (from `firstUserMessage`) - Number of sessions that already have documents 4. Ask for confirmation before proceeding: ```text N개 세션을 발견했습니다 (총 SIZE). 다음 중 하나로 답해주세요. 1. 복원 시작 2. 범위 다시 선택 3. 카탈로그만 유지 (문서 생성 없이) 4. 직접 입력 ``` 5. Run `codex-history.mjs restore --update-catalog` with the confirmed scope. The `--update-catalog` flag updates `session-catalog.json` with `documentGenerated: true` for each restored session. 6. Report the result: - Number of sessions restored - Number of sessions skipped (and why) - Git commit status - Catalog update status - List of generated files 7. If the helper returns setup guidance instead of restoring, stop and route the user to the setup skill.
From hongdangmoo49/oh-my-obsidian, MIT.
Signals
- Stars
- 33
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 1, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hongdangmoo49/oh-my-obsidian
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get oh-my-obsidian-restore-history running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
oh-my-obsidian-restore-history skill. Agent Mart. https://agentmart.dev/skills/hongdangmoo49-oh-my-obsidian-restore-history (last updated 2026-10-24)