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 relative to this SKILL.md's location. Resolve the skill directory first:
- Read this SKILL.md to get its absolute path
- Extract the parent directory as
<skill_dir>
- Catalog:
<skill_dir>references/seekdb-docs-catalog.jsonl
- Docs base:
<skill_dir>seekdb-docs/
Workflow
Step 1: Search Catalog
Grep search (preferred for ~90% of queries):
grep -i "keyword" <skill_dir>references/seekdb-docs-catalog.jsonl
Full catalog load (only when grep returns no results or semantic matching is needed):
- Local:
<skill_dir>references/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:
- Try local:
<skill_dir>seekdb-docs/[path]
- 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
Example
Query: "How to integrate with Claude Code?"
1. grep -i "claude code" <skill_dir>references/seekdb-docs-catalog.jsonl
2. Match: {"path": "300.integrations/300.developer-tools/700.claude-code.md",
"description": "This guide explains how to use the seekdb plugin with Claude Code...",
"branch": "V1.0.0"}
3. Read: <skill_dir>seekdb-docs/300.integrations/300.developer-tools/700.claude-code.md
Fallback: https://raw.githubusercontent.com/oceanbase/seekdb-doc/V1.0.0/en-US/300.integrations/300.developer-tools/700.claude-code.md
See examples.md for more complete workflow examples.
Notes
- Optional local docs: Run
scripts/update_docs.sh to download and merge docs from all version branches locally
- Multi-version: Docs span multiple branches; the update script merges them and records each file's source branch in the catalog
- Offline capable: With local docs and catalog present, works completely offline
Category Overview
- Get Started: Quick start, basic operations, overview
- Development: Vector search, hybrid search, AI functions, MCP, multi-model
- Integrations: Frameworks, model platforms, developer tools, workflows
- Guides: Deployment, management, security, OBShell, performance
- Reference: SQL syntax, PL, error codes, SDK APIs
- Tutorials: Step-by-step scenarios
1---2name: seekdb-docs3description: seekdb database documentation lookup. Use when users ask about seekdb features, SQL syntax, vector search, hybrid search, integrations, deployment, or any seekdb-related topics. Automatically locates relevant docs via catalog-based semantic search.4---56# seekdb Documentation78Provides access to ~1000 seekdb documentation entries through a catalog-based search system.910## Version Info1112<!-- AUTO-UPDATED by update_docs.sh — do not edit manually -->13- **Documentation versions covered**: V1.0.0, V1.1.0 (merged, latest takes priority)14- **Latest version**: V1.1.015<!-- END AUTO-UPDATED -->16- 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.17- 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.1819## Path Resolution (Do First)2021All resource paths are relative to this SKILL.md's location. Resolve the skill directory first:22231. Read this SKILL.md to get its absolute path242. Extract the parent directory as `<skill_dir>`253. Catalog: `<skill_dir>references/seekdb-docs-catalog.jsonl`264. Docs base: `<skill_dir>seekdb-docs/`2728## Workflow2930### Step 1: Search Catalog3132**Grep search (preferred for ~90% of queries)**:33```bash34grep -i "keyword" <skill_dir>references/seekdb-docs-catalog.jsonl35```3637**Full catalog load** (only when grep returns no results or semantic matching is needed):38- Local: `<skill_dir>references/seekdb-docs-catalog.jsonl`39- Remote fallback: `https://raw.githubusercontent.com/oceanbase/seekdb-ecology-plugins/main/agent-skills/skills/seekdb/references/seekdb-docs-catalog.jsonl`40- Format: JSONL — one `{"path": "...", "description": "...", "branch": "..."}` per line (~1000 entries)4142### Step 2: Match Query4344- Extract `path`, `description`, and `branch` from search results45- Select entries whose descriptions best match the query semantically (match by meaning, not just keywords)46- Consider multiple matches for comprehensive answers4748### Step 3: Read Document4950Local-first with remote fallback:511. Try local: `<skill_dir>seekdb-docs/[path]`522. Fallback: `https://raw.githubusercontent.com/oceanbase/seekdb-doc/[branch]/en-US/[path]`53 - `[branch]` comes from the catalog entry's `branch` field (e.g. `V1.0.0`, `V1.1.0`)54 - Docs span multiple version branches; some files only exist in a specific branch5556## Example5758```59Query: "How to integrate with Claude Code?"60611. grep -i "claude code" <skill_dir>references/seekdb-docs-catalog.jsonl622. Match: {"path": "300.integrations/300.developer-tools/700.claude-code.md",63 "description": "This guide explains how to use the seekdb plugin with Claude Code...",64 "branch": "V1.0.0"}653. Read: <skill_dir>seekdb-docs/300.integrations/300.developer-tools/700.claude-code.md66 Fallback: https://raw.githubusercontent.com/oceanbase/seekdb-doc/V1.0.0/en-US/300.integrations/300.developer-tools/700.claude-code.md67```6869See [examples.md](references/examples.md) for more complete workflow examples.7071## Notes7273- **Optional local docs**: Run `scripts/update_docs.sh` to download and merge docs from all version branches locally74- **Multi-version**: Docs span multiple branches; the update script merges them and records each file's source branch in the catalog75- **Offline capable**: With local docs and catalog present, works completely offline7677## Category Overview7879- **Get Started**: Quick start, basic operations, overview80- **Development**: Vector search, hybrid search, AI functions, MCP, multi-model81- **Integrations**: Frameworks, model platforms, developer tools, workflows82- **Guides**: Deployment, management, security, OBShell, performance83- **Reference**: SQL syntax, PL, error codes, SDK APIs84- **Tutorials**: Step-by-step scenarios