seekdb

A documentation search rule for seekdb that searches a catalog of about 1,000 seekdb documentation entries. seekdb is the documented software product, and the entries cover versions 1.0.0 and 1.1.0.

In plain words
What is it for?
It is for finding seekdb documentation by searching the local catalog, resolving document paths, and using a remote copy when local results are missing.
Why use it?
It helps locate relevant seekdb documentation and clarifies that the latest available version takes priority when version details differ.

Cursor rule

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 rules/oceanbase/seekdb-ecology-plugins/seekdb
Clone the repo
git clone --depth 1 https://github.com/oceanbase/seekdb-ecology-plugins
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,438 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 $0.00058 $0.01438
Opus 5 $0.00029 $0.00719
Sonnet 5 $0.00012 $0.00288
Haiku 4.5 $0.00006 $0.00144

Measured 2d ago against content hash e4180de38134, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

seekdb 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 2d 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-extension/src/seekdb.mdc · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

seekdb Documentation

Provides access to ~1000 seekdb documentation entries through a catalog-based search system.

Version Info

  • Documentation versions covered: V1.0.0, V1.1.0 (merged, latest takes priority)
  • Latest version: V1.1.0
  • The branch field in catalog entries indicates which Git branch hosts the file (used for remote fallback URLs only). It does NOT indicate which seekdb version the content applies to — many docs apply to all versions.
  • If the user asks about a specific seekdb version, note that this documentation set reflects the latest available content and may not distinguish version-specific differences.

Path Resolution (Do First)

All resource paths are under the .cursor/rules/ directory:

  1. Catalog: .cursor/rules/seekdb-docs/seekdb-docs-catalog.jsonl
  2. Docs base: .cursor/rules/seekdb-docs/

Workflow

Step 1: Search Catalog

Grep search (preferred for ~90% of queries):

grep -i "keyword" .cursor/rules/seekdb-docs/seekdb-docs-catalog.jsonl

Full catalog load (only when grep returns no results or semantic matching is needed):

  • Local: .cursor/rules/seekdb-docs/seekdb-docs-catalog.jsonl
  • Remote fallback: https://raw.githubusercontent.com/oceanbase/seekdb-ecology-plugins/main/agent-skills/skills/seekdb/references/seekdb-docs-catalog.jsonl
  • Format: JSONL — one {"path": "...", "description": "...", "branch": "..."} per line (~1000 entries)

Step 2: Match Query

  • Extract path, description, and branch from search results
  • Select entries whose descriptions best match the query semantically (match by meaning, not just keywords)
  • Consider multiple matches for comprehensive answers

Step 3: Read Document

Local-first with remote fallback:

  1. Try local: .cursor/rules/seekdb-docs/[path]
  2. Fallback: https://raw.githubusercontent.com/oceanbase/seekdb-doc/[branch]/en-US/[path]
    • [branch] comes from the catalog entry's branch field (e.g. V1.0.0, V1.1.0)
    • Docs span multiple version branches; some files only exist in a specific branch

Read the full file on GitHub · 117 lines

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. 2d ago First seen · 117 lines · 58 tokens per session scan A e4180de38134

Subscribe to this mod's changes

seekdb is a cursor rule published in the GitHub repository oceanbase/seekdb-ecology-plugins (9 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,438 once invoked, about $0.0003 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.