{"skills":[{"name":"Build a home contents inventory from evidence","description":"Combine photos and receipts into an item register with supported costs and a list of labels still worth photographing.","content":"# Build a home contents inventory from evidence\n\nCombine photos and receipts into an item register with supported costs and a list of labels still worth photographing.\n\n## When to use this skill\n\n- Someone has room photos or a video walk-through and wants a list of what they own for home insurance.\n- Receipts, order emails or boxes need matching to the items they prove, with serial numbers copied correctly.\n- Someone is preparing for a claim or a move and wants to know which items still lack a readable serial or proof of purchase.\n\n## When not to use it\n\n- Setting a sum insured or a claim settlement value. Purchase price is not replacement cost, and the policy wording or a professional valuation decides that.\n- Deciding whether a claim will be paid. The insurer applies its own policy terms and evidence requirements.\n- Recording a rented property's condition at the start or end of a tenancy. Use the tenancy inventory comparison skill for that.\n\n## What you need\n\n- Room photographs, close-ups, receipts or a text transcription of them, identified by filename.\n- The desired grouping and currency. Omit personal address or payment information that is irrelevant to the inventory.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- Which photo or receipt belongs to which item, where the filenames do not say? A guessed link duplicates items or attaches the wrong price.\n- Do any items belong to someone else, such as borrowed, rented or a family member's? Ownership changes what the list should claim.\n- What currency and grouping do you want, for example by room? Prices stay in the receipt's currency unless you give an exchange rate.\n\n## Method\n\n1. Agree the scope: which rooms, lofts, sheds and storage to cover, the currency, and whether borrowed or shared items should appear. Use the person's room names.\n2. List each physical item once, by room. Link a wide shot and a close-up to the same item only when the evidence ties them together, such as a caption or a matching label. Two matching items are two rows, each with its own identifier.\n3. Copy legible model and serial strings exactly as shown, keeping leading zeroes, letters and separators. Leave the serial empty when the label is smudged, cropped or shows only a product family. Never fill it from a similar online photo or a guessed model.\n4. Attach a purchase price only from a receipt or order that names that item with its own amount. Do not split a bundle price across its members unless the receipt itemises it. Keep the receipt's currency, convert to pounds only with a rate the person supplies, and leave the sterling figure empty otherwise.\n5. Keep purchase cost, estimated current value and replacement cost as separate figures, each with its source and date. Do not turn a dated receipt into today's replacement cost.\n6. Mark ownership on each row when the evidence distinguishes owners, such as owned, borrowed or rented, in the person's own words.\n7. List every piece of evidence against its row in source order. Then build the reshoot list of items with no legible serial, and a separate list of items with no price evidence. Suggest keeping a copy of the list and evidence away from the home, for example online.\n\n## Checks before you deliver\n\n- Counting every photo as its own object duplicates items.\n- Inferring today's replacement value from a dated receipt disguises the age and basis of the number.\n- Splitting a bundle receipt evenly invents individual prices the receipt never shows.\n- Dropping a leading zero or guessing a smudged character makes the serial useless for a claim or a police report.\n- Converting a foreign-currency receipt at today's rate, or at a rate the person never gave, presents a guess as a purchase price.\n\n## How to present the result\n\nStart with a short count: items listed, items with a legible serial and items with a supported price. Then give a table by room with item, make and model, serial, purchase price and currency, ownership where relevant and the evidence IDs. End with the reshoot list and the receipts still worth finding, so the person can fill every gap in one pass.\n\n## Worked example\n\n**Request:** Catalogue the two items without counting the close-up twice.\n\n**Supplied material:**\n\n```text\nP1 lounge: television TV and speaker SP.\nP2 close-up of TV in P1: serial 00107.\nR1 receipt specifically for TV: \u00a3410.\nP3 close-up of SP: serial smudged. No price available.\n```\n\n**Answer:** Lounge TV, serial 00107, cost \u00a3410. The room photo P1, close-up P2 and receipt R1 belong to this entry.\nLounge speaker, shown in P1 and P3. Photograph the serial label again. Its purchase price is unknown.\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 items in first item order with id, room, serial (string or null), purchase_gbp (number or null) and proof (ordered list of matching source IDs). Return reshoot_serial as an array of item IDs missing a legible serial. Use only the described photos or receipts. If the sources distinguish owners, include ownership on each relevant row with the description given.\n\n## Sources\n\n- [NAIC: creating a home inventory](https:\/\/content.naic.org\/consumer\/homeowners-insurance.htm): The US insurance regulators' association advises photographing or filming each item, recording model and serial numbers, keeping receipts, noting both purchase price and estimated current value, and storing the inventory safely, for example online. This is why the skill keeps purchase price and current value apart.\n- [California Department of Insurance: home inventory guide](https:\/\/www.insurance.ca.gov\/01-consumers\/105-type\/95-guides\/03-res\/home-inv.cfm): The state regulator recommends dated photos or a video walk-through, keeping receipts and model numbers with the list, and storing copies outside the home, such as with a relative or at work. Both sources are US guides; the method is the same in the UK, but each policy's wording sets the valuation basis.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/build-home-contents-inventory\n","scope":"contextual","trigger_keywords":["Build a home contents inventory from evidence","build-home-contents-inventory","build home contents inventory","Can you list everything in these room photos for my home insurance?","Can you list everything in these room photos for my home insurance","home contents inventory","inventory for home insurance","home insurance inventory"],"is_private":true,"is_active":true,"scripts":[{"name":"build-home-contents-inventory-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":"build-home-contents-inventory-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: build-home-contents-inventory\ndescription: \"Build an item-by-item home contents list from room photos, label close-ups and receipts, with exact serial numbers, supported purchase prices and a reshoot list. Use when someone wants a home insurance inventory, a record of possessions before a move, or evidence ready for a claim.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/build-home-contents-inventory\n---\n\n# Build a home contents inventory from evidence\n\nCombine photos and receipts into an item register with supported costs and a list of labels still worth photographing.\n\n## When to use this skill\n\n- Someone has room photos or a video walk-through and wants a list of what they own for home insurance.\n- Receipts, order emails or boxes need matching to the items they prove, with serial numbers copied correctly.\n- Someone is preparing for a claim or a move and wants to know which items still lack a readable serial or proof of purchase.\n\n## When not to use it\n\n- Setting a sum insured or a claim settlement value. Purchase price is not replacement cost, and the policy wording or a professional valuation decides that.\n- Deciding whether a claim will be paid. The insurer applies its own policy terms and evidence requirements.\n- Recording a rented property's condition at the start or end of a tenancy. Use the tenancy inventory comparison skill for that.\n\n## What you need\n\n- Room photographs, close-ups, receipts or a text transcription of them, identified by filename.\n- The desired grouping and currency. Omit personal address or payment information that is irrelevant to the inventory.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- Which photo or receipt belongs to which item, where the filenames do not say? A guessed link duplicates items or attaches the wrong price.\n- Do any items belong to someone else, such as borrowed, rented or a family member's? Ownership changes what the list should claim.\n- What currency and grouping do you want, for example by room? Prices stay in the receipt's currency unless you give an exchange rate.\n\n## Method\n\n1. Agree the scope: which rooms, lofts, sheds and storage to cover, the currency, and whether borrowed or shared items should appear. Use the person's room names.\n2. List each physical item once, by room. Link a wide shot and a close-up to the same item only when the evidence ties them together, such as a caption or a matching label. Two matching items are two rows, each with its own identifier.\n3. Copy legible model and serial strings exactly as shown, keeping leading zeroes, letters and separators. Leave the serial empty when the label is smudged, cropped or shows only a product family. Never fill it from a similar online photo or a guessed model.\n4. Attach a purchase price only from a receipt or order that names that item with its own amount. Do not split a bundle price across its members unless the receipt itemises it. Keep the receipt's currency, convert to pounds only with a rate the person supplies, and leave the sterling figure empty otherwise.\n5. Keep purchase cost, estimated current value and replacement cost as separate figures, each with its source and date. Do not turn a dated receipt into today's replacement cost.\n6. Mark ownership on each row when the evidence distinguishes owners, such as owned, borrowed or rented, in the person's own words.\n7. List every piece of evidence against its row in source order. Then build the reshoot list of items with no legible serial, and a separate list of items with no price evidence. Suggest keeping a copy of the list and evidence away from the home, for example online.\n\n## Checks before you deliver\n\n- Counting every photo as its own object duplicates items.\n- Inferring today's replacement value from a dated receipt disguises the age and basis of the number.\n- Splitting a bundle receipt evenly invents individual prices the receipt never shows.\n- Dropping a leading zero or guessing a smudged character makes the serial useless for a claim or a police report.\n- Converting a foreign-currency receipt at today's rate, or at a rate the person never gave, presents a guess as a purchase price.\n\n## How to present the result\n\nStart with a short count: items listed, items with a legible serial and items with a supported price. Then give a table by room with item, make and model, serial, purchase price and currency, ownership where relevant and the evidence IDs. End with the reshoot list and the receipts still worth finding, so the person can fill every gap in one pass.\n\n## Worked example\n\n**Request:** Catalogue the two items without counting the close-up twice.\n\n**Supplied material:**\n\n```text\nP1 lounge: television TV and speaker SP.\nP2 close-up of TV in P1: serial 00107.\nR1 receipt specifically for TV: \u00a3410.\nP3 close-up of SP: serial smudged. No price available.\n```\n\n**Answer:** Lounge TV, serial 00107, cost \u00a3410. The room photo P1, close-up P2 and receipt R1 belong to this entry.\nLounge speaker, shown in P1 and P3. Photograph the serial label again. Its purchase price is unknown.\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 items in first item order with id, room, serial (string or null), purchase_gbp (number or null) and proof (ordered list of matching source IDs). Return reshoot_serial as an array of item IDs missing a legible serial. Use only the described photos or receipts. If the sources distinguish owners, include ownership on each relevant row with the description given.\n\n## Sources\n\n- [NAIC: creating a home inventory](https:\/\/content.naic.org\/consumer\/homeowners-insurance.htm): The US insurance regulators' association advises photographing or filming each item, recording model and serial numbers, keeping receipts, noting both purchase price and estimated current value, and storing the inventory safely, for example online. This is why the skill keeps purchase price and current value apart.\n- [California Department of Insurance: home inventory guide](https:\/\/www.insurance.ca.gov\/01-consumers\/105-type\/95-guides\/03-res\/home-inv.cfm): The state regulator recommends dated photos or a video walk-through, keeping receipts and model numbers with the list, and storing copies outside the home, such as with a relative or at work. Both sources are US guides; the method is the same in the UK, but each policy's wording sets the valuation basis.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/build-home-contents-inventory\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\/build-home-contents-inventory\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# A wide shot and a label close-up\n\nCatalogue the two items without counting the close-up twice.\n\n## Supplied material\n\nP1 lounge: television TV and speaker SP.\nP2 close-up of TV in P1: serial 00107.\nR1 receipt specifically for TV: \u00a3410.\nP3 close-up of SP: serial smudged. No price available.\n\n## Worked answer\n\nLounge TV, serial 00107, cost \u00a3410. The room photo P1, close-up P2 and receipt R1 belong to this entry.\nLounge speaker, shown in P1 and P3. Photograph the serial label again. Its purchase price is unknown.\n\n## Reasoning\n\nThe close-up proves the serial for the same television. The speaker needs another photograph.\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":"Catalogue the two items without counting the close-up twice.\nReturn only the JSON specified in SKILL.md for this test.\n\nP1 lounge: television TV and speaker SP.\nP2 close-up of TV in P1: serial 00107.\nR1 receipt specifically for TV: \u00a3410.\nP3 close-up of SP: serial smudged. No price available.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"items\": [\n        {\n            \"id\": \"TV\",\n            \"room\": \"lounge\",\n            \"serial\": \"00107\",\n            \"purchase_gbp\": 410,\n            \"proof\": [\n                \"P1\",\n                \"P2\",\n                \"R1\"\n            ]\n        },\n        {\n            \"id\": \"SP\",\n            \"room\": \"lounge\",\n            \"serial\": null,\n            \"purchase_gbp\": null,\n            \"proof\": [\n                \"P1\",\n                \"P3\"\n            ]\n        }\n    ],\n    \"reshoot_serial\": [\n        \"SP\"\n    ]\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"The close-up proves the serial for the same television. The speaker needs another photograph.\n"},{"path":"tests\/case-2\/request.txt","content":"Make one record per physical lamp.\nReturn only the JSON specified in SKILL.md for this test.\n\nP4 bedroom: L1 and L2 matching lamps. P5 L1 label serial L80. P6 L2 label serial L81. R2 pair receipt: \u00a3100 together, no separate prices.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"items\": [\n        {\n            \"id\": \"L1\",\n            \"room\": \"bedroom\",\n            \"serial\": \"L80\",\n            \"purchase_gbp\": null,\n            \"proof\": [\n                \"P4\",\n                \"P5\",\n                \"R2\"\n            ]\n        },\n        {\n            \"id\": \"L2\",\n            \"room\": \"bedroom\",\n            \"serial\": \"L81\",\n            \"purchase_gbp\": null,\n            \"proof\": [\n                \"P4\",\n                \"P6\",\n                \"R2\"\n            ]\n        }\n    ],\n    \"reshoot_serial\": []\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"The receipt supports both items' provenance. It does not provide an individual purchase price.\n"},{"path":"tests\/case-3\/request.txt","content":"Which screens are mine, and what cost can I record in sterling?\nReturn only the JSON specified in SKILL.md for this test.\n\nP1 study: M1 owned, serial 0014. M2 borrowed, serial 0041. R1 receipt names both monitors together for EUR 240. No item prices or exchange rates.\n"},{"path":"tests\/case-3\/expected.json","content":"{\n    \"items\": [\n        {\n            \"id\": \"M1\",\n            \"room\": \"study\",\n            \"serial\": \"0014\",\n            \"purchase_gbp\": null,\n            \"proof\": [\n                \"P1\",\n                \"R1\"\n            ],\n            \"ownership\": \"owned\"\n        },\n        {\n            \"id\": \"M2\",\n            \"room\": \"study\",\n            \"serial\": \"0041\",\n            \"purchase_gbp\": null,\n            \"proof\": [\n                \"P1\",\n                \"R1\"\n            ],\n            \"ownership\": \"borrowed\"\n        }\n    ],\n    \"reshoot_serial\": []\n}\n"},{"path":"tests\/case-3\/explanation.txt","content":"Both screens are present. The receipt supports neither a separate price nor a GBP amount for either monitor.\n"}],"is_active":true,"is_approved":false}]}]}