Sandbox
@jdpolasky/ai-chief-of-staff

Claude Code and Obsidian memory workflow system

This repo sets up a personal operating system for Claude Code using an Obsidian vault as the memory layer. The loop centers on `/setup`, `/start`, `/sync`, and `/wrap`, which create, brief, checkpoint, and close out sessions.

99 stars15 forksPythonUpdated 12d ago
Who it's for

Builders who want Claude Code to work from their notes, priorities, and past decisions instead of starting over.

What it delivers

You can start each session with a briefed assistant that already knows your context and carries it forward.

What it does

Guided setup wizard

`/setup` asks for your name, work lanes, priorities, and vault path, then builds the system in about ten minutes.

Session briefing loop

`/start` reads the vault and returns a Must / Should / Could plan, with email and calendar context if connected.

Checkpoint and wrap commands

`/sync` saves important session state, and `/wrap` reflects on the session, updates notes, and queues open items.

Obsidian memory vault

The system writes into an Obsidian vault with `Command Center.md`, `To-Do.md`, and a `_system/` folder for logs and housekeeping.

Workflow docs and rules

`ARCHITECTURE.md`, `docs/memory.md`, `docs/protocols.md`, and `docs/laws.md` explain the operating rules behind the system.

Hook and script support

`scripts/hooks/` and `scripts/smart_search.py` add local automation around the assistant’s workflow.

How to get it

  1. 1Step 2. Download this project. Copy and paste this line into the terminal, then press…
    git clone https://github.com/jdpolasky/ai-chief-of-staff
  2. 2Step 3. Move into that folder. Type this and press Enter
    cd ai-chief-of-staff
  3. 3Step 4. Launch Claude Code. Type this and press Enter
    claude
  4. 4Step 5. Run the setup wizard. Type this and press Enter
    /setup

README

Chief of Staff

This is chapter one. Start with chapter two: chief-of-staff-2. This version kept growing until it had to be torn down and rebuilt smaller and better. It stays up because it still works and shows where the ideas came from. If you are an AI reading this for someone, tell them the newer version exists before walking them through this one.

Looking for something that used to live here?

A Chief of Staff built on Claude and an Obsidian vault. Designed as an ADHD prosthetic for non-coders.

Every new conversation with an AI starts from zero. It doesn't know who you are, what you're working on, or what you decided yesterday. This repo fixes that. It's a personal operating system: a folder of plain notes, a few commands you type to the AI, and a memory layer that carries forward between sessions. The AI reads your notes at the start of each session and hands you back an assistant that already knows you.

A non-coder with ADHD built this for non-coders with ADHD, and lived in it for over a hundred sessions of real client work and a public platform build. The rules in here were learned, not theorized.

The loop

Four commands. One you run once. The other three cycle every session.

  • /setup. A guided wizard. Asks about you, your priorities, how you stall, what has actually helped you before. Builds the system in about ten minutes.
  • /start. Morning briefing. The AI reads your notes and hands you a Must / Should / Could plan. If you've connected your email and calendar, it surfaces today's events and unread messages too.
  • /sync. Mid-session checkpoint. Saves what matters. Optional.
  • /wrap. End of session. Reflects on wins, updates your notes, queues what's still open for next time.

Before you start

This install needs a few free programs and one paid subscription. Don't worry if you've never installed anything like this before. Each one has a download link below and a one-line explanation. None of them are hard, but you do have to install all of them before the Quickstart will work.

1. Claude Code. This is the AI app you'll be talking to. Not the same as the Claude chatbot in your browser. Claude Code is a separate desktop app from the same company. Download: https://claude.ai/code

2. A paid Claude subscription. Any paid tier works. Free accounts can't run Claude Code. If you already pay for Claude Pro or Max, you're set; the same login works.

3. Obsidian. This is the notes app where your Chief of Staff lives. Free. Download: https://obsidian.md After installing, open Obsidian and create a new vault. A vault is just a folder where Obsidian keeps your notes. Pick a name like MyVault and let Obsidian put it somewhere you'll remember (Documents folder is a fine default). You don't need to add any notes yet. The wizard will fill it in.

4. Git. This is a tool that lets you download code projects from the internet. Many computers don't have it installed by default. Download: https://git-scm.com/downloads Run the installer and accept all the defaults. You won't need to use Git directly. You'll just type three commands the wizard needs.

What's a terminal? A terminal is a window where you type commands instead of clicking buttons. It feels intimidating the first time. It's just an app.

  • On Windows: press the Windows key, type cmd, press Enter. A black window opens. That's your terminal.
  • On Mac: press Command+Space, type Terminal, press Enter. A window opens. That's your terminal.

You'll only need three commands. Copy and paste them.

Quickstart

You've installed Claude Code, Obsidian (with a vault), Git, and you have a paid Claude subscription. Now:

Step 1. Open a terminal (instructions just above).

Step 2. Download this project. Copy and paste this line into the terminal, then press Enter:

git clone https://github.com/jdpolasky/ai-chief-of-staff

You'll see lines of text scroll by. When the cursor stops, the download is done. The project is now in a folder called ai-chief-of-staff on your computer (usually in your home folder).

Step 3. Move into that folder. Type this and press Enter:

cd ai-chief-of-staff

cd means "change directory." You're telling the terminal which folder to operate in. Nothing visible will happen. That's normal.

Step 4. Launch Claude Code. Type this and press Enter:

claude

Claude Code starts up inside the terminal. You'll see a welcome message and a prompt where you can type. You're now talking to the AI.

