Skip to content
Agentmart
Submit a tool

obsidian-memory-capture

Capture Codex assistant answers from session JSONL into Obsidian raw inbox notes for manager distillation.

Skill by mbtz

IndexedMIT★ 1
Write a review

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/mbtz-obsidian-memory-capture

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.

We use your email only for this newsletter. Privacy

About

Capture Codex assistant answers from session JSONL into Obsidian raw inbox notes for manager distillation. Use when maintaining long-term memory artifacts in `00-Inbox` and append only new, unlogged answers.

Use cases: productivity, agent-building

No 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. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/obsidian-memory-capture

What's inside

Skill name
obsidian-memory-capture
Description
Capture Codex assistant answers from session JSONL into Obsidian raw inbox notes for manager distillation. Use when maintaining long-term memory artifacts in `00-Inbox` and append only new, unlogged answers.
License
MIT
Instructions
58 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (7)

  • INSTALL_WIZARD.json
  • SKILL.md
  • capture_session_answers.py · scripts/
  • config.json · scripts/
  • post_operation_obsidian_memory.py · scripts/hooks/
  • post_operation_obsidian_memory.sh · scripts/hooks/
  • install_post_operation_hook.py · scripts/

SKILL.md (first lines)

# Obsidian Memory Capture

Use this skill to ingest Codex session outputs into raw inbox notes with deduplicated, append-only capture.

## Bundle layout

- Script: `scripts/capture_session_answers.py`
- Config: `scripts/config.json`
- Install wizard: `INSTALL_WIZARD.json`
- Hook installer: `scripts/install_post_operation_hook.py`
- Hook templates: `scripts/hooks/post_operation_obsidian_memory.{sh,py}`

When installed via `askill`, the installer prompts for machine-specific paths and writes `scripts/config.json`. It also offers an opt-in action to install and enable the Codex post-operation hook locally (`~/.codex/hooks` + `~/.codex/config.toml`). You can still edit any file manually later.

## Standard usage

From this skill directory:

```bash
python3 scripts/capture_session_answers.py
```

Optional explicit session:

```bash
python3 scripts/capture_session_answers.py --session-id "$CODEX_THREAD_ID"
```

Dry run preview:

```bash
python3 scripts/capture_session_answers.py --dry-run
```

## Post-Operation Hook (recommended)

If you opt in during `askill` installation, hook files and config are installed automatically.
Manual setup is still supported. Add to `~/.codex/config.toml`:

```toml
notify = ["~/.codex/hooks/post_operation_obsidian_memory.sh"]
notifications = ["agent-turn-complete"]
```

Hook scripts:

- `~/.codex/hooks/post_operation_obsidian_memory.sh`
- `~/.codex/hooks/post_operation_obsidian_memory.py`

## Rules

- `00-Inbox` is raw capture only; do not normalize here.
- Default project slug is `obsidian-memory`.
- The script ingests assistant messages from Codex session JSONL and appends only unseen entries.
- The script must be called at the end of each answered turn when this memory workflow is active.
- In interactive use, prefer the post-operation hook so capture happens automatically after each answer.

From mbtz/agent-skills, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 18, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mbtz

Cite this page

obsidian-memory-capture skill. Agent Mart. https://agentmart.dev/skills/mbtz-obsidian-memory-capture (last updated 2026-10-24)