The Missing Link: How LUNE Solved My Consistency Problem

After building Emma and Clara for note-taking, I realized the bottleneck wasn't my tools—it was my consistency. LUNE uses daily rituals and structured prompts to finally solve the human problem in my productivity system.

The Missing Link: How LUNE Solved My Consistency Problem
Photo by Prophsee Journals / Unsplash

If you're familiar with my previous posts, you'll know I've created two tools to help with my note-taking. There's Emma, a CLI metadata enricher, and Clara, an MCP server that parses my notes and provides context to LLMs. These are good tools, but they're obsolete if there's no data to work with.

Cue Taylor Swift's Anti-Hero: "It's me, hi, I'm the problem, it's me". I haven't been consistent with my note-taking, and the guilt has been eating at me.

To set context: even though I try to take notes throughout the day, I don't. I end up trying to journal, review, and reflect at the end of the day, but often I don't have the energy or drive to do so. To combat this, I created Lune—Logging Utility for Notes and Events.

Meet Lune

Lune is a terminal-based tool that prompts me with questions throughout the day to capture my thoughts, tasks, mood, and experiences while also reminding me of upcoming events and tasks.

I usually invoke Lune after meals because that's when I relax and rejuvenate. After eating, my mind is fresh. Naturally, I added food tracking as part of my rituals. Let me walk you through one of them.

$ python main.py morning

🌞 Good Morning, Naveen!

? 🍽️ What did you have for breakfast today?
  2 and half slices of Garlic butter grilled cheese sandwich

? How are you feeling this morning? 🙂 Content

? 🗣️ In a few words, describe how you're feeling:
  Good, Started working on my blog

📅 Today's Events:

✅ All Pending Tasks:
- GAP-1229 Script execution framework (high) 📅 2025-07-31 23:59

? 📓 What's your intention or focus for today?
  Finish my blog post

🔮 Today's Dad Joke
What's black and white and read all over? The newspaper.

Summary
🍽️ Breakfast: 2 and half slices of Garlic butter grilled cheese sandwich
🧘 Mood: 🙂 Content  
📓 Goal: Finish my blog post

Added to mood Database

Morning Ritual example

As you can see, I keep track of how I'm feeling, my breakfast, what I want to focus on for the day, my pending tasks, upcoming events, and a joke to lighten up my day. The joke gets replaced with a hydration reminder in the afternoon and a journaling prompt at night.

After each ritual, the CLI writes everything to my Obsidian daily note. In the backend, I use a SQLite database to keep things organised.

Under the Hood

I built Lune using Typer for the CLI interface and SQLite for data storage. The database tracks my tasks and upcoming events, but more importantly, it creates structured data that I can query with LLMs for insights.

Asking Claude for Lunch recommendations

I can analyse mood patterns, correlate what I eat with how I feel, get personalised productivity recommendations, and explore other behavioural connections in my data.

Conclusion

Lune, I hope, is the final piece to the puzzle. So far, it's been helping me stay focused and consistent. My productivity has improved, and I'm more conscious about what I eat.

There are always improvements to make and features to add—automated scheduling through cron jobs instead of manual invocation, or perhaps an agentic AI that learns my patterns and takes over entirely. The possibilities are endless. But for now, I'm happy with how it turned out.

If you'd like to follow my journey, please subscribe. If you have thoughts or suggestions, feel free to leave a comment or reach out.

Subscribe to Naveen Piedy's Blog

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe