datamodel-gen

datamodel-gen is a skill for Cursor from opsrobot-ai/opsrobot. It costs 0 tokens per session (172 once invoked), scanned A, original, Apache-2.0.

A skill for generating three-part Markdown documentation for a data set: basic information, data fields, and usage examples.

In plain words
What is it for?
It is for documenting table columns, expanding fields stored as JSON strings, and writing Doris query examples.
Why use it?
It organizes database details, field examples, and query instructions in one predictable document.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: built for openclaw.

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/opsrobot-ai/opsrobot/datamodel-gen
Any agent
npx skills add opsrobot-ai/opsrobot --skill datamodel-gen
Clone the repo
git clone --depth 1 https://github.com/opsrobot-ai/opsrobot

Made for: Cursor.

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 datamodel-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/opsrobot-ai/opsrobot/datamodel-gen.svg)](https://agentmods.dev/skills/opsrobot-ai/opsrobot/datamodel-gen)
Your own site
<a href="https://agentmods.dev/skills/opsrobot-ai/opsrobot/datamodel-gen"><img src="https://agentmods.dev/badge/skills/opsrobot-ai/opsrobot/datamodel-gen.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 172 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00172
Opus 5 $0.00000 $0.00086
Sonnet 5 $0.00000 $0.00034
Haiku 4.5 $0.00000 $0.00017

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

Security

Grade A, and why

datamodel-gen scanned grade A with 0 findings 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.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/datamodel-gen/SKILL.md · 5 lines

What it actually says

生成三个一级标题内容:基本信息、数据字段、使用示例 1.基本信息包括: 数据名称、原始路径(OpenClaw原始数据来源)、数据内容、数据库、数据表、用途定位、应用场景, 表格形式展示 2.数据字段包括两个子标题:数据表列和JSON扩展字段

  • 数据表列: 以表格形式展示该数据表的列信息,包括字段名称、字段类型、字段说明、字段示例
  • JSON扩展字段: 如果列是JSON字符串,需要将JSON中的字段平铺展示出来。 格式为字字段路径、字段类型、字段说明、字段示例; 3.使用示例: 包括数据表列查询和JSON扩展字段的查询示例(使用Doris查询语法)
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 · 5 lines · 0 tokens per session scan A 780b894f2219

Subscribe to this mod's changes

datamodel-gen is a skill published in the GitHub repository opsrobot-ai/opsrobot (135 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 172 tokens. A static security scan graded it A with 0 findings. 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

datadog

Full-stack observability with Datadog APM, logs, metrics, synthetics, and RUM. Use when implementing monitoring, tracing, alerting, or cost optimization for production systems.

bobmatnyc/claude-mpm-skills · 43 tokens

monitoring-expert

Expert-level monitoring and observability with Prometheus, Grafana, logging, and alerting. Use when the user mentions observability, Prometheus, Grafana, logging, metrics, or alerting, or when the task involves The Three Pillars of Observability, Monitoring Fundamentals, Prometheus Configuration, or Alert Rules.

personamanagmentlayer/pcl · 70 tokens

observability-testing-patterns

Observability and monitoring validation patterns for dashboards, alerting, log aggregation, APM traces, and SLA/SLO verification. Use when testing monitoring infrastructure, dashboard accuracy, alert rules, or metric pipelines.

summarybotng/summarybot-ng · 47 tokens

Observability & Monitoring

Structured logging, metrics, distributed tracing, and alerting strategies.

ArieGoldkin/ai-agent-hub · 17 tokens

gh-issue

Size-audit, write, and split BanyanDB issues that somebody else or an automated TDD workflow can implement. Use whenever the user asks to file or revise an issue, decide whether an issue is too large, make an issue TDD-ready, turn a design into tickets, or split an umbrella into executable leaves. Do not draft or file…

apache/skywalking-banyandb · 91 tokens

gh-pull-request

Create a GitHub pull request for SkyWalking BanyanDB. Use when the user asks to create a PR, submit changes, or open a pull request.

apache/skywalking-banyandb · 37 tokens