Prompt library
Agentic prompt guides.
Practical guides, exercises and copy-ready prompts for building with Claude agents. Choose a guide to open it.
Field guide · Agentic workflows with Claude
The 5-line agentic pipeline prompt.
One repeatable prompt that turns a workflow into a team of Claude agents. Claude proposes the design, you approve it, and only then does Claude build the project files, without running anything.
Framework adapted from Data Science Masterminds teaching material.
01 · Framework
Five lines, each answering one question.
Every line removes a decision Claude would otherwise have to guess. Written in this order, they produce a plan you can review before a single file exists.
Name the input and the output
State what goes into the pipeline and what must come out. A concrete input and output make every later decision easier to check.
What does this workflow start with, and what does it deliver?
Build an agentic pipeline that takes our weekly team status updates and produces a one-page executive summary.Write the shared brief first
Ask Claude to create CLAUDE.md before anything else, so every agent works from the same goal, folder layout and rules.
What does every agent need to know about this project?
First create CLAUDE.md with project goal, workflow, folders, inputs, outputs, and agent roles.One file, one job, in order
Split the work into agents that each do a single job, listed in the order they run, each defined in its own file.
Which steps happen, in what sequence, and who owns each?
Create 3 agents, one file each, in this order: Collector → Analyst → Writer. Give each agent exactly one job.Review before anything is created
Have Claude present the proposed architecture and stop. You approve or adjust the design while changes are still cheap.
Is this the design I actually want built?
Before creating any files, show me the proposed architecture and wait for my approval.Scaffold only; don't execute
Point Claude at a local folder and ask for the files only. Running the agents is a separate, deliberate step.
Where should the project live, and what should not happen yet?
After I approve, create all files in ~/projects/exec-report. Do not run the agents.Add guardrails for sensitive data
When the data is sensitive or easy to misread, add explicit rules: read-only access, no PII, how to handle conflicts or missing values.
What must never happen, even if it looks convenient?
Rules: read-only access to source data, no PII in outputs, and flag conflicts instead of resolving them.Goal: Build an agentic pipeline that takes [input] and produces [output].CLAUDE.md: Start by creating a CLAUDE.md that records the goal, inputs, outputs, folder layout, workflow and rules.Agents: Use [N] agents, one file each with one job, in this order: [agent 1] → [agent 2] → [agent 3].Approval: Show me the proposed architecture and wait for my approval before creating any files.Folder: Once I approve, create the files in [local folder]. Do not run the agents.Rules: [optional guardrails]
02 · CLAUDE.md
The project brief every agent reads.
CLAUDE.md is a plain Markdown file at the root of the project. Claude reads it at the start of every session, so the goal, structure and rules persist instead of being re-explained each time.
Consistency. Every agent works from the same definitions instead of its own assumptions.
Continuity. A new session picks up where the last left off without a long re-brief.
Reviewability. One file shows you, and anyone else, how the system is meant to behave.
# CLAUDE.md — [Project name] ## Goal Turn [input] into [output]. ## Inputs and outputs - Input: [source and format] - Output: [deliverable and format] ## Folder layout /input # source files, read-only /output # everything the pipeline produces /agents # one instruction file per agent ## Workflow 1. [Agent 1] — [job] 2. [Agent 2] — [job] 3. [Agent 3] — [job] ## Global rules - Never modify files in /input - Mark unknown values as "Unknown"; never invent them - Flag conflicts instead of resolving them silently ## Approval points - Stop after [agent] and wait for STATUS: APPROVED
03 · Annotated samples
The same five lines, three different jobs.
Each sample follows the template exactly. The notes show which decision each line settles.
Build an agentic pipeline that takes our weekly team status updates and produces a one-page executive summary with risks and decisions needed.Start by creating a CLAUDE.md that records the goal, inputs, outputs, folder layout, workflow and rules.Use 3 agents, one file each with one job, in this order: Collector → Analyst → Writer.Show me the proposed architecture and wait for my approval before creating any files.Once I approve, create the files in ~/projects/exec-report. Do not run the agents.Rules: quote numbers exactly as reported, and label anything inferred as an inference.
What this sample shows
Goal names a specific audience and format, so "done" is unambiguous.
Agents separate gathering, judgment and writing, which keeps each one easy to check.
Rules protect credibility: leaders need to know which figures are reported and which are interpreted.
Build an agentic pipeline that takes our e-commerce orders database and produces a sales dashboard with revenue, top products and repeat-customer rate.Start by creating a CLAUDE.md that records the goal, inputs, outputs, folder layout, workflow and rules.Use 4 agents, one file each with one job, in this order: Schema documenter → Cleaner & joiner → Analyst → Dashboard builder.Show me the proposed architecture and wait for my approval before creating any files.Once I approve, create the files in ~/projects/sales-dashboard. Do not run the agents.Rules: read-only SQL only, quote mixed-case column names, and never include customer PII in any output.
What this sample shows
Agents start by documenting the schema, so later agents query real columns instead of guessed ones.
Rules matter most with live data: read-only access and no PII are non-negotiable.
Folder plus "do not run" means you inspect the SQL before it ever touches the database.
Build an agentic pipeline that takes a messy folder of policy documents and produces an organized, indexed knowledge base.Start by creating a CLAUDE.md that records the goal, inputs, outputs, folder layout, workflow and rules.Use 4 agents, one file each with one job, in this order: Inventory → Organize → Index → Validate.Show me the proposed architecture and wait for my approval before creating any files. Also stop after Inventory so I can approve the categories.Once I approve, create the files in ~/projects/policy-kb. Do not run the agents.Rules: never change the wording of an original document, mark missing facts as Unknown, and flag conflicting versions instead of choosing one.
What this sample shows
Approval can happen more than once: a second gate after Inventory lets you fix categories before anything is moved.
Agents end with a validator that checks the others' work.
Rules keep the source of truth intact while still making it usable.
04 · Prompt builder
Fill in the blanks, copy the prompt.
The preview updates as you type. Paste the result into Claude Code or Claude with file access.
Empty fields stay as [placeholders] so you can see what's still missing.
05 · Common mistakes
Six ways the prompt goes wrong.
Most failed pipelines trace back to one of these. Each has a simple fix.
A vague goal
"Help me with reporting" gives Claude nothing to design against.
FixName the exact input and the exact output, including format and audience.
Skipping CLAUDE.md
Agents drift because each one invents its own assumptions.
FixMake the brief the first file created, and keep the rules in it.
Oversized agents
One agent that "collects, analyzes and writes" is hard to test and hard to fix.
FixOne job per agent. If you need "and" to describe it, split it.
No approval gate
Claude builds the first design it thinks of, and you review it after the fact.
FixAlways ask for the architecture first, and wait for approval.
Building and running at once
Agents touch real data before anyone has read their instructions.
FixScaffold first with "do not run." Execute as a separate step.
Missing rules for real data
Sensitive or messy data gets edited, exposed or silently "corrected."
FixState read-only access, PII handling and conflict handling explicitly.
3-Day Agentic Sprint · Day 01
Foundations & agentic thinking.
Five core ideas for working with AI agents. For each one you get the concept, a quick interactive exercise, and a prompt that has Claude teach it to you using your own work.
01 · Concept
From chatbot to agent.
AI tools sit on a spectrum. The further right you go, the more of the work the tool does on its own, and the more your job shifts from doing to directing and checking.
Chatbot
You ask, it answers, one message at a time. You do the work.
You: the doerAssistant
Works with your files and context. Drafts, summarises and analyses, and you review each step.
You: the reviewerAgent
Given a goal, it plans the steps, uses tools, checks its own work and delivers the output.
You: the directorTry it · Key terms
Tap a card to flip it.
I want to understand the difference between a chatbot, an assistant and an agent using my own work. My role is [your role] and a task I do every week is [task]. Show me how that task would look at each of the three tiers, what I would still do myself at each tier, and which tier is the right fit for it today. Keep it to one page.
02 · Concept
Stop asking. Start delegating.
A delegation prompt is the brief you would give a capable new hire. It has six parts, and each one removes a guess the model would otherwise make.
Tap a part to see what it does.
Asking · weak
Write a report on our sales.No role, no data, no scope, no format. The model has to guess everything.
Delegating · strong
Role: You are a sales analyst for a consumer goods company.Context: The attached files hold Q3 sales for four regions. Leadership meets on Monday.Task: Compare Q3 with Q2 by region and product, and find the top three wins and top three risks.Constraints: Use only the attached data. Flag any unclear numbers; do not guess.Output format: One page: a five-bullet summary, then a table, then the risks.Done criteria: Every number traces to a file, and regional totals match the source.
Here is a request I recently gave an AI tool: "[paste your prompt]". Rewrite it as a delegation prompt with six labelled parts: role, context, task, constraints, output format and done criteria. Ask me for any information you would need rather than inventing it, then explain in one line per part what changed and why.
03 · Concept + try it
Three agentic workflow patterns.
Most multi-agent work fits one of three shapes. Pick the pattern first, then decide on the agents.
Each step needs the one before it
Output from one agent becomes the input to the next. Simple to build and easy to debug, because you can inspect every hand-off.
Use when: the steps depend on each other, such as reporting and data preparation.
Independent jobs, one result
Several agents work at the same time on separate pieces, and a final agent merges their outputs into a single deliverable. Faster when the parts don't depend on each other.
Use when: the work splits cleanly, such as comparing competitors, markets or documents.
Draft, check, repeat until it passes
A maker agent produces a draft and a checker agent reviews it against explicit rules. The loop repeats until the draft passes, usually with a cap on attempts.
Use when: quality matters most, such as customer-facing copy or compliance documents.
I want to automate this workflow: [describe the workflow from start to finish]. Explain which pattern fits it best (sequential, parallel + combine, or review loop) and why. Then sketch the agents I would need, one job each, and what each one hands to the next. Don't build anything yet.
04 · Concept
Scaffolding: give agents a home.
Use the same folder structure for every project. Agents always know where to read, where to write and where their instructions live.
Tap a folder to see what goes inside and why it matters.
One project, one folder
Never mix workflows. A clean folder keeps context focused and costs low.
Inputs are read-only
Agents read from inputs and write to outputs, so originals are never at risk.
Instructions live in a file
Write them once in CLAUDE.md or the project instructions, not in every chat.
Set up a project folder for this workflow: [workflow]. Propose a folder structure with inputs (read-only), outputs, agents and reports, and draft a CLAUDE.md that records the goal, inputs, outputs, folder layout and rules. Show me the structure and wait for my approval before creating anything.
05 · Concept
Reliable AI: three risks, three fixes.
Agents fail in predictable ways. Each risk has a fix you can build into the prompt or the workflow.
Hallucinations
Makes things up.
FixProvide the source, ask for quotes or citations, and allow "I don't know" instead of a guess.
Mistakes
Gets steps wrong.
FixUse smaller tasks, clear done criteria, and a checker agent or human review step.
Token costs
Burns through usage.
FixKeep context lean, use one project per folder, choose the right model and reuse instructions.
Try it · Reliability checklist
Think of an AI task you run today. Tap each item you already do.
0 of 8 · Start with the items you haven't ticked.
Here is an AI task I run regularly: [describe the task and paste the prompt you use]. Review it for three risks: hallucinations, mistakes and token costs. For each risk, tell me how likely it is in this task and give one specific change to my prompt or process that reduces it.
The foundational skills to design and delegate work to AI agents with confidence.
3-Day Agentic Sprint · Day 03
Build your own agentic workflow.
Learn one repeatable framework, see it applied to a real example, then apply it to your own work and get a prompt to paste into Claude Cowork or Claude Code.
01 · The framework
The G.I.S.O. blueprint.
Every agentic workflow answers four questions. Tap a letter to see what it asks for.
Tap a letter to see what it asks for.
If you can explain the four parts to a new intern in two minutes, Claude can run the workflow as an agent.
02 · Worked example
Weekly sales report.
A sales manager spends three hours every Monday merging Excel files into a summary. Here is the same job written as a G.I.S.O. blueprint.
A one-page weekly sales summary leadership can read in two minutes.
Four regional Excel files, placed in a Sales/This Week folder every Friday.
- Read and clean each file.
- Merge them into one table.
- Compare with last week.
- Flag the top three wins and top three risks.
- Write the summary.
A Word or PDF report plus an email draft. Check that totals match the source files and that no region is missing.
3 hours of manual work → a 5-minute review.
The same blueprint works for invoices, HR onboarding, content calendars, client reports and more.
03 · Build yours
Turn your task into a workflow.
Fill in four details and generate a prompt. Paste it into Claude to get a full workflow blueprint and build plan for your own use case.
Fill in the four fields and select "Generate my prompt".
- Copy the prompt.
- Paste it into Claude (Cowork or Code).
- Answer Claude's questions, then follow the build plan.
A working agentic workflow, and a framework you can reuse for the next one.
3-Day Agentic Sprint · Workshop hub
Prepare, then build in sequence.
Preparation, practical AI exercises and workshop resources in one place. Finish the checklist before Day 1, then work through each day's workflows one prompt at a time.
Before the live sessions
Arrive ready to build.
Complete the preparation checklist before Day 1. Your progress stays in this browser, so you can leave and pick up where you stopped.
Follow the checklist in order. Open each resource, finish the action, then select Mark complete.
- 01
Claude Pro Plan ($20)
Subscribe to the monthly Claude Pro plan. Keep it for one month and cancel later if you wish.
- 02
Claude Desktop installed
Install Claude Desktop on Mac or PC. Windows users may need to retry after installing and restarting.
- 03
Project / Folder option visible
Open Claude Desktop and confirm that the Project / Folder option appears.

