Agent skill

Obproxy Log Analysis

by oceanbase in oceanbase/obdiag

标准 SOP:OBProxy 日志采集(gatherobproxylog)、包内解读(filelist/fileread/runshell 解压)、可选巡检。用户提到 OBProxy/代理/obproxydiagnosis 等时使用;与 observer 侧 observer-log-analysis 互斥 analyzelog。

MulanPSL-2.0Auto-check passedBusiness, Finance & HR

Install Obproxy Log Analysis

skills CLI
$ npx skills add oceanbase/obdiag --skill obproxy-log-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oceanbase/obdiag obproxy-log-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oceanbase/obdiag.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/agent/skills/obproxy-log-analysis .claude/skills/obproxy-log-analysis && rm -rf skills-src

Use ~/.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/

Facts

Skill name
obproxy-log-analysis
GitHub stars
163
Token cost
~945 tokens
SKILL.md length
250 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MulanPSL-2.0

At a glance

标准 SOP:OBProxy 日志采集(gatherobproxylog)、包内解读(filelist/fileread/runshell 解压)、可选巡检。用户提到 OBProxy/代理/obproxydiagnosis 等时使用;与 observer 侧 observer-log-analysis 互斥 analyzelog。

  • Works in 3 steps: 采集(需要从新从机器拉日志时) → 解读已采集的包(用户说「分析 / 解读 / 看看」且已有采集目录时) → 结构化巡检(可选)
  • Tasks that involve Operations and SOPs
  • SKILL.md covers 与 observer 日志的区别, 使用场景, 同一轮对话内链式完成(重要) and 推荐流程, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Obproxy Log Analysis is an agent skill from oceanbase/obdiag. 标准 SOP:OBProxy 日志采集(gatherobproxylog)、包内解读(filelist/fileread/runshell 解压)、可选巡检。用户提到 OBProxy/代理/obproxydiagnosis 等时使用;与 observer 侧 observer-log-analysis 互斥 analyzelog。

Its SKILL.md is about 950 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 Business, Finance & HR, covering Operations and SOPs. 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.

When your agent uses it

  • Tasks that involve Operations and SOPs

Example prompts

  • “/obproxy-log-analysis”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 采集(需要从新从机器拉日志时)
  2. 解读已采集的包(用户说「分析 / 解读 / 看看」且已有采集目录时)
  3. 结构化巡检(可选)

What it can do on your machine

