Install
$ agentstack add skill-mbtz-agent-skills-obsidian-memory-capture ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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:
python3 scripts/capture_session_answers.py
Optional explicit session:
python3 scripts/capture_session_answers.py --session-id "$CODEX_THREAD_ID"
Dry run preview:
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:
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-Inboxis 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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mbtz
- Source: mbtz/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.