Quote Calculator 标志

Quote Calculator

社区
duncan-buildroom
quote-calculator

为服务类商家制作一个简洁的即时估价组件——客户选择几个选项后,马上就能看到价格范围,随后留下联系方式。适用于搬家、清洁、园林养护、油漆、垃圾清运、汽车美容和杂工服务。整个组件只需一个独立的 HTML 文件,无需后端,也不用花钱;这是初学者为本地商家制作并收费的最简单项目之一。用户说“制作报价计算器”“即时估价工具”“为我的网站制作价格估算器”“让客户查看价格”“价格计算器”“为我的清洁业务制作估价工具”“做点能卖给本地商家的东西”,或输入 /quote-calculator 时使用。

Add to TypingMind

概览

发布者duncan-buildroom
代码仓库freeskills
技能名称quote-calculator
星标数
65
复刻数
15
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 duncan-buildroom 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Quote Calculator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/duncan-buildroom/freeskills/tree/main/quote-calculator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/duncan-buildroom/freeskills.git /tmp/freeskills
mkdir -p .claude/skills
cp -r /tmp/freeskills/quote-calculator .claude/skills/quote-calculator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Quote Calculator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Quote Calculator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Quote Calculator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Quote Calculator — a price range in ten seconds, and a lead at the end

Service businesses lose most of their leads at the same place: someone wants to know roughly what it costs, the site says "call for a quote," and they call somebody else instead. A small calculator that gives an honest range fixes that. It's also one of the first things a beginner can build that a real local business will pay for, because it plugs a hole the owner already knows they have.

Setup

None. This skill works out of the box.

Steps

1. Get the business and the real pricing logic

Ask what the business does and who it's for. Then get the pricing, which is the whole job. Ask exactly this:

"Walk me through how you actually price a job. What's the starting number, and what makes it go up? Give me one real recent job and what you charged for it."

Push until you have:

  • A base. A minimum, a per-unit rate, or a starting price. There is always one, even if the owner has never said it out loud.
  • The 3-5 things that move the price. Not ten. The things that actually swing the number. For a mover: size of home, distance, stairs or elevator, packing help. For a cleaner: bedrooms, bathrooms, one-time versus recurring, add-ons. For a painter: rooms, ceilings, prep condition. For junk removal: how much fits in the truck, stairs, heavy items.
  • How each one changes the number. A multiplier ("2x for a two-story"), a flat add ("+$150 for packing"), or a per-unit rate ("+$35 per extra room").
  • The floor and the ceiling. The smallest job they'd take and the biggest they'd quote without seeing it in person.

If they don't know their own numbers, don't invent any. Walk them through three real past jobs and reverse-engineer the pattern with them. Never make up prices for a real business.

2. Design the range, not the number

This is the rule that keeps them out of trouble: always show a range, never a single hard number.

A single number is a promise. When the crew shows up and the job is worse than described, the customer holds them to the number and someone eats the difference or the deal blows up. A range sets an expectation and keeps the conversation open.

  • Build the range as roughly ±15-20% around the calculated midpoint, and round to clean numbers. $340-$410, not $347.83-$412.19.
  • Widen the range when the inputs are vaguer. A "large home, lots of stuff" answer earns a wider spread than "3 bedrooms, 1,400 sq ft."
  • Show the range big — it's the whole reason anyone touched the page.
  • Put one honest line directly under it, in smaller type: "This is an estimate based on what you told us. Your final price is confirmed after a quick call or a photo." That sentence is the legal and human safety net.
  • Add a plain-language breakdown under the range showing what drove it: "Base 3-bed clean $180 · Deep clean +$90 · 2 extra bathrooms +$50." People trust a number they can see the parts of.
  • If an input puts the job outside what they'd quote sight-unseen, don't show a range at all. Show: "This one's big enough that a real quote beats a guess — leave your details and we'll call you today."

3. Capture the lead at the end, and only at the end

The range is what they came for. The contact form is what the business is paying for. Order matters.

  • Show the range first, with no email required. Gating the number is why most of these tools fail — people leave rather than trade an email for a guess.
  • Directly under the range, put the capture: name, phone or email, and one optional detail box. Three fields maximum.
  • The button says what happens next. "Lock in this quote." "Send me the real number." Never "Submit."
  • One line under the button setting expectations: "We'll call you within one business day. No spam."
  • On submit, show the confirmation in place — no reload, no popup. Also save the full submission to localStorage (all their answers plus the calculated range) so the owner has a backup and can see it even before a form service is wired up.
  • Where the lead actually goes, free options: a Formspree free endpoint pasted into the form's action (one signup, form stays on the page, roughly 50 a month free), a Google Form the page posts to (emails land in a sheet they already own), or a plain mailto: fallback that opens their email app. Build with the mailto: fallback and leave one clearly commented line at the top of the form where the real endpoint gets pasted. Tell them the exact line to swap.

4. Build the widget

