startup-stack

AI basics — for a founder who has only ever used a chat window

This page is for someone who pays for an AI, types questions into it the way they would type into a search box, and has never pointed one at their own files. After reading it you will know what "an AI that can read your folder" actually means, how to direct it, how to check it, what it cannot see, and enough of the vocabulary to run the rest of this repo without a developer.


What actually changed

The chat window you have been using cannot see anything. You paste text in, it answers, it forgets. Every question starts from nothing, so every answer is general — competent, fluent, and about companies in general rather than about yours.

The change is that the same model can now be pointed at a folder on your computer. It opens the files. It runs real commands. It writes files back. It can tell you what it changed and why. Your pitch deck, your supplier quotes, your call transcripts and your half-finished plan stop being things you paste in one at a time and become the material it works from.

What this asks of you is not technical. You write a clear instruction, you read what came back, and you decide whether it is right. That is briefing and checking — the same two things you do with a new hire, a designer or an accountant. The syntax is the AI's problem.

The difference is easier to see side by side than to describe.

A chat window compared with an AI pointed at your folder Two columns side by side. The left column, headed "A chat window", is a browser tab with nothing attached to it, and lists four limits: it sees only what you paste, so you re-explain the business every time; it forgets when the chat closes, so yesterday's decisions are gone; it cannot open your files, so the deck and the model stay shut; and it answers in general terms, giving advice that would fit any company. The list stops there because there is nothing else it can reach. The right column, headed "An AI pointed at your folder", is a desktop app or terminal with folder access, and is deliberately longer, listing five things it can do: it reads the files itself, opening the deck, the plan and the call notes; it writes back into them, so corrections land in the file rather than the chat; it cites where each fact came from, writing the source file and page beside the claim; it starts already knowing the business, so there is no re-briefing; and it gets better every time you add something, because every real event goes back into the folder. A strip along the bottom states that the chat answers about startups while the other one answers about yours. A chat window, and an AI pointed at your folder Same model in both columns. The difference is what it can reach. A chat window A browser tab with nothing attached to it. Sees only what you paste You re-explain the business every time. Forgets when the chat closes Yesterday's decisions are gone. Cannot open your files The deck and the model stay shut. Answers in general terms Advice that would fit any company. The list stops here — there is nothingelse in your business it can reach. An AI pointed at your folder A desktop app or terminal with folder access. Reads the files itself Opens the deck, the plan, the call notes. Writes back into them Corrections land in the file, not the chat. Cites where each fact came from Writes the file and page beside the claim. Starts already knowing the business No re-briefing. No warm-up questions. Gets better every time you add Every real event goes back into the folder. The chat answers about startups. The other one answers about yours.
A chat window compared with an AI pointed at your folder

The loop everything runs on

Every piece of work in this repo — bootstrapping the stack, writing a recap, building a one-pager — runs the same four steps.

StepWhat happensWhat you do
BriefYou say what you want, and what "done" looks likeBe specific about the output and the source material. Name the folder.
PlanIt says what it intends to do, in order, before doing itRead it. Correct it. This is the cheapest place to catch a wrong assumption.
BuildIt writes files, runs commands, shows the outputWatch. Approve individual actions rather than batches.
ReviewIt summarises what changed; you open the filesRead every line that will leave the folder. Open the source for every number.

You approve every step. The loop only fails in one way, and it is always the same way: the founder stops reading at the review step because the last six outputs were fine.

Repeat the loop rather than trying to get a large task right in one instruction. Four small passes you checked beat one large pass you skimmed.

The four-step working loop: brief, plan, build, review Four numbered steps run left to right, with a bar above each showing who owns it. Step one, brief, is yours: say what you want, what done looks like, and point at the files. Step two, plan, is the AI's: it writes the steps back to you first, and you change them or say go. Step three, build, is also the AI's: it does the work and shows what changed, file by file. Step four, review, is yours again: you read it, check the numbers, and either keep it or send it back. An arrow runs from review all the way back to brief, because what you learn in review becomes the next brief. A note along the bottom says you approve every step — the AI stops between steps and waits, and nothing is published, sent or committed without you. The working loop Four steps, in order. You open it and you close it. You write it The AI does it You check it 1 Brief Say what you want andwhat done looks like.Point at the files. 2 Plan It writes the stepsback to you first. Youchange them, or say go. 3 Build It does the work andshows what changed,file by file. 4 Review You read it, check thenumbers, keep it orsend it back. What you learn in review becomes the next brief. You approve every step. The AI stops between steps and waits. Nothing is published, sent or committed without you.
The four-step working loop: brief, plan, build, review

