← TDengine IDMPCONTENT HISTORY
WHAT CHANGED
Update to TDengine IDMP
Snapshot Nov 17, 2026 · 06:15 UTC · version 0.1.1
Collection source: downloaded plugin package.
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 JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "IDMP template skill for reading element templates, template attributes, sub-templates, trigger types, and create-safe names without mixing template mode with live element mode.",
"included_files": [
{
"relative_path": "references/template-read-flows.md",
"size_in_bytes": 1109
}
],
"name": "idmp-template",
"skill_md_contents": "---\nname: idmp-template\ndescription: \"IDMP template skill for reading element templates, template attributes, sub-templates, trigger types, and create-safe names without mixing template mode with live element mode.\"\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 template --help\"\n---\n\n# template\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` | List element templates. |\n| `+get` | Read one element template in detail. |\n| `+attributes` | Read attribute templates under one element template. |\n| `+levels` | Inspect available levels for path-style templates. |\n| `+keywords` | Read naming keyword guidance for the template family. |\n\n## Recommended reference\n\n- [`template read flows`](references/template-read-flows.md)\n- [`../idmp-workflow-analysis-create/SKILL.md`](../idmp-workflow-analysis-create/SKILL.md)\n\n## Missing context to resolve first\n\n| Context | Why it must be resolved before template-side create work |\n| --- | --- |\n| Final template owner | You need the exact `elementTemplateId` before you can read attributes, sub-templates, trigger types, or create-safe names. |\n| Trigger scope | Decide `applyOnSelf` and whether a child template must be selected before you reuse trigger-type results. |\n| Candidate analysis name | `analysis-template.analyses.new-name` requires a proposed `name`. |\n| Template output plan | Decide whether template attributes are reused or created fresh and which `valueType` they should carry. |\n\n## Constrained live behaviors\n\n- Do not mix template commands with live element commands; template mode and element mode use different owners and endpoints.\n- If `applyOnSelf=false`, reread `sub-templates` first and then refresh trigger types with the chosen child template scope.\n- `analysis-template.analyses.new-name` requires a candidate `name` and `--ack-risk`; `attr-template attributes new-name` only needs the owner scope.\n- `attr-template attributes new-name` does not require `--ack-risk`; reserve the name first, then use the later write path for the actual risk gate.\n- If the task must create a live analysis or alert under a real element, switch back to the element-mode workflows rather than forcing template endpoints.\n\n## Evidence of completion\n\n- A template lookup is only complete when the reread shows the intended `elementTemplateId`, keyword family, or trigger scope.\n- A template-side name reservation is only complete when the later create path keeps the same suggested name.\n- A child-scope decision is only complete when `sub-templates` and the final trigger-type reread still agree on the same template branch.\n\n## Template-mode rules\n\n- Use template commands only; do not substitute live element commands.\n- Read attribute templates, sub-templates, and trigger types before building template-side analysis or attribute changes.\n- Trigger type choices change when `applyOnSelf` changes.\n- Use `new-name` before creating template attributes or template analyses.\n\n## Key commands\n\n```bash\nidmp-cli schema template.elements.list\nidmp-cli template elements list --params '{\"current\":1,\"size\":20}'\n\nidmp-cli schema template.elements.get\nidmp-cli template elements get --params '{\"elementTemplateId\":123}'\n\nidmp-cli schema attr-template.elements.attributes\nidmp-cli attr-template elements attributes --params '{\"elementTemplateId\":123}'\n\nidmp-cli schema template.elements.sub-templates\nidmp-cli template elements sub-templates --params '{\"elementTemplateId\":123}'\n\nidmp-cli analysis-template trigger-types list --params '{\"elementTemplateId\":123,\"applyOnSelf\":false}'\nidmp-cli analysis-template analyses new-name --ack-risk --params '{\"elementTemplateId\":123,\"name\":\"demo-analysis\"}'\nidmp-cli attr-template attributes new-name --params '{\"elementTemplateId\":123}'\n```\n\n## Exception and failure handling\n\n- If you only have an `elementId`, verify that the task is not really live element work before switching to template mode.\n- If `sub-templates` is empty, child-scope analysis options are not available for that template.\n- If `applyOnSelf` changes, re-read trigger types before reusing an earlier choice.\n- If `new-name` suggests a different value, use the suggested name instead of forcing a duplicate.\n- If a template is missing, renamed, or access is denied, refresh the list and session before attempting template writes.\n\n## Validation scenarios\n\n1. List available templates with `idmp-cli schema template.elements.list` and `idmp-cli template elements list --params '{\"current\":1,\"size\":20}'`.\n2. Read one template with `idmp-cli schema template.elements.get` and `idmp-cli template elements get --params '{\"elementTemplateId\":123}'`.\n3. Read template attributes with `idmp-cli attr-template elements attributes --params '{\"elementTemplateId\":123}'`.\n4. Check child-scope analysis readiness with `idmp-cli template elements sub-templates --params '{\"elementTemplateId\":123}'` and `idmp-cli analysis-template trigger-types list --params '{\"elementTemplateId\":123,\"applyOnSelf\":false}'`.\n5. Reserve create-safe names with `idmp-cli analysis-template analyses new-name --ack-risk --params '{\"elementTemplateId\":123,\"name\":\"demo-analysis\"}'` and `idmp-cli attr-template attributes new-name --params '{\"elementTemplateId\":123}'`.\n"
}SHA-256 of public snapshot: 619ae3e64046ca85c31f519f7221e95d3a2982563444b2b01e4501eb7a95824b