One file. Bake in every one of these:

  • One self-contained index.html. No build tools, no external JS libraries, no backend, no database. All the pricing math sits in plain JavaScript inside the file.
  • Google Fonts is the only external resource. One display font for the price, one body font for everything else.
  • Restrained palette: one accent plus neutrals. Never the generic purple-to-blue AI gradient. If ~/.claude/design.md exists, read it and use that palette, font pairing, and spacing.
  • Mobile-first, because most people fill these out on a phone standing in the room they want cleaned. Inputs at least 48px tall, big tap targets, one question per row on a narrow screen, no sideways scroll at 375px wide.
  • Use the right input types so phones show the right keyboard: type="tel" for phone, type="email" for email, type="number" for counts.
  • Fully readable without JavaScript. With scripts off, the page still shows what the business does, the list of options, the price range table or starting price in plain text, and a working contact form. The live calculation is the enhancement, not the page.
  • The range updates the moment an option changes. No "Calculate" button — one less thing to tap.
  • Animate with transforms and opacity only. The price number can fade and slide slightly when it changes. No animated blur, no noise filters, no marquees, nothing looping.
  • Real copy throughout, written for this specific business. Never lorem ipsum.
  • Icons inline SVG. No icon fonts, no image files.
  • Include the viewport meta tag and a real <title>.
  • Keep every price and multiplier in one clearly labeled block at the top of the script, with a comment above it: "All prices live here. Change these numbers to change every quote." The owner will want to raise prices next spring without calling anyone.
  • Make it droppable: it works as a standalone page and also inside an <iframe> on an existing site. Say both options out loud when you hand it over.

5. Sanity-check it against real jobs

Before calling it done, run the three real jobs from step 1 through the calculator and compare. If the calculator says $290-$350 and they actually charged $520, the logic is wrong, not the customer. Fix the numbers and re-run.

Also check the edges: the smallest possible selection, the largest possible selection, and every option maxed out at once. If any of those produce a silly number, clamp it or route it to the "let's talk" message.

6. Tell them how to use it

Two paths, say both:

  • For their own business: open the file, check it on a phone, then put it online free with Vercel's free tier or GitHub Pages, and link to it from their existing site as "Get an instant estimate."
  • For selling to a local business: build one for a business in their town using that business's real public prices, send it to the owner as a working link, and say "I built this for you, want it on your site?" A working thing beats a pitch. This is a normal first paid job.

Output — save it

Write the widget to ~/sites/<business-slug>-quote/index.html.

Also write ~/sites/<business-slug>-quote/pricing-notes.md with: the base price, every option and exactly how it moves the number, the range width, the floor and ceiling, the three real jobs you tested against and what the calculator returned for each, where the leads go plus the one line to swap, and a short "how to change your prices" note pointing at the labeled block in the file.

Tell them both paths, then:

"Open ~/sites/<business-slug>-quote/index.html and run one real job through it. If the range doesn't match what you'd actually charge, tell me what you'd have charged and I'll fix the numbers."

Example (input → output)

Input: "My friend owns a junk removal company. He never posts prices and he says people call, ask what it costs, and hang up. He charges by how much fits in the truck."

Output (saved to ~/sites/haulaway-quote/index.html):

  • Inputs: how much stuff (quarter truck / half truck / three-quarter / full truck), stairs (none / one flight / two or more), heavy items (none / one / two or more), and same-day.
  • Logic: base by truck fraction — $150 / $290 / $410 / $540. Stairs: +$40 per flight. Heavy items: +$75 each. Same-day: +20%.
  • Range: midpoint ±15%, rounded to $10. A half truck, one flight of stairs, one heavy item shows $345-$465.
  • Under the range: "Base half-truck load $290 · One flight of stairs +$40 · One heavy item +$75." Then: "This is an estimate based on what you told us. Your final price is confirmed when we see the load."
  • Over a full truck: no range. Shows "That's a two-trip job — leave your number and we'll give you a real quote today."
  • Capture: name, phone (type="tel"), optional "anything we should know." Button reads "Lock in this quote." Saved to localStorage and posted to a Formspree endpoint.
  • Look: near-black text on bone, one orange accent on the price and the button only. The price fades and slides 4px when it changes. Works with JavaScript off — the plain price table shows instead.
  • Tested: three of his past jobs came back at $310-$420 (he charged $380), $520-$700 (he charged $610), and $150-$210 (he charged $175). Close enough to ship.

Notes / edge cases

  • The beginner failure this prevents: building a big multi-page site for a local business when the one thing that makes the owner money is a price on the page.
  • Never invent prices for a real business. If the owner can't say their numbers, reverse-engineer them from three real past invoices with the owner in the room.
  • If they want a single exact number instead of a range, say no once and explain why: an exact number is a promise the crew has to keep sight-unseen. If they still insist, show a number and put "starting at" in front of it.
  • More than five inputs and people quit halfway. If the owner wants nine questions, tell them the nine-question version gets fewer leads than the four-question version, and keep the extras for the follow-up call.
  • Run mobile-check on it before it goes live — nearly everyone will use it on a phone. Use make-it-designed if it works but looks like a spreadsheet.

常见问题

Quote Calculator AI 技能有什么作用?

为服务类商家制作一个简洁的即时估价组件——客户选择几个选项后,马上就能看到价格范围,随后留下联系方式。适用于搬家、清洁、园林养护、油漆、垃圾清运、汽车美容和杂工服务。整个组件只需一个独立的 HTML 文件,无需后端,也不用花钱;这是初学者为本地商家制作并收费的最简单项目之一。用户说“制作报价计算器”“即时估价工具”“为我的网站制作价格估算器”“让客户查看价格”“价格计算器”“为我的清洁业务制作估价工具”“做点能卖给本地商家的东西”,或输入 /quote-calculator 时使用。

为什么在 TypingMind 中使用 Quote Calculator?

因为您只需安装一次,就能搭配任何模型使用。Quote Calculator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Quote Calculator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/duncan-buildroom/freeskills/tree/main/quote-calculator。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Quote Calculator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Quote Calculator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Quote Calculator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Quote Calculator AI 技能免费吗?

duncan-buildroom 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