The terminal, in plain language

A terminal is a text window. You type one line, press enter, and something happens — a folder is listed, a file is copied, a tool starts. Whatever happened prints back as text underneath. That is the whole idea.

It looks severe because it has no buttons and no icons, and because most of what you have seen of it was somebody else's screen during an incident. In practice it is a receipt printer: everything that happened is written down, in order, which is exactly the property you want when an AI is working in your files.

You will not memorise commands, and you will rarely type them. The agentic tool types them. Your job is to read the line it proposes, understand roughly what it is about to do, and approve or refuse. Anything that mentions deleting, or a path outside your folder, deserves a second look. Most of the rest is reading, listing or writing inside the folder you scoped.

This section exists so the screen is not a mystery, not so you become fluent. Knowing that a blinking cursor means "waiting for you" and a wall of scrolling text means "working" removes most of the discomfort.

What makes an editor "agentic"

An editor — sometimes called an IDE — is a window that shows your folder on the left and the contents of a file on the right. On its own it is a text editor with a file tree, no more remarkable than a word processor.

An agentic one adds a chat panel wired into that folder. Four things separate it from the chat window you already pay for:

  • It reads files in the folder without you pasting them
  • It writes files back, creating and editing them
  • It runs commands, and shows you the output
  • It explains what it changed, file by file, line by line

If a tool does those four, it will run this repo. If it only does the first, it is a chat window with an upload button, and you will spend your evenings copying text back and forth.

The lanes are interchangeable

Each major model comes paired with an agentic tool from the same maker. The pairings look like this:

Model familyPaired agentic tool
Anthropic's ClaudeClaude Code in a terminal; the Claude desktop app for a folder without a terminal
OpenAI's GPTCodex, as an app and in a terminal
Google's GeminiGemini CLI in a terminal

Separately, editor-based tools such as Cursor and Windsurf let you choose which model sits behind them.

Pick the one you already pay for. The four-step loop is identical in all of them, the prompts in this repo are plain English and run anywhere, and the differences people argue about online will not decide whether your stack gets built. Choosing a lane should take ten minutes, not a week.

Tiers, and the effort dial

Within a lane, models come in tiers. They share the same skills. What differs is how deeply the model reasons and how fast it answers — a small tier is quick and cheap and perfectly good at extraction and formatting; a large tier is slower and better where being wrong costs you something.

Separately from the tier, most tools let you ask for more thinking on a single question. Telling it to think carefully before answering, or turning on an extended-reasoning setting, buys depth on that one task without changing your subscription.

TaskTierThinking
Renaming files, extracting text, reformatting a tableSmallLow
Drafting a document from material already in the stackMiddleLow to medium
A decision you will act on — pricing, positioning, what to say to an investorTopHigh
Anything producing a number you will repeat in publicAnyHigh, and demand the source

Spend the thinking where the decision matters. Running everything at maximum effort is slow and expensive. Running a pricing decision at minimum effort is worse.

Connectors, and the standard behind them

Your business does not live only in a folder. It is also in your mail, your drive, your calendar, your task tracker and — once you follow the quickstart — a repository.

The Model Context Protocol is a single standard for plugging those into an AI tool: one adapter shape, instead of custom wiring per tool per vendor. In practice a connector shows up in your tool as something you switch on, authorise once, and then refer to in plain English — find the supplier thread from March and summarise what was agreed.

Three habits, and they are not optional:

  • Read-only first. Grant reading before you grant writing or sending. A misfired draft email is a bad first week.
  • Scoped. Connect the mailbox or the drive folder the task needs, not the whole account.
  • With permission. Yours, and your company's. Personal data, and anything under a confidentiality obligation, stays out until the policy question has an answer — see safety.md.

Setting one up, and the rule that keeps connector-found material citable, is covered in getting-material-in.md.

Put together, the pieces you are assembling are few.

