One Script, Not One Call Each.

The video explains the weekly-report skill, whose explicit rule is to write one script and run it once. It covers the four report sections, the four backing files, and how the weekly and daily versions differ.

1:43 video3 min readWatch on YouTube

When Claude is asked for a weekly inventory report, the natural assumption is that it checks each product one at a time, using a tool call per SKU. This video, narrated by Liam for Humanitarians AI, shows that the weekly-report skill does the opposite. The stock file alone holds about 67,000 rows, so the skill's rule is explicit: write one script and run it once.

A skill as a folder Claude reads

The video begins with the basic idea that a skill is a folder Claude reads before it acts. The weekly-report skill lays out four sections that are written every time: stockouts, low stock, open purchase orders, and forecast risk. It also names the files that back each one. There are four: a stock levels file, a products file, a sales history file, and an open orders file. Knowing the sections and the data sources in advance is what lets the whole report be produced in a single pass.

One script over every row

The stock file is far too large to check SKU by SKU with separate tool calls. So the skill instructs Claude to write one script that loads every file, computes stockouts and days of cover for all SKUs together, and prints the finished report as markdown in one pass. The video describes this as zero per-SKU tool calls. Claude calls a tool only once in total.

What the report contains depends on the request

What the script prints still depends on what is asked for, and the video shows the difference in both directions.

  • The weekly version adds one more check. Any open purchase order that is older than its supplier's usual lead time is flagged as aging.
  • The shorter daily sweep drops the open orders and forecast risk sections, and leads with whatever action was already taken.

So the same underlying approach, one script reading every row once, produces different outputs depending on whether you asked for the full weekly review or the daily sweep.

The carry-out

The video's summary is that Claude writes one script that reads every row once, rather than checking each SKU by hand. Which sections the script prints depends on the cadence requested.

Key takeaways

  • A skill is a folder Claude reads before it acts.
  • The weekly-report skill writes four sections every time: stockouts, low stock, open purchase orders and forecast risk.
  • Each section is backed by named files: stock levels, products, sales history and open orders.
  • The stock file holds about 67,000 rows, which is too many to check with separate tool calls.
  • The skill's rule is to write one script and run it once, computing everything in a single pass.
  • The weekly report adds an aging check for purchase orders older than the supplier's usual lead time.
  • The daily sweep drops the open orders and forecast risk sections and leads with the action already taken.

Try it yourself

The video offers a prompt for Claude. Describe a stock-levels file of about sixty thousand rows and a separate purchase-orders file, and ask for this week's inventory report covering stockouts, low stock, open orders, and which orders are now aging past their lead time. Then ask whether Claude would check it row by row with tool calls or write one script that computes it in a single pass, and have it show what the script would need to read and what the top of the report would say. Run it against your own inventory scenario.

Chapters

  1. 0:00The naive framing: "does Claude call a tool per SKU?"
  2. 0:10Anatomy: a skill is a folder (4 sections, 4 backing data files)
  3. 0:29Mechanism: one script over 67k rows, not one call each — both directions (weekly adds aging; daily drops sections)
  4. 1:04Carry-out
  5. 1:17Your turn
  6. 1:38Outro
Full transcript(auto-generated, with timestamps)

The naive framing: "does Claude call a tool per SKU?"

[0:00]Someone assumed Claude calls a tool once per SKU to build this report. It doesn't. It calls a tool only once total. So, does Claude call a tool once for the report? A skill is a folder

Anatomy: a skill is a folder (4 sections, 4 backing data files)

[0:10]Claude reads before it acts. This one is weekly report, the weekly inventory report. The file lays out four sections to write every time: stock outs, low stock, open purchase orders, and forecast risk. It also names exactly which files back each one: a stock levels file, a products file, a sales history file, and an open orders file.

Mechanism: one script over 67k rows, not one call each — both directions (weekly adds aging; daily drops sections)

[0:29]The rule inside is explicit. Write one script and run it once. The stock file alone holds about 67,000 rows, far too many to check SKU by SKU with separate tool calls. So, one script loads every file, computes stock outs and days of cover for all of them together, and prints the finished report in a single pass. What that report actually contains still depends on what's asked. The weekly version adds one more check. Any open purchase order older than its supplier's usual lead time gets flagged as aging, while the daily sweep drops the open orders and forecast risk sections and leads with whatever action was already taken. Ask Claude for this report and it writes

Carry-out

[1:05]One script that reads every row once instead of checking each SKU by hand. Which sections that script prints still depends on whether you asked for the full weekly review or the shorter daily sweep. Your turn. Paste this into

Your turn

[1:18]Claude. I have a stock levels file with about 60,000 rows and a separate purchase orders file. Give me this week's inventory report: stock outs, low stock, open orders, and which of those orders are now aging past their lead time. Would you check this row by row with tool calls or write one script that computes it in a single pass? Show me what that script would need to read and what the top of the report would say.

Outro

[1:38]One script, not one call each. Lay 'em in for bear.

More from Claude Basics

Humanitarians AI Lyrical Literacy Project