Agents In Use
What’s new todayLast update
499 additions

How to use Claude to draft booking proposals

Claude Code runs booking scripts, retrieves database context and generates JSON proposals that wait in an admin out tray for manual approval.

TRY A BOUNDED VERSION

Prompt to try

Editorial adaptation, not the source author’s exact prompt. Replace bracketed inputs and review tool permissions first.

Run [daily booking command] to identify pending tasks. For each [booking shortcode], run [booking retrieval command], read the returned context and JSON example, and use [proposal command] to draft a proposal. Put outputs in [approval out tray] for manual approval.

What happened

The author reports a working JSON proposal CMS and a daily CLI-driven booking assistant that remains in testing, with manual approval of outputs.

Reported by lil-lugger on Hacker News

How the agent did it

  1. Ran npm run daily to identify bookings needing attention.
  2. Ran npm run get-booking with the booking shortcode to retrieve context.
  3. Generated a JSON proposal and placed the output in the admin out tray.

Where a person stepped in

The operator manually approves everything in the admin web UI out tray; the system is still in testing.

A person approved each step before the agent continued.

A mini-golf hire operator describes a CMS built with Claude Code that creates JSON proposals. A SvelteKit website reads that JSON and turns it into proposal pages. Customers receive an email and their own booking hub after creating a booking, where they can update details and view proposals and invoices.

The agent workflow starts with a daily business script, npm run daily. Claude Code runs it, and business logic identifies bookings that need attention. The script directs the agent to run npm run get-booking with a booking shortcode. That command returns all database-row data for the booking and identifies the task, giving Claude Code the context needed for the next action.

The booking script then prompts Claude Code to run npm run generate-proposal with the shortcode and JSON output. An example JSON output supplies the required syntax. Generated work goes to an out tray in the admin web interface, where the operator must manually approve it. The author says the system is still in testing and describes it as an automated CRM assistant built around CLI applications.

Who it's for: Small service businesses with booking records and a human approval stage for customer proposals.

Prompt
Suggested prompt (written by Agents In Use, not the author's)

Source: Hacker News · lil-lugger

Frequently asked questions

How does Claude find bookings needing work?

It runs npm run daily, whose business logic identifies bookings with tasks and directs it to retrieve each booking by shortcode.

Are proposals sent without approval?

Everything goes to an out tray in the admin web UI, and the author says they must manually approve it. The workflow was still in testing.

More details

About this account

Claude Code follows CLI outputs to identify tasks, retrieve booking context and generate proposals before an approval stage.

Platform: Hacker News. Attribution: https://news.ycombinator.com/item?id=44591547. Prompt: Suggested (written by Agents In Use, not the author's). Sourced by the Agents In Use pipeline.

Credit: lil-lugger on Hacker News

Source published 17 Jul 2025

Source checked 14 Oct 2026

Tools and topics

Claude Code · SvelteKit · npm scripts · Admin web UI

Bookings · Proposals · CRM

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.