Agentic AI Course podcast

7. Asking for the First Commitment

0:00
NaN:NaN:NaN
Recuar 15 segundos
Avançar 15 segundos

Claude Code turns invented interview notes into a checked record, writes a first Python script that confirms every quote against its notes file, tests dated stopping rules under git, drafts the trial terms and builds a $135 Stripe Payment Link in test mode with a restricted key.

This episode is narrated by AI-generated synthetic voices.

Episode page & show notes

Visit website

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.

Mais episódios de "Agentic AI Course"