{"skills":[{"name":"Compare builders\u2019 quotes line by line","description":"Put written quotes on the same tax and scope basis and see which unanswered questions prevent a fair price comparison.","content":"# Compare builders\u2019 quotes line by line\n\nPut written quotes on the same tax and scope basis and see which unanswered questions prevent a fair price comparison.\n\n## When to use this skill\n\n- Someone has two or more written quotes or estimates for the same building, roofing, landscaping or repair job.\n- The totals look different but the quotes use different wording for VAT, allowances, exclusions or extras.\n- Someone wants a list of questions to send each builder before signing.\n\n## When not to use it\n\n- Judging whether a builder is competent, insured or trustworthy. Point the person to references, insurance documents and trade body checks instead.\n- Checking a finished invoice against its quote. Use the check-invoice-against-quote skill for that.\n- Giving a legal view on a dispute or a binding VAT ruling. The method only reads what the quotes say.\n\n## What you need\n\n- The work you need, any drawings or schedule, and each dated quotation including exclusions, allowances and VAT wording.\n- Any later written clarifications. Identify which quotation each one changes.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What work do you need done? A list or drawing of the full scope lets every quote be checked against the same items.\n- Do you have every page of each quote, including terms, exclusions and any later emails that changed the price?\n- Is each document a fixed quote or an estimate, and how long is each price valid?\n\n## Method\n\n1. Write the required scope as a list of work items, using the person's description or drawings. Each quote is checked against that list, not against the other quotes.\n2. Make a row for each work item and a column for each builder. For every cell record included, excluded, provisional sum, prime cost sum or not mentioned, with the page or line it came from. Silence is not inclusion.\n3. Record each document's price status: fixed quote, estimate or daily rate. Note how long the price is valid and any stated reasons it can change.\n4. Put every price on the same tax basis. Use only an explicit VAT rate or a stated inclusive total. If a quote does not say whether VAT applies, keep its inclusive total unknown and ask. Do not assume every builder is VAT-registered, or that one rate covers all work.\n5. Add written, priced clarifications once, to the quote they change. Do not add a provisional sum again if the contract price already includes it.\n6. Compare totals only when every builder covers the same items, on the same tax basis, with comparable allowances and price status. Otherwise report the known totals and exactly what stops a fair comparison.\n7. For every gap, draft one specific question to that builder asking for a written, fixed price or specification.\n\n## Checks before you deliver\n\n- An excluded scaffold, skip or waste disposal line can reverse the apparent price order.\n- A lower provisional or prime cost allowance is not a saving. It moves the risk to the customer unless both builders price the same specification.\n- A much lower price can mean the builder is not quoting for the same work. Check scope before praising a saving.\n- Estimates and daily rates can rise. Never rank an estimate against a fixed quote as if both were final.\n- VAT on building work depends on the job and the builder. New dwellings, some conversions and energy-saving installations can carry reduced or zero rates, so read the quote rather than applying 20% by default.\n\n## How to present the result\n\nLead with the answer in one or two sentences: which quote is lower for the complete job, or why that cannot be said yet. Then give a table with one row per work item and one column per builder showing the status and price. Under it, list the known totals on one tax basis, and finish with the questions to send each builder, ready to copy.\n\n## Worked example\n\n**Request:** Which quote gives me the lower complete price?\n\n**Supplied material:**\n\n```text\nScope: repointing, scaffolding.\nAsh: repointing and scaffolding \u00a318,600 including VAT, fixed.\nElm: repointing \u00a316,400 plus 20% VAT, fixed. Scaffolding excluded.\n```\n\n**Answer:** Ash quotes \u00a318,600 including VAT and scaffolding. Elm is already \u00a319,680 including VAT for the repointing alone. Ask Elm for its fixed total including scaffolding and VAT before comparing complete bids.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn quoted_gbp as an object keyed by bidder (number or null), gaps as an object keyed by bidder listing the exact required item names still unpriced or uncertain in input order, and lower_comparable_bidder as the bidder name, 'tie', or null. Use inclusive amounts. A missing VAT basis prevents a ranking even when gaps is empty.\n\n## Sources\n\n- [Citizens Advice: before getting building work done](https:\/\/www.citizensadvice.org.uk\/consumer\/getting-home-improvements-done\/before-you-get-building-work-done\/): Citizens Advice says to get at least three written quotes, prefer a fixed quote to an estimate, and check the quote gives a breakdown, how long it is valid, whether VAT is included and when the price can change. It warns that a much lower price may not cover the same work.\n- [HMRC VAT Notice 708: buildings and construction](https:\/\/www.gov.uk\/guidance\/buildings-and-construction-vat-notice-708): Explains when building work is standard-rated, reduced-rated or zero-rated, and that materials a builder supplies follow the rate of the work. This is why the skill reads each quote's VAT wording instead of assuming 20%.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/compare-builders-quotes\n","scope":"contextual","trigger_keywords":["Compare builders\u2019 quotes line by line","compare-builders-quotes","compare builders quotes","Which builder\u2019s quote is really cheaper once VAT and extras are counted?","Which builder\u2019s quote is really cheaper once VAT and extras are counted","builder quotes","builders\u2019 quotes","builders' quotes","compare building quotes","compare these building quotes","compare these builders quotes","which builder is cheaper"],"is_private":true,"is_active":true,"scripts":[{"name":"compare-builders-quotes-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"compare-builders-quotes-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: compare-builders-quotes\ndescription: \"Compare two or more written building quotes on the same scope, VAT basis and price status, and list what each builder still has to price. Use when someone has several quotes for one job and wants to know which is cheaper or what to ask before choosing.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-23\"\n  homepage: https:\/\/skills.raq.com\/skills\/compare-builders-quotes\n---\n\n# Compare builders\u2019 quotes line by line\n\nPut written quotes on the same tax and scope basis and see which unanswered questions prevent a fair price comparison.\n\n## When to use this skill\n\n- Someone has two or more written quotes or estimates for the same building, roofing, landscaping or repair job.\n- The totals look different but the quotes use different wording for VAT, allowances, exclusions or extras.\n- Someone wants a list of questions to send each builder before signing.\n\n## When not to use it\n\n- Judging whether a builder is competent, insured or trustworthy. Point the person to references, insurance documents and trade body checks instead.\n- Checking a finished invoice against its quote. Use the check-invoice-against-quote skill for that.\n- Giving a legal view on a dispute or a binding VAT ruling. The method only reads what the quotes say.\n\n## What you need\n\n- The work you need, any drawings or schedule, and each dated quotation including exclusions, allowances and VAT wording.\n- Any later written clarifications. Identify which quotation each one changes.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What work do you need done? A list or drawing of the full scope lets every quote be checked against the same items.\n- Do you have every page of each quote, including terms, exclusions and any later emails that changed the price?\n- Is each document a fixed quote or an estimate, and how long is each price valid?\n\n## Method\n\n1. Write the required scope as a list of work items, using the person's description or drawings. Each quote is checked against that list, not against the other quotes.\n2. Make a row for each work item and a column for each builder. For every cell record included, excluded, provisional sum, prime cost sum or not mentioned, with the page or line it came from. Silence is not inclusion.\n3. Record each document's price status: fixed quote, estimate or daily rate. Note how long the price is valid and any stated reasons it can change.\n4. Put every price on the same tax basis. Use only an explicit VAT rate or a stated inclusive total. If a quote does not say whether VAT applies, keep its inclusive total unknown and ask. Do not assume every builder is VAT-registered, or that one rate covers all work.\n5. Add written, priced clarifications once, to the quote they change. Do not add a provisional sum again if the contract price already includes it.\n6. Compare totals only when every builder covers the same items, on the same tax basis, with comparable allowances and price status. Otherwise report the known totals and exactly what stops a fair comparison.\n7. For every gap, draft one specific question to that builder asking for a written, fixed price or specification.\n\n## Checks before you deliver\n\n- An excluded scaffold, skip or waste disposal line can reverse the apparent price order.\n- A lower provisional or prime cost allowance is not a saving. It moves the risk to the customer unless both builders price the same specification.\n- A much lower price can mean the builder is not quoting for the same work. Check scope before praising a saving.\n- Estimates and daily rates can rise. Never rank an estimate against a fixed quote as if both were final.\n- VAT on building work depends on the job and the builder. New dwellings, some conversions and energy-saving installations can carry reduced or zero rates, so read the quote rather than applying 20% by default.\n\n## How to present the result\n\nLead with the answer in one or two sentences: which quote is lower for the complete job, or why that cannot be said yet. Then give a table with one row per work item and one column per builder showing the status and price. Under it, list the known totals on one tax basis, and finish with the questions to send each builder, ready to copy.\n\n## Worked example\n\n**Request:** Which quote gives me the lower complete price?\n\n**Supplied material:**\n\n```text\nScope: repointing, scaffolding.\nAsh: repointing and scaffolding \u00a318,600 including VAT, fixed.\nElm: repointing \u00a316,400 plus 20% VAT, fixed. Scaffolding excluded.\n```\n\n**Answer:** Ash quotes \u00a318,600 including VAT and scaffolding. Elm is already \u00a319,680 including VAT for the repointing alone. Ask Elm for its fixed total including scaffolding and VAT before comparing complete bids.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn quoted_gbp as an object keyed by bidder (number or null), gaps as an object keyed by bidder listing the exact required item names still unpriced or uncertain in input order, and lower_comparable_bidder as the bidder name, 'tie', or null. Use inclusive amounts. A missing VAT basis prevents a ranking even when gaps is empty.\n\n## Sources\n\n- [Citizens Advice: before getting building work done](https:\/\/www.citizensadvice.org.uk\/consumer\/getting-home-improvements-done\/before-you-get-building-work-done\/): Citizens Advice says to get at least three written quotes, prefer a fixed quote to an estimate, and check the quote gives a breakdown, how long it is valid, whether VAT is included and when the price can change. It warns that a much lower price may not cover the same work.\n- [HMRC VAT Notice 708: buildings and construction](https:\/\/www.gov.uk\/guidance\/buildings-and-construction-vat-notice-708): Explains when building work is standard-rated, reduced-rated or zero-rated, and that materials a builder supplies follow the rate of the work. This is why the skill reads each quote's VAT wording instead of assuming 20%.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/compare-builders-quotes\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/compare-builders-quotes\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Scaffolding changes the comparison\n\nWhich quote gives me the lower complete price?\n\n## Supplied material\n\nScope: repointing, scaffolding.\nAsh: repointing and scaffolding \u00a318,600 including VAT, fixed.\nElm: repointing \u00a316,400 plus 20% VAT, fixed. Scaffolding excluded.\n\n## Worked answer\n\nAsh quotes \u00a318,600 including VAT and scaffolding. Elm is already \u00a319,680 including VAT for the repointing alone. Ask Elm for its fixed total including scaffolding and VAT before comparing complete bids.\n\n## Reasoning\n\nElm's known total already exceeds Ash's. Its complete price remains unknown.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Which quote gives me the lower complete price?\nReturn only the JSON specified in SKILL.md for this test.\n\nScope: repointing, scaffolding.\nAsh: repointing and scaffolding \u00a318,600 including VAT, fixed.\nElm: repointing \u00a316,400 plus 20% VAT, fixed. Scaffolding excluded.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"quoted_gbp\": {\n        \"Ash\": 18600,\n        \"Elm\": 19680\n    },\n    \"gaps\": {\n        \"Ash\": [],\n        \"Elm\": [\n            \"scaffolding\"\n        ]\n    },\n    \"lower_comparable_bidder\": null\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"Elm's known total already exceeds Ash's. Its complete price remains unknown.\n"},{"path":"tests\/case-2\/request.txt","content":"Compare both final prices, including the amended line.\nReturn only the JSON specified in SKILL.md for this test.\n\nScope: paving, disposal.\nBrook: paving \u00a33,300 including VAT, fixed. Disposal excluded. Signed addendum: fixed disposal \u00a3150 including VAT.\nDale: paving and disposal \u00a32,900 plus 20% VAT, fixed.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"quoted_gbp\": {\n        \"Brook\": 3450,\n        \"Dale\": 3480\n    },\n    \"gaps\": {\n        \"Brook\": [],\n        \"Dale\": []\n    },\n    \"lower_comparable_bidder\": \"Brook\"\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"Adding the signed disposal line once resolves the scope gap and makes a \u00a330 comparison possible.\n"}],"is_active":true,"is_approved":false}]}]}