Agentlog banner
albireo3754 albireo3754

Agentlog

Development community

Description

Auto-log Claude Code prompts to Obsidian Daily Notes

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

AgentLog

Auto-log Claude Code prompts and Codex turns to Obsidian Daily Notes.

AgentLog is a local-first prompt logger for Obsidian. It captures Claude Code prompts and Codex CLI turn inputs, then appends them to today's Daily Note, grouped by project and session.

Use it as a lightweight developer journal, worklog capture layer, or the first building block for richer Daily Notes automation.

# Requires Bun (https://bun.sh) installed and available on your PATH
npm install -g @albireo3754/agentlog
agentlog init ~/Obsidian

Install it once, start using Claude Code, and your Daily Note fills itself.

What It Does

Claude Code hook / Codex hook โ†’ Daily Note append

Why AgentLog

  • Local-first prompt logging with no external service required
  • Obsidian Daily Notes integration that works with your existing vault
  • Project and session grouping so prompts stay readable later
  • Zero copy-paste overhead during normal Claude Code use

**Before:** You finish a 3-hour Claude Code session. Your Daily Note is empty.

**After:**

## AgentLog
> ๐Ÿ• 11:21 โ€” js/agentlog โ€บ initialize git and open it in VS Code

#### 10:53 ยท js/agentlog

- - - - [[claude_a1b2c3d4-1111-2222-3333-444455556666]]
- 10:53 start building agentlog
- 11:07 open the spec document
- - - - [[claude_e5f6a7b8-1111-2222-3333-444455556666]]
- 11:21 initialize git and open it in VS Code
Element Role
> ๐Ÿ• HH:MM โ€” project โ€บ prompt Latest entry (always updated)
#### HH:MM ยท project Project subsection (grouped by cwd)
Section matching key (hidden in Obsidian Reading view)
- - - - [[claude_...]] / [[codex_...]] Session boundary (Obsidian wiki-link)
- HH:MM prompt Individual log entry

No manual logging. No copy-paste. No AI summarization overhead.

Install

# With Bun
bun add -g @albireo3754/agentlog

# With npm
npm install -g @albireo3754/agentl