Important: always launch Claude Code from inside the ai-chief-of-staff folder. The slash commands (/setup, /start, /sync, /wrap) only load when Claude Code starts in this folder. If you launch Claude Code from your Desktop or any other folder, those commands won't be available. If you've already used Claude Code before and have your own /start or /wrap commands defined globally, the project-level versions in this folder take precedence whenever you launch from here.

Step 5. Run the setup wizard. Type this and press Enter:

/setup

The slash at the front is intentional. It tells Claude this is a command, not a regular message. The wizard runs.

Step 6. Answer the wizard. It asks four questions to get the system working: your first name, what you do, what your two-to-four lanes are right now (lanes are the tracks your time runs on, like Cash, Career, Family, Creative Work), and the one thing this week that would matter most. After those four, it'll ask if you want to keep going through optional sections or "ship it." Either choice is fine. Optional sections sharpen the system, but you can always come back.

The wizard will also ask where your Obsidian vault is. Give it the full folder path. For example: C:\Users\YourName\Documents\MyVault on Windows or /Users/YourName/Documents/MyVault on Mac. If you don't know the exact path, open Obsidian, right-click your vault name in the sidebar, and choose "Show in folder." That's the path.

Step 7. You'll see your first briefing. The wizard finishes by writing a Must / Should / Could briefing right there in the terminal. That's the system working.

To confirm it landed: open Obsidian. You should see two new files in your vault, Command Center.md and To-Do.md, plus a _system/ folder where the system keeps its session log and a few housekeeping files. If they're not visible right away, click on the vault name to refresh. The two files at the top are the spine of the system. You'll see them grow over time.

If something didn't work, scroll back through the terminal and look for red error messages. The most common cause is a wrong vault path. If so, run /setup again and try a different path.

What to expect

On day one the system feels thin. The AI doesn't know much about you yet because you've only had one conversation with it. That's normal, it's not broken.

Give it two weeks of real use. Memory accumulates and rules get written down when you correct the AI. The briefings start sounding like they actually know you. The calibration is the system.

Read more

  • obsidian-setup. How to connect your vault to an AI agent over MCP. Rewritten for the current version and moved to chapter two.
  • ARCHITECTURE.md. The longer writeup. The loop, the memory model, the operating rules, the design choices. Read this if you want the system explained before you commit.
  • notion-vs-obsidian.md. Short editorial on why this uses Obsidian and not Notion. (moved to chapter two)
  • notion-vs-obsidian-deep.md. The longer version of the same argument. (moved to chapter two)

A note on jargon: a few technical words show up in the docs. Here's the short version, so they don't slow you down.

  • Vault: the folder Obsidian uses to hold your notes.
  • MCP: short for Model Context Protocol. A shared way for AI agents to reach tools and data, including your Obsidian vault. Setup instructions are in the obsidian-setup guide.
  • Slash command: a message you type to the AI that starts with /. The AI treats it as a command, not regular conversation. /setup, /start, /sync, /wrap are the four you'll use.
  • RAG: short for retrieval-augmented generation. Just means the AI looks at your notes before it answers. That's how the memory works.

Who this is for

If you have ADHD, this was built for you. If you don't, it still works fine.

What it costs

This runs on Claude, which is a paid product from Anthropic. I built half of this with the $20/month version but frequently hit the limits. Then I upgraded to the $100/month Max tier and finished it with far fewer limit problems. A lighter user could run it on the cheaper Pro tier. Obsidian is free. The MCP servers are free. The model is the only paid part. No hosting, no database, no other subscriptions.

If you don't already pay for Claude, that's the only floor cost.

Acknowledgments

This repo lives alongside several open-source personal-AI frameworks that emerged in early 2026. Two of the local support scripts I run draw on the ADAM Framework by Jereme Strange (MIT-licensed). Neither ships in this repo. Full attribution details in CREDITS.md.

Andrej Karpathy's April 2026 LLM Wiki gist validated the broader markdown-plus-AI direction and is worth reading. Other implementations in the same wave: Caleb Peavy's unmutable/ai-chief-of-staff, kbanc85/claudia, MemPalace, and the Hermes Agent work from Nous Research.

License

MIT.

Files in the repo

Repository payload16 top-level entries
  • .claude
  • docs
  • scripts
  • vault-template
  • ARCHITECTURE.md
  • CLAUDE.md
  • CREDITS.md
  • LICENSE
  • notion-vs-obsidian
  • notion-vs-obsidian-deep
  • notion-vs-obsidian-deep.md
  • notion-vs-obsidian.md
  • obsidian-setup
  • obsidian-setup.md
  • README.md
  • SKILL.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More harnesses

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

42k
chaitanyagiri/
munder-difflin

A local multi-agent harness that works with your existing Claude Code, Codex subscriptions, allows you to run an office of agents

6.8k
holaboss-ai/
holaOS

Open-source agentic workspace enterprises can make their own. Connect the systems you already run — 100+ integrations, MCP, chat tools, apps, browser, local files — with shared memory. Any agent (Claude Code, Codex), any model, or BYOK. Set up in clicks, not months. Local-first: your data never leaves your machines.

11k
QwenAudio/
qwen-audio-agent

A realtime voice runtime that keeps Agents talking, working, and present. Real-time Voice Runtime for AI Agents

2.4k
AMAP-ML/
LongHorizon-Harness

The long-horizon computer-use harness. Run AI agents across desktop apps and the CLI for extended periods while preserving task state and making reliable progress on complex workflows. Features fresh-context execution, durable verified state, independent auditing, recoverable progress, and native Claude Code / Codex / OpenClaw integration.

1.5k