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.5 | $0.00014 | $0.00467 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (5 stars, last pushed 27d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,167 once invoked, about $0.0001 per session on Opus 5.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.
oceanbase-query compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| oceanbase-querysevoniva-labs/oceanbase-mcp | Skill | 5 | 27d ago | Apache-2.0 | A | 34 | OpenCode |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 48 | Claude Code, Codex |
| publish-npm-versionprisma/orm | Skill | 48k | today | Apache-2.0 | A | 182 | Claude Code, Codex |
| triage-contributor-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 131 | Claude Code |
| record-upgrade-instructionsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 129 | Claude Code, Codex |
| contrib-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 65 | Claude Code, Codex |
| github-review-iterationprisma/orm | Skill | 48k | today | Apache-2.0 | A | 60 | Claude Code |