Prompts
AI Log
Automated AI session logging that captures goals, outcomes, and links to daily notes
Purpose
Log a Claude Code session with goals, outcomes, and files changed. Creates a structured log entry and links it in today's daily note.
How to Use
Invoke with /ai-log at the end of a Claude Code session.
Instructions
- Create a log in
210 AI Log/with formatYYYYMMDDTHHmm <Short Description>.md- Short description: 2-5 words summarizing the main work done
- Example:
20251221T1430 Integrate rocketmoney vault.md
- Add a link to the log in today's daily note under
# Work Notes
Log Entry Content
Based on the conversation, extract:
- Goal: What the user asked for / intended outcome
- Outcome: What was actually accomplished
- Key Decisions: Important choices made during the session
- Files Changed: List of files created, modified, or deleted
- Notes: Any relevant context, gotchas, or follow-ups
Template
---
date: {{date}}
tags:
- ai-log
summary: <one-line summary>
---
## Goal
## Outcome
## Key Decisions
## Files Changed
## Notes
Daily Note Link
Add a bullet under # Work Notes in today's daily note (100 Periodics/Daily/YYYY-MM-DD ddd.md):
- [[YYYYMMDDTHHmm Short Description]]