Borrowing it
Nothing to install: this file belongs to sevoniva-labs/oceanbase-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sevoniva-labs/oceanbase-mcp/main/.opencode/skills/oceanbase-query/SKILL.mdgit clone --depth 1 https://github.com/sevoniva-labs/oceanbase-mcpWrote 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.
[](https://agentmods.dev/skills/sevoniva-labs/oceanbase-mcp/oceanbase-query)<a href="https://agentmods.dev/skills/sevoniva-labs/oceanbase-mcp/oceanbase-query"><img src="https://agentmods.dev/badge/skills/sevoniva-labs/oceanbase-mcp/oceanbase-query/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sevoniva-labs/oceanbase-mcp/oceanbase-query"><img src="https://agentmods.dev/badge/skills/sevoniva-labs/oceanbase-mcp/oceanbase-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01167 |
| Opus 5 | $0.00017 | $0.00583 |
| Sonnet 5 | $0.00007 | $0.00233 |
| Haiku 4.5 | $0.00003 | $0.00117 |
Grade A, and why
oceanbase-query 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Use this skill when a user asks to inspect OceanBase schemas, understand tables, write read-only SQL, query data, explain results, analyze a query plan, generate ER diagrams, review metadata changes, or produce data documentation.
Workflow
- Search metadata before writing SQL.
- Read table context, schema map, or onboarding documentation before choosing columns or joins.
- Prepare or build only read-only SQL with explicit columns.
- Lint or preview policy and plan risk before execution.
- Query with a session and pagination when inspecting data.
- Summarize rows, filters, page state, warnings, and next steps.
Metadata First
Use these tools before SQL:
ob_search_everythingfor business terms, table names, column names, comments, and glossary hits.ob_search_business_glossaryfor configured business-term mappings. Treat results as hints and verify with metadata tools.ob_get_schema_map,ob_find_tables_by_business_term, andob_find_columnsto narrow candidate tables and fields.ob_get_table_context,ob_get_table_summary, orob_generate_onboarding_docfor table structure, relationships, query entry points, and glossary hints.- Existing metadata tools as fallback:
ob_get_table_ddl,ob_describe_table,ob_get_indexes,ob_get_constraints,ob_get_partitions,ob_get_table_stats,ob_find_related_tables, andob_generate_query.
Never invent table names, fields, joins, or relationships. If metadata is insufficient, ask for the business term, schema, or table name.
Query Rules
- Use
ob_prepare_queryfor natural-language questions andob_build_selectfor structured SELECT generation. - Use
ob_lint_sqlorob_query_previewbefore executing a user-facing query. - Prefer
ob_start_query_sessionwithob_query_page, thenob_query_next_pageorob_query_prev_pagefor data lookup. - Use
ob_queryonly with explicit selected columns, filters, ordering, and a small limit. - Use
ob_profile_table,ob_profile_columns,ob_get_value_distribution,ob_detect_time_columns, andob_detect_dimension_columnsfor data understanding. - Use
ob_policy_explainwhen checking whether SQL is allowed. - Use
ob_analyze_query_planorob_generate_performance_reportfor performance questions.
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.
- 10d ago First seen · 87 lines · 34 tokens per session scan A 291b5141c4d8
oceanbase-query is a skill published in the GitHub repository sevoniva-labs/oceanbase-mcp (4 stars, last pushed 2d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,167 once invoked, about $0.0002 per session on Opus 5. 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-31.
Other skills, from other repositories
draft-release-notes
Author the committed release-notes file for a Prisma 8 release (stable or 8.0.0-rc.N) by enumerating the merged PRs since the previous release v tag (stable or -rc.N), resolving opaque TML-NNNN: titles via Linear context (never copied verbatim), triaging public-worthiness, and writing categorized notes — breaking…
record-upgrade-instructions
Record upgrade instructions alongside a Prisma Next breaking-change PR, so downstream consumers (users of @internal/ and authors of Prisma Next extensions) can apply the matching code translation automatically via the published upgrade skills. Use when you have refactored framework code and the test suite went red in…
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
triage-contributor-pr
Triage open pull requests from external contributors to prisma/prisma and produce a per-PR verdict with evidence. Use when a maintainer asks to triage, evaluate, assess, or review the queue of incoming contributor PRs, to decide whether a fork PR is safe to run CI on, to check whether a PR is in scope for its version…
contrib-pr
Open a high-quality external contributor PR against prisma/orm. Use when the user is an outside contributor (not a Prisma maintainer) and wants to submit a change as a pull request from a fork. Encodes the contribution flow from CONTRIBUTING.md so the resulting PR passes review on the first round.
github-review-iteration
Orchestrates a GitHub PR review loop by delegating triage and implementation to dedicated sub-agents, then repeating until actionable review items are cleared. Use when the user says “address PR review”, “triage review comments”, or “iterate until review is clean”.