The folder at the centre, and the five parts around it A hub and spoke layout. At the centre is the folder itself — ten sections, one index, plain markdown — which is the knowledge base everything else serves. Five parts connect to it. A paid subscription, because free tiers cannot open a folder on your own computer. An app with file access, meaning a desktop app or a terminal pointed at one folder. Version history, so that every change is recorded and any step can be undone. Connectors, so mail and drive get pulled in without you copying files by hand. And the prompt library, the tasks you run again and again, written down once. The two parts drawn with a solid edge — a paid subscription and an app with file access — are enough to start; the other three come later. A note at the foot repeats that you do not need all five on day one. What you actually need One folder at the centre. Five parts around it. The two drawn with a solid edge are enough to start. The other three come later. The folder itself Ten sections, one index,plain markdown. A paid subscription Free tiers cannot open a folderon your own computer. An app with file access A desktop app or a terminal,pointed at one folder. Version history Every change recorded, so anystep can be undone. Connectors Mail and drive, pulled in withoutcopying files by hand. The prompt library The tasks you run again andagain, written down once. You do not need all five on day one. A paid subscription and an app that can see your files is enough to start.
The folder at the centre, and the five parts around it

What it genuinely cannot see

This is where founders get burned, so it is worth being blunt. The failure is never that the AI refuses. It answers anyway, fluently, in your own vocabulary, and the gap is invisible in the output.

It cannot seeWhyDo this instead
Numbers that exist only as pixels in a chartText extraction reads the caption and the axis labels, never the plotted valuesExport the chart as an image and ask it to read the picture, or type the underlying numbers into a text file
The formula behind a spreadsheet cellIt sees the displayed value, not the calculation that produced itPaste the formula in, or export a version of the sheet with formulas shown
Anything behind a loginBank portals, your CRM, analytics dashboards, paid researchExport what you need, or connect it deliberately through a connector
A file you did not put in the folderNo access is not the same as no answerPut it in the folder, and ask it what it could not find
Everything you know and never wrote downThe verbal supplier agreement, why you dropped the second product, what the customer actually meantWrite it down. This is most of the value of building a stack.

The last row is the expensive one. A stack assembled only from documents describes the company you have written up, not the company you are running. That difference is usually why a plausible-looking plan does not survive contact with your own operations.

Five things an AI pointed at your folder still cannot see Six cards in a grid. The first five are blind spots, each with a one-line fix. One: numbers that are only pixels in a chart — it reads text, and a chart is a picture to it, not a table; the fix is to export the chart as an image and ask it to read the picture. Two: the formula behind a spreadsheet cell — it sees the answer in the cell but not the sum behind it; the fix is to paste in the formula, not just the answer. Three: anything behind a login — your bank, your dashboard and your mail are all shut to it; the fix is to save the page yourself, then put the file in the folder. Four: a file that is not in the folder — if it sits on your desktop or in a mail thread it is not there; the fix is to move the file into the folder. Five: what you know but never wrote down, such as the supplier's real terms or why a customer actually left; the fix is to say it out loud and let it write it down for you. The sixth card gives the test for all five: ask which files it opened before you trust the answer, and if the answer has no source, treat it as a guess. What it cannot see Five blind spots, and the fix for each one. 1 Numbers that are onlypixels in a chart It reads text. A chart is apicture to it, not a table. Fix — export the chart as an imageand ask it to read the picture. 2 The formula behind aspreadsheet cell It sees the answer in thecell, not the sum behind it. Fix — paste in the formula, notjust the answer it produced. 3 Anything behind alogin Your bank, your dashboard,your mail — all shut to it. Fix — save the page yourself, thenput the file in the folder. 4 A file that is not inthe folder If it sits on your desktop orin a mail thread, it is not. Fix — move the file into thefolder. That is the whole fix. 5 What you know butnever wrote down The supplier's real terms.Why that customer left. Fix — say it out loud and let itwrite it down for you. The test for all fiveis the same Ask which files it openedbefore you trust the answer. It will name them. If the answerhas no source, treat it as a guess.
Five things an AI pointed at your folder still cannot see

Context and cost, in founder terms

Context is everything the AI is holding in mind for this one question: your instruction, the files it opened, and what it has produced so far. It is finite, and it is what you pay for.

A token is a fragment of text — usually a word, or a piece of one — and everything the AI reads and everything it writes is counted in tokens.

Two things follow, and the second matters more than the first.

Cost. If every question makes it re-read your whole folder, you pay for your whole folder on every question. That charge grows every time you add a file, which is to say every week.

Quality. A context filled with material irrelevant to the question produces vaguer answers. The model is not concentrating on your unit economics; it is holding your brand fonts and your incorporation certificate at the same time.

