# Seekdb Docs

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-oceanbase-oceanbase-skills-docs`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [oceanbase](https://agentstack.voostack.com/s/oceanbase)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [oceanbase](https://github.com/oceanbase)
- **Source:** https://github.com/oceanbase/oceanbase-skills/tree/master/skills/seekdb/docs

## Install

```sh
agentstack add skill-oceanbase-oceanbase-skills-docs
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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:

1. Read this SKILL.md to get its absolute path
2. Extract the parent directory as ``
3. Catalog: `references/seekdb-docs-catalog.jsonl`
4. Docs base: `seekdb-docs/`

## Workflow

### Step 1: Search Catalog

**Grep search (preferred for ~90% of queries)**:
```bash
grep -i "keyword" references/seekdb-docs-catalog.jsonl
```

**Full catalog load** (only when grep returns no results or semantic matching is needed):
- Local: `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:
1. Try local: `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

## Example

```
Query: "How to integrate with Claude Code?"

1. grep -i "claude code" 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: 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](references/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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [oceanbase](https://github.com/oceanbase)
- **Source:** [oceanbase/oceanbase-skills](https://github.com/oceanbase/oceanbase-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-oceanbase-oceanbase-skills-docs
- Seller: https://agentstack.voostack.com/s/oceanbase
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