Read from SKILL.md and the folder at commit e912c58. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Obproxy Log Analysis loads about 945 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 250 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~945

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (MulanPSL-2.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 250 words (~945 tokens).

“模型常在 gather_obproxy_log 成功后就说「采集完成」并结束本轮,不会自动再调 file_list / file_read。若用户一句里包含 采集 + 分析/解读,或明确要 分析 OBProxy 日志,必须在 同一轮 agent 运行里 连续调用工具:gather_obproxy_log → file_list(采集输出目录)→ file_read(相关文件)→ 最后再用自然语言总结。仅当用户只要采集、不要解读时,才可以 gather 后直接回复。”

— opening of SKILL.md by oceanbase, MulanPSL-2.0
name
obproxy-log-analysis

Read the full SKILL.md on GitHub

Files

Just SKILL.md in plugins/agent/skills/obproxy-log-analysis of oceanbase/obdiag.

Open the folder on GitHubat commit e912c58

Compare with similar skills

Obproxy Log Analysis 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.

Obproxy Log Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Obproxy Log Analysis this skilloceanbase/obdiag163—~945Automated safety check: PassMulanPSL-2.0
Cc Sdd New Agentgotalab/cc-sdd3.7k—~1.1kAutomated safety check: PassMIT
DBS Business Toolkit Entrydontbesilent2025/dbskill11k—~2kAutomated safety check: PassCustom licence
Agent Sop Authorstrands-agents/agent-sop1.2k—~3.5kAutomated safety check: PassApache-2.0
Diffusion Narrative Denouncingcanwhite/Krebs1k—~831Automated safety check: PassMIT
Polanyi Perspective0xenzyme/polanyi-skill137—~1.3kAutomated safety check: PassMIT

Similar skills

  • Cc Sdd New Agent

    gotalab/cc-sdd

    Add or extend coding-agent support in cc-sdd by executing the SOP in docs/cc-sdd/sop-new-agent.md end-to-end.

    3.7k GitHub stars~1.1k tokensUpdated 15 days ago
    Business, Finance & HRAuto-check passed
  • DBS Business Toolkit Entry

    dontbesilent2025/dbskill

    Chinese-language entry skill for the dontbesilent business toolkit: onboards new users, orchestrates tasks across sub-skills, runs numbered prompts and lists hidden ones.

    11k GitHub stars~2k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Agent Sop Author

    strands-agents/agent-sop

    Create (or update) and validate Agent SOPs (Standard Operating Procedures) - markdown-based workflows that guide AI agents through complex, multi-step tasks with RFC 2119 constraints.

    1.2k GitHub stars~3.5k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • 基于"扩散模型叙事去噪流"的小说写作 SOP。将 AI 视为去杂质机器,通过锁定全局信号、预测叙事噪声、精准去噪、随机修正四个步骤,解决 AI 翻译腔、逻辑断层和故事平淡的问题。

    1k GitHub stars~831 tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Polanyi Perspective

    0xenzyme/polanyi-skill

    Michael Polanyi 的思维框架。用 Polanyi 视角分析隐性知识、技能习得、经验传承、师徒制、 知识管理、学习方法、AI/工具替代边界、科学共同体与后批判哲学问题。

    137 GitHub stars~1.3k tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed

More from oceanbase/obdiag

All 14 skills in this repo
  • 备份、日志归档、物理恢复、恢复时间窗、NFS/OSS/COS 归档路径、对象存储权限、备租户恢复源、obadmin 读取归档位点、oblogminer schemameta 等问题;OMS 迁移同步问题不使用本 skill。

    163 GitHub stars~990 tokensUpdated 4 mo ago
    Auto-check passed
  • Obdiag Rca

    oceanbase/obdiag

    OceanBase 集群所有根因分析场景的统一 SOP。覆盖事务超时/回滚/断连、内存不足、合并卡住、日志盘满、DDL 失败、Schema 泄漏、GC 异常、弱一致性读、OMS 等。始终先执行 rcarun,如 RCA 脚本无法给出结论再按本 skill 降级到手动日志采集分析。

    163 GitHub stars~2.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Obdiag Triage

    oceanbase/obdiag

    未知/未分类问题的统一分诊 SOP:用户描述集群异常但症状不明确、不知从何入手,或问题无法直接对应 rca/observer-log-analysis/observer-sql-analysis 等专项 skill 时,强制先执行全量巡检 checkcluster,再根据巡检结果决定下一步路径。

    163 GitHub stars~662 tokensUpdated 4 mo ago
    Auto-check passed
  • Obdiag Usage

    oceanbase/obdiag

    obdiag agent 工具使用指南:配置文件生成、gather/analyze/check/rca 各命令的调用方式、参数说明与典型场景。用户询问"怎么用 obdiag"、"如何采集日志"、"怎么生成配置"、"如何巡检/根因分析",或 agent 自身不确定该调哪个工具时加载本 skill。

    163 GitHub stars~2.1k tokensUpdated 4 mo ago
    Auto-check passed
  • OBProxy/ODP 连接解析、弱读与只读副本路由、读写分离、分区键解析、SHOW CREATE 兼容、getlock、cluster not exist、2013、Unknown thread id、新建表经代理慢等路由配置类问题;日志采集解读使用 obproxy-log-analysis。

    163 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Observer 侧日志盘、数据盘、磁盘分配失败、-4184、-4264、-4009、Structure needs cleaning、fallocate、合并 -4016、索引或加副本空间不足、单表恢复占盘、归档卡 GC 等存储空间问题;日志链使用 observer-log-analysis。

    163 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Obproxy Log Analysis

What does Obproxy Log Analysis do?

标准 SOP:OBProxy 日志采集(gatherobproxylog)、包内解读(filelist/fileread/runshell 解压)、可选巡检。用户提到 OBProxy/代理/obproxydiagnosis 等时使用;与 observer 侧 observer-log-analysis 互斥 analyzelog。. Obproxy Log Analysis is an agent skill from oceanbase/obdiag.

When should I use Obproxy Log Analysis?

Obproxy Log Analysis fits situations like: tasks that involve Operations and SOPs.

How do I install Obproxy Log Analysis in Claude Code?

Run `npx skills add oceanbase/obdiag --skill obproxy-log-analysis -a claude-code`. Or copy the skill folder (plugins/agent/skills/obproxy-log-analysis in oceanbase/obdiag) into .claude/skills/obproxy-log-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Obproxy Log Analysis in Codex?

Run `npx skills add oceanbase/obdiag --skill obproxy-log-analysis -a codex`. Or copy the skill folder (plugins/agent/skills/obproxy-log-analysis in oceanbase/obdiag) into .agents/skills/obproxy-log-analysis in your project. Codex loads it when a task matches its description.

Can I use Obproxy Log Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oceanbase/obdiag --skill obproxy-log-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/obproxy-log-analysis, .gemini/skills/obproxy-log-analysis, .github/skills/obproxy-log-analysis and .opencode/skills/obproxy-log-analysis in your project.

What does Obproxy Log Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Obproxy Log Analysis is instructions for the agent only.

Does Obproxy Log Analysis access the network?

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.

Is Obproxy Log Analysis safe to install?

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.

What licence does Obproxy Log Analysis use?

Obproxy Log Analysis is published under the MulanPSL-2.0 licence (the repository's licence).

How many tokens does Obproxy Log Analysis use?

About 945 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Obproxy Log Analysis?

Skills that share tags, products or a category with Obproxy Log Analysis: Cc Sdd New Agent (gotalab/cc-sdd, 3.7k stars), DBS Business Toolkit Entry (dontbesilent2025/dbskill, 11k stars), Agent Sop Author (strands-agents/agent-sop, 1.2k stars) and Diffusion Narrative Denouncing (canwhite/Krebs, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Obproxy Log Analysis?

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.