The fix is the whole reason this repo is shaped the way it is. Every file carries a one-sentence summary in its front matter. stack/INDEX.md collects those summaries into one short table. The AI reads the index, decides which one or two files are relevant, and opens only those. The base gets cheaper and sharper as it grows, instead of heavier.

Reading the index instead of reading everything The top half shows the route a question takes. A question arrives — what does one unit cost us to make. The AI reads the index, which is one line per file, a small router rather than the whole base. It opens the two sections it needs, in this case money and then operations, and nothing else is opened. It answers with the cost plus a line saying which two files it came from. The bottom half compares how much gets read on every question. A short, thin bar labelled "one index + two sections" sits inside an empty track, and barely grows as the base grows. Below it, a long, thick bar labelled "everything you own, again" fills the whole track, and gets bigger every month. A note at the foot says one line per file in the index is the whole trick, and that the base gets cheaper and sharper as it grows rather than slower. Read the index, not everything How the AI decides what to open before it answers. Question What does one unitcost us to make? Read the index One line per file.A small router, notthe whole base. Open two sections Money, thenoperations. Nothingelse is opened. Answer The cost, plus a linesaying which two filesit came from. How much gets read, on every question One index + two sections Barely grows as the base grows. Everything you own, again Every question. Bigger every month. One line per file in the index. That is the whole trick. The base gets cheaper and sharper as it grows, not slower.
Reading the index instead of reading everything

The one rule

A named human owns every output. Never ship unread.

Before anything leaves the folder — a deck, an investor update, a supplier quote, a page of your website — one person has read every line, opened the source behind every number, and put their name on it. Not skimmed. Read.

The AI did it is not an answer that works with a customer, an investor, a regulator, a co-founder or a court. The output carries your name the moment you send it, and the fact that a model drafted it changes nothing about who is accountable for it.

This is also the practical test of whether you are working correctly. If you cannot follow what the AI did well enough to check it, the task was too large, the plan step was skipped, or you have automated something you do not yet understand.

Three rules that keep a person accountable for AI-drafted work Three numbered panels sit above a strip that reads "the AI drafts, a person decides". Panel one, read it end to end: read the whole draft before it goes anywhere, not the summary of it and not just the top; if you would not say it out loud, it does not go out. Panel two, one named person owns it: put a name against every file and every number, because a file with no owner is nobody's job, and the front matter has an owner field for exactly this. Panel three, open the sources yourself: every figure cites a file and a page, so pick two at random, open them, and check the numbers — a citation nobody opens is just a citation. Stay in the loop Three things stay yours, whatever the AI drafted. 1 Read it end to end Read the whole draft before itgoes anywhere. Not the summaryof it, and not just the top. If you would not say it out loud,it does not go out. 2 One named person owns it Put a name against every fileand every number. A file withno owner is nobody's job. The front matter has an ownerfield. Use it. 3 Open the sources yourself Every figure cites a file and apage. Pick two at random, openthem, and check the numbers. A citation nobody opens is justa citation. The AI drafts. A person decides.
Three rules that keep a person accountable for AI-drafted work

Safety habits

Five habits. They cost no time, and they are what separates a bad afternoon from a lost file.

  • Scope it to one folder — your stack, not your Desktop, not your whole drive.
  • Keep approval prompts on, and read them. The dangerous week is the sixth one, when approving has become reflex.
  • Keep regulated and personal data out until you have a clear answer on whether it may be processed at all.
  • Treat every draft as wrong until you have checked it. Confident and correct look identical on the page.
  • Keep an undo. Version history, or a copy of the folder taken before you start. Never point it at the only copy of anything.

The longer version — including which material should never go in the folder at all, and why your account tier matters — is in safety.md.

Where it pays off in an ordinary week

  • Drafting. An investor update, a supplier email, a job description — built from material already in the folder rather than from a blank page.
  • Summarising. A forty-message thread, a sixty-page research PDF, a recorded call. Into the shape you need: decisions, owners, dates.
  • Organising. Four years of files with names like final_v3_REAL.docx sorted, renamed and filed against a structure you agreed first.
  • First drafts of process. An SOP for the thing only you know how to do, a monthly report, a checklist — drafted in minutes, then corrected by the person who does the work.
  • Research and comparison. Competitor grids, supplier options, compliance requirements — with the sources named so that you can check them.
  • Small internal tools. A tracker, a calculator for your unit costs, a page that renders your weekly numbers. Small, private, yours.

