7. Asking for the First Commitment
Summary
Filling the interview record with Claude Code
Every owner and answer in this chapter is invented to show the method. Rough notes go into one plain text file per owner, committed to git. In plan mode, with the evidence-checked-drafting skill called by name, Claude Code fills a comma-separated values record with one answer per row: owner, question, exact quote, date, how it was given, commitment and the notes file it came from. A quote that contains a comma sits inside double quotation marks so a spreadsheet keeps it in one column. In the invented spread of five owners, only a heating engineer agrees to the paid trial. Two owners show polite interest and two commit nothing.
A first script that checks the quotes
The skill's claim-check list is the model reporting on its own work, so Claude Code writes a short Python script that reopens each notes file and confirms every quote appears in it exactly. It needs only Python and its built-in csv module. The chapter reads the script as a variable, a loop over rows, indentation, a condition and a printed total. The first run catches a quote the model tidied from "Would've" to "Would have". A false failure from a phone's curly apostrophe is fixed by a small change reviewed as a diff, and a Python traceback is read from its last line up. The agent's summary claim of "strong interest from three owners" is cut back to one commitment and four owners who committed nothing.
Stopping rules under git
Claude Code tests the three stopping rules against the record by row, and git log shows the rules file was committed before the first notes file. The price rule and the text-back rule do not fire. The commitment rule, read as written, says park the digest. Going ahead needs the rule reworded to "if no owner commits, park the digest" and committed with a message saying it changed after the answers, so git show displays the old and new wording side by side.
Trial terms and a payment link built in test mode
The one-page agreement is drafted only from the scope file. The owner decides three gaps it flags: a $135 trial price, payment before the first digest, and no automatic roll into a monthly charge. Clauses that depend on jurisdiction are marked for an authoritative local source or a lawyer. Claude Code then builds the product, price and Payment Link with the Stripe CLI in test mode, using a restricted key that can create only those three things. Stripe counts dollars in cents, so the price command reads 13500. The owner pays the test link with Stripe's test card, then creates the live link in the Dashboard and leaves it unsent.
At 2.9% plus 30¢ per domestic card charge, about $130.78 of $135 reaches the balance, and refunds do not return the fee. A new account's first payout waits seven to fourteen days, and after that payouts follow a schedule of about two business days in the US. Each payment carries a PaymentIntent identifier, and the new payments record has its column headings and no rows yet.
The digest has a price, a sample page and an interview sheet. This chapter covers what Claude Code does once owners have answered. It turns rough notes into a record, writes a short program that checks the record against the notes, tests the stopping rules kept in git, drafts the trial terms, and builds a Stripe payment link you can pay with a fake card before any real money is involved.
The conversations themselves are short. You show an owner the one-paragraph offer, the invented sample digest and the price of two hundred and seventy dollars a month, and ask the sheet's three questions. What do missed enquiries cost you now, in money or time? Would you start a paid two-week trial at this price? What would have to change for a yes? Every owner and every answer in this chapter is invented to show the method. An invented yes proves nothing about whether real owners want a digest. Only real conversations can do that.
Turning notes into a checked record
After each conversation, type what you remember into a plain text file in a notes folder inside the Digest Prototype folder. Use one file per owner, named for the owner's number and trade, such as owner zero one, plumber. Type fast and rough, but put the owner's exact words in quotation marks wherever you caught them, and commit each file with git as you go. Those quotation marks and those commit dates are what the rest of this section relies on.
Then start claude in the folder and press Shift and Tab until plan mode is showing, so nothing is written until you approve it. Begin the request with a slash and the skill's name, evidence-checked-drafting. In Claude Code, a skill in the folder's skills location can be called that way, which loads it for certain instead of waiting for its description to match the job. The rest of the request reads like this. Read every file in the notes folder. Fill the interview record using its columns, one answer per row: owner, question, exact quote, date, how it was given, commitment, and the notes file it came from. Treat each notes file as a numbered source. Put nothing in the quote column unless it appears inside quotation marks in the notes.
The commitment column follows the definition written on the sheet before anyone was asked. A commitment costs the owner something: a deposit, agreeing to a paid trial at the stated price, agreeing to route their enquiries into a shared folder, or a real figure for what they already spend. Praise with nothing behind it goes in as polite interest, which counts as nothing committed.
Here is an illustrative spread. Owner one, a plumber, by phone: "Would've saved me last Tuesday, honestly." Asked about a trial: "Maybe, send it over." Commitment: polite interest. Owner two, an electrician, in person: "Looks good." Asked about a trial: "Not right now." Commitment: none. Owner three, a roofer, by email: "I'd pay for this but not two-seventy. More like a hundred." Commitment: none, with a price objection noted. Owner four, a joiner, by phone: "Nice idea." Commitment: polite interest. Owner five, a heating engineer, in person: "Yes, I'll do the two weeks. Send me the terms." Commitment: agreed to a paid trial at the stated price.
The plan comes back short: read the five notes files, add one row for each answer they record, change nothing else. Approve it, and the edit arrives as a diff, every new line starting with a plus sign, each line one row. Look at the plumber's second answer. The quote "Maybe, send it over" contains a comma, and in the file it sits inside its own pair of double quotation marks. That is how a comma-separated values file works. Commas separate the columns, so a field with a comma inside it is wrapped in double quotes to keep it in one column, and a double quote inside a field is written twice. Open the file in a spreadsheet and each quote sits whole in the quote column. A quote spilling into the next column means the wrapping is missing.
The skill ends with its claim-check list, which says every quote was found in its notes file. That list is useful, but it is the model reporting on its own work. Whether a quote is in a file has one right answer, so it belongs to ordinary code, which gives the same answer every time. The next request asks for a program. Write a short Python script called check quotes in this folder. It reads the interview record, and for every row it opens the notes file named in that row and confirms the quote appears in it exactly. It prints each row that fails, then one line saying how many rows were checked and how many failed. Use only what comes with Python.
Python is a programming language, and running a Python script needs Python installed on your computer. Check by typing python3 dash dash version in the terminal. A version number means it is there. On a Mac without it, that command offers to install Apple's command line developer tools, which include it. On Windows, the installer comes from the Python website. "Use only what comes with Python" means the script has no dependencies, no extra packages to install and keep updated. Python's built-in csv module already reads comma-separated files, wrapped quotes included.
Claude Code shows the new script as a diff before saving it. It is around fifteen lines, short enough to read top to bottom. Near the top, a variable called failures is set to zero. A variable is a name the program gives a value so it can use and change it later. The csv module opens the record and hands back each row as a set of labelled values, so the code can ask for a row's quote or source by its column name. Next comes a loop: for each row in the record, do what follows. The lines under it are indented, and indentation is how Python knows which lines belong inside the loop and run once per row. Inside, the script reads the named notes file into a second variable. Then comes a condition: if the row's quote is not in that text, print the owner and the quote, and add one to failures. After the loop, back at the left edge, one line prints the totals. Move that line in by four spaces and it would print once per row instead of once at the end.
Approve the file and run it, either by asking Claude Code or by typing python3 followed by the script's name. The first run prints one failure. Owner one's row quotes "Would have saved me last Tuesday". The notes say "Would've saved me last Tuesday, honestly." The model tidied a contraction while copying, and its own claim-check list had marked the quote as found. The meaning is the same, but the quote column is meant to hold the owner's exact words. Ask Claude Code to correct that row from the notes, run the script again, and the totals line shows every row checked and none failed.
Not every failure is a misquote. Notes typed on a phone often use a curly apostrophe, which looks almost like the straight one on a laptop keyboard but is a different character, so a correctly copied quote can fail. If that happens, ask Claude Code to make the script treat the two apostrophes as the same before it compares. The change comes back as a diff of a line or two, minus lines for the old version and plus lines for the new, and you can see it touches the comparison and nothing else. Commit the script, so every future batch of notes gets the same check.
You will also meet errors. Say a row names a notes file with a typo in its number. The script stops and prints a traceback, Python's report of where it failed. Read it from the bottom. The last line names the error, here FileNotFoundError, followed by the file it could not find. The lines just above it show the line of the script that was running. Together they say the script is fine and a row in the record points at the wrong file. When you want help, paste the whole traceback into Claude Code. It reads them well, and the last line is what to check its explanation against.
Now ask Claude Code for a short summary for your own notes. Suppose its first draft opens like this: "Strong interest from three owners, with one ready to start." That sounds fair. Owners one, four and five were all friendly. But read the claim-check list at the bottom. The phrase "strong interest from three owners" has no record line behind it. No commitment field says strong interest. Two lines say polite interest, and one says agreed to a paid trial. The check marks the sentence unsupported. The skill then forces the draft back to what the lines say: one commitment, a paid trial at the stated price, from owner five. Four committed nothing. Owners one and four showed polite interest.
The agent did not lie. It wrote the summary a hopeful person writes, folding three friendly people into one hopeful number. Fluent, plausible sentences are what the model does well, and fluency is the risk when the subject is your own hopes. Two pieces of structure catch it. A summary sentence may only say what a record row says, and it must cite the row. The rows, in turn, are held to the notes by a script rather than by the model's own list. Neither depends on your being in a sceptical mood that day.
Then come the stopping rules. We wrote them into their own file and committed it before any interview, and git can prove the order. Ask Claude Code to run git log for the rules file and for the notes folder. Git prints each commit with its date and message, and the rules file's commit is dated before the first notes file's. Then ask it to test each rule against the record, cite the rows that decide it, and state the outcome. Read its reasoning yourself, because the decision is yours.
The price rule says that if owners take a trial only at a lower price, you narrow the offer rather than discount below the floor. The roofer named a lower figure, but the heating engineer agreed at two hundred and seventy, so the condition is not met. The roofer's row stays on file as a warning about price, not a verdict. The text-back rule says to bring back the parked text-back if owners keep saying missed calls hurt more than the summary. Nobody said that. The plumber's "Would've saved me last Tuesday" is about a missed enquiry, not a claim that the text-back matters more. Agents tend to stretch a line like that, so the reasoning has to cite the actual words.
The commitment rule says that if several owners commit nothing, park the digest. By the record's own definition, polite interest is nothing committed, so four of five committed nothing, and read as written the rule says park. You may decide the rule was worded badly, and that one full-price trial outweighs four warm maybes. That is a revision of the rule, not a reading of it, and git can make the revision visible. Ask Claude Code to change the line to "if no owner commits, park the digest" and commit it with a message saying the wording changed after the answers were in. Then ask for git show on that commit. It prints the date, the message, and the change itself, the old wording as a minus line and the new as a plus line. Only under that recorded revision does the outcome become proceed: send the trial terms to the heating engineer.
Each batch of conversations leaves the same three things: a record with one answer per row, held to the notes by a script; a summary in which every sentence cites a row; and a decision that names the rule and the rows that settled it. Any work that depends on people saying yes can use the same files. Only the definition of a commitment changes from one line of work to another.
The terms and a test payment link
Owner five said yes, and asked to see the terms. That yes creates an obligation before any money moves. Once someone pays you, you have to deliver what you said you would, in a form they can hold you to. So the terms get written now, before the payment request goes out.
A one-page paid trial agreement for a small service covers the deliverables, what is out of scope, the trial's length and price, when payment is due, how either side stops, and what happens when a promise is missed. Each item heads off a specific argument later. Without an out-of-scope list, "can it text them back too?" turns into free extra work. Without a stopping rule, a trial can quietly become a monthly bill.
You already have most of this, because the digest's scope file was written in plain sentences. So you ask Claude Code to draft the agreement from the scope file only, using the evidence-checked-drafting skill, with every term citing the line of scope it came from. A term with no source line gets marked as an open question, not filled in with something that sounds standard.
The draft covers the following. The deliverables: one page each weekday evening by seven, local time, listing every enquiry from the shared folder, unreachable ones first, ending with a count check, for up to thirty enquiries a day. The out-of-scope list: no replies, no texts or emails, no touching the phone, voicemail or website, no booking or quoting, no chasing payments, no weekends, no guessing missing details. The customer's part: they route their voicemail transcripts, form messages and emails into the shared folder. A digest can only list what reaches the folder, so this sentence is what makes the count check fair to both sides. The late-digest credit: a credit for that day, as the scope already promises.
Three terms came back flagged, because the scope file was silent on them. The trial price was one. Say you set it at half the monthly price, a hundred and thirty-five dollars, for the two weeks. That is an illustrative choice, and once you write it into the scope the term can cite it. Payment timing was the second. You decide payment is due before the first digest, so you never deliver work you have not been paid for. The third was how the trial ends. You write that the trial ends after two weeks and does not roll into a monthly charge on its own. Either side can stop by email, and a monthly service starts only if both agree in writing. The draft also needs to say what form the late-digest credit takes. During a trial, a credit can only reduce a later bill if there is a later bill, so the agreement should say plainly that it comes off a later invoice or is paid back. Each of these decisions is yours. The agent's job was to notice that the scope did not answer them.
Some parts of a contract depend on where you and the customer are. These include limits on liability, who owns the work and the data, rules on automatic renewal from a trial into a paid plan, which law governs a dispute, and how customer data must be handled. Rules on auto-renewal are strict in some places. That is one reason the trial here does not auto-renew. Whether a given clause holds up, or whether a required one is missing, is checked against an authoritative source for your jurisdiction, such as your government's guidance for small businesses or a lawyer. It is not settled by the agent. Claude Code can list which clauses depend on local law. It cannot tell you that your draft is enough where you live.
Now the payment. A payment processor is a company that takes a card payment from a customer and later pays the money into your bank account, minus a fee. Stripe is a mainstream one, and it offers two simple ways to ask for money. A Payment Link is a hosted payment page you create in the Stripe Dashboard and send as a web address. An invoice in Stripe Invoicing is a bill emailed to a named customer, with a link to pay. Either works for one trial. A Payment Link needs no customer setup. An invoice ties the payment to a named customer and a line item, which keeps the records tidier as customers add up. Before either works, Stripe needs an activated account in live mode, completed identity checks and a connected bank account. You set those up yourself, as the account owner.
You can build and try the payment link before the live account matters. Every Stripe account has a test mode, a separate copy of the account where payments use fake cards and no money moves. Newer accounts may call it a sandbox. Nothing made there touches the live account, which makes it the place to let Claude Code do the building and to find mistakes while they cost nothing.
Claude Code reaches Stripe through the Stripe CLI, Stripe's command-line tool, which turns each Stripe action into a command typed in the terminal. Install it following Stripe's documentation, with Homebrew on a Mac or a download for Windows and Linux. Then, in the Dashboard in test mode, open the API keys section and create a restricted key. An API key is a long secret code that lets a program act on your Stripe account, and a restricted key can do only what you allow. Give it write access to products, prices and payment links, and leave everything else at none. Keep it out of every file in the folder. Put it in an environment variable, a value the terminal holds for the session, before you start claude, and have each command pass the key from there instead of signing the CLI in to your whole account. That way the key never lands in git or in CLAUDE.md.
That key is a limit, not an instruction. Telling Claude Code to touch nothing but the payment link is a request it usually honours. A key that has no permission to refund a charge, read customer details or change a payout makes those actions fail at Stripe, whatever any request says.
Now the request. In test mode, create a product called two-week trial, a one-time price for it of a hundred and thirty-five US dollars, and a payment link for that price, then print the link. Claude Code proposes three Stripe commands one after another, and the permission prompt shows each in full before it runs. Read the amount in the price command. It says thirteen thousand five hundred, because Stripe counts money in the smallest unit of the currency, which for dollars is cents. Thirteen thousand five hundred cents is a hundred and thirty-five dollars. A missing zero would charge thirteen dollars fifty, and this prompt is where to catch it. Each command returns the new object's identifier: one starting p-r-o-d for the product, p-r-i-c-e for the price, and p-l-i-n-k for the payment link, which also comes with its web address.
Open the link in your browser. A test link's address contains the word test, one easy way to tell it from a live link later. Pay with Stripe's standard test card, the digits four two four two repeated four times, with any future expiry date and any three-digit security code. The page confirms the payment. In the Dashboard, still in test mode, the payments list shows a new payment of a hundred and thirty-five dollars with a status of Succeeded, and the customer email the page asked for. The whole flow works, and nothing real has moved.
The live link is yours to make. Switch the Dashboard out of test mode and create the same product, price and payment link by hand, copying the details Claude Code used: the name, the one-time price of a hundred and thirty-five dollars, and the receipt email. Objects made in test mode stay there, so the live link has to be made in live mode. Then leave it unsent. Creating a link is drafting. Sending one to a customer asks for money, and the checks on recipient, amount and destination come before that. Keeping Claude Code's key in test mode also means no slip in a session can charge anyone.
Now follow the hundred and thirty-five dollars. Stripe's standard fee for a domestic US card is two point nine percent plus thirty cents per successful charge. Two point nine percent of a hundred and thirty-five dollars is about three dollars ninety-two. Add thirty cents and the fee is about four dollars twenty-two. So about a hundred and thirty dollars seventy-eight reaches your Stripe balance. An international card adds another one and a half percent, and one more percent if currency has to be converted. If you later refund the charge, Stripe keeps the original fee. That means a refunded trial costs you money even though no service was kept.
The money also does not arrive at once. A new Stripe account's first payout waits seven to fourteen days after the first successful payment, and that wait cannot be waived. After that, US accounts normally pay out two business days after a charge. The bank then takes another day or two to clear it. So the price you charged, the fee, and the cash in your bank are three different numbers on three different dates. A trial paid on day one may not be spendable cash until after the trial has ended.
This is why each payment carries an identifier. Stripe gives each payment a PaymentIntent identifier, starting with the letters p-i. That is the master record of the payment, used for status and refunds. If you use an invoice, it has its own identifier starting with i-n. When the money lands in your bank, it may arrive bundled with other payments as one payout, with an identifier starting with p-o. Without those identifiers, a bank line saying "Stripe, one hundred and thirty dollars seventy-eight" cannot be matched to a customer or an agreement.
Last, ask Claude Code to create the payments record, a comma-separated values file in the project folder with a header row and nothing under it. The columns are date, customer, related agreement, gross, fee, net, transaction identifier and payout identifier. Each payment will get one row, and the payout identifier goes in when the money reaches the bank. Later an agent can match bank lines to this record, but only if the identifiers are there.
The interview record is filled, and a script has checked every quote in it against the notes. The commitment rule's new wording is committed with its date. The trial agreement is drafted from the scope, with three gaps decided by you and the local-law clauses marked for checking. A payment link has been built and paid in test mode, and the live link waits unsent at a hundred and thirty-five dollars for your check of recipient, amount and destination. The payments record has its headings and no rows. Its first row gets written when a real owner pays.
Want a Program of your own?
Gnothi wrote and narrated this chapter. Name a subject and it writes you a course, or a story that teaches it, one chapter at a time, delivered to your podcast app.
Get started free