Look for the Project or folder selector beneath the Claude message box. - 04
Chrome and one consistent email
Set Google Chrome as your default browser and use one email identity across workshop tools.
- 05
Local project folders
Create 3day_agentic_sprint with Project 1, Project 2, Project 3, Project 4, and Project 5 inside Documents.
- 06
Gmail connector
Connect Gmail inside Claude Connectors. You can use an existing Gmail address or a workshop-only address.
- 07
RAG starter kit
Download the 25 NexaFlow Markdown documents and place the nexaflow_docs folder in your local project folders.
- 08
Data starter kit
Download the two sanitized CSV files (customers and transactions). You will upload them to Supabase for the data and dashboard projects.
- 09
Presentation starter kit
Download the Day 2 sample pack (nine RenewRadar startup files) and place it in your local project folders.
- 10
Supabase account + connector
Create a Supabase account, connect it in Claude, and confirm that the connection is active. Use Sign up with Google for a faster experience.
- 11
Composio account + connector
Create a Composio account, connect it in Claude, and confirm that the connection is active. Use Sign up with Google for a faster experience.
- 12
Vercel account + connector
Create a Vercel account, connect it in Claude, and confirm that the connection is active. Use Sign up with Google for a faster experience.
- 13
LinkedIn PDF + profile photo
Download your LinkedIn profile as a PDF and prepare one clear high-definition photo.
- 14
Privacy setting
In Claude, review Settings → Privacy → Help improve our AI models. This choice is yours.
Questions before Day 1?
Your LMS and workshop WhatsApp links will be published here with the final orientation material.Workshop schedule
One workspace. Released in sequence.
Preparation
Checklist, accounts, downloads and setup guidance.
Day 1 · RAG + Data
Build both workflows step by step.
Complete Workflow 1 first, then Workflow 2. Every setup prompt, activation command, starter file and test prompt appears in the order you will use it.
Organize a raw company-document corpus into a navigable knowledge base, then validate retrieval against the original sources.
Download and open the RAG project folder
Download the starter kit, unzip it, and select the working project folder in Claude. The kit contains only the 25 fictional NexaFlow Markdown documents in a nexaflow_docs folder. Select that folder in Claude.
View the expected starting folder
nexaflow_docs/ ├── case_study_acme.md ├── case_study_finserve.md ├── customer_faq.md ├── ... └── training_and_adoption.md (25 .md files)
Prompt 1: Set up the four agents
Paste this prompt with the nexaflow_docs folder selected. Claude first shows the proposed architecture for your approval, then creates CLAUDE.md and four agent files. It does not run any agent yet.
Create a knowledge-base organizing pipeline for the 25 NexaFlow Markdown documents in this folder. First create CLAUDE.md with project goal, workflow, folders, inputs, outputs, global rules, and agent roles. INPUT: 25 Markdown documents (product, pricing, implementation, case studies, sales). Some overlap, some are outdated. PROCESS: agent_1_inventory.md: read every document, build catalog.csv, flag duplicate IDs and version conflicts, propose 4 to 6 categories. Stop for approval. agent_2_organize.md: write YAML front matter using the shape below, copy each document into exactly one category folder. Never change body text. agent_3_index.md: create an index.md per category and a root index.md for index-first retrieval. agent_4_validate.md: check counts, links, metadata, unique IDs, and that bodies match the originals. Write validation_report.md. OUTPUT: organized knowledge_base folder, category indexes, root index.md, validation_report.md. Originals stay untouched. YAML SHAPE --- document_id: "NEXA-001" title: "Full document title" document_type: "Guide, Policy, Price List, FAQ, Case Study, Template, or other" main_category: "One primary category" secondary_topics: - "Topic one" - "Topic two" rag_tags: - "lowercase-kebab-case-tag" - "another-search-tag" version: "Version number" status: "Current, Historical, Draft, or Unknown" last_updated: "YYYY-MM-DD or Unknown" authoritative: "Yes or No" supersedes: "Older document or version this replaces, or None" contains_outdated_information: "Yes or No" related_documents: - "NN_filename.md" summary: "One or two factual sentences describing the document" key_topics: - "Important fact, figure, or process covered" use_when: "The kinds of questions this document should answer" --- Before creating files, show the proposed architecture, workflow, folders, and outputs for approval. Do it in the local folder. Dont execute the workflow.
Activate the agents
Send Prompt 2 first. Agent 1 builds catalog.csv, flags conflicts, and proposes 4 to 6 categories, then stops. Approve the categories, then send Prompt 3 to organize, index, and validate. Check validation_report.md and the folder structure below.
Activate Agent 1
Activate Agents 2, 3 and 4
View the expected output structure
nexaflow_docs/
├── CLAUDE.md
├── agent_1_inventory.md
├── agent_2_organize.md
├── agent_3_index.md
├── agent_4_validate.md
├── catalog.csv
├── validation_report.md
├── (25 original .md files, untouched)
└── knowledge_base/
├── index.md
├── product/
│ ├── index.md
│ └── ...
├── pricing/
├── implementation/
├── case-studies/
└── sales/Test retrieval one question at a time
Start a new chat, use knowledge_base/index.md, and copy one test question at a time. Review the cited source files in every answer.
Using knowledge_base/index.md, answer: What is the onboarding process and typical timeline for an enterprise customer? Cite the files you used.
Using knowledge_base/index.md, answer: What does the Enterprise plan cost, and are annual discounts available? Cite the files you used.
Using knowledge_base/index.md, answer: Does the platform support SSO, audit logs and role-based access? Cite the files you used.
Using knowledge_base/index.md, answer: Have we helped a manufacturing company reduce manual work? Cite the files you used.
Using knowledge_base/index.md, answer: How should I respond if a prospect says the solution is too expensive? Cite the files you used.
Using knowledge_base/index.md, answer: A customer says Enterprise costs $85 per user per month. Are they right? Cite the files you used.
Build the team interface
Use the prompt below only after retrieval works. Ask Claude for a plan first, then approve the prototype.
Okay. So now I want you to create a a a user interface where I can provide this chat application to my team members as an independent web application where they can type and get responses based on the knowledge base that we have. Right? So create... can you create a a a, first of all, prototype? Quick prototype that we can use it where I can just type and get an an an an the the answer. You can also convert it into an artifact which, uh, which is, like, demo able shareable. Okay. So first, give me the plan, and then I'll approve the new create it.
Load the sanitized eCommerce dataset into Supabase, set up the five-agent reporting pipeline, then activate each agent in sequence.
Download the sanitized training data
The starter kit contains only two files: customer.csv and transactions.csv. They keep 1,000 customers, 3,000 transactions, and the join while removing names, emails, phone numbers, and source customer IDs.
↓ Download customers CSV↓ Download transactions CSVOpen data dictionary ↗
Prepare your Supabase project
Create a project, load the files into tables named tbl_customers and tbl_transactions, then connect Supabase to Claude. The data workflow depends on the shared Customer_ID field.
Set up the five agents
Paste this setup prompt. Claude proposes the architecture for your approval, then creates CLAUDE.md and five agent files. It does not run any agent yet.
Create a five-agent e-commerce reporting pipeline using the `eCommerce` database connected through Supabase MCP. Important rules: * Use read-only queries. * Quote mixed-case column names. * Convert `"Date_of_Purchase"` from `DD-MM-YYYY`. * Join the customer and transaction tables using `"Customer_ID"`. * Never expose customer names, emails, or phone numbers. First, propose the architecture, workflow, folders, agent responsibilities, and outputs for my approval. After approval, create `CLAUDE.md` and these agents: * `agent1.md` — read the data dictionary (`DATA_DICTIONARY.md` if it is in this folder, otherwise the column definitions in Supabase) and the table names, then document every table and column. * `agent2.md` — explore, clean, join, and validate the data. * `agent3.md` — produce KPIs, trends, segments, exceptions, and business insights. * `agent4.md` — build a live Claude artifact dashboard from Agent 3's results. * `agent5.md` (optional) — add a chatbot to the dashboard artifact so I can chat with the data. Agents must share results through files, not chat. Give every agent clear inputs, steps, outputs, rules, completion criteria, and escalation instructions. Create files only. Do not run any agent. After creation, show the folder tree and wait for `Activate Agent 1`.
Activate each agent in order
Wait for the named output files after each activation before starting the next agent. Start with Agent 1.
Activate Agent 1
Reads the data dictionary and table names, and documents every table and column.
Activate Agent 2
Explores, cleans, joins, and validates the data.
Activate Agent 3
Produces KPIs, trends, segments, exceptions, and business insights.
Activate Agent 4
Builds a live Claude artifact dashboard.
Activate Agent 5
Optional: adds a chatbot to the dashboard so you can chat with the data.
Start a clean new run
Use this prompt when you want to preserve the current files and begin a fresh reporting run.
Archive the current output and start a new run.
Day 2 · Prompt engineering
Turn startup notes into an investor-ready pitch deck.
The same agent pattern as the Day 1 Data Agent: open the folder, run one setup prompt, then activate each agent in order and review its output before the next.
The framework
The Grid: nine boxes every investor checks
The Grid, from the book by Matt Watkinson, says a business succeeds when it balances three goals: desirability, profitability and longevity. Each goal is shaped by three forces: the customer, the market and the organisation. That gives nine boxes, and each box becomes one slide.
Tap a box to see the investor question behind it.
Every box matters. Excellence in one or two boxes does not make up for a weak one. Investors go straight to the weakest box.
Framework: The Grid by Matt Watkinson. Free Grid worksheets ↗
Prompt engineering lab
Three agents, one stronger deck
Grid Analyst
Rates the evidence for all nine Grid boxes and flags contradictions in output/grid_map.md.
Deck Builder
Turns the grid map into an 11-slide deck with assertion headlines and visible assumptions.
Investor Critic
Scores the deck like a skeptical seed investor and adds a risk slide.
One setup prompt creates the agent files. Each agent runs only when you activate it, and agents share work through files in output/, not the chat.
Start
Choose your path
Workflow 1 · Grid Pitch Deck Agents
Use the sample data first. Set up the three agents, then activate them in order. Each agent writes a named file that the next agent reads.
Download and open the project folder
One ZIP holds all nine input files. Download and unzip it. In Claude Desktop, select Project or folder beneath the message box, then choose the grid-pitch-deck folder.
Select the folder before sending the first prompt.
Set up the three agents
Paste this setup prompt once. Claude creates CLAUDE.md and three agent files in agents/, shows the folder tree, then waits. It does not run any agent yet.
Role: You are a startup analyst setting up a three-agent pitch deck workflow in this folder.
Context:
The inputs folder holds raw founder materials for a seed-stage startup. There are nine files:
01_founder_meeting_notes.md
02_product_onepager.md
03_whiteboard_sketches.md
04_customer_interviews.md
05_competitor_scan.csv
06_pricing_unit_economics.csv
07_traction.csv
08_team_bios.md
09_investor_call_notes.md
They are messy on purpose: rough notes, interview snippets, text wireframes and spreadsheets.
We will judge the startup with The Grid framework by Matt Watkinson. Three goals (Desirability, Profitability, Longevity) across three forces (Customer, Market, Organisation) give nine boxes:
| | Desirability | Profitability | Longevity |
|---|---|---|---|
| Customer | 1. Wants & Needs | 4. Revenues | 7. Customer Base |
| Market | 2. Rivalry | 5. Bargaining Power | 8. Imitability |
| Organisation | 3. Offerings | 6. Costs | 9. Adaptability |
The three elements of each box, and the investor question behind it:
1. Wants & Needs: values, goals, barriers. Is this a real, urgent, expensive problem?
2. Rivalry: category dynamics, territory, alternatives including doing nothing. Why will customers pick you?
3. Offerings: proposition, brand appeal, customer experience. What exactly do they get, and why is it better?
4. Revenues: model, price, volume. How do you make money, and how much?
5. Bargaining Power: customers, suppliers and partners, regulators. Who can squeeze your margins or access?
6. Costs: fixed, variable, capital expenditure. Can this business make money at scale?
7. Customer Base: awareness, acquisition, retention. Are customers coming, paying and staying?
8. Imitability: legal safeguards, durable advantages, speed to copy. What stops a bigger player copying you?
9. Adaptability: financial flexibility, organisational agility, team capability. Can this team survive and adapt?
Slide map: 1 Title, 2 Problem (Wants & Needs), 3 Market (Rivalry), 4 Solution (Offerings), 5 Business model (Revenues), 6 Leverage (Bargaining Power), 7 Unit economics (Costs), 8 Traction (Customer Base), 9 Moat (Imitability), 10 Team and runway (Adaptability), 11 The Ask, 12 Risks and how we address them (added by Agent 3).
Rating scale:
STRONG: specific numbers from at least one file, or consistent evidence across two or more files, and no unresolved contradiction.
THIN: claims without numbers, one soft source, or an unresolved contradiction.
MISSING: no usable evidence.
Four things about this material that will break the deck if you ignore them:
1. The CSV files are the source of truth for numbers. When notes and a CSV disagree, use the CSV and say so.
2. Some files contradict each other. Find every contradiction before anyone builds a slide.
3. Values tagged [ASSUMED] were invented to fill gaps. They count as THIN evidence at best and must be labelled on any slide that uses them.
4. Every box matters. A strong box does not make up for a weak one. Investors go straight to the weakest box.
Task:
Set up the project. Create files only. Do not run any agent yet.
1. Make sure these four folders exist: inputs, agents, output, archive.
- inputs holds the founder materials. You only read it.
- agents holds the agent files.
- output is where every agent writes its results.
- archive holds old versions and old runs.
Check that all nine input files exist. If any is missing, tell me which ones and stop. Do not create sample data yourself.
2. Create CLAUDE.md with the full Grid reference above (table, box elements, slide map, rating scale) and these rules:
- Use only what is in inputs/. Never invent a fact, number, customer or quote.
- Copy numbers exactly as written. CSV files win over notes.
- Agents read each other's files in output/, not the chat.
- Never delete a file. If a file must be replaced, move the old version into archive/ first.
- US English and USD. Plain English, no jargon.
- If something is unclear, ask me before continuing.
3. Create three files in agents/. Each one needs these sections: Purpose, Inputs, Steps, Outputs, Rules, Done When, and Ask Me If.
agents/agent1.md - Grid Analyst
Purpose: work out what the evidence says about each Grid box before anyone builds a slide.
Inputs: CLAUDE.md and every file in inputs/.
Steps:
- Read CLAUDE.md, then read every file in inputs/ in full.
- For each of the nine boxes, collect evidence for each of its three elements. Cite the source file for every point and mark any [ASSUMED] evidence.
- Rate each box STRONG, THIN or MISSING using the rating scale.
- Find every contradiction between files: the same metric with different values. For each, give both values, both sources, the value to use, and why.
- List the eight most important numbers the deck must use, with sources.
- For every THIN or MISSING box, say what information would make it STRONG.
Outputs: output/grid_map.md with these sections in order: Summary table (box, rating, one-line reason), one section per box (elements, evidence with sources, gaps), Contradictions, Key numbers, Assumptions used.
Rules: read only; one line per evidence bullet; do not create slides.
Done When: all nine boxes are rated, every rating has a cited reason, and every contradiction has a recommended value.
agents/agent2.md - Deck Builder
Purpose: turn the grid map into an 11-slide seed pitch deck for US investors.
Inputs: output/grid_map.md, inputs/ and CLAUDE.md.
Steps:
- Check that output/grid_map.md exists. If it does not, tell me to type Activate Agent 1 first, and stop.
- Build slides 1 to 11 of the slide map.
- Give every slide an assertion headline: a full sentence that states the takeaway, not a topic label like "Problem".
- Under each headline use 3 to 5 short points, or one simple chart or table. Use a chart for anything over time, such as traction.
- Add a small footer on slides 2 to 10 naming the Grid box, for example "Grid: Rivalry".
- Use the recommended values from the Contradictions section of output/grid_map.md.
- If a box is THIN or MISSING, still build its slide from the evidence that exists. Start any filler, and any [ASSUMED] number, with "ASSUMPTION:" in the visible slide text.
- Write 2 to 4 sentences of speaker notes for every slide: what the founder would say.
- Slide 11, The Ask, shows the amount, use of funds as percentages, runway in months, and 3 to 4 milestones.
Outputs: output/pitch_deck.pptx, and output/deck_outline.md listing each slide number, its headline and the input files it draws on.
Rules: title the deck "<Company name> | Seed Pitch"; one idea per slide; about 40 words of body text per slide at most; one consistent colour palette; no clip art; no logos of real companies; no invented numbers beyond those already tagged [ASSUMED].
Done When: the deck has 11 slides, every slide has an assertion headline and speaker notes, and deck_outline.md matches the deck.
agents/agent3.md - Investor Critic
Purpose: review the deck as a skeptical partner at a US seed fund, then add a risk slide.
Inputs: output/pitch_deck.pptx, output/deck_outline.md, output/grid_map.md, inputs/ and CLAUDE.md.
Steps:
- Check that the deck and output/grid_map.md exist. If either is missing, tell me which agent to activate first, and stop.
- Score the deck from 1 to 10 on each of the nine Grid boxes, with a one-line reason each. A box that rests mainly on [ASSUMED] values scores 5 at most.
- Pick the 2 or 3 weakest boxes. For each one: why it is weak, the 3 hardest questions an investor will ask, and the evidence or action that would fix it within 90 days.
- Give exactly one verdict: "Take the meeting", "Maybe, after fixes" or "Pass", with one paragraph of reasoning.
- List the [ASSUMED] values the founder should replace with real data first, in priority order.
- Copy the current deck into archive/, then add slide 12, "Risks and how we address them": one line of risk and one line of mitigation for each weakest box.
Outputs: output/critic_report.md with these sections: Scores table, Weakest boxes, Verdict, Assumptions to replace first. Plus the updated deck with slide 12.
Rules: no flattery; base every criticism on specific evidence in the files, or on its absence; fixes must be realistic for a seed team with limited cash; do not change slides 1 to 11.
Done When: critic_report.md has all four sections, the previous deck is in archive/, and the deck has 12 slides.
4. End every agent file with this block:
## Ask Me If
Stop and ask before continuing if:
- an input file is missing, empty or unreadable
- two files disagree and the right value is unclear
- something would delete or overwrite a file
Ask one question at a time. Give me 2 or 3 options to pick from. Wait for my answer.
Rules:
- Create files only. Do not run any agent.
- Copy the four facts about this material above into each agent file so each one works on its own.
- Do not create or change anything in inputs/.
Output:
Show me the folder tree, confirm each agent file in one line, then wait for me to type Activate Agent 1.Activate each agent in order
Send one line at a time. Wait for the named output file and review it before activating the next agent. Start with Agent 1.
Activate Agent 1
Grid Analyst. Review the ratings and contradictions in output/grid_map.md before moving on.
Activate Agent 2
Deck Builder. Open output/pitch_deck.pptx and check that every headline is a full-sentence takeaway.
Activate Agent 3
Investor Critic. Read output/critic_report.md and the new slide 12.
Start a clean new run
Use this prompt to keep the current files in archive/ and run the agents again from Agent 1.
Archive the current output and start a new run.
The practice material
All nine files are in the ZIP from step 01.
01_founder_meeting_notes.md02_product_onepager.md03_whiteboard_sketches.md04_customer_interviews.md05_competitor_scan.csv06_pricing_unit_economics.csv07_traction.csv08_team_bios.md09_investor_call_notes.md
Workflow 1 · Build your own presentation
Create your input files, then set up and activate the same three agents as the sample path.
Open your project folder
Create an empty folder named grid-pitch-deck, move the downloaded startup_brief.md into it, then select that folder in Claude Desktop.
Create the input material
Use this short setup prompt, then check that Claude lists all nine input files.
Read startup_brief.md in this selected folder. Create the nine input files it specifies inside inputs/. When the files are ready, list their names and stop. Do not create a deck yet.
Set up the three agents
Paste this setup prompt once. Claude creates CLAUDE.md and three agent files in agents/, shows the folder tree, then waits. It does not run any agent yet.
Role: You are a startup analyst setting up a three-agent pitch deck workflow in this folder.
Context:
The inputs folder holds raw founder materials for a seed-stage startup. There are nine files:
01_founder_meeting_notes.md
02_product_onepager.md
03_whiteboard_sketches.md
04_customer_interviews.md
05_competitor_scan.csv
06_pricing_unit_economics.csv
07_traction.csv
08_team_bios.md
09_investor_call_notes.md
They are messy on purpose: rough notes, interview snippets, text wireframes and spreadsheets.
We will judge the startup with The Grid framework by Matt Watkinson. Three goals (Desirability, Profitability, Longevity) across three forces (Customer, Market, Organisation) give nine boxes:
| | Desirability | Profitability | Longevity |
|---|---|---|---|
| Customer | 1. Wants & Needs | 4. Revenues | 7. Customer Base |
| Market | 2. Rivalry | 5. Bargaining Power | 8. Imitability |
| Organisation | 3. Offerings | 6. Costs | 9. Adaptability |
The three elements of each box, and the investor question behind it:
1. Wants & Needs: values, goals, barriers. Is this a real, urgent, expensive problem?
2. Rivalry: category dynamics, territory, alternatives including doing nothing. Why will customers pick you?
3. Offerings: proposition, brand appeal, customer experience. What exactly do they get, and why is it better?
4. Revenues: model, price, volume. How do you make money, and how much?
5. Bargaining Power: customers, suppliers and partners, regulators. Who can squeeze your margins or access?
6. Costs: fixed, variable, capital expenditure. Can this business make money at scale?
7. Customer Base: awareness, acquisition, retention. Are customers coming, paying and staying?
8. Imitability: legal safeguards, durable advantages, speed to copy. What stops a bigger player copying you?
9. Adaptability: financial flexibility, organisational agility, team capability. Can this team survive and adapt?
Slide map: 1 Title, 2 Problem (Wants & Needs), 3 Market (Rivalry), 4 Solution (Offerings), 5 Business model (Revenues), 6 Leverage (Bargaining Power), 7 Unit economics (Costs), 8 Traction (Customer Base), 9 Moat (Imitability), 10 Team and runway (Adaptability), 11 The Ask, 12 Risks and how we address them (added by Agent 3).
Rating scale:
STRONG: specific numbers from at least one file, or consistent evidence across two or more files, and no unresolved contradiction.
THIN: claims without numbers, one soft source, or an unresolved contradiction.
MISSING: no usable evidence.
Four things about this material that will break the deck if you ignore them:
1. The CSV files are the source of truth for numbers. When notes and a CSV disagree, use the CSV and say so.
2. Some files contradict each other. Find every contradiction before anyone builds a slide.
3. Values tagged [ASSUMED] were invented to fill gaps. They count as THIN evidence at best and must be labelled on any slide that uses them.
4. Every box matters. A strong box does not make up for a weak one. Investors go straight to the weakest box.
Task:
Set up the project. Create files only. Do not run any agent yet.
1. Make sure these four folders exist: inputs, agents, output, archive.
- inputs holds the founder materials. You only read it.
- agents holds the agent files.
- output is where every agent writes its results.
- archive holds old versions and old runs.
Check that all nine input files exist. If any is missing, tell me which ones and stop. Do not create sample data yourself.
2. Create CLAUDE.md with the full Grid reference above (table, box elements, slide map, rating scale) and these rules:
- Use only what is in inputs/. Never invent a fact, number, customer or quote.
- Copy numbers exactly as written. CSV files win over notes.
- Agents read each other's files in output/, not the chat.
- Never delete a file. If a file must be replaced, move the old version into archive/ first.
- US English and USD. Plain English, no jargon.
- If something is unclear, ask me before continuing.
3. Create three files in agents/. Each one needs these sections: Purpose, Inputs, Steps, Outputs, Rules, Done When, and Ask Me If.
agents/agent1.md - Grid Analyst
Purpose: work out what the evidence says about each Grid box before anyone builds a slide.
Inputs: CLAUDE.md and every file in inputs/.
Steps:
- Read CLAUDE.md, then read every file in inputs/ in full.
- For each of the nine boxes, collect evidence for each of its three elements. Cite the source file for every point and mark any [ASSUMED] evidence.
- Rate each box STRONG, THIN or MISSING using the rating scale.
- Find every contradiction between files: the same metric with different values. For each, give both values, both sources, the value to use, and why.
- List the eight most important numbers the deck must use, with sources.
- For every THIN or MISSING box, say what information would make it STRONG.
Outputs: output/grid_map.md with these sections in order: Summary table (box, rating, one-line reason), one section per box (elements, evidence with sources, gaps), Contradictions, Key numbers, Assumptions used.
Rules: read only; one line per evidence bullet; do not create slides.
Done When: all nine boxes are rated, every rating has a cited reason, and every contradiction has a recommended value.
agents/agent2.md - Deck Builder
Purpose: turn the grid map into an 11-slide seed pitch deck for US investors.
Inputs: output/grid_map.md, inputs/ and CLAUDE.md.
Steps:
- Check that output/grid_map.md exists. If it does not, tell me to type Activate Agent 1 first, and stop.
- Build slides 1 to 11 of the slide map.
- Give every slide an assertion headline: a full sentence that states the takeaway, not a topic label like "Problem".
- Under each headline use 3 to 5 short points, or one simple chart or table. Use a chart for anything over time, such as traction.
- Add a small footer on slides 2 to 10 naming the Grid box, for example "Grid: Rivalry".
- Use the recommended values from the Contradictions section of output/grid_map.md.
- If a box is THIN or MISSING, still build its slide from the evidence that exists. Start any filler, and any [ASSUMED] number, with "ASSUMPTION:" in the visible slide text.
- Write 2 to 4 sentences of speaker notes for every slide: what the founder would say.
- Slide 11, The Ask, shows the amount, use of funds as percentages, runway in months, and 3 to 4 milestones.
Outputs: output/pitch_deck.pptx, and output/deck_outline.md listing each slide number, its headline and the input files it draws on.
Rules: title the deck "<Company name> | Seed Pitch"; one idea per slide; about 40 words of body text per slide at most; one consistent colour palette; no clip art; no logos of real companies; no invented numbers beyond those already tagged [ASSUMED].
Done When: the deck has 11 slides, every slide has an assertion headline and speaker notes, and deck_outline.md matches the deck.
agents/agent3.md - Investor Critic
Purpose: review the deck as a skeptical partner at a US seed fund, then add a risk slide.
Inputs: output/pitch_deck.pptx, output/deck_outline.md, output/grid_map.md, inputs/ and CLAUDE.md.
Steps:
- Check that the deck and output/grid_map.md exist. If either is missing, tell me which agent to activate first, and stop.
- Score the deck from 1 to 10 on each of the nine Grid boxes, with a one-line reason each. A box that rests mainly on [ASSUMED] values scores 5 at most.
- Pick the 2 or 3 weakest boxes. For each one: why it is weak, the 3 hardest questions an investor will ask, and the evidence or action that would fix it within 90 days.
- Give exactly one verdict: "Take the meeting", "Maybe, after fixes" or "Pass", with one paragraph of reasoning.
- List the [ASSUMED] values the founder should replace with real data first, in priority order.
- Copy the current deck into archive/, then add slide 12, "Risks and how we address them": one line of risk and one line of mitigation for each weakest box.
Outputs: output/critic_report.md with these sections: Scores table, Weakest boxes, Verdict, Assumptions to replace first. Plus the updated deck with slide 12.
Rules: no flattery; base every criticism on specific evidence in the files, or on its absence; fixes must be realistic for a seed team with limited cash; do not change slides 1 to 11.
Done When: critic_report.md has all four sections, the previous deck is in archive/, and the deck has 12 slides.
4. End every agent file with this block:
## Ask Me If
Stop and ask before continuing if:
- an input file is missing, empty or unreadable
- two files disagree and the right value is unclear
- something would delete or overwrite a file
Ask one question at a time. Give me 2 or 3 options to pick from. Wait for my answer.
Rules:
- Create files only. Do not run any agent.
- Copy the four facts about this material above into each agent file so each one works on its own.
- Do not create or change anything in inputs/.
Output:
Show me the folder tree, confirm each agent file in one line, then wait for me to type Activate Agent 1.Activate each agent in order
Send one line at a time. Wait for the named output file and review it before activating the next agent.
Activate Agent 1
Grid Analyst. Review the ratings and contradictions in output/grid_map.md before moving on.
Activate Agent 2
Deck Builder. Open output/pitch_deck.pptx and check that every headline is a full-sentence takeaway.
Activate Agent 3
Investor Critic. Read output/critic_report.md and the new slide 12.
Start a clean new run
Keep the current files in archive/ and run the agents again from Agent 1.
Archive the current output and start a new run.
Day 2 lab created by Arpan Saxena · Framework credit: The Grid by Matt Watkinson
Day 3 · Personal website
Turn your professional profile into a personal brand website.
Prepare your LinkedIn profile PDF and a clear photo, then build the site through the same one-prompt-at-a-time workflow used on Days 1 and 2.
Workflow 1 · Personal Brand Website
Use Claude Desktop with your local folder selected. Review each output before continuing.
Create and prepare your input folder
Create a local folder named personal-brand-website. Inside it, create about me. Download your LinkedIn profile as a PDF and add it to about me. Add one clear, high-definition photo to the same folder and name it 2.jpg.
Open the project folder in Claude Desktop
Start a Claude Cowork task. Select Project or folder beneath the message box, then choose personal-brand-website.
Select the local folder before you send Prompt 1.
Gather your personal information
Run this first. Review what Claude finds in your about me folder before moving to the website brief.
extract all the infromation about me that is going to help me build a personal brand website
Define the website content
Use the source material Claude has just reviewed.
my goal is to create a Personal Brand website, based on all the information available in about me folder. I want to extract and summarize all the info can go into my website.
Set the design direction
Use the references below to guide the site design. Review Claude’s screenshots and proposed direction before it builds.
proving, sample brand websites, please extract what is best needed for me and use those as framework to build mine. Take screenshots to ensure you get some good design that we can use. https://www.danmartell.com/ https://thedankoe.com/ https://www.sethgodin.com/
Save and deploy the first version
Run these prompts in order. Check the local file before you approve a production deployment.
save the index.html in my local folder
Check if you have access to Vercel, if yes deploy this on vercel to production.
Add your photo and extend the site
Use the photo named 2.jpg. The final prompt asks for a daily AI-agent-adoption blog section; review the proposed publishing approach and sources before you approve any schedule.
hey I added an image in the fodler its name 2.jpg use that in my website andre dplot it to product
Okay, what I want you to do right now is on this website, I want to create a blog section in which I will be I will be sharing one blog every day, and we'll schedule this to run 11 a.m. every day, which will research new topics related to AI agent adoption and post one uh, one topic, uh, one short snippet uh, blog uh, every day. Uh, on that thing, it will have a title, it will have the content, and it will have like uh, sources mentioning uh, where it found the information, and it will post that on the uh, this website every day at 11 a.m.
Create second brain · One-prompt exercise
One prompt. A whole company brain.
Paste one prompt into Claude and it does the entire exercise: it writes about 100 linked notes for a fictional company, Acme Inc., then builds a live knowledge graph on top of them that you can ask questions.
Exercise adapted from Data Science Masterminds teaching material.
01 · Get started
Three steps, one send.
It is a big job: about 100 files, then the app. Set it up once and let Claude work.
Open Claude
Use Claude on a paid plan, in the desktop app or on claude.ai.
Connect an empty folder
Create a new, empty folder on your computer and connect it to the chat. Claude writes all the notes there.
Paste and send
Copy the prompt below, paste it, send it, and let Claude work.
02 · The prompt
Copy, paste, send.
The whole exercise in one prompt. Part 1 writes the linked notes; Part 2 builds the interactive knowledge graph on top of them.
Create a folder of ~100 linked markdown files for a fictional company, Acme Inc., in my connected folder. Then publish an interactive artifact on top of it. Don't stop to ask for approval. Use USD, and no em dashes anywhere. PART 1: MARKDOWN FILES Company: B2B SaaS + industrial IoT hardware, ~400 staff, offices in Austin (HQ), London and Singapore. Subfolders and files: - 00_Home (5): Acme HQ (main hub file linking to every department and product), Org Chart, Company OKRs FY2026, Office Locations, Acme Glossary - 01_Departments (8): Executive, Sales, Marketing, Engineering, Product, Finance, HR, Operations - 02_People (26): role, manager, location, projects, meetings - 03_Projects (15): owner, team, status, milestones table, blockers, next steps - 04_Processes (15): SOPs and policies - 05_Meetings (12): dated Oct to Nov 2026, with attendees, notes and action items - 06_Clients (8): 5 clients + 3 vendors, with ARR or spend and a Red/Yellow/Green health rating - 07_Products (5) - 08_Decisions (8): ADR-001 to ADR-008 Every file gets: - YAML frontmatter: title, type, department, owner, status, date, tags - tables and dense [[File Title]] links in both directions: person to department, manager and projects; project to owner, team, client, product and ADRs; meeting to attendees, projects and ADRs Weave in realistic storylines: - the flagship re-platform project is at risk - one engineer is overloaded on 5 projects - a chip supplier delay is hitting the hardware roadmap - a key APAC client is a Red churn risk - next year's budget is over target and a hiring freeze is proposed Validate before finishing: zero broken links, zero orphan files, report the file and link counts. PART 2: ARTIFACT "Acme Inc. Knowledge Graph" One self-contained dark-theme HTML page with all file data embedded as JSON, using d3 and marked from cdnjs. Mobile friendly: graph stacks on top, side panel below. - Left: d3 force graph. Nodes coloured by department and sized by number of links. Labels shown for hub files. Drag and zoom. Hovering a node highlights its neighbours. Department legend chips that filter the graph. A "Find a note" search box. - Right panel, 3 tabs: 1. Ask the graph: chat that uses the sample capability with tools get_note, get_links and search_notes. The system prompt includes an index of every file. Files Claude reads light up on the graph live and are listed under each answer as a clickable "Notes read" trace. Answers stream, and [[links]] in them are clickable. Include 8 suggested-question chips (blockers, bottlenecks, at-risk customers, supplier impact on revenue, trace one ADR to its impact, a new-hire reading list, recent leadership decisions, weakest cross-department links). 2. Note: rendered markdown with frontmatter chips and clickable links. 3. Insights: pure graph math. Stat cards, most overloaded people, at-risk and paused projects, non-green accounts, top hub files, strongest cross-department links. - Declare the sample capability. If Q&A isn't available in the viewer, show a clear message and keep the rest of the page working.
03 · What you get
Two things, built for you.
A linked set of company notes, and an app that lets you see and question every connection between them.
About 100 files in 9 folders
- Home, departments, people, projects, processes, meetings, clients, products and decisions.
- Linked both ways, so every person, project, client and decision points to the others.
- Real problems hidden inside: a project at risk, an overloaded engineer, a supplier delay, a client about to leave, a budget over target.
00_Home5Acme HQ hub, org chart, OKRs, offices, glossary01_Departments8Executive to Operations02_People26Role, manager, location, projects, meetings03_Projects15Owner, team, status, milestones, blockers04_Processes15SOPs and policies05_Meetings12Oct to Nov 2026, attendees and actions06_Clients85 clients + 3 vendors, R/Y/G health07_Products5Product notes08_Decisions8ADR-001 to ADR-008Acme Inc. Knowledge Graph
- The graph: every note is a dot, every link a line, coloured by department. Drag, zoom, search and filter.
- Ask the graph: ask a question and watch the notes Claude reads light up, listed under each answer.
- Note and Insights tabs: read any note, or see who is overloaded and which accounts are at risk.
04 · Try these first
Ask questions that cross files.
Watch which notes light up. The answer is never in one file.
Which projects are at risk, and why?
Who is the biggest bottleneck?
How does the chip supplier delay hit revenue?
Which client might we lose, and what would save them?
If "Ask the graph" says questions are not available where you opened the app, the graph, the notes and the insights still work.
Exercise by Data Science Masterminds · One prompt. One company. Every link visible.
Working second brain · Claude + Obsidian
Building an LLM second brain with Claude and Obsidian.
Claude writes and maintains a folder of linked Markdown notes from your work sessions, and Obsidian is the window you read them through. This guide explains how the setup works and how to copy it.
01 · At a glance
Claude turns your sessions into a linked wiki.
Your sessions become raw notes, Claude ingests them into a wiki, and Obsidian is where you read it.
Notes move left to right. Only the INGEST step writes the wiki, a weekly LINT keeps it tidy, and Obsidian only reads. Digests and git commits sit alongside: a weekly recap and an undo history.
02 · The three layers
One folder, three layers.
The wiki is one git-tracked folder (here ~/brain-wiki) with a rulebook at the top and one folder per subject area, called a domain.
| Layer | Folder | Who writes it | Rule |
|---|---|---|---|
| Raw sources | domains/<domain>/raw/ | You, or Claude on request | Never edited once ingested. New facts go in a dated -update-YYYY-MM-DD.md file. |
| Wiki pages | domains/<domain>/wiki/ | Claude only | Created, merged and cross-linked freely. |
| Log | domains/<domain>/wiki/log.md | Claude only | Append-only. One dated line per ingest, query or lint. |
The folder layout:
brain-wiki/
CLAUDE.md rulebook Claude follows
domains/
ai-learning/
raw/projects/ one file per project or topic
raw/articles/ things read, not tied to a project
raw/chats/ short chat notes
raw/voice-notes/
wiki/index.md table of contents
wiki/log.md audit trail
wiki/entities/ one page per project, tool or thing
wiki/concepts/ reusable ideas and techniques
wiki/summaries/ one short summary per raw file
digests/ weekly recaps
real-estate/ same structureAndrej Karpathy's "LLM wiki" idea: an LLM turns raw sources into a curated, linked wiki, instead of searching the raw pile every time.
03 · The operating contract
CLAUDE.md defines five operations.
A CLAUDE.md file at the top of the folder defines five operations in plain English. Claude Code reads it automatically whenever it works in the folder, so every session follows the same rules.
| Operation | You say | What Claude does |
|---|---|---|
| INGEST | "ingest <file>" or "ingest everything new" | Reads the source fully. Checks index.md for related pages, then creates or merges pages without overwriting old detail. Writes a 1:1 summary, updates the index and logs one line. |
| Gap-check | Runs inside every ingest | If the source describes a process, checks that it covers start, every step and the end. Missing steps go in an ## Open Gaps section, and Claude asks whether to fill them now. |
| QUERY | Any question about the domain | Answers from the wiki pages, citing them as [[page]] links. Offers to save a new synthesis back as a page. |
| LINT | "lint" (weekly) | Finds orphaned pages, broken links, contradictions, stale claims and empty index entries. Reports a checklist and fixes only what you approve. |
| DIGEST | "digest" (weekly) | Writes digests/<year>-W<week>-recap.md: what changed and why it matters. |
The file also sets the tone: short, dated, one idea per page, written for fast re-reading by people and models.
The gap-check. Without it, a half-documented workflow reads as finished. With it, every page says what it doesn't know yet.
Publishing and distribution are the gaps that recur most often in this wiki.04 · The everyday loop
Eight steps, one session or fifty.
This is the sequence used on 2026-11-15 to turn 16 past Claude sessions into wiki pages.
Pick the sessions
Ask Claude to list recent sessions since the last ingest, the latest date in log.md. In the Claude desktop app, Claude can list your Code and Cowork sessions and read their saved transcripts. It can't read claude.ai web chats, so paste those in or export them.
Condense the transcripts
A short script pulls only the user messages and Claude's text replies, skipping tool output, into one digest per session. That keeps a 50 MB transcript down to a few KB of reading.
Draft raw files
One Markdown file per topic, not per session: related sessions merge into one file. Each file gets a date, a source line and an ## Open Gaps section. Secrets such as API keys and passcodes are left out.
Check before writing
If log.md shows a topic was already ingested, write a dated -update- file instead of editing the original.
Ingest
Claude creates or merges entity pages, writes summaries, adds [[links]] to related pages, updates index.md and appends one log line per source.
Lint
Scan for orphans, broken links, stale gaps and contradictions. Review the checklist, approve fixes, and log them as LINT-FIX lines.
Scan for secrets, then commit
Search the folder for key patterns, then commit to git so every change can be undone.
Read it in Obsidian
Open the folder as a vault and use the graph view and backlinks to browse.
05 · Automation
Stop explaining the rules every session.
Three pieces mean you don't have to explain the rules again in every session.
| Piece | Where it lives | When it runs | What it does |
|---|---|---|---|
| brain-wiki-raw-capture skill | ~/.claude/skills/brain-wiki-raw-capture/SKILL.md | When you say "capture", "add to raw" or "add this to the wiki" | Writes the raw file only. Enforces the never-edit-after-ingest rule, picks the subfolder and runs the gap-check. |
| brain-wiki-capture-ingest skill | ~/.claude/skills/brain-wiki-capture-ingest/SKILL.md | When you say "capture this and ingest it" | Writes the raw file, then runs INGEST on it immediately and reports pages touched and gaps found. |
| /bci slash command | ~/.claude/commands/bci.md | You type /bci <content> | The same capture plus ingest, triggered by name. |
| Nightly ingest | .ingest-nightly.sh + a cron line at 20:00 | Every evening | Runs Claude Code headlessly (claude -p ...) with only file tools allowed. Ingests any raw file not yet in log.md, then posts a macOS notification with the result. |
The nightly job uses this cron line:
0 20 * * * /Users/<you>/brain-wiki/.ingest-nightly.sh
The script calls claude -p with --permission-mode acceptEdits and --allowedTools "Read Write Edit Glob Grep". It has no shell or web access, so the job can only touch the files. It writes INGEST STATUS: SUCCESS or FAILURE to .ingest-cron.log.
Headless runs need a live Claude login.
If the login lapses, every run fails with "Not logged in" and nothing is ingested; this happened here from 2026-10-21 to 2026-11-13. Check the log, or have the notification fire on failure, which this script already does.06 · What Obsidian adds
Obsidian is only the reader.
It never runs the operations, and the wiki works without it, because everything is plain Markdown in a folder. Open ~/brain-wiki as a vault (Open folder as vault), and Claude's [[page-name]] links become clickable.
- Graph view shows every page and link. An unlinked dot is an orphan that lint should catch.
- Backlinks show which pages point to the one you're reading, such as every project that uses the Draw Things batch tool.
- Search and the quick switcher jump to any page by name.
- Properties, outline and page preview make long pages easy to skim.
- Sync (optional, paid) puts the vault on your phone.
Keep Obsidian's own files out of git: the .gitignore here lists .obsidian/, .DS_Store, .ingest-cron.log and empty Untitled*.canvas files.
Edit pages in Obsidian if you like, but treat the wiki layer as Claude's: hand edits can be merged over on the next ingest. Put new facts in raw/ instead.
07 · Can you do it all in Claude?
Yes, everything except the reading.
Claude Code on your own machine can do every step, including the nightly run. Obsidian is the only piece outside Claude, and it's optional, because the wiki is plain Markdown. The other Claude surfaces can do less, mostly because of file access.
| Step | Claude Code (desktop app or terminal) | Cowork (desktop) | claude.ai chat (web or mobile) |
|---|---|---|---|
| Find and read past sessions | Yes. Lists Code and Cowork sessions and reads saved transcripts. | Partly. Only what is in the folder you give it. | No. Paste or export chats instead. |
| Write raw files | Yes | Yes, once you grant the vault folder | Drafts only. You save the file yourself. |
| Ingest, lint, digest | Yes. Reads CLAUDE.md automatically. | Yes, with folder access. Point it at CLAUDE.md. | Only for files you upload or connect, and the results come back as text to save. |
| Skills and /bci | Yes (~/.claude/skills, ~/.claude/commands) | Skills yes, if installed for that workspace | Skills can be added to your account; there is no local folder to write to |
| Nightly automation | Yes: cron + claude -p, or a scheduled task in the desktop app. A cloud routine (/schedule) works if the vault is in a GitHub repo. | Scheduled tasks in the desktop app | No |
| Git commit | Yes | Yes, with folder access | No |
| Browse the graph | No. Use Obsidian, or ask Claude for a one-off visual page. | Same | Same |
Use Claude Code for the system, and use any Claude surface to feed it raw notes.
A chat on your phone can draft a capture that you drop into raw/ later.08 · Set it up yourself
About an hour for the basics.
Each step can be done by asking Claude Code in plain words.
Install the tools
Install Claude Code (desktop app or npm install -g @anthropic-ai/claude-code) and Obsidian (free).
Create the folder and start git
mkdir -p ~/brain-wiki/domains/my-topic/{raw/{projects,articles,chats,voice-notes},wiki/{entities,concepts,summaries},digests} && cd ~/brain-wiki && git initWrite CLAUDE.md
Write CLAUDE.md with the five operations from the contract section above. Ask Claude Code to draft it from that table, then edit the wording.
Seed the wiki
An empty wiki/index.md (headings Entities, Concepts, Summaries) and an empty wiki/log.md per domain.
Add a .gitignore
Add a .gitignore with .obsidian/, .DS_Store and any log files.
First capture
Paste some notes into Claude Code in that folder and say:
capture this into raw/projects and ingest it
Open in Obsidian
Open folder as vault, choose ~/brain-wiki, then open the graph view.
Optional: make it repeatable
Ask Claude to turn steps 6 and 7 into a skill (~/.claude/skills/<name>/SKILL.md) and a slash command.
Optional: make it automatic
A script that runs this with file-only tools, scheduled by cron or the desktop app's scheduled tasks:
claude -p "Follow the INGEST operation in CLAUDE.md for any new raw files"
Weekly
Say "lint" and "digest", approve fixes, commit.
09 · Lessons learned
What running it taught.
Nine lessons from keeping a real second brain current.
Watch the nightly job.
It failed silently for about three weeks after a login lapsed. Read .ingest-cron.log, or rely on a failure notification.
Commit often.
The vault went 10 weeks without a commit. One commit then held 76 files.
Two sessions can ingest at once.
On 2026-11-15, two sessions wrote separate pages about the same 25-document corpus. Lint caught it, and they were cross-linked. Run one ingest at a time, or lint right after.
Group by topic, not by session.
16 sessions became 9 raw files. Short chats fold into one notes file.
Never put secrets in raw files.
Scan for key patterns before every commit.
Raw is immutable for a reason.
Dated -update- files keep the history: the receipt-OCR page shows its conclusion being overturned across four updates.
Lint finds what ingest misses.
Broken links pointed at raw file names, and an old "API key not saved" gap had already been fixed. Only a lint pass catches these.
Verify, don't reconstruct.
Draft from the real transcript or the live system, not from memory, and record a missing fact as an open gap.
Open gaps pile up.
23 of 29 pages carry one. Use the weekly digest to pick a few to close.
10 · Prototypes to study
Good prototypes you can try or study.
Open-source builds of the same pattern, and where the approach falls short.
| Project | What it is | Why look at it |
|---|---|---|
| AgriciDaniel/claude-obsidian ↗ | A Claude Code plugin + Obsidian vault implementing Andrej Karpathy's "LLM Wiki" pattern, with about 3,190 stars | The most popular reference build. Drop any source and Claude reads, links, and files it into one connected knowledge graph of plain Markdown you own. |
| eugeniughelbur/obsidian-second-brain ↗ | Supports Claude Code, Codex, Gemini, and OpenCode, offering 43 commands and a self-rewriting note capability | Best if you switch between AI tools |
| jessepinkman9900/claude-second-brain ↗ | Fastest way to scaffold your LLM powered personal knowledge base: Obsidian, Claude Code, qmd, GitHub | Starts with one npx command, with git sync built in |
| arkangelai/second-brain ↗ | Local-first, AI-native knowledge management system. Markdown + QMD hybrid search + Obsidian + any AI agent. | Adds hybrid search on top of the wiki |
| huytieu/COG-second-brain ↗ | AI-powered second brain that self-evolves using markdown and Git | Lighter and git-focused |
| heyitsnoah/claudesidian ↗ | A pre-configured starter kit for transforming an Obsidian vault into an AI-powered "second brain" using Claude Code | Simple starter template |
| Live demo (iCompaas) ↗ | An Obsidian-style view of the vault, the Karpathy LLM-wiki pattern live, plus a capture inbox that feeds it | You can click around a real graph of one in your browser |
The basic folder layout most of them use:
my-second-brain/ ├── raw/ ← you drop sources here (treat as read-only once processed) ├── wiki/ ← AI-written pages + index.md ├── log.md ← history of what the AI did └── CLAUDE.md ← the rules: INGEST / QUERY / LINT
The ~/brain-wiki setup on this page already follows this pattern. It has raw/, wiki/ and digests/ folders, a CLAUDE.md that defines INGEST, QUERY, LINT and DIGEST, and the rule that raw/ files can't be changed once they're ingested. That makes it a good place to try one of these projects side by side. claude-obsidian is the best one to compare against.
Where it falls short
Garbage in, garbage out
The AI organizes what you give it. It won't fact-check your sources for you.
Token cost
Ingesting large PDFs or video transcripts can cost a lot. Batching your ingests helps keep it down.
Drift
AI-written pages can slowly stop matching their sources. Run the LINT step regularly and use git so you can roll back.
Size
For one person's notes the wiki pattern works well. Somewhere past a few thousand documents, you'll want search (qmd, hybrid, or RAG) added on top.
Related exercises
Shared by Arpan: DSM Second Brain ↗ · Acme Knowledge Graph ↗ (also on this page as the Create Second Brain tab).
Sources (14)
- MindStudio – Karpathy’s LLM Wiki build guide ↗
- Techstrong.ai – Karpathy’s instructions ↗
- AI Builder Club – LLM Wiki explained ↗
- Medium – Built Karpathy’s second brain in 15 minutes ↗
- The AI Maker – LLM Wiki in Obsidian ↗
- YouMind – Karpathy second brain guide ↗
- claude-obsidian (ecosyste.ms) ↗
- obsidian-second-brain (BestHub) ↗
- claude-second-brain ↗
- arkangelai/second-brain ↗
- COG-second-brain ↗
- Claudesidian ↗
- Live second-brain demo ↗
- The Second Brain (SourceForge) ↗
Second Brain - Template
Second Brain Starter Kit
Nov 15, 2026 · @Sravanthi
01
What this is
A ready-to-copy blueprint for a personal second brain: every conversation you have with an AI (Claude, ChatGPT, Gemini or others) is captured into organized Markdown notes in your own Obsidian vault, kept current by a daily job and synced through Git.
- You own it: plain Markdown files in your own private Git repo. No lock-in to any AI tool.
- It stays current on its own: chats capture as you go; a daily job organizes everything while you sleep.
- It stays honest: every fact links back to the chat it came from, and nothing unverified slips in silently.
Replace every <PLACEHOLDER> in this kit
with your own values. <YOU> is your name or handle;
<VAULT> is <YOU>_SECOND_BRAIN.
02
How it works
Your chats only drop raw captures; one daily job does all the organizing, so nothing collides and every change is traceable.
Every AI chat ends up as a verified note in your vault
with the protocol
same format everywhere
AI-exports/ in Drive
into notes, index, log
every change undoable
your vault stays current
a claim it can't verify
Anything the job can't place or verify waits in _review/ for you to confirm instead
of entering the vault.
03
Choose your second brain app
Obsidian is the recommended app because the kit's plugins, dashboards and setup steps are written for it. Any app that stores plain Markdown files works almost as well; the others need a small adaptation.
| App | Fits the kit | How notes are stored | Git sync | Platforms | Cost | Download and install |
|---|---|---|---|---|---|---|
| Obsidian (recommended) | Full | Markdown files on your computer | Obsidian Git plugin | Mac, Windows, Linux, iPhone, Android | Free | obsidian.md/download: run the installer, then Open folder as vault. |
| Logseq | High | Markdown files, outline style | Built-in Git auto-commit, or Git outside the app | Mac, Windows, Linux, iPhone, Android | Free, open source | logseq.com/downloads: install, then Add a graph and pick the cloned repo folder. Use its queries instead of Dataview. |
| Foam (in VS Code) | High | Markdown files | VS Code's built-in Git | Mac, Windows, Linux | Free, open source | Install VS Code, then the Foam extension from the Extensions panel; open the cloned repo folder. |
| Joplin | Medium | Its own database; imports and exports Markdown | Not Git; uses its own sync | Mac, Windows, Linux, iPhone, Android | Free, open source | joplinapp.org/download: install, then import the vault as a Markdown folder. The daily job writes to the repo; re-import to refresh. |
| Notion | Medium | Cloud database | Not Git; connector instead | Web, Mac, Windows, iPhone, Android | Free plan available | notion.com/desktop: install and sign in. Point the daily job at a Notion database through a connector instead of a Git repo. |
Rule of thumb: if your app keeps notes as Markdown files in a folder, follow the kit as written and swap only the plugin steps. If it keeps notes in its own database, use the connector route and expect to adapt the dashboard and lint steps.
04
What you need
| Item | Why | Cost |
|---|---|---|
| GitHub account | Private repo that holds and syncs the vault | Free |
| Obsidian | Reads and edits the vault on each computer | Free for personal use |
| Obsidian plugins: Obsidian Git, Dataview | Sync and dashboards | Free |
| Google Drive (or any cloud folder) | Drop folder for captures and exports from other AIs | Free tier is enough |
| An AI that can run scheduled tasks with GitHub and Drive access | Runs the daily job | Depends on your plan |
| The AI tools you already use | Where your chats happen | Your existing plans |
Download and install
| Tool | Download from | Install |
|---|---|---|
| Obsidian | obsidian.md/download (official site only) | Mac: open the .dmg, drag Obsidian to
Applications. Windows: run the .exe installer.
Linux: AppImage, .deb, Flatpak or Snap.
iPhone / Android: App Store or Google Play. |
| Git | git-scm.com/downloads | Mac: run git
--version in Terminal and accept the prompt to install, or use
the installer. Windows: run the installer with default
options. Linux: your package manager (e.g. sudo apt install git). |
| GitHub Desktop (optional, no command line) | desktop.github.com | Install, sign in to GitHub, then use File → Clone repository. |
First launch of Obsidian:
- Open Obsidian and choose Open folder as vault (or Create new vault if you haven't cloned the repo yet).
- Go to Settings → Community plugins, turn off Restricted mode, then Browse.
- Search for Obsidian Git, install, enable. Repeat for Dataview.
-
Optional: Settings → Files and links → Default location for
new notes →
_inbox.
Create a GitHub account (if you don't have one)
- Go to github.com/signup.
- Enter your email, a strong password and a username, then complete the verification puzzle.
- Enter the code GitHub emails you.
- Choose the Free plan; private repos are included.
- Turn on two-factor authentication: profile picture → Settings → Password and authentication → Enable two-factor authentication.
-
Create your vault repo: + (top right) → New
repository, name it
<VAULT>, set it to Private, tick Add a README, then Create repository. -
Connect your computer: easiest is GitHub Desktop (sign in, then
File → Clone repository). On the command line, run
gh auth loginafter installing the GitHub CLI.
05
Set it up
About an hour end to end. Do the steps in order.
-
Create the repo. On GitHub, create a private repo
named
<VAULT>. -
Create the vault skeleton. Add the folders from
Vault structure, the templates from Note types, and empty
index.md,log.mdand00_Home.md. - Open it in Obsidian. Clone the repo to your computer, then in Obsidian choose Open folder as vault.
- Install plugins. Turn on community plugins; install and enable Obsidian Git and Dataview.
-
Set sync. In Obsidian Git: pull on startup, auto
pull every 10 minutes, auto commit-and-sync every 10 minutes, pull
before push. Add
.obsidian/workspace*.jsonand.trash/to.gitignore. -
Create the drop folder. In Google Drive:
AI-exports/<YOU>/for captures andAI-exports/<YOU>/<tool>/for bulk exports. - Install the protocol in each AI you use (see Connect your LLMs).
- Schedule the daily job (see The daily job), pointing it at your repo and drop folder.
- Test. Run one short chat in each AI, say "capture", save the block to the drop folder, run the job once by hand, and check the note appears in Obsidian.
- Backfill (optional). Export your past chat history from each AI into the drop folder; the job works through it in nightly batches.
On another computer: install Git and Obsidian, sign
in to GitHub, clone <VAULT>, open it as a vault,
then repeat steps 4 and 5. If you commit .obsidian/ (except workspace
files), plugin settings come with the clone.
06
Vault structure
<VAULT>/ 00_Home.md dashboard (Dataview) index.md catalog of every note: link + one-line summary, by area log.md append-only record of every ingest, merge, lint and error _inbox/ raw captures waiting to be merged _review/ items needing your confirmation _system/ areas.yml, processed-chats.json, lint-rules.yml, health.json _templates/ one template per note type Areas/<area>/<topic>.md Decisions/ Knowledge/ Knowledge/prompts/ reusable prompts that worked Ideas/ Daily/ Archive/ full originals of compacted notes (kept, not loaded by default)
Areas are the top-level drawers. Start with three to five that match your life, for example:
# _system/areas.yml areas: work: [<project-a>, <project-b>] learning: [<course-or-skill>] personal: [<goal-or-hobby>] ideas: []
The daily job adds new areas and topics automatically when a chat
doesn't fit, marks them status:
new, and suggests merges for near-duplicates.
07
Note types and templates
| Type | Folder | Written by | Extra fields |
|---|---|---|---|
| capture | _inbox/ |
your AI chats | core, guide, outcome, source |
| topic | Areas/<area>/ |
daily job | next_step, blockers, guardrails |
| decision | Decisions/ |
daily job | decided_on, decision, why, by, quote |
| knowledge | Knowledge/ |
daily job | kind (how-to, reference,
stack note) |
| prompt | Knowledge/prompts/ |
daily job | reuse_count, last_used |
| idea | Ideas/ |
daily job | potential_area |
| daily | Daily/ |
daily job | touched (notes changed
that day) |
Base frontmatter (every note):
owner: <YOU> type: topic # capture | topic | decision | knowledge | prompt | idea | daily area: <area> topic: <topic> status: active # new | active | parked | done | obsolete schema_version: 1 created: YYYY-MM-DD updated: YYYY-MM-DD sources: [] # links to the chats this came from tags: []
Capture (what an AI chat produces):
owner: <YOU> role: <who the AI acted as> type: capture source: <claude | chatgpt | gemini | other> area: <area> topic: <topic> date: YYYY-MM-DD core: context: ... objective: ... expected_output: ... guide: # only when GUIDE was used guardrails: ... use_inputs: ... instructions: ... decision_rules: ... end_condition: ... outcome: done # done | partial | parked
Topic note body:
# <Topic name> <!-- auto:start --> ## What I'm trying to do ## Current state ## Next step ## Decisions ## Standing guardrails ## History (dated one-liners, newest first; old facts kept as "was X, now Y") <!-- auto:end --> ## My notes
The job writes only between the auto markers. Everything under
My notes is yours and never touched.
09
The capture protocol (CORE + GUIDE)
One set of instructions you paste into every AI. It structures each chat with the CORE + GUIDE prompting framework and ends with a capture block the daily job can read.
| Number | Element | Question |
|---|---|---|
| CORE (always) | Context | What does the AI need to know? |
| Objective | What do I want done? | |
| Role | Who should the AI act as? | |
| Expected Output | What should it produce? | |
| GUIDE (complex work) | Guardrails | What constraints apply? |
| Use Inputs | Which data, files or sources to use? | |
| Instructions | How should it approach the work? | |
| Decision Rules | How should it evaluate or choose? | |
| End Condition | How do we know it's done? |
Full version (for Claude preferences, project instructions, ChatGPT Projects, Gemini Gems):
SECOND BRAIN PROTOCOL At the start of every new chat: 1. Intake. Infer what you can from my first message, then ask only for what is missing, in one line: Area · Topic · Role (who you act as). Suggest Area and Topic from context; prefer ones I've used before. 2. CORE: confirm Context, Objective, Expected Output. 3. If the task is complex (code, agents, architecture or design review, multi-step work, high-stakes decisions), offer GUIDE: Guardrails, Use Inputs, Instructions, Decision Rules, End Condition. During the chat: keep track of decisions I make and outputs we finish. If this chat gets long, offer to capture it and continue in a fresh chat seeded with the summary. When I say "capture" or "wrap up", output ONE capture block in exactly this format and nothing else: --- owner: <YOU> role: type: capture source: <this tool's name> area: topic: date: YYYY-MM-DD core: context: objective: expected_output: guide: # omit if GUIDE was not used guardrails: decision_rules: end_condition: outcome: done | partial | parked --- ## Summary ## Decisions (decision · why · by: me or AI · short exact quote) ## Knowledge worth keeping ## Ideas (label AI suggestions I didn't accept as suggestions) ## Next step Rules: - Only include what was actually said in this chat. Write "unknown" rather than guess. - Copy names, dates, numbers and links exactly. - Replace any API key, password, token, card or account number with [MASKED]. - If you're unsure which area or topic fits, set area: review.
Compact version (for ChatGPT custom instructions or Gemini saved info, where space is limited):
Second Brain protocol. At the start of each new chat, infer then ask only what's missing, in one line: Area · Topic · Role you act as. Confirm CORE: Context, Objective, Expected Output. For complex work offer GUIDE: Guardrails, Use Inputs, Instructions, Decision Rules, End Condition. When I say "capture" or "wrap up", output one block: YAML (owner: <YOU>, role, type: capture, source, area, topic, date, core, guide if used, outcome: done|partial|parked) then Summary, Decisions (decision · why · by me/AI · exact quote), Knowledge, Ideas, Next step. Only what was said; "unknown" over guessing; copy facts exactly; mask keys, passwords, card and account numbers; unsure area → area: review.
10
Connect your LLMs
Every tool produces the same capture block, so the daily job treats them all the same. Menu names change often; if one has moved, search the tool's settings for the field named.
| Tool | Always-on instructions | Per workspace | Save captures to | Bulk history export |
|---|---|---|---|---|
| Claude | Full version in profile preferences | Full version in each Project's instructions | _inbox/ via GitHub if
connected, else AI-exports/<YOU>/ |
Settings → Privacy → Export data |
| ChatGPT | Compact version in Custom instructions | Full version in each Project's instructions | Paste into a dated Doc in AI-exports/<YOU>/ |
Settings → Data controls → Export data |
| Gemini | Compact version in Saved info | A "Second Brain" Gem with the full version | Export to Docs, then move into AI-exports/<YOU>/ |
Google Takeout → My Activity → Gemini Apps |
| Any other AI | Its system or custom instructions field | Its project or workspace instructions | Paste into AI-exports/<YOU>/ |
Its export feature, if any |
Rhythm that works: use "capture" whenever a decision is made or something is finished, and "wrap up" at the end of a session. Run a full history export monthly as a safety net; the job skips anything already processed.
11
The daily job
A scheduled AI task, run once a day at a quiet hour (e.g. 4:00 AM your time), that turns raw captures into organized notes. It is the only thing that writes topic notes, so chats never collide.
What it does, in order:
-
Collect new captures from
_inbox/and the drop folder, plus any new bulk exports. -
Skip anything already in
_system/processed-chats.json. - Mask secrets and PII.
-
Route each capture to its area and topic; unclear ones go to
_review/. -
Merge into topic, decision, knowledge, idea and daily notes, inside
the
automarkers only. - Verify every claim against its source quote; drop or flag anything unsupported.
-
Rebuild
index.md, append tolog.md, update the dashboard. - Compact any note that has grown too large.
- Commit and push to Git, then send alerts for any failures.
- On Sundays: run lint and the weekly backup.
Job prompt (paste into your AI's scheduled task):
# CORE Context: My second brain is the private Git repo <VAULT>, structured per the Second Brain Starter Kit. New captures arrive in _inbox/ and in the Drive folder AI-exports/<YOU>/; bulk exports in AI-exports/<YOU>/<tool>/. Objective: Merge every new capture into the vault accurately, then commit and push. Role: Meticulous archivist. You record only what the sources say. Expected Output: Updated notes, index.md, log.md, 00_Home.md; one Git commit; an alert if anything failed. # GUIDE Guardrails: - Use only the captures and exports. No web, no general knowledge, no guessing; write "unknown". - Copy names, dates, numbers and links exactly. Mask keys, passwords, tokens, card, account and ID numbers. - Write only inside <!-- auto:start --> / <!-- auto:end -->. Never delete; mark superseded items status: obsolete. - A decision needs by: user or an explicit acceptance; AI suggestions become ideas. Use Inputs: _inbox/, the Drive folders above, _system/areas.yml, _system/processed-chats.json, _system/lint-rules.yml. Instructions: Follow the 10 steps in the kit. Process at most 100 conversations per run, newest first; log the rest. Decision Rules: Existing topic > existing area with new topic > new area (status: new). Unsure routing → _review/. A claim without a supporting quote is not written. End Condition: Every new capture is merged, in _review/, or logged as skipped with a reason; the commit is pushed; log.md has today's entry; alerts sent for any failure.
12
Index, log and lint
The index says what exists, the log says what happened, and lint says what has gone wrong.
index.md
is rebuilt after every run: one line per note, grouped by area. Your AI
reads it first to find the right page instead of searching
everything.
## work - [[<project-a>]] — one-line summary of where it stands · active
log.md is
append-only, one fixed prefix per entry so it filters with plain text
search:
## [YYYY-MM-DD] ingest | chatgpt | 3 captures → <project-a>, <course> ## [YYYY-MM-DD] review | 1 item to _review/ (area unclear) ## [YYYY-MM-DD] lint | 2 issues → _review/lint-YYYY-MM-DD.md ## [YYYY-MM-DD] error | push rejected (see alert)
Lint runs weekly and writes a report to _review/. It flags; it never fixes
on its own.
| Check | What it catches |
|---|---|
| Contradictions | Two notes stating different facts or decisions on the same topic |
| Stale claims | Statements a newer decision has replaced |
| Orphans | Notes nothing links to |
| Missing pages | Names mentioned in three or more notes with no page of their own |
| Broken links | [[links]] to notes that
don't exist |
| Frontmatter | Missing or invalid required fields |
| Duplicate areas | Near-identical areas or topics |
| Spot audit | 5 random claims shown with their source quotes for you to check |
Dashboard (00_Home.md, Dataview):
TABLE area, status, updated FROM "Areas" WHERE status = "active" SORT updated DESC
LIST FROM "_review" SORT file.ctime ASC
TABLE area, created FROM "Areas" WHERE status = "new" AND created >= date(today) - dur(7 days)
13
Accuracy guardrails
No AI pipeline can guarantee zero hallucination. This design gets close by allowing only claims traceable to a source, checking every claim before it lands, and making anything unverified visible.
-
Only what the source says. No web, no general
knowledge, no gap-filling. Missing information is written as
unknown. - Verbatim hard facts. Names, dates, numbers, prices, versions and links are copied exactly.
-
Who said it. Every decision records
by: userorby: assistant. Only what you said or explicitly accepted becomes a decision; AI suggestions are filed as ideas. - Hypotheticals stay hypothetical. Brainstorms and "what if" content are never promoted to fact.
- Evidence on every claim. Each decision, status change or fact keeps a short exact quote and a link to its chat. No quote, no claim.
-
Second-pass check. Each claim is compared against
its quote before writing. Unsupported → dropped and logged. Uncertain →
_review/withverified: false. - Re-check with raw history. Captures summarized inside an AI tool are re-checked against the full transcript when a bulk export arrives.
- Visible changes. Old facts stay in History as "was X, now Y"; every run is a Git commit you can inspect or undo.
- claim: <what was decided or stated> by: user source: <chat link> quote: "<short exact excerpt>" verified: true
14
Data safety
Mask secrets and PII/PCI. Every capture is scanned before it is written, and again by a Git pre-commit check that blocks any commit still containing a match.
| Masked | Written as |
|---|---|
| API keys, tokens, passwords, private keys, connection strings | [MASKED:api-key] |
| Card, bank and account numbers | [MASKED:card ••••1234]
(last four only) |
| Government ID numbers | [MASKED:gov-id] |
Masking is one-way: keep real secrets in a password manager, never in the vault.
Obsolete, not deleted. Superseded notes and facts
get status: obsolete, superseded_by: [[note]] and obsolete_on: <date>; they
drop out of the index and dashboards but stay in the vault. The only
hard deletes, scrubbed from Git history too, are a secret or PII that
slipped past masking, and content you decide must be removed for
privacy. Each removal is logged without its content.
Backups. Weekly, the repo is zipped to AI-exports/_backups/<date>.zip;
keep the last 12.
Privacy. Keep the repo private. Turn on two-factor authentication for GitHub and your cloud drive.
15
Scale
Context compaction. When a note passes about 15,000
tokens (roughly 50 pages), the job moves the full original to Archive/<topic>/<date>.md
and rewrites the live note as a summary that keeps every open decision,
current status, guardrail and next step with their source quotes. The
summary links to the archive and passes the accuracy check before
replacing the original. Your AI loads summaries by default and opens the
archive only when it needs the detail.
Reading from the brain. Before answering about your
work, your AI reads index.md,
opens only the relevant notes, answers with links to them, and offers to
save a useful answer back as a Knowledge note.
Files and images. Store links to images, PDFs and large files, never the files themselves, so the repo stays small and fast.
Backfill on a budget. Process past history in nightly batches of about 50 conversations, newest first, so recent work is usable within days. Cap daily runs at about 100 new conversations.
Test before you trust. Run the backfill and any rule
or template change against a practice repo (<YOU>_SECOND_BRAIN_TEST)
first. Every note carries schema_version so older notes can
be migrated when templates change.
16
Failure alerts
Any failure reaches you as an email and, where your AI supports it, a phone notification.
- The job reports its own errors. A failing step retries once, then is recorded; one alert at the end lists everything that failed.
-
A watchdog catches silent failures. A second
scheduled task, 90 minutes after the job, checks for today's
log.mdentry and a fresh commit. Missing either means the job didn't run or crashed.
| Failure | Severity |
|---|---|
| Job didn't run or crashed | Critical |
| GitHub or Drive access expired | Critical |
| Push rejected (conflict or permissions) | Critical |
| Secret found at commit time | Critical |
| An export couldn't be read | Warning |
| Lint couldn't finish | Warning |
Critical alerts go out immediately; warnings come batched after the
run. Each alert says what failed, the error, the last good run and the
suggested fix. Nothing is lost while a run is failing: captures wait in
_inbox/ until the next
successful run.
17
Option: bring your own second brain
Already keep notes somewhere? You can plug this kit into your existing system instead of starting fresh. Everything here is plain Markdown plus a few conventions, so it adapts.
| You already use | How to adopt the kit |
|---|---|
| An Obsidian vault | Keep your folders. Add _inbox/, _review/, _system/, _templates/, index.md, log.md and 00_Home.md. List your existing top
folders as areas in areas.yml. Put the vault in a
private Git repo. |
| Logseq, Foam or another Markdown tool | Same as Obsidian; skip the Obsidian plugins and use your tool's own sync and queries. |
| Notion | Export your workspace as Markdown, unzip it into a new vault, then follow the Obsidian row. Or keep Notion and point the daily job at a Notion database via a connector instead of Git. |
| Plain folders or another app | Point the daily job at that folder; the Markdown notes open in any editor. |
Adopt it gently:
- Start with a copy, or a new branch in Git, so your originals are untouched.
- Run the daily job in test mode for a week against the copy.
- Add frontmatter to existing notes gradually; the job only requires it on notes it writes.
- Your existing notes count as My notes: the job never edits them, only links to them.
- Once you're happy, switch the job to your real vault.
19
Make it yours
- Replace
<YOU>,<VAULT>and every other placeholder - Choose 3 to 5 starting areas in
areas.yml - Pick the daily job time and your alert email
- Paste the protocol into each AI you use
- Create the drop folder in your cloud drive
- Run one test capture per AI and one manual job run
- Decide: fresh vault, or bring your own second brain
- Optional: add a shared vault for stakeholders
- Optional: export past history for the backfill
Credit: built on the CORE + GUIDE prompting framework — give the AI the CORE; add a GUIDE when the work gets complicated.
Next step
Want help applying this to your team's workflows?
I help engineering leaders move from isolated prompts to repeatable, governed agent workflows.
Get in touch →