← Real-Time LCACONTENT HISTORY

Update to Real-Time LCA

Snapshot Nov 16, 2026 · 18:12 UTC · version 3.0.2

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Real-Time LCA and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Use when a user asks to insert, import, add, or load material quantities into an RTLCA project inventory from a file, spreadsheet, CSV, pasted table, or screenshot (quantity takeoff, standard values list, manual bill of materials). Parses rows into name, group, quantity, unit, count, lifetime and include flag, resolves declared units, skips duplicates, confirms the batch with the user, creates the materials with rtlca_create_inventory_materials in one call, and verifies them with rtlca_get_inventory_materials.",
  "included_files": [
    {
      "relative_path": "agents/openai.yaml",
      "size_in_bytes": 487
    }
  ],
  "name": "rtlca-import-inventory-quantities",
  "skill_md_contents": "---\nname: rtlca-import-inventory-quantities\ndescription: >-\n  Use when a user asks to insert, import, add, or load material quantities into\n  an RTLCA project inventory from a file, spreadsheet, CSV, pasted table, or\n  screenshot (quantity takeoff, standard values list, manual bill of\n  materials). Parses rows into name, group, quantity, unit, count, lifetime and\n  include flag, resolves declared units, skips duplicates, confirms the batch\n  with the user, creates the materials with rtlca_create_inventory_materials in\n  one call, and verifies them with rtlca_get_inventory_materials.\n---\n\n# RTLCA Import Inventory Quantities\n\nUse this skill to turn a quantity table into RTLCA project inventory materials. It creates inventory rows only. It does not map them to EPDs. For mapping, use the `rtlca-map-material` skill afterwards.\n\n`rtlca_create_inventory_materials` is not idempotent. Calling it twice creates duplicates. Confirm the batch with the user, call it once, and verify.\n\n## Inputs\n\n| Input | Required | Where it comes from |\n| --- | --- | --- |\n| RTLCA `projectId` | yes | The conversation, or `rtlca_list_projects` matched by name |\n| The table | yes | ACC/Forma file (see Reading a File from ACC/Forma), uploaded file, pasted text, or screenshot |\n| `branchName` | yes | Ask the user. Suggest the file name without extension, or `Manual`. Use one value for all rows of one file. |\n\n## Reading a File from ACC/Forma\n\nDo not browse folders to find the file. If the user has not given the file, ask for its ACC/Forma link first.\n\nFrom a link such as `https://acc.autodesk.com/build/files/projects/<guid>?folderUrn=...&entityId=<urn>`:\n\n- `projectId` = `b.` + `<guid>`\n- `itemId` = `entityId`, URL-decoded (`urn:adsk.wipprod:dm.lineage:...`)\n- Ignore `folderUrn`, `viewModel`, `moduleId`, `viewableGuid`.\n\nThen read the file in exactly two calls:\n\n1. `aps_read_file` with `projectId`, `itemId` (default `detail: \"summary\"`). Take the sheet name and `rowCount`. The summary holds only 5 sample rows. Never build entries from it.\n2. `aps_read_file` with `detail: \"rows\"` and that `sheet`. This returns up to 500 rows.\n\n## Column Mapping\n\nTypical layout (the header row is often missing):\n\n| Column | Example | Maps to |\n| --- | --- | --- |\n| Name | `Bundplade (Generic FundamentBundplade)` | `materialIdentifier` (full text as written) |\n| Group | `Fundament` | `typeIdentifier`. If empty, use the name without the parenthesis part (`Afløb (StandardværdierAfløb)` gives `Afløb`). |\n| Quantity | `2,096.36` | `declaredUnitValuePairs[0].value` |\n| Unit | `m²` | `declaredUnitValuePairs[0].declaredUnit` (enum, see Units) |\n| Count | `8` | `materialCount` |\n| Lifetime | `50` | `lifetime` (years) |\n| Include | `Yes` | Create the row only when `Yes`. List the skipped rows in the summary. |\n\nIf headers exist, use them. If they do not, show the assumed mapping to the user in the confirmation step. Never guess silently between count and lifetime.\n\n## Rules\n\n1. Numbers: detect the separator style per file. `10,154.00` is 10154 (comma for thousands). `10.154,00` is 10154 (Danish style). Never round.\n2. Units: call `rtlca_get_reference_data` with `type: \"declared-units\"` once. Map `m²`/`m2` to M2, `m³`/`m3` to M3, `m`/`lbm` to M, `kg` to KG, `t`/`ton` to T, `stk`/`pcs` to PCS. Set `preferred: true`. Stop and ask on any unit without a match.\n3. Skip rows with quantity 0 or empty, and report them.\n4. Required fields on every entry: `includeMapping: true`, `tags: []`, `speckleUserParameters: {}`.\n5. Duplicates: before writing, call `rtlca_get_inventory_materials` with `model: [branchName]` and `detail: \"detailed\"` (limit 200, follow `nextOffset`). A row is a duplicate when `identifier` and `typeIdentifier` both match. Ask the user whether to skip it or create it anyway. To change an existing row, use `rtlca_update_material_properties` instead.\n6. Never call `rtlca_create_inventory_materials` before the user approves the exact list.\n7. Row count check: the number of entries must equal the number of included rows in the file minus the skipped rows. If it differs, stop and list the missing rows.\n8. Call `rtlca_create_inventory_materials` at most once per file. If it fails, read the inventory before any second call and send only the missing rows.\n\n## Workflow\n\n1. Resolve the RTLCA project and `branchName`.\n2. Parse the table into rows. Apply Rules 1 to 3.\n3. Resolve units (Rule 2) and check duplicates (Rule 5).\n4. Show the user a compact table: name, group, quantity, unit, count, lifetime, plus the skipped and duplicate rows with the reason. Ask for approval.\n5. Call `rtlca_create_inventory_materials` once with all approved rows:\n\n   ```json\n   {\n     \"projectId\": \"<rtlca-project-uuid>\",\n     \"entries\": [\n       {\n         \"branchName\": \"Standardværdier\",\n         \"typeIdentifier\": \"Fundament\",\n         \"materialIdentifier\": \"Bundplade (Generic FundamentBundplade)\",\n         \"includeMapping\": true,\n         \"lifetime\": 50,\n         \"materialCount\": 8,\n         \"declaredUnitValuePairs\": [{ \"declaredUnit\": <M2 enum>, \"value\": 2096.36, \"preferred\": true }],\n         \"tags\": [],\n         \"speckleUserParameters\": {}\n       }\n     ]\n   }\n   ```\n\n6. Verify: call `rtlca_get_inventory_materials` with `model: [branchName]` and `detail: \"detailed\"`. Check each approved row exists once with the right quantity, unit and lifetime. Do not retry the create call for rows that exist.\n7. Report: created count, skipped rows with reasons, any mismatch. Offer to map the new materials with `rtlca-map-material`.\n\n## Errors\n\n| Error | Action |\n| --- | --- |\n| Not authenticated | Tell the user to reconnect the Real-Time LCA connector. Do not retry in a loop. |\n| Validation error on a field | Fix the named entry and resend only the entries missing after a verify read. |\n| Create call times out or returns no data | Verify with `rtlca_get_inventory_materials` before any retry. The rows may exist already. |\n"
}

SHA-256 of public snapshot: 5b5505e3603b573e5e536bd61989c93f1a000c83e5aa2800cb8117d71af10780