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.
npx skills add oceanbase/seekdb-ecology-plugins --skill querying-from-seekdbgit clone --depth 1 https://github.com/oceanbase/seekdb-ecology-pluginsWrote 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/oceanbase/seekdb-ecology-plugins/querying-from-seekdb)<a href="https://agentmods.dev/skills/oceanbase/seekdb-ecology-plugins/querying-from-seekdb"><img src="https://agentmods.dev/badge/skills/oceanbase/seekdb-ecology-plugins/querying-from-seekdb/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/oceanbase/seekdb-ecology-plugins/querying-from-seekdb"><img src="https://agentmods.dev/badge/skills/oceanbase/seekdb-ecology-plugins/querying-from-seekdb.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.00077 | $0.03246 |
| Opus 5.5 | $0.00031 | $0.01298 |
| Sonnet 5.5 | $0.00015 | $0.00649 |
| Haiku 4.5 | $0.00008 | $0.00325 |
Grade A, and why
querying-from-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 3mo 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 — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Query and Export Data from seekdb
Query data from seekdb vector database with support for scalar search, hybrid search (fulltext + semantic), and export to CSV/Excel files.
Path Convention
Note: All paths in this document (e.g.,
scripts/) are relative to THIS skill directory, not the project root.
Prerequisites
- Python 3.10+ installed
- Data imported into seekdb collection
- Required packages:
pip install pyseekdb pandas openpyxl
⚠️ CRITICAL: Execution Workflow
MUST FOLLOW this workflow when handling user search requests:
Step 1: Get Collection Information (If Not Already Known)
Before constructing any query, you MUST understand the data structure. However, you should cache this information within the conversation.
Caching Rules:
- ✅ First query for a collection: Execute
--infoto get metadata structure - ✅ Subsequent queries for the SAME collection: Use cached info from earlier in conversation, skip
--info - ✅ Query for a DIFFERENT collection: Execute
--infofor the new collection - ✅ User explicitly asks for collection info: Execute
--info
# Get collection info to see metadata fields (only if not already known)
python scripts/query_from_seekdb.py <collection_name> --info
This shows:
- Total record count
- Available metadata field names (e.g.,
source,year,category) - Sample documents
Example conversation flow:
User: "找 seekdb_demo 中 2023 年的教程"
→ Claude Code: 执行 --info (第一次查询此 collection)
→ 发现 metadata 有 source, year 字段
→ 执行搜索
User: "再找一下 notion 来源的"
→ Claude Code: 不需要再执行 --info (同一 collection,结构已知)
→ 直接执行搜索
User: "查一下 another_collection 中的数据"
→ Claude Code: 执行 --info (不同 collection)
→ 了解新 collection 的结构
→ 执行搜索
Step 2: Analyze User Request
Parse the user's natural language request to identify:
| Component | Look For | Maps To |
|---|---|---|
| Metadata conditions | Field-value pairs like "2023年", "来自notion", "价格<100" | --where filter |
| Content/Semantic search | Keywords, concepts, descriptions, questions | --query-text (used for BOTH fulltext and semantic) |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 319 lines · 77 tokens per session scan A c15ef254e32d
querying-from-seekdb is a skill published in the GitHub repository oceanbase/seekdb-ecology-plugins (9 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,246 once invoked, about $0.0003 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.
querying-from-seekdb compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| querying-from-seekdboceanbase/seekdb-ecology-plugins | Skill | 9 | 6mo ago | Apache-2.0 | A | 77 | Claude Code |
| chromaNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 12 | Claude Code, Codex |
| rag-pineconedavila7/claude-code-templates | Skill | 35k | today | MIT | A | 65 | Claude Code, Codex |
| pgvector-semantic-searchtimescale/pg-aiguide | Skill | 1.9k | today | Apache-2.0 | A | 190 | Cursor |
| postgres-hybrid-text-searchtimescale/pg-aiguide | Skill | 1.9k | today | Apache-2.0 | A | 162 | Cursor |
| similarity-search-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 25d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| qdrant-search-quality-diagnosistruera/trulens | Skill | 3.7k | today | MIT | A | 104 | Claude Code, Codex |