Evolving The Data Model
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
性能类采集与主机 IO:ASH、AWR、perf 火焰图、sysstat、磁盘 IO。在用户说卡顿、慢、会话堆积、要看 ASH/AWR/火焰图或主机负载时使用;与 observer-sql-analysis、observer-log-analysis 互补。
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install oceanbase/obdiag obdiag-performance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .claude/skills/obdiag-performance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .claude/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install oceanbase/obdiag obdiag-performance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .agents/skills/obdiag-performance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .agents/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install oceanbase/obdiag obdiag-performance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .cursor/skills/obdiag-performance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .cursor/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/oceanbase/obdiag.git --path plugins/agent/skills/obdiag-performance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install oceanbase/obdiag obdiag-performance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .gemini/skills/obdiag-performance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .gemini/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install oceanbase/obdiag obdiag-performanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .github/skills/obdiag-performance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .github/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oceanbase/obdiag --skill obdiag-performance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install oceanbase/obdiag obdiag-performance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/agent/skills/obdiag-performance .opencode/skills/obdiag-performance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "obdiag-performance" agent skill from https://github.com/oceanbase/obdiag/tree/master/plugins/agent/skills/obdiag-performance into .opencode/skills/obdiag-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obdiag-performance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
obdiag-performance性能类采集与主机 IO:ASH、AWR、perf 火焰图、sysstat、磁盘 IO。在用户说卡顿、慢、会话堆积、要看 ASH/AWR/火焰图或主机负载时使用;与 observer-sql-analysis、observer-log-analysis 互补。
Obdiag Performance is an agent skill from oceanbase/obdiag. 性能类采集与主机 IO:ASH、AWR、perf 火焰图、sysstat、磁盘 IO。在用户说卡顿、慢、会话堆积、要看 ASH/AWR/火焰图或主机负载时使用;与 observer-sql-analysis、observer-log-analysis 互补。
Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering SQL. It works with SQL. The repository describes itself as: obdiag (OceanBase Diagnostic Tool) is designed to help OceanBase users quickly gather necessary information and analyze the root cause of the problem.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e912c58. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Obdiag Performance loads about 642 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 161 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (MulanPSL-2.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 161 words (~642 tokens).
Just SKILL.md in plugins/agent/skills/obdiag-performance of oceanbase/obdiag.
Open the folder on GitHubat commit e912c58
Obdiag Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Obdiag Performance this skilloceanbase/obdiag | 163 | — | ~642 | Automated safety check: Pass | MulanPSL-2.0 | |
| Evolving The Data ModelTriliumNext/Trilium | 38k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Orchardcore Data MigrationOrchardCMS/OrchardCore | 8.2k | — | ~1.7k | Automated safety check: Pass | BSD-3-Clause | |
| SQL Optimization Patternsynulihao/AgentSkillOS | 617 | 11 repos | ~3.3k | Automated safety check: Pass | None | |
| SQL PortabilityHL7/sql-on-fhir | 150 | — | ~512 | Automated safety check: Pass | Custom licence | |
| StmoSAP/project-foxhound | 180 | 2 repos | ~1.8k | Automated safety check: Pass | GPL-3.0 |
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
OrchardCMS/OrchardCore
Creates and updates OrchardCore data migrations (DataMigration classes with CreateAsync/UpdateFromX).
ynulihao/AgentSkillOS
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.
HL7/sql-on-fhir
Analyse whether a SQL query is portable across database implementations using sqlglot transpilation.
SAP/project-foxhound
Manage Redash queries and dashboards on Mozilla's STMO (sql.telemetry.mozilla.org) using stmo-cli.
kurealnum/dotfiles
A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…
oceanbase/obdiag
备份、日志归档、物理恢复、恢复时间窗、NFS/OSS/COS 归档路径、对象存储权限、备租户恢复源、obadmin 读取归档位点、oblogminer schemameta 等问题;OMS 迁移同步问题不使用本 skill。
oceanbase/obdiag
OceanBase 集群所有根因分析场景的统一 SOP。覆盖事务超时/回滚/断连、内存不足、合并卡住、日志盘满、DDL 失败、Schema 泄漏、GC 异常、弱一致性读、OMS 等。始终先执行 rcarun,如 RCA 脚本无法给出结论再按本 skill 降级到手动日志采集分析。
oceanbase/obdiag
未知/未分类问题的统一分诊 SOP:用户描述集群异常但症状不明确、不知从何入手,或问题无法直接对应 rca/observer-log-analysis/observer-sql-analysis 等专项 skill 时,强制先执行全量巡检 checkcluster,再根据巡检结果决定下一步路径。
oceanbase/obdiag
obdiag agent 工具使用指南:配置文件生成、gather/analyze/check/rca 各命令的调用方式、参数说明与典型场景。用户询问"怎么用 obdiag"、"如何采集日志"、"怎么生成配置"、"如何巡检/根因分析",或 agent 自身不确定该调哪个工具时加载本 skill。
oceanbase/obdiag
标准 SOP:OBProxy 日志采集(gatherobproxylog)、包内解读(filelist/fileread/runshell 解压)、可选巡检。用户提到 OBProxy/代理/obproxydiagnosis 等时使用;与 observer 侧 observer-log-analysis 互斥 analyzelog。
oceanbase/obdiag
OBProxy/ODP 连接解析、弱读与只读副本路由、读写分离、分区键解析、SHOW CREATE 兼容、getlock、cluster not exist、2013、Unknown thread id、新建表经代理慢等路由配置类问题;日志采集解读使用 obproxy-log-analysis。
Works with
Categories
性能类采集与主机 IO:ASH、AWR、perf 火焰图、sysstat、磁盘 IO。在用户说卡顿、慢、会话堆积、要看 ASH/AWR/火焰图或主机负载时使用;与 observer-sql-analysis、observer-log-analysis 互补。. Obdiag Performance is an agent skill from oceanbase/obdiag.
Obdiag Performance fits situations like: tasks that involve SQL.
Run `npx skills add oceanbase/obdiag --skill obdiag-performance -a claude-code`. Or copy the skill folder (plugins/agent/skills/obdiag-performance in oceanbase/obdiag) into .claude/skills/obdiag-performance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add oceanbase/obdiag --skill obdiag-performance -a codex`. Or copy the skill folder (plugins/agent/skills/obdiag-performance in oceanbase/obdiag) into .agents/skills/obdiag-performance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oceanbase/obdiag --skill obdiag-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/obdiag-performance, .gemini/skills/obdiag-performance, .github/skills/obdiag-performance and .opencode/skills/obdiag-performance in your project.
SKILL.md names no scripts, command-line tools or credentials: Obdiag Performance is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Obdiag Performance is published under the MulanPSL-2.0 licence (the repository's licence).
About 642 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Obdiag Performance: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Orchardcore Data Migration (OrchardCMS/OrchardCore, 8.2k stars), SQL Optimization Patterns (ynulihao/AgentSkillOS, 617 stars) and SQL Portability (HL7/sql-on-fhir, 150 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
oceanbase (a GitHub organization) maintains it in oceanbase/obdiag, which has 163 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on May 19, 2026.
Source: oceanbase/obdiag on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.