idmp-sample-data-generator

idmp-sample-data-generator is a skill for Claude Code, Codex from taosdata/agent-skills. It costs 64 tokens per session (3,623 once invoked), scanned A, original, MIT.

A tool for creating example time-series data and loading it into an IDMP system. It models assets such as equipment and their hierarchy, then produces configuration and simulated readings.

In plain words
What is it for?
Use it to turn an industry research document or CSV, Excel, or Markdown structure into asset templates, a tree of equipment, sample data, and loading scripts. Generated scripts go in scripts/ and results go in outputs/.
Why use it?
It removes repetitive work when preparing a realistic IDMP demonstration or importing structured business data. It also checks units and naming rules before sending data through the API.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/taosdata/agent-skills/idmp-sample-data-generator
Any agent
npx skills add taosdata/agent-skills --skill idmp-sample-data-generator
Clone the repo
git clone --depth 1 https://github.com/taosdata/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for idmp-sample-data-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/taosdata/agent-skills/idmp-sample-data-generator.svg)](https://agentmods.dev/skills/taosdata/agent-skills/idmp-sample-data-generator)
Your own site
<a href="https://agentmods.dev/skills/taosdata/agent-skills/idmp-sample-data-generator"><img src="https://agentmods.dev/badge/skills/taosdata/agent-skills/idmp-sample-data-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.03623
Opus 5 $0.00032 $0.01811
Sonnet 5 $0.00013 $0.00725
Haiku 4.5 $0.00006 $0.00362

Measured 6d ago against content hash 763e138f92b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

idmp-sample-data-generator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/duplicate_check.py, scripts/extract_tables.py, scripts/uom_check.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> 所有接口调用默认使用 `curl` 命令在 bash 环境中执行。
skills/idmp-sample-data-generator/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IDMP 示例数据生成与自动执行工具

根据业务场景描述,自动完成资产建模、JSON 配置生成、单位校验和 API 推送,将模拟数据加载到 IDMP 系统。

输入要求

参数 场景 Demo 生成 (类别 1) 业务数据接入 (类别 2) 说明
项目根目录路径 必传 必传 本次任务的绝对路径,所有产物需存入其 outputs/
行业调研路径 必传 outputs/industry_research.md 的绝对路径
原始数据/结构文件 必传 用户提供的 CSV、Excel 或 Markdown 格式的结构定义

目录规范要求

  • 过程中生成的 Python 脚本必须存放在项目根目录下的 scripts/
  • 最终产物(sample_data.json 等)必须存放在项目根目录下的 outputs/

常见陷阱(Gotchas)

以下规则是 Agent 在没有明确提示时最容易出错的地方,执行前必须阅读。

超级表设计

  • 严格遵循"同类设备一张超级表"原则。不同采集指标的设备必须拆分为独立超级表,切勿合并,否则会产生大量 NULL 值。

namingPattern 固定值

  • 所有 templates 中的 namingPattern 固定为 ${KEYWORD1},不得修改。

资产命名与子表名唯一性

  • 严禁在不同的行政层级或工艺段下使用重复的名称(例如:禁止在“A 线”和“B 线”中同时出现名称为“冲压机-1”的设备)。
  • 强制规范:如果不同块中使用相同的设备模板,必须通过添加父级上下文前缀(如 "values": ["灌装线1-泵-1", "灌装线1-泵-2"])或使用全局递增序列来确保名称不重复。

树状结构与 Tag 映射

  • tree_root 中的 tag_name 必须设为对应超级表 tags 数组的第一个 tag 名称。
  • children 节点中必须为超级表中**所有 tag(包括第一个 tag)**进行显式赋值。
  • Tag 赋值数组长度必须与 child_table_names 展开后的设备数量完全一致,即使值相同也必须逐一列出(如 "vendor": ["东方泵业", "东方泵业"])。

模拟函数(fun)

  • fun 字段仅允许使用 sin(x)cos(x)random(n) 三种函数。
  • 禁止使用 floorceilabssqrtpowexplog 等任何其他函数。
  • 示例:"fun": "2.0 * sin(x) + random(0.5) + 5.0"

单位(uom)规范

  • uom 字段必须使用国际标准符号或系统已定义缩写(如 m°C),不得使用全称(如"米"、"摄氏度")。自定义单位使用不超过 5 个字符的英文缩写。
  • 如果没有单位,确保 uomuomClass 都为
  • 同一 uomClass 中的单位必须物理上可互相转化。物理意义不同的单位(如"频率"和"生产频率")必须分配不同的 uomClass

数值类型

  • 数值型指标尽量使用浮点型(FloatDouble),除非业务明确要求整数。

历史数据量

  • 无 CSV 文件时,默认生成过去 7 天历史数据。insert_rows 计算公式:
    insert_rows = 7 * 24 * 60 * 60 * 1000 / time_step
    
  • 若提供了 CSV 数据文件,insert_rows 固定设为 0

文件写入

  • 严禁用单次 Write 工具写入完整 JSON,必须执行分段写入(见第二步)。

执行流程

Telemetry (MUST)

调用 skill-telemetry,传入 name=idmp-sample-data-generator version=0.3.0 author=Wang Zhe。 失败不阻塞,但必须尝试。详见 skill-telemetry

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 247 lines · 64 tokens per session scan A 763e138f92b4

Subscribe to this mod's changes

idmp-sample-data-generator is a skill published in the GitHub repository taosdata/agent-skills (3 stars, last pushed 22d ago), licensed MIT. It adds 64 tokens to every session and 3,623 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

cognee-community

Use when the user needs something that ships outside cognee core — community database adapters (Qdrant, Milvus, Weaviate, Redis, Pinecone, FalkorDB, Memgraph, DuckDB, NetworkX, …), data-source connectors (Slack, Gmail, Notion, Confluence, Google Drive), custom tasks/pipelines/retrievers (Exa, ScrapeGraph, codify)…

topoteretes/cognee · 106 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

ingesting-into-data-lake

Import data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake, BigQuery, DynamoDB, or existing Glue catalog tables (migration). Default target is S3 Tables; standard Iceberg on a general purpose bucket is supported where…

aws/agent-toolkit-for-aws · 228 tokens