Two ways to run these tools

On your own machine. You install the tool, point it at a folder, and everything happens on your computer. The files are the ones you already recognise, you can open them in the ordinary way, and you can see exactly what changed.

In the browser, from a repository. Your material lives in a repository, the AI works on a copy of it in the browser, and it hands back changes for you to accept or reject. Nothing to install, and you can work from any machine.

If you are starting out, start on your own machine, with a folder you have copied first. The mental model is simpler — there is one folder, it is on your desk, you can look at it — and everything in the quickstart assumes exactly that. The browser route is worth having later, once your stack is in a repository and you want to work from somewhere else.

Teach it once, and it repeats

The second time you explain a task, stop and write the explanation into a file instead. From then on you run the file.

That is precisely what prompts/ is in this repo: tasks written down once — bootstrap the stack, run the gap scan, write the weekly recap — so they come out the same way every time, in the same shape, under the same rules about what may not be invented. AGENTS.md does the same job for the standing rules that apply to every task.

The benefit is not only speed. A task you have written down is a task you can correct. When an output comes back wrong in the same way twice, you fix the file, rather than the mood you were in when you asked.

Eight prompts for your first week

A starter set, not a library — the real work is in prompts/INDEX.md.

Before you change anything, tell me what you are about to do, which files
you will touch, and what could go wrong. Wait for my go-ahead.
Read this folder and give me a plan as a numbered list. Do not write any
files yet.
List everything you could not find. Do not fill a gap with a plausible
answer — write [TBD] and say what would be needed, and where it would
come from.
For every number, cite the file and page it came from. If there is no
source, mark it [TBD] rather than estimating.
Read only. Do not create, edit or delete anything in this folder. Answer
from what is already there.
Summarise what you changed, one line per file, and tell me what you left
untouched.
Explain what this file is for in plain language, as if I have never seen
it. I am not a developer.
If you need information that is not in this folder, stop and ask me. Do
not assume, and do not proceed.

Later, not now

Wide research with citations. You can send an AI to read many sources — sites, filings, reports, a stack of PDFs — and return one synthesis with a citation against each claim. It is genuinely useful for a competitor scan, or a first pass at a regulation you have to comply with. The habit that makes it safe is simple and tedious: open the citations. A confident summary built on a weak source reads exactly like a confident summary built on a good one, and the citation is the only place that difference shows.

Several agents at once. You can run multiple agents in parallel — one per section, one per source — with a further agent checking each finding independently against the original material. It is fast and it scales. It is also easy to lose track of, and everything in this method depends on your being able to follow what happened well enough to check it. Come back to this when the four-step loop is second nature, not before.

The two worries

"I would have to learn to code." You would not. You write instructions in English and read results in English. The files in this repo are prose, with a small block of tags at the top. The scarce skill here is judgement about your own business — who the customer is, what a unit costs, which number is wrong — and you already have it. The habit you need to build is checking, not programming.

"I will break something." What you are working on is a copy of your own files, in plain text, in one folder. Keep an undo — version history, or a copy of the folder taken before you start — and the worst outcome is that you throw away an afternoon's edits and run it again. Point it at a copy, never at the only copy, and there is nothing here to break.

A note on websites — a separate project

If what you want is a public site rather than a knowledge base, the same four moves apply: compile the material, agree the design, agree the plan, then let the agent build. You review at each step, exactly as you do here. Once it lives in a repository, publishing is automatic — you accept a change, and the host rebuilds the site.

That is where the similarity ends. A public site is its own project, with its own requirements document, its own approvals, and its own decisions about what may be said in public. It is not a chapter of this one.

This repo's job is the knowledge base such a project would read from — the positioning, the numbers, the proof points and the design notes, each tagged with whether it is confirmed and whether it may leave the building. Build that first. A site assembled from an uncorrected stack publishes your guesses at your own domain.

Where to go next

  • ../QUICKSTART.md — the first hour, honestly, including what not to try to finish today
  • method.md — the six ideas the whole system is built on
  • knowledge-base.md — how raw files become a base an AI can read cheaply
  • safety.md — read this before you give any tool write access to your files
  • ../prompts/INDEX.md — the task library, and the order to run it in

Generated from docs/ai-basics.md in the repository. Edit the markdown, not this page.