← TDengine IDMPCONTENT HISTORY

Update to TDengine IDMP

Snapshot Nov 17, 2026 · 06:15 UTC · version 0.1.1

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save TDengine IDMP 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": "IDMP element skill for locating elementId, resolving business-root paths, browsing children, and preparing downstream analysis or panel work.",
  "included_files": [
    {
      "relative_path": "references/idmp-element-get.md",
      "size_in_bytes": 601
    },
    {
      "relative_path": "references/idmp-element-list.md",
      "size_in_bytes": 869
    },
    {
      "relative_path": "references/idmp-element-search.md",
      "size_in_bytes": 753
    },
    {
      "relative_path": "references/idmp-element-tree.md",
      "size_in_bytes": 802
    }
  ],
  "name": "idmp-element",
  "skill_md_contents": "---\nname: idmp-element\ndescription: \"IDMP element skill for locating elementId, resolving business-root paths, browsing children, and preparing downstream analysis or panel work.\"\nmetadata:\n  author: \"TAOS Data\"\n  version: \"0.4.1\"\n  owner_team: \"AI\"\n  requires:\n    bins:\n      - idmp-cli\n  cliHelp: \"idmp-cli element --help\"\n---\n\n# element\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n**Before any write:** Follow the [🛑 Destructive op confirmation protocol](../idmp-shared/SKILL.md#-destructive-op-confirmation-mandatory). Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.\n\n\n## Recommended shortcuts\n\n| Shortcut | Purpose |\n|----------|---------|\n| [`+list`](references/idmp-element-list.md) | Browse elements under the current `parentId`. |\n| [`+get`](references/idmp-element-get.md) | Confirm one element after search or path lookup. |\n| [`+tree`](references/idmp-element-tree.md) | Inspect child nodes and tree structure. |\n| [`+search`](references/idmp-element-search.md) | Find elements by keyword, root, or parent filters. |\n\n## What this skill solves\n\n- Find a reliable `elementId` before downstream create or update work.\n- Resolve the full path so `rootElementId` comes from the business root, not from the current leaf element. Proof: pair `element elements path` with `element fullpath get` and confirm the root is a first-level owner or an explicitly confirmed ancestor.\n- Reverse-check a resolved path with `by-path` before handing it to another workflow.\n- Read child templates before hierarchy-based analysis or panel work.\n- Discover the current shared first-level root from live reads instead of assuming a historical `demo` tree is still present.\n- Distinguish plain container create from template-backed create before downstream analysis, panel, or alert workflows.\n\n## Element create paths\n\n- `element.elements.create` is for plain container elements. Use it when you need a parent node without template-backed metrics.\n- `element.new.create` is for template-backed elements. Use it when the payload needs `templateId` and `keywordValues`.\n- If the template is keyword-backed, confirm the upstream source table already exists before treating the new element as data-bearing.\n\n## Evidence of completion\n\n- A container create is only complete after `element elements get` or `element elements list` rereads the new node under the intended parent.\n- A path-resolution task is only complete after `element elements path`, `element fullpath get`, and `element by-path list` agree on the same root-to-leaf record.\n- A template-backed create is only complete after reread proves the final template binding and keyword values survived the write.\n\n## Key commands\n\n```bash\nidmp-cli schema element.elements.search\nidmp-cli element elements search --params '{\"keyword\":\"Chaoyang\",\"current\":1,\"limitSize\":20}'\n\nidmp-cli schema element.elements.path\nidmp-cli element elements path --params '{\"elementId\":123}'\n\nidmp-cli schema element.fullpath.get\nidmp-cli element fullpath get --params '{\"rootElementId\":100,\"elementId\":123}'\n\nidmp-cli schema element.by-path.list\nidmp-cli element by-path list --params '{\"elementPath\":\"Utilities/Beijing/Chaoyang/Device-A\"}'\n\nidmp-cli schema element.elements.sub-templates\nidmp-cli element elements sub-templates --params '{\"elementId\":123}'\n\nidmp-cli schema element.elements.create\nidmp-cli element elements create --dry-run --ack-risk --data '{\"name\":\"sandbox-parent\",\"parentElementId\":123,\"referenceType\":\"ParentChild\"}'\n\nidmp-cli schema element.new.create\nidmp-cli template +keywords 456\nidmp-cli element new create --dry-run --ack-risk --data '{\"parentElementId\":123,\"referenceType\":\"ParentChild\",\"templateId\":456,\"keywordValues\":{\"<TEMPLATE_KEY>\":\"<existing-source-keyword-value>\"},\"force\":true}'\n```\n\n## Recommended sequence\n\n```bash\nidmp-cli element elements search --params '{\"keyword\":\"Chaoyang\",\"current\":1,\"limitSize\":20}'\nidmp-cli element elements path --params '{\"elementId\":123}'\nidmp-cli element fullpath get --params '{\"rootElementId\":100,\"elementId\":123}'\nidmp-cli element by-path list --params '{\"elementPath\":\"Utilities/Beijing/Chaoyang/Device-A\"}'\nidmp-cli element elements get --params '{\"elementId\":123}'\nidmp-cli element elements sub-templates --params '{\"elementId\":123}'\n```\n\n## Exception and failure handling\n\n- If search returns no rows, widen the keyword or add parent/root filters; do not guess IDs.\n- If several elements share similar names, always confirm with `path` and `get` before handing the ID to another workflow.\n- If `fullpath` and `by-path` do not round-trip to the same record, stop and resolve the correct business path before any write.\n- If the path is incomplete or the business root is unclear, stop before any write that needs `rootElementId`. Treat the path as unclear when no first-level owner is visible or the `path -> fullpath -> by-path` roundtrip lands on different nodes.\n- If a historical `demo` root is absent, start from `element elements list`, then resolve the currently visible first-level root and reuse that real tree for temporary owners.\n- If `sub-templates` is empty, hierarchy-based analysis or panel options may not be available; switch to self scope or choose another element.\n- If the write needs `templateId` or `keywordValues`, do not use `element.elements.create`; switch to `element.new.create`.\n- If auth or permission checks fail while browsing, repair the session before attempting risky commands.\n\n## Validation scenarios\n\n1. Search by keyword with `idmp-cli schema element.elements.search` and `idmp-cli element elements search --params '{\"keyword\":\"Chaoyang\",\"current\":1,\"limitSize\":20}'`.\n2. Resolve the business-root path with `idmp-cli schema element.elements.path`, then read the root-to-leaf name path with `idmp-cli element fullpath get --params '{\"rootElementId\":100,\"elementId\":123}'`.\n3. Reverse-check the path with `idmp-cli element by-path list --params '{\"elementPath\":\"Utilities/Beijing/Chaoyang/Device-A\"}'`, then confirm the selected record with `idmp-cli element elements get --params '{\"elementId\":123}'`.\n4. Check hierarchy readiness with `idmp-cli schema element.elements.sub-templates` and `idmp-cli element elements sub-templates --params '{\"elementId\":123}'`.\n5. Verify downstream ownership by reading `idmp-cli analysis analyses list --params '{\"elementId\":123,\"current\":1,\"size\":20}'`, then distinguish create paths with `idmp-cli element elements create --dry-run --ack-risk --data '{\"name\":\"sandbox-parent\",\"parentElementId\":123,\"referenceType\":\"ParentChild\"}'` for a plain container and `idmp-cli element new create --dry-run --ack-risk --data '{\"parentElementId\":123,\"referenceType\":\"ParentChild\",\"templateId\":456,\"keywordValues\":{\"<TEMPLATE_KEY>\":\"<existing-source-keyword-value>\"},\"force\":true}'` for a template-backed element.\n"
}

SHA-256 of public snapshot: 1f8b464f4bbf5d74f85058e716f2b4972ba04b0d4d038a06358b68c0c6d6445d