personal-ai-assistant

personal-ai-assistant

Template for a personal AI assistant: Telegram + OpenClaw + Obsidian vault in Git, shared with Claude Code

Personal AI assistant: Telegram + Obsidian + Git

A template for a personal AI assistant that you talk to in Telegram and that keeps its memory in an Obsidian vault. The same vault is used by Claude Code on your laptop, so both assistants work with the same notes and follow the same rules.

Architecture

How it fits together

  • Telegram is the interface. You write or send voice messages; voice is transcribed.
  • The assistant runs on OpenClaw on a small server, with Claude as the model. It reads and edits the vault and runs scheduled jobs.
  • The vault is a plain folder of Markdown notes in a private Git repo. The assistant pulls before work and commits after, so every change is in the history and can be rolled back.
  • Claude Code on your laptop opens the same repo.
  • One rules file, vault/CLAUDE.md, says what goes where, what must not be rewritten and when to ask. Both assistants read it at the start of every session. Most of the effort goes into this file.

What's in this repo

vault/                     template of the vault
  CLAUDE.md                the rules file, the main thing to adapt
  Current context.md       short snapshot of goals and situation, read first
  00-Daily/                daily notes; Weekly/ for weekly reviews
  01-Projects/             projects with an outcome and a deadline
  02-Areas/                ongoing areas without an end date
  03-Resources/            reference notes by topic
  04-Strategy/             long-term goals and decisions
  05-Archive/              finished and dropped things
  _Templates/              daily note and weekly review
openclaw/
  AGENTS-roles.md          section to add to the assistant's AGENTS.md
  automations.md           scheduled jobs with their prompts

Setup

  1. Create a private Git repo from the vault/ folder and open it in Obsidian. Keep it private: it will hold personal data.
  2. Fill in Current context.md and adapt CLAUDE.md to your life. Delete what doesn't apply.
  3. Install OpenClaw on a server and connect Telegram: docs. Restrict the bot to your own account.
  4. Clone the vault repo on the server with a deploy key that can push, and point the assistant to it.
  5. Add the section from openclaw/AGENTS-roles.md to the assistant's AGENTS.md.
  6. Create the scheduled jobs from openclaw/automations.md: docs.
  7. On your laptop, clone the same repo and run Claude Code in it. It picks up CLAUDE.md automatically.

Start with one job, the morning step of the day, and add the rest once it's useful.

What it does once set up

  • Weekdays, 9:30. Step of the day: one concrete thing per goal and what's coming up. It also says when something keeps getting postponed.
  • Evening. A short question about the day. You answer with a voice message; it saves the full transcript and keeps the parts about the day in your own words.
  • Sunday. A draft of the weekly review, to finish together.
  • Any time. Ideas, events and "don't forget" messages go into the right notes.

Things to watch

  • Two assistants writing to one repo will sometimes conflict. Pull before every change and keep commits small.
  • Don't give the bot access to anyone but you. The vault is your whole life in text.
  • Review the rules file every few weeks. When the assistant does something wrong, the fix usually belongs there.

License

MIT

Related

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File → Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

0

Forks

0

License

MIT

Last updated 15d ago

Categories

Tags

ai-assistantclaudeobsidianopenclawtelegram